SOGETI ANGULARJS TRAINING DAG 2 - TESTING & COMPONENTS AngularJS THE PRESENTATION sogeti-summerschool.herokuapp.com/day/2 sogeti-summerschool.herokuapp.com/day/2?print-pdf SUMMARY Introduction Why AngularJS Two-way data binding Basic concepts AngularJS = Awesome TODAYS AGENDA Modules Dependency Injection Unit testing Views & directives Controllers & scope Filters Services MODULES ANGULAR MODULES Creating a module: angular.module('myModule', []); Getting a module: angular.module('myModule'); DEPENDENCY INJECTION DEPENDENCY INJECTION ADVANTAGES DEPENDENCY INJECTION Consumer only needs knowledge of how to use dependencies Easier to get loose coupling Easier to test Allows independent development
Description: