SlideShare a Scribd company logo
02 | AngularJS
Helen Zeng | Startup Developer Evangelist
Steven Edouard | Startup Developer Evangelist
• What’s a front end framework?
• Directives
• Modules & Controllers
• Models & Data Binding
• Routing
Module Overview
Front End Frameworks
A framework, not a library
• jQuery is a library with functions that makes javascript
interactions less painful
• Angular.js is an MVC framework. You use it to structure out your
application looks (view) from your data (model) and the logic
and functions that are executed (controller). It’s also extremely
test driven.
Why Use Angular?
• “What HTML would look like if it was designed for web apps”
• Keep your code organized and structured
• Two way data bindings
• Great for single page applications
• Easy to test
Front End Frameworks
• Angular isn’t the only one out there. There’s a whole ecosystem
– React.js
– Ember.js
– Backbone.js
DEMO
Hello World
Directives
Directives
• Angular-only HTML attributes
• Attaches some specific behavior to the element
• Usually begins with ‘ng-’ or ‘data-ng’
Models and Controllers
Modules
• A container for your application
• var myModule = angular.module(‘myApp’, [ ]);
Controllers
• Contains the business logic for a part of your application
• Sets up your data to be viewed in your HTML
• myModule.controller(‘myController’, function($scope){
});
Dependency Injection
• How we specify the dependencies that an Angular component
will need.
Templates
• The Angularized HTML we’re created
• Used to render the View (what the end-user will see)
DEMO
Models and Data Binding
$scope
• Links your controller to your view (what the user sees)
• Created through as an injectable parameter in controllers
• Configured within controller logic
• Contains the models for our data
Displaying and Binding Data
• Display using double braces {{ }}
• Bind data using directives:
– ng-model for two way data binding
– ng-bind for one way data binding
DEMO
Front End Routing
Routing
• Create app with multiple views
• Must pass `ngRoute` module to app
• Detects url and uses the appropriate template
Creating Partials
• Sections of the page to be rendered as-needed
• Rendered inside ng-view
DEMO
©2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the
U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft
must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

What's hot

Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
Naga Harish M
 
Dot net interview questions and asnwers
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwers
kavinilavuG
 
MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017
Innovation Studio
 
Valentine with Angular js - Introduction
Valentine with Angular js - IntroductionValentine with Angular js - Introduction
Valentine with Angular js - Introduction
Senthil Kumar
 
ASP .NET MVC - best practices
ASP .NET MVC - best practicesASP .NET MVC - best practices
ASP .NET MVC - best practices
Bohdan Pashkovskyi
 
Angular JS tutorial
Angular JS tutorialAngular JS tutorial
Angular JS tutorial
cncwebworld
 
4. Introduction to ASP.NET MVC - Part I
4. Introduction to ASP.NET MVC - Part I4. Introduction to ASP.NET MVC - Part I
4. Introduction to ASP.NET MVC - Part I
Rohit Rao
 
Model Binding In ASP.NET MVC
Model Binding In ASP.NET MVCModel Binding In ASP.NET MVC
Model Binding In ASP.NET MVC
Mindfire Solutions
 
MVC
MVCMVC
Introduction to Angular Js
Introduction to Angular JsIntroduction to Angular Js
Introduction to Angular Js
Professional Guru
 
Introduction to single page application with angular js
Introduction to single page application with angular jsIntroduction to single page application with angular js
Introduction to single page application with angular js
Mindfire Solutions
 
Angularjs Basics
Angularjs BasicsAngularjs Basics
Angularjs Basics
Jayantha Sirisena
 
ASP .Net MVC 5
ASP .Net MVC 5ASP .Net MVC 5
ASP .Net MVC 5
Nilachal sethi
 
MSDN - ASP.NET MVC
MSDN - ASP.NET MVCMSDN - ASP.NET MVC
MSDN - ASP.NET MVC
Maarten Balliauw
 
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
Hatem Hamad
 
ANGULAR JS TRAINING IN PUNE
ANGULAR JS TRAINING IN PUNEANGULAR JS TRAINING IN PUNE
ANGULAR JS TRAINING IN PUNE
cncwebworld
 
MVC architecture
MVC architectureMVC architecture
MVC architecture
Emily Bauman
 
Angular introduction basic
Angular introduction basicAngular introduction basic
Angular introduction basic
jagriti srivastava
 
ASP .NET MVC
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
eldorina
 
MVC Architecture
MVC ArchitectureMVC Architecture

