SlideShare a Scribd company logo
1 of 14
Introduction to Angular
1
Who uses Angular ?
• PayPal, The Home Depot, Under Armor, JetBlue and many more.
• Google sites : Google express, Google cloud platform etc.
https://www.madewithangular.com/#/
©2015 PayPal Inc. Confidential and proprietary. 2
Why angular ?
• Data-Binding
• DOM Manipulation
• MVW Architecture / Modules / Dependency Injection
• REST Easy
• Easy to test (Karma.js)
• Single Page App
• Developed by Google
©2015 PayPal Inc. Confidential and proprietary. 3
What is angular ?
• AngularJS is a client-side web application framework.
• It lets you use good old HTML and lets you extend HTML’s syntax to express your
application’s components clearly.
• It automatically synchronizes data from your UI (view) with your JavaScript objects
(model) through 2-way data binding.
• To help you structure your application better and make it easy to test, AngularJS teaches
the browser how to do dependency injection and inversion of control.
©2016 PayPal Inc. Confidential and proprietary. 4
AngularJS components
• Module
• Directive
• Controllers
• Filters
• Services
©2015 PayPal Inc. Confidential and proprietary. 5
Module
• Where we write pieces of our Angular application.
• Makes our code more maintainable, testable, and readable.
• Where we define dependencies for our app.
Example :
https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/hello-angular.html
©2015 PayPal Inc. Confidential and proprietary. 6
Controller
• Controllers are where we define our app’s behavior by defining functions and values.
©2015 PayPal Inc. Confidential and proprietary. 7
Directives
• HTML annotations that trigger JavaScript behaviors
©2015 PayPal Inc. Confidential and proprietary. 8
Custom Directives
https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/hello-directives.html
©2015 PayPal Inc. Confidential and proprietary. 9
Filters
• Filters are use for formatting input data or can be used for validations.
©2015 PayPal Inc. Confidential and proprietary. 10
Single Page App
• Single-Page Applications (SPAs) are Web apps that load a single HTML page and dynamically update
that page as the user interacts with the app.
https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/hello-spa.html
©2015 PayPal Inc. Confidential and proprietary. 11
Two way data binding
• Data-binding in Angular apps is the automatic synchronization of data between the model and view
components.
• The way that Angular implements data-binding lets you treat the model as the single-source-of-truth in your
application.
• The view is a projection of the model at all times. When the model changes, the view reflects the change, and
vice versa.
• https://docs.angularjs.org/guide/databinding
https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular-Fundamentals/twoWayDataBinding.html
©2015 PayPal Inc. Confidential and proprietary. 12
Angular Services
• Angular services are substitutable objects that are wired together using dependency injection (DI). You can use
services to organize and share code across your app.
• Angular services are:
• Lazily instantiated – Angular only instantiates a service when an application component depends on it.
• Singletons – Each component dependent on a service gets a reference to the single instance generated by the
service factory.
https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/angularServices.html
©2015 PayPal Inc. Confidential and proprietary. 13
Angular Demo
https://github.com/hitesh00025/Sample-Angular-App
©2015 PayPal Inc. Confidential and proprietary. 14

More Related Content

What's hot

SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...
SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...
SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...Sparked
 
HTML5 Charting in ASP.NET using RadHtmlChart
HTML5 Charting in ASP.NET using RadHtmlChartHTML5 Charting in ASP.NET using RadHtmlChart
HTML5 Charting in ASP.NET using RadHtmlChartLohith Goudagere Nagaraj
 
Single page application 03
Single page application   03Single page application   03
Single page application 03Ismaeel Enjreny
 
New Enterprisre Capabilities in Telerik Platform
New Enterprisre Capabilities in Telerik PlatformNew Enterprisre Capabilities in Telerik Platform
New Enterprisre Capabilities in Telerik PlatformLohith Goudagere Nagaraj
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVCSunpawet Somsin
 
Introduction to AngularJS with the Microsoft Graph
Introduction to AngularJS with the Microsoft GraphIntroduction to AngularJS with the Microsoft Graph
Introduction to AngularJS with the Microsoft GraphSPC Adriatics
 
Open office doc inside windows metro app
Open office doc inside windows metro appOpen office doc inside windows metro app
Open office doc inside windows metro appAshish Agrawal
 
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...Massimo Bonanni
 
Rails Engines
Rails EnginesRails Engines
Rails Enginessean_todd
 
