Duration: 3 Days
Core AngularJS
AngularJS is a structural framework for single page web apps. It uses HTML as template language and lets you extend its syntax to express application's components clearly and succinctly. AngularJS' data binding and dependency injection eliminate much of the code you would otherwise have to write.
Prerequisites
To go with this course attendants must have knowledge of Javascript, HTML and CSS
Objectives
At the end of course attendants will be able to:- Create single page web application using AngularJS
- Create model, views and controllers for application using AngularJS
- Use filters, factories and services
- Work with form by applying validation
- Unit test and end to end testing of the AngularJS application.
Audience
Core AngularJS is geared to seasoned JavaScript developers with at least 6-12 months hand-on experience developing single page applications using any other JavaScript framework.
Outline
- Introduction and Setup
- What is AngularJS
- Setup the environment
-
AngularJS Architecture
- AngularJS modules
- Data Bindings
- $digest and $apply
- Model, view and controllers of application
- Debugging AngularJS applications
-
Controllers
- Managing Scope and rootScope
- Dependency Injections
- Scope LIfe Cycle
- Scope and events
-
Models and Views
- Implicit and Explicit models
- Interpolation
- Expressions
- Filters
- Directives
-
AngularJS Forms
- AngularJS Form Controls
- Events
- Validations
- Displaying errors
-
Promises, Futures and $q
- Promises
- AngularJS $q
- Callbacks
- $http promises
-
Connecting Server and Routers
- UI Routers
- Inter controller communication
- Making Restful service calls with $resources
- AngularJS services
-
Testing and Debugging
- Unit Testing with Karma
- End to End Testing