Presentation is loading. Please wait.

Presentation is loading. Please wait.

06 | Using AngularJS to create an SPA

Similar presentations


Presentation on theme: "06 | Using AngularJS to create an SPA"— Presentation transcript:

1 06 | Using AngularJS to create an SPA
Stacey Mulcahy | Technical Evangelist Dave Voyles | Technical Evangelist

2 Module Overview Starting an AngularJS application
Understanding Data Binding Module and Controller Getting and Posting Data using $http

3 Staring an AngularJS Application
Stacey Mulcahy | Technical Evangelist Dave Voyles | Technical Evangelist

4 Starting an AngularJS Application
Need to include the framework ( from CDN ) Need to initialize what element is the root of the application with ng-app

5 Starting an AngularJS application

6 Understanding Data Binding

7 Understanding DataBinding
Data binding is two way in AngularJS Automatic Synchronization of data between model and view ng-model

8 Understanding Data Binding

9 Creating Controllers

10 Creating a Controller ng-controller
Controllers should hold business logic Controller for a single view Set up initial state Not used to manipulate the DOM – think Directives

11 Module and Controller

12 Dealing with Data

13 Dealing with Data Utilize dependency injection
$http – basic introduction Options – resources, services, etc

14 Dealing with Data using $http

15


Download ppt "06 | Using AngularJS to create an SPA"

Similar presentations


Ads by Google