Vaadin7 - coding ui components
Vaadin7 -  coding ui componentsVaadin7 -  coding ui components
Vaadin7 - coding ui componentsPatrick Pfister
 
Presentation_muffin_conference_2015
Presentation_muffin_conference_2015Presentation_muffin_conference_2015
Presentation_muffin_conference_2015Lyubomir Vetskov
 
Silverlight Simon Wilkinson
Silverlight   Simon WilkinsonSilverlight   Simon Wilkinson
Silverlight Simon WilkinsonSimon Wilkinson
 

What's hot (18)

SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...
SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...
SharePoint Highlights: SharePoint Site Provisioning On-premises and in the Cl...
 
HTML5 Charting in ASP.NET using RadHtmlChart
HTML5 Charting in ASP.NET using RadHtmlChartHTML5 Charting in ASP.NET using RadHtmlChart
HTML5 Charting in ASP.NET using RadHtmlChart
 
Single page application 03
Single page application   03Single page application   03
Single page application 03
 
Mvc
MvcMvc
Mvc
 
New Enterprisre Capabilities in Telerik Platform
New Enterprisre Capabilities in Telerik PlatformNew Enterprisre Capabilities in Telerik Platform
New Enterprisre Capabilities in Telerik Platform
 
Angular introduction basic
Angular introduction basicAngular introduction basic
Angular introduction basic
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
AngularJS
AngularJSAngularJS
AngularJS
 
Togu CMS
Togu CMSTogu CMS
Togu CMS
 
Introduction to AngularJS with the Microsoft Graph
Introduction to AngularJS with the Microsoft GraphIntroduction to AngularJS with the Microsoft Graph
Introduction to AngularJS with the Microsoft Graph
 
Asp
AspAsp
Asp
 
Open office doc inside windows metro app
Open office doc inside windows metro appOpen office doc inside windows metro app
Open office doc inside windows metro app
 
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
 
Rails Engines
Rails EnginesRails Engines
Rails Engines
 
Vaadin7 - coding ui components
Vaadin7 -  coding ui componentsVaadin7 -  coding ui components
Vaadin7 - coding ui components
 
Presentation_muffin_conference_2015
Presentation_muffin_conference_2015Presentation_muffin_conference_2015
Presentation_muffin_conference_2015
 
Html5 data viz
Html5 data vizHtml5 data viz
Html5 data viz
 
Silverlight Simon Wilkinson
Silverlight   Simon WilkinsonSilverlight   Simon Wilkinson
Silverlight Simon Wilkinson
 

Viewers also liked

מכוניות ישנות 3
מכוניות ישנות 3מכוניות ישנות 3
מכוניות ישנות 3sal23
 
Rajneesh-Certificate_1
Rajneesh-Certificate_1Rajneesh-Certificate_1
Rajneesh-Certificate_1rajneesh kumar
 
Dna Slides
Dna SlidesDna Slides
Dna Slidesjreams
 
Ieee Meeting Anacapri
Ieee Meeting AnacapriIeee Meeting Anacapri
Ieee Meeting Anacapripasq_tlc
 
Hire Tempo Traveller On Rent in Delhi
Hire Tempo Traveller On Rent in DelhiHire Tempo Traveller On Rent in Delhi
Hire Tempo Traveller On Rent in Delhirahulvashisht2692
 
music videos
music videosmusic videos
music videosTee983
 
Creditori del comune, ecco chi sarà pagato
Creditori del comune, ecco chi sarà pagatoCreditori del comune, ecco chi sarà pagato
Creditori del comune, ecco chi sarà pagatoDaniela Petrecca
 
Kraken.js - Giving Extra Arms to your Node.js App
Kraken.js - Giving Extra Arms to your Node.js AppKraken.js - Giving Extra Arms to your Node.js App
Kraken.js - Giving Extra Arms to your Node.js AppJeff Prestes
 
Werelddag van de Stedenbouw 2014. VRP-Internationaal. Griet Geerinck
Werelddag van de Stedenbouw 2014. VRP-Internationaal. Griet GeerinckWerelddag van de Stedenbouw 2014. VRP-Internationaal. Griet Geerinck
Werelddag van de Stedenbouw 2014. VRP-Internationaal. Griet GeerinckEls Brouwers
 
