Take a look at this, a cool JsFiddle snippet. Notice: no js other then including AngularJS via settings.
EDIT: Just checked, IE10 is a no go, try something else (it should definitely work on IE)
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
That does look cool. Will have to dig further.
Maybe one day these so called "developers" will learn how to write actual real software...
The jsFiddle site is cool too, but I (and I think fanbaby) was talking about the AngularJS framework.
Angular is what HTML would have been had it been designed for applications. HTML is a great declarative language for static documents. It does not contain much in the way of creating applications, and as a result building web applications is an exercise in what do I have to do, so that I trick the browser in to doing what I want.
The impedance mismatch between dynamic applications and static documents is often solved as:
Angular takes another approach. It attempts to minimize the impedance mismatch between document centric HTML and what an application needs by creating new HTML constructs. Angular teaches the browser new syntax through a construct we call directives. Examples include:
Isn't this kind of like knockoutjs? I.e. Google's re-invention of knockoutjs? I haven't looked closely though.
I can't seem to get it to work with IE10. Works in Chrome though.
They sound similar in part, but I think AngularJS goes further with Dependency Injected Services, Routing, Form Validation support, and IMHO a nicer (and extendable) templating syntax.
That looks like it could make web development a lot easier. Thanks for sharing fanbaby.
My understanding is the library works on all modern browsers (there are apparently some gotchas with IE that you have be careful of). However, that specific example works on Webkit browsers, because of the HTML and CSS that is used. Getting to work exactly like Chrome is non-trivial because FF lacks the range input type; this is when jQuery UI would come in handy. It still works in Firefox if you type in the colors.
The last time I checked out KnockoutJS (which was quite a while back), the templating syntax used was for a jQuery plugin (jQuery.tmpl) that was no longer going to be supported as part of the core jQuery plugins. The jQuery team dropped it for reasons unknown (as far as I can tell) in favor of a new templating engine, which has yet to materialize AFAIK.
jQuery.tmpl got moved over to gitHub, and it's since been abandoned. https://github.com/jquery/jquery-tmpl
But if you want to fork the project and continue improving it, you can. Hooray for open source!
Works on my Win8 IE10. Just some slider controls? Is that what I should be looking at?
There's supposed to be some rectangle that updates its colour automatically as you change the slider values. That doesn't appear on IE.
AngularJS is now supported in VS 2013! Suddenly, I'm really excited by Microsoft tech again.