What's hot (20)

Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
 
Dot net interview questions and asnwers
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwers
 
MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017
 
Valentine with Angular js - Introduction
Valentine with Angular js - IntroductionValentine with Angular js - Introduction
Valentine with Angular js - Introduction
 
ASP .NET MVC - best practices
ASP .NET MVC - best practicesASP .NET MVC - best practices
ASP .NET MVC - best practices
 
Angular JS tutorial
Angular JS tutorialAngular JS tutorial
Angular JS tutorial
 
4. Introduction to ASP.NET MVC - Part I
4. Introduction to ASP.NET MVC - Part I4. Introduction to ASP.NET MVC - Part I
4. Introduction to ASP.NET MVC - Part I
 
Model Binding In ASP.NET MVC
Model Binding In ASP.NET MVCModel Binding In ASP.NET MVC
Model Binding In ASP.NET MVC
 
MVC
MVCMVC
MVC
 
Introduction to Angular Js
Introduction to Angular JsIntroduction to Angular Js
Introduction to Angular Js
 
Introduction to single page application with angular js
Introduction to single page application with angular jsIntroduction to single page application with angular js
Introduction to single page application with angular js
 
Angularjs Basics
Angularjs BasicsAngularjs Basics
Angularjs Basics
 
ASP .Net MVC 5
ASP .Net MVC 5ASP .Net MVC 5
ASP .Net MVC 5
 
MSDN - ASP.NET MVC
MSDN - ASP.NET MVCMSDN - ASP.NET MVC
MSDN - ASP.NET MVC
 
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
 
ANGULAR JS TRAINING IN PUNE
ANGULAR JS TRAINING IN PUNEANGULAR JS TRAINING IN PUNE
ANGULAR JS TRAINING IN PUNE
 
MVC architecture
MVC architectureMVC architecture
MVC architecture
 
Angular introduction basic
Angular introduction basicAngular introduction basic
Angular introduction basic
 
ASP .NET MVC
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
 

Similar to Module2

Learning AngularJS - Complete coverage of AngularJS features and concepts
Learning AngularJS  - Complete coverage of AngularJS features and conceptsLearning AngularJS  - Complete coverage of AngularJS features and concepts
Learning AngularJS - Complete coverage of AngularJS features and concepts
Suresh Patidar
 
AngularJs (1.x) Presentation
AngularJs (1.x) PresentationAngularJs (1.x) Presentation
AngularJs (1.x) Presentation
Raghubir Singh
 
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
Edureka!
 
Angular JS - Introduction
Angular JS - IntroductionAngular JS - Introduction
Angular JS - Introduction
Sagar Acharya
 
Angular patterns
Angular patternsAngular patterns
Angular patterns
Premkumar M
 
Angular JS, A dive to concepts
Angular JS, A dive to conceptsAngular JS, A dive to concepts
Angular JS, A dive to concepts
Abhishek Sur
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
Eusebiu Schipor
 
Angular js 1.3 basic tutorial
Angular js 1.3 basic tutorialAngular js 1.3 basic tutorial
Angular js 1.3 basic tutorial
Al-Mutaz Bellah Salahat
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
Mohd Abdul Baquee
 
MVC Framework
MVC FrameworkMVC Framework
MVC Framework
Ashton Feller
 
Sitecore mvc
Sitecore mvcSitecore mvc
Sitecore mvc
pratik satikunvar
 
Knockout js
Knockout jsKnockout js
Mobile App Architectures & Coding guidelines
Mobile App Architectures & Coding guidelinesMobile App Architectures & Coding guidelines
Mobile App Architectures & Coding guidelines
Qamar Abbas
 
Itroducing Angular JS
Itroducing Angular JSItroducing Angular JS
Itroducing Angular JS
Carlos Emanuel Mathiasen
 
AngularJS
AngularJSAngularJS
What's new in Angular 2?
What's new in Angular 2?What's new in Angular 2?
What's new in Angular 2?
Alfred Jett Grandeza
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
Architectural Design & Patterns
Architectural Design&PatternsArchitectural Design&Patterns
Architectural Design & Patterns
Inocentshuja Ahmad
 
Knockout implementing mvvm in java script with knockout
Knockout implementing mvvm in java script with knockoutKnockout implementing mvvm in java script with knockout
Knockout implementing mvvm in java script with knockout
Andoni Arroyo
 
Overview of the AngularJS framework
Overview of the AngularJS framework Overview of the AngularJS framework
Overview of the AngularJS framework
Yakov Fain
 