ניהול ומדידת ביצועים
ניהול ומדידת ביצועיםניהול ומדידת ביצועים
ניהול ומדידת ביצועיםESP
 
Why the Color wheel is of no use
Why the Color wheel is of no useWhy the Color wheel is of no use
Why the Color wheel is of no useSivam Krish
 
Minueto L.v. beethoven
Minueto L.v. beethovenMinueto L.v. beethoven
Minueto L.v. beethovenAxel Roldan
 
ESP (English for Specific Purposes) Origin
ESP (English for Specific Purposes) OriginESP (English for Specific Purposes) Origin
ESP (English for Specific Purposes) OriginMontefolka Ruel
 
Forging Aerospace PCC
Forging Aerospace PCCForging Aerospace PCC
Forging Aerospace PCCJohn Silk
 

Viewers also liked (19)

מכוניות ישנות 3
מכוניות ישנות 3מכוניות ישנות 3
מכוניות ישנות 3
 
Rajneesh-Certificate_1
Rajneesh-Certificate_1Rajneesh-Certificate_1
Rajneesh-Certificate_1
 
Dna Slides
Dna SlidesDna Slides
Dna Slides
 
CV Zepto 2015
CV Zepto 2015CV Zepto 2015
CV Zepto 2015
 
Ieee Meeting Anacapri
Ieee Meeting AnacapriIeee Meeting Anacapri
Ieee Meeting Anacapri
 
Hire Tempo Traveller On Rent in Delhi
Hire Tempo Traveller On Rent in DelhiHire Tempo Traveller On Rent in Delhi
Hire Tempo Traveller On Rent in Delhi
 
Bab 5
Bab 5Bab 5
Bab 5
 
music videos
music videosmusic videos
music videos
 
Письмо элементов букв
Письмо элементов буквПисьмо элементов букв
Письмо элементов букв
 
Creditori del comune, ecco chi sarà pagato
Creditori del comune, ecco chi sarà pagatoCreditori del comune, ecco chi sarà pagato
Creditori del comune, ecco chi sarà pagato
 
Kraken.js - Giving Extra Arms to your Node.js App
Kraken.js - Giving Extra Arms to your Node.js AppKraken.js - Giving Extra Arms to your Node.js App
Kraken.js - Giving Extra Arms to your Node.js App
 
Werelddag van de Stedenbouw 2014. VRP-Internationaal. Griet Geerinck
Werelddag van de Stedenbouw 2014. VRP-Internationaal. Griet GeerinckWerelddag van de Stedenbouw 2014. VRP-Internationaal. Griet Geerinck
Werelddag van de Stedenbouw 2014. VRP-Internationaal. Griet Geerinck
 
printflats2
printflats2printflats2
printflats2
 
ניהול ומדידת ביצועים
ניהול ומדידת ביצועיםניהול ומדידת ביצועים
ניהול ומדידת ביצועים
 
Why the Color wheel is of no use
Why the Color wheel is of no useWhy the Color wheel is of no use
Why the Color wheel is of no use
 
Curriculum Vitae
Curriculum VitaeCurriculum Vitae
Curriculum Vitae
 
Minueto L.v. beethoven
Minueto L.v. beethovenMinueto L.v. beethoven
Minueto L.v. beethoven
 
ESP (English for Specific Purposes) Origin
ESP (English for Specific Purposes) OriginESP (English for Specific Purposes) Origin
ESP (English for Specific Purposes) Origin
 
Forging Aerospace PCC
Forging Aerospace PCCForging Aerospace PCC
Forging Aerospace PCC
 

Similar to Angular

The A1 by Christian John Felix
The A1 by Christian John FelixThe A1 by Christian John Felix
The A1 by Christian John FelixDEVCON
 
Overview of the AngularJS framework
Overview of the AngularJS framework Overview of the AngularJS framework
Overview of the AngularJS framework Yakov Fain
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxsarah david
 
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 patterns
Angular patternsAngular patterns
Angular patternsPremkumar M
 
Angularjs y Simple Page Applications
Angularjs y Simple Page Applications Angularjs y Simple Page Applications
Angularjs y Simple Page Applications johnpisg
 
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
 
Angular Project Report
 Angular Project Report Angular Project Report
Angular Project ReportKodexhub
 
AngularJs (1.x) Presentation
AngularJs (1.x) PresentationAngularJs (1.x) Presentation
AngularJs (1.x) PresentationRaghubir Singh
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptangularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptCuneiform Consulting Pvt Ltd.
 

Similar to Angular (20)

AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
 
The A1 "AngularJS 1 Kick Start"
The A1 "AngularJS 1 Kick Start"The A1 "AngularJS 1 Kick Start"
The A1 "AngularJS 1 Kick Start"
 
The A1 by Christian John Felix
The A1 by Christian John FelixThe A1 by Christian John Felix
The A1 by Christian John Felix
 
What is Angular?
What is Angular?What is Angular?
What is Angular?
 
Ajs ppt
Ajs pptAjs ppt
Ajs ppt
 
Itroducing Angular JS
Itroducing Angular JSItroducing Angular JS
Itroducing Angular JS
 
Overview of the AngularJS framework
Overview of the AngularJS framework Overview of the AngularJS framework
Overview of the AngularJS framework
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
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 patterns
Angular patternsAngular patterns
Angular patterns
 
Angular js
Angular jsAngular js
Angular js
 
Angularjs y Simple Page Applications
Angularjs y Simple Page Applications Angularjs y Simple Page Applications
Angularjs y Simple Page Applications
 
What is the Use of Angular?
What is the Use of Angular?What is the Use of Angular?
What is the Use of Angular?
 
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?
 
Module2
Module2Module2
Module2
 
Angular Project Report
 Angular Project Report Angular Project Report
Angular Project Report
 
Knockout js
Knockout jsKnockout js
Knockout js
 
AngularJs (1.x) Presentation
AngularJs (1.x) PresentationAngularJs (1.x) Presentation
AngularJs (1.x) Presentation
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptangularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
 

Angular

  • 2. Who uses Angular ? • PayPal, The Home Depot, Under Armor, JetBlue and many more. • Google sites : Google express, Google cloud platform etc. https://www.madewithangular.com/#/ ©2015 PayPal Inc. Confidential and proprietary. 2
  • 3. Why angular ? • Data-Binding • DOM Manipulation • MVW Architecture / Modules / Dependency Injection • REST Easy • Easy to test (Karma.js) • Single Page App • Developed by Google ©2015 PayPal Inc. Confidential and proprietary. 3
  • 4. What is angular ? • AngularJS is a client-side web application framework. • It lets you use good old HTML and lets you extend HTML’s syntax to express your application’s components clearly. • It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. • To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control. ©2016 PayPal Inc. Confidential and proprietary. 4
  • 5. AngularJS components • Module • Directive • Controllers • Filters • Services ©2015 PayPal Inc. Confidential and proprietary. 5
  • 6. Module • Where we write pieces of our Angular application. • Makes our code more maintainable, testable, and readable. • Where we define dependencies for our app. Example : https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/hello-angular.html ©2015 PayPal Inc. Confidential and proprietary. 6
  • 7. Controller • Controllers are where we define our app’s behavior by defining functions and values. ©2015 PayPal Inc. Confidential and proprietary. 7
  • 8. Directives • HTML annotations that trigger JavaScript behaviors ©2015 PayPal Inc. Confidential and proprietary. 8
  • 10. Filters • Filters are use for formatting input data or can be used for validations. ©2015 PayPal Inc. Confidential and proprietary. 10
  • 11. Single Page App • Single-Page Applications (SPAs) are Web apps that load a single HTML page and dynamically update that page as the user interacts with the app. https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/hello-spa.html ©2015 PayPal Inc. Confidential and proprietary. 11
  • 12. Two way data binding • Data-binding in Angular apps is the automatic synchronization of data between the model and view components. • The way that Angular implements data-binding lets you treat the model as the single-source-of-truth in your application. • The view is a projection of the model at all times. When the model changes, the view reflects the change, and vice versa. • https://docs.angularjs.org/guide/databinding https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular-Fundamentals/twoWayDataBinding.html ©2015 PayPal Inc. Confidential and proprietary. 12
  • 13. Angular Services • Angular services are substitutable objects that are wired together using dependency injection (DI). You can use services to organize and share code across your app. • Angular services are: • Lazily instantiated – Angular only instantiates a service when an application component depends on it. • Singletons – Each component dependent on a service gets a reference to the single instance generated by the service factory. https://github.com/hitesh00025/Angular-Fundamentals/blob/master/Angular%20Fundamentals/angularServices.html ©2015 PayPal Inc. Confidential and proprietary. 13