2. SPA
Single Page Applications
Web application or website that fits
on a single web page
Provides a more fluid user experience
similar to a desktop application.
Either all necessary code (HTML, JS,
and CSS) is retrieved with a single
page load or dynamically loaded
3. Traditional vs SPA
Client Server
Initial request
Response
(HTML+CSS+JS)
Form Post
Response
(HTML+CSS+JS)
Client Server
Initial request
Respond
(HTML+CSS+JS)
AJAX
Response {JSON}
6. AngularJS Directives
Directives are Angular’s way of bringing additional functionality to HTML
➔ Ng-app
➔ng-model
➔ ng-bind
➔ ng-click
➔ ng-controller
7. AngularJS Services
In AngularJS, a service is a function, or object, that is available for, and limited to, your
AngularJS application.
➔ $http
➔$timeout
➔$interval