>> Monday, January 9, 2012
Ok, so I've been messing around with Angular.js, so far, a great framework for client-side HTML manipulation. Advantages include separation of concern (with an MVC architecture), and really good testing ease using Jasmine, taking advantage of Dependency injection, and awesome databinding features.
With regards to the Dependency injection, there is a $xhr service (it's a service used to GET data), but when I attempted to use it with IIS 7, no go. Checking IIS under the hood, I found no MIME mapping to .json files, so after some digging on the web, here is how to set it up: