3. Page
What’s bad with what we have?
› … DOM / JQuery / Html becomes messy
› … and difficult to test
› … and regression creeps in
› … and it becomes unmaintainable
› Web Apps are getting complex!
4. Page
Enter the framework
› There are many web frameworks
› Ember
› Backbone
› Knockout
› And approximately 10 new ones per day…
› Check them out
7. Page
Achievements Unlocked
› Markup is simple, contains no Javascript.
› App logic is in small javascript components
where it is easy to test
› And we even used gulpjs to run automated tests!
8. Page
Takeaways
› Data Binding via directives
› Value conversion using filters
› Unit testing controllers using Jasmine
› Mocking out $http using $httpBackend and testing
http calls
› Routes using ng-route
› Little-s-singletons implemented as services