Similar to Module2 (20)

Learning AngularJS - Complete coverage of AngularJS features and concepts
Learning AngularJS  - Complete coverage of AngularJS features and conceptsLearning AngularJS  - Complete coverage of AngularJS features and concepts
Learning AngularJS - Complete coverage of AngularJS features and concepts
 
AngularJs (1.x) Presentation
AngularJs (1.x) PresentationAngularJs (1.x) Presentation
AngularJs (1.x) Presentation
 
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
What Is Angular 2 | Angular 2 Tutorial For Beginners | Angular Training | Edu...
 
Angular JS - Introduction
Angular JS - IntroductionAngular JS - Introduction
Angular JS - Introduction
 
Angular patterns
Angular patternsAngular patterns
Angular patterns
 
Angular JS, A dive to concepts
Angular JS, A dive to conceptsAngular JS, A dive to concepts
Angular JS, A dive to concepts
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
 
Angular js 1.3 basic tutorial
Angular js 1.3 basic tutorialAngular js 1.3 basic tutorial
Angular js 1.3 basic tutorial
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
 
MVC Framework
MVC FrameworkMVC Framework
MVC Framework
 
Sitecore mvc
Sitecore mvcSitecore mvc
Sitecore mvc
 
Knockout js
Knockout jsKnockout js
Knockout js
 
Mobile App Architectures & Coding guidelines
Mobile App Architectures & Coding guidelinesMobile App Architectures & Coding guidelines
Mobile App Architectures & Coding guidelines
 
Itroducing Angular JS
Itroducing Angular JSItroducing Angular JS
Itroducing Angular JS
 
AngularJS
AngularJSAngularJS
AngularJS
 
What's new in Angular 2?
What's new in Angular 2?What's new in Angular 2?
What's new in Angular 2?
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 
Architectural Design & Patterns
Architectural Design&PatternsArchitectural Design&Patterns
Architectural Design & Patterns
 
Knockout implementing mvvm in java script with knockout
Knockout implementing mvvm in java script with knockoutKnockout implementing mvvm in java script with knockout
Knockout implementing mvvm in java script with knockout
 
Overview of the AngularJS framework
Overview of the AngularJS framework Overview of the AngularJS framework
Overview of the AngularJS framework
 

Recently uploaded

➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Barbie Made To Move Skin Tones Matches.pptx
Barbie Made To Move Skin Tones Matches.pptxBarbie Made To Move Skin Tones Matches.pptx
Barbie Made To Move Skin Tones Matches.pptx
LinaCosta15
 
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
19rmjonz
 
Full CAD Project Cardiovascuwhore Debut PDF CAD Meena Pittman
Full CAD Project Cardiovascuwhore Debut PDF CAD Meena PittmanFull CAD Project Cardiovascuwhore Debut PDF CAD Meena Pittman
Full CAD Project Cardiovascuwhore Debut PDF CAD Meena Pittman
meenap32
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Satta matka guessing matka Kalyan chart
Satta matka guessing matka Kalyan  chartSatta matka guessing matka Kalyan  chart
Satta matka guessing matka Kalyan chart
Kalyan matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Colour Theory for Painting - Fine Artist.pdf
Colour Theory for Painting - Fine Artist.pdfColour Theory for Painting - Fine Artist.pdf
Colour Theory for Painting - Fine Artist.pdf
Ketan Naik
 
Minor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptxMinor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptx
MichaelMinor19
 
PART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary Grades
PART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary GradesPART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary Grades
PART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary Grades
ssuser090cdf1
 
VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------
ssathiyanishanth8
 
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Cottage9 Enterprises
 
哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样
哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样
哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样
a0pr7yf1
 
Femmely-ACP-how to use social media to drive engagement
Femmely-ACP-how to use social media to drive engagementFemmely-ACP-how to use social media to drive engagement
Femmely-ACP-how to use social media to drive engagement
19jli3
 
This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!
briannedpegg
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
storyboard: Victor and Verlin discussing about top hat
storyboard: Victor and Verlin discussing about top hatstoryboard: Victor and Verlin discussing about top hat
storyboard: Victor and Verlin discussing about top hat
LyneSun
 

Recently uploaded (20)

➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
 
Barbie Made To Move Skin Tones Matches.pptx
Barbie Made To Move Skin Tones Matches.pptxBarbie Made To Move Skin Tones Matches.pptx
Barbie Made To Move Skin Tones Matches.pptx
 
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
 
