getting started with angular

19
Getting Started with Angular https://github.com/jperl/angular-jquery-mobile#getting-started

Upload: jonathan-perl

Post on 13-Jan-2015

846 views

Category:

Technology


0 download

DESCRIPTION

The presentation that corresponds to this video http://youtu.be/hNAHogdcus0 which explains an example todo application using angular and jquery mobile https://github.com/jperl/angular-jquery-mobile

TRANSCRIPT

Page 1: Getting started with angular

Getting Started with Angular

https://github.com/jperl/angular-jquery-mobile#getting-started

Page 2: Getting started with angular
Page 3: Getting started with angular
Page 4: Getting started with angular

API

(Angular) Service

Controller

model

View

Directives

scope

Page 5: Getting started with angular
Page 6: Getting started with angular

Model – View – Controller• Model

– Your data in vanilla JavaScript. No classes to inherit and no special getters or setters to call. Plain old JSON you load from the API.

• View– Regular HTML, but now with data binding and the ability to teach

it new tricks (like creating widgets). The view communicates with the controller via a $scope object.

• Controller– Sets the initial state of the $scope for the view and augment’s the

$scope with behavior

Page 7: Getting started with angular

(Angular) Service

Page 8: Getting started with angular

Controller

Page 9: Getting started with angular

View

Page 10: Getting started with angular

Scope

Page 11: Getting started with angular

Scope

Page 12: Getting started with angular

View

Page 13: Getting started with angular

View

Page 14: Getting started with angular

Directives

Page 15: Getting started with angular

Step through each line of the codefrom API to adding a todo

Page 16: Getting started with angular
Page 17: Getting started with angular

Install:

Page 18: Getting started with angular

Resourcesangularjs.com

egghead.io

weblogs.asp.net/dwahlin/archive/2013/04/12/video-tutorial-angularjs-fundamentals-in-60-ish-minutes.aspx

johnlindquist.com

docs.angularjs.org/guide/concepts

github.com/jperl/angular-jquery-mobile

http://cliffmeyers.com/blog/2013/4/21/code-organization-angularjs-javascript

For WPF / Silverlight Developers– https://csharprambling.wordpress.com/category/angularjs/

Page 19: Getting started with angular

Thanks!

@jon_perl

[email protected]