Angular Training Plan

Schedule

  • 17 Aug
    • Overview
    • Basic concepts
  • 18 Aug
    • Build example app
  • 19 Aug
    • Wrap-up

Overview

http://www.tutorialspoint.com/angularjs/angularjs_overview.htm

Concepts

Build example app

https://docs.angularjs.org/tutorial

Modules

var myModule = angular.module('myModule', []);

myModule.service('myService', ...);
myModule.directive('myDirective', ...);

angular.module('myModule', []);

angular.module('myOtherModule');

Scope

  • $watch
  • $apply
  • child scope
  • isolated scope
  • scope event: $broadcast, $emit

 

Controller

  • ng-controller
  • $scope
  • init state / add behavior
  • scope inheritance

 

Service

  • share code
  • built-in service ($http)

 

Advanced

  • UI-Router
    • https://angular-ui.github.io/ui-router/
  • Angular promise pattern
    • https://docs.angularjs.org/api/ng/service/$q

References

  • http://www.w3schools.com/angular/angular_intro.asp
  • https://www.youtube.com/watch?v=zKkUN-mJtPQ&list=PL6n9fhu94yhWKHkcL7RJmmXyxkuFB3KSl
Made with Slides.com