Angular js – Part1
By Vignesh s
What is AngularJs?
Where it is using?
Why Angularjs?
What is AngularJs?
 Javascript Framework
 Open source
 Google product
 Client side
Where it is using?
 Single Page Application (SPA) projects
 Banking
 Finance
 Flight booking
 E-Commerce
 Etc……..
Why Angularjs?
 MVC
 A declarative user interface
 Flexibility with filters
 Write less code
 Unit testing ready
Features
 Powerful JavaScript Framework
 MVC(Model View Controller)
 Cross-browser compliant
Core Features
 Data-binding
 Scope
 Controller
 Services
 Filters
 Directives
 Dependency Injection
 Data Modal
Advantages of AngularJS
 Single Page Application
 Two way data binding
 Unit testable
 Reusable components
Disadvantages of AngularJS
 Not Secure
 Not degradable
MVC
MVC
Model
View
 Controller
AngularJS Core Components
 Directives
 Services / Factories
 Filters
 Global APIs
Directives
 Extend HTML
 Starting with ng- prefix
 Some of Directives
 ng-app
 ng-init
 ng-model
 ng-repeat
Services / Factories
 Javascript code
 Perform specific tasks
 Controllers, filters can call them as on requirement basis.
 Two ways to create service
 Service
 Factory
 Some of Services
 $http
 $route
 $window
 $location

Angular js