Full CAD Project Cardiovascuwhore Debut PDF CAD Meena Pittman
Full CAD Project Cardiovascuwhore Debut PDF CAD Meena PittmanFull CAD Project Cardiovascuwhore Debut PDF CAD Meena Pittman
Full CAD Project Cardiovascuwhore Debut PDF CAD Meena Pittman
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 
Satta matka guessing matka Kalyan chart
Satta matka guessing matka Kalyan  chartSatta matka guessing matka Kalyan  chart
Satta matka guessing matka Kalyan chart
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
Dpboss Matka Guessing Satta Matta Matka Kalyan panel Chart Indian Matka Dpbos...
 
Colour Theory for Painting - Fine Artist.pdf
Colour Theory for Painting - Fine Artist.pdfColour Theory for Painting - Fine Artist.pdf
Colour Theory for Painting - Fine Artist.pdf
 
Minor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptxMinor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptx
 
PART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary Grades
PART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary GradesPART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary Grades
PART B. UNIT 1 REPORT.pptx The Artist Mindset in the Elementary Grades
 
VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------VTV FULL SCRIPT ------------------------
VTV FULL SCRIPT ------------------------
 
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Indian Matka
 
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
 
哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样
哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样
哪里购买(ucr毕业证书)美国加州大学河滨分校毕业证研究生文凭证书原版一模一样
 
Femmely-ACP-how to use social media to drive engagement
Femmely-ACP-how to use social media to drive engagementFemmely-ACP-how to use social media to drive engagement
Femmely-ACP-how to use social media to drive engagement
 
This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
 
storyboard: Victor and Verlin discussing about top hat
storyboard: Victor and Verlin discussing about top hatstoryboard: Victor and Verlin discussing about top hat
storyboard: Victor and Verlin discussing about top hat
 

Module2

  • 1. 02 | AngularJS Helen Zeng | Startup Developer Evangelist Steven Edouard | Startup Developer Evangelist
  • 2. • What’s a front end framework? • Directives • Modules & Controllers • Models & Data Binding • Routing Module Overview
  • 4. A framework, not a library • jQuery is a library with functions that makes javascript interactions less painful • Angular.js is an MVC framework. You use it to structure out your application looks (view) from your data (model) and the logic and functions that are executed (controller). It’s also extremely test driven.
  • 5. Why Use Angular? • “What HTML would look like if it was designed for web apps” • Keep your code organized and structured • Two way data bindings • Great for single page applications • Easy to test
  • 6. Front End Frameworks • Angular isn’t the only one out there. There’s a whole ecosystem – React.js – Ember.js – Backbone.js
  • 9. Directives • Angular-only HTML attributes • Attaches some specific behavior to the element • Usually begins with ‘ng-’ or ‘data-ng’
  • 11. Modules • A container for your application • var myModule = angular.module(‘myApp’, [ ]);
  • 12. Controllers • Contains the business logic for a part of your application • Sets up your data to be viewed in your HTML • myModule.controller(‘myController’, function($scope){ });
  • 13. Dependency Injection • How we specify the dependencies that an Angular component will need.
  • 14. Templates • The Angularized HTML we’re created • Used to render the View (what the end-user will see)
  • 15. DEMO
  • 16. Models and Data Binding
  • 17. $scope • Links your controller to your view (what the user sees) • Created through as an injectable parameter in controllers • Configured within controller logic • Contains the models for our data
  • 18. Displaying and Binding Data • Display using double braces {{ }} • Bind data using directives: – ng-model for two way data binding – ng-bind for one way data binding
  • 19. DEMO
  • 21. Routing • Create app with multiple views • Must pass `ngRoute` module to app • Detects url and uses the appropriate template
  • 22. Creating Partials • Sections of the page to be rendered as-needed • Rendered inside ng-view
  • 23. DEMO
  • 24. ©2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Editor's Notes

  1. 1
  2. jQuery is great, and it simplifies a lot of the work we have to do with Javascript, like navigating the DOM or making AJAX calls. But it can get messy and complicated as your codebase grows
  3. Going to put them in use by creating our first app.
  4. Kind of like the main() method
  5. Create Angular module Create main.html Add Angular in Create a controller. Leave it empty for now.
  6. Create posts, newPost, and a posting function
  7. Putting everything into partials Creating routes with ngRoute Putting everything in a server and showing main Adding in navigation.