agenda

Upload: marius-cristea

Post on 06-Jan-2016

214 views

Category:

Documents


0 download

DESCRIPTION

AngularJs Agenda

TRANSCRIPT

  • Lab 1 OOP in JS and Design Patterns - scope & context - prototypes and inheritance - closures & module pattern - observer/publish subscriber pattern - MV* patterns - Promises Lab 2 Angular introduction - including angular in an app - angular modules - angular expressions - controllers - ng-show/ng-hide - ng-repeat Lab 3 Filters and directives - using angular/ angular bootsrap filters and directives Lab 4 Forms, models and validation: - using ng-model to bind data - using form validation Lab 5 Custom directives - creating directives that are using a controller Lab 6 DI and services - creating new modules and setup the dependencies - using angular built-in services ($http) to read data from the server - injecting services in controllers - using promises to make async calls Lab 7 Angular apps code structuring and routing - hints for angular apps code structure - add ng-router to our app - define routes with $routeProvider - creating the root route and the default route - specifying the default controller - switch to ui-router for more flexible routing - define states with $stateProvider - handle nested views Lab 8 State parameters and app config service - define constants and inject them in controllers - implementing list-details functionality by passing state params - use $http to send data to the server Lab 9 Directives with params: - isolating the directives scope

  • - types of param bidings - using link in a directive to do DOM manipulation - allow custom HTML to be injected in angular apps by using ng-bind-html and $sce Lab 10 Custom services - the 5 types of angular service recepies - creating a service using factory - creating providers to allow configuration - using ng-resource to retrieve/post data from remote APIs Lab 11 Tools for increasing productivity - bower - gulp - yeoman