SlideShare a Scribd company logo
1 of 13
AngularJS is a very powerful JavaScript Framework. It is used in
Single Page Application (SPA) projects. It extends HTML DOM
with additional attributes and makes it more responsive to user
actions. AngularJS is open source, completely free, and used by
thousands of developers around the world. It is licensed under
the Apache license version 2.0.
Prerequisites
 Before you learn AngularJS, you should have a basic
understanding of:
 HTML
 CSS
 JavaScript
AngularJS History
 AngularJS version 1.0 was released in 2012.
 Miško Hevery, a Google employee, started to work with
AngularJS in 2009.
 The idea turned out very well, and the project is now
officially supported by Google.
Introduction
 AngularJS is a JavaScript framework. It can be added
to an HTML page with a <script> tag.
 AngularJS extends HTML attributes with Directives,
and binds data to HTML with Expressions.
 AngularJS extends HTML with ng-directives.
 The ng-app directive defines an AngularJS
application.
 The ng-model directive binds the value of HTML
controls (input, select, textarea) to application data.
 The ng-bind directive binds application data to the
HTML view.
AngularJS Applications
 AngularJS modules define AngularJS applications.
 AngularJS controllers control AngularJS applications.
 The ng-app directive defines the application, the ng-
controller directive defines the controller.
Controllers
 In Angular, a Controller is defined by a
JavaScript constructor function that is used to
augment the Angular Scope.
 When a Controller is attached to the DOM via the ng-
controller directive, Angular will instantiate a new
Controller object, using the specified
Controller's constructor function. A new child
scope will be created and made available as an
injectable parameter to the Controller's constructor
function as $scope
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.
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.
 Angular offers several useful services (like $http), but for
most applications you'll also want to create your own.
What are Scopes?
 Scope is an object that refers to the application model.
It is an execution context for expressions. Scopes are
arranged in hierarchical structure which mimic the
DOM structure of the application. Scopes can
watch expressions and propagate events.
Templates
 In Angular, templates are written with HTML that contains Angular-
specific elements and attributes. Angular combines the template with
information from the model and controller to render the dynamic view
that a user sees in the browser.
 These are the types of Angular elements and attributes you can use:
 Directive — An attribute or element that augments an existing DOM
element or represents a reusable DOM component.
 Markup — The double curly brace notation {{ }} to bind expressions to
elements is built-in Angular markup.
 Filter — Formats data for display.
 Form controls — Validates user input.
AngularJS Example
 <!DOCTYPE html>
<html>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs
/1.4.8/angular.min.js"></script>
<body>
<div ng-app="">
<p>Name: <input type="text" ng-model="name"></p>
<p ng-bind="name"></p>
</div>
</body>
</html>
output

More Related Content

What's hot

Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in JaipurHEMANT SAXENA
 
Angular workshop
Angular workshopAngular workshop
Angular workshophoa long
 
How to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a BackendHow to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a BackendBackand Cohen
 
Mastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksMastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksGaurav Singh
 
Angular vs. AngularJS: A Complete Comparison Guide
Angular vs. AngularJS: A Complete Comparison GuideAngular vs. AngularJS: A Complete Comparison Guide
Angular vs. AngularJS: A Complete Comparison GuideCloud Analogy
 
Leveling up with AngularJS
Leveling up with AngularJSLeveling up with AngularJS
Leveling up with AngularJSAustin Condiff
 
Angular JS, steal the idea
Angular JS, steal the ideaAngular JS, steal the idea
Angular JS, steal the ideaScott Lee
 
Controllers in AngularJs
Controllers in AngularJsControllers in AngularJs
Controllers in AngularJsK Arunkumar
 
Configration Management
Configration ManagementConfigration Management
Configration Managementlaurent_capin
 
2010 08-26-smart-architecture
2010 08-26-smart-architecture2010 08-26-smart-architecture
2010 08-26-smart-architectureCHIP
 
Designing REST API
Designing REST APIDesigning REST API
Designing REST APIJoseph Jude
 
Formation angular js/Ionic
Formation angular js/IonicFormation angular js/Ionic
Formation angular js/IonicHana Amiri
 
Angular App Presentation
Angular App PresentationAngular App Presentation
Angular App PresentationElizabeth Long
 

What's hot (20)

Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in Jaipur
 
Angular workshop
Angular workshopAngular workshop
Angular workshop
 
How to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a BackendHow to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a Backend
 
Angular overview
Angular overviewAngular overview
Angular overview
 
AngularJS 1.x training
AngularJS 1.x trainingAngularJS 1.x training
AngularJS 1.x training
 
Angular Introduction
Angular IntroductionAngular Introduction
Angular Introduction
 
Itroducing Angular JS
Itroducing Angular JSItroducing Angular JS
Itroducing Angular JS
 
Mastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksMastering angular - Dot Net Tricks
Mastering angular - Dot Net Tricks
 
Angular vs. AngularJS: A Complete Comparison Guide
Angular vs. AngularJS: A Complete Comparison GuideAngular vs. AngularJS: A Complete Comparison Guide
Angular vs. AngularJS: A Complete Comparison Guide
 
Leveling up with AngularJS
Leveling up with AngularJSLeveling up with AngularJS
Leveling up with AngularJS
 
Ionic
IonicIonic
Ionic
 
Angular vs react
Angular vs reactAngular vs react
Angular vs react
 
Angular JS, steal the idea
Angular JS, steal the ideaAngular JS, steal the idea
Angular JS, steal the idea
 
Controllers in AngularJs
Controllers in AngularJsControllers in AngularJs
Controllers in AngularJs
 
Configration Management
Configration ManagementConfigration Management
Configration Management
 
2010 08-26-smart-architecture
2010 08-26-smart-architecture2010 08-26-smart-architecture
2010 08-26-smart-architecture
 
The MVVM Pattern
The MVVM PatternThe MVVM Pattern
The MVVM Pattern
 
Designing REST API
Designing REST APIDesigning REST API
Designing REST API
 
Formation angular js/Ionic
Formation angular js/IonicFormation angular js/Ionic
Formation angular js/Ionic
 
Angular App Presentation
Angular App PresentationAngular App Presentation
Angular App Presentation
 

Viewers also liked

Agentschap Integratie en Inburgering heeft geschil met provincies
Agentschap Integratie en Inburgering heeft geschil met provinciesAgentschap Integratie en Inburgering heeft geschil met provincies
Agentschap Integratie en Inburgering heeft geschil met provinciesThierry Debels
 
ACI Mercato auto usate novembre 2012
ACI Mercato auto usate novembre 2012ACI Mercato auto usate novembre 2012
ACI Mercato auto usate novembre 2012autoblogpuntoit
 
Luis Alberto Marín- 'Horal', sus orillas extremas
Luis Alberto Marín- 'Horal', sus orillas extremasLuis Alberto Marín- 'Horal', sus orillas extremas
Luis Alberto Marín- 'Horal', sus orillas extremasLuis Alberto Marín Aguilar
 
Workforce Magazine - August 2015
Workforce Magazine - August 2015Workforce Magazine - August 2015
Workforce Magazine - August 2015Dylan Choong
 
Listino prezzi BMW Serie 3 Gran Turismo
Listino prezzi BMW Serie 3 Gran Turismo Listino prezzi BMW Serie 3 Gran Turismo
Listino prezzi BMW Serie 3 Gran Turismo autoblogpuntoit
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networkingPriya Manik
 
STOCK_ANALYSIS_PROJECT
STOCK_ANALYSIS_PROJECTSTOCK_ANALYSIS_PROJECT
STOCK_ANALYSIS_PROJECTLouise Miller
 
Listino Prezzi McLaren 570GT
Listino Prezzi McLaren 570GTListino Prezzi McLaren 570GT
Listino Prezzi McLaren 570GTAutoblog.it
 
Fiat-Chrysler 3,3% VEBA
Fiat-Chrysler 3,3% VEBAFiat-Chrysler 3,3% VEBA
Fiat-Chrysler 3,3% VEBAAutoblog.it
 
Listino Prezzi Lancia Ypsilon
Listino Prezzi Lancia YpsilonListino Prezzi Lancia Ypsilon
Listino Prezzi Lancia Ypsilonautoblogpuntoit
 
group 3
group 3group 3
group 3kilaye
 
Catálogo de plantas para espacios abiertos.
Catálogo de plantas para espacios abiertos.Catálogo de plantas para espacios abiertos.
Catálogo de plantas para espacios abiertos.Charlsarq
 
Bollo auto più caro con carta di credito: 3 milioni di multa all'Aci
Bollo auto più caro con carta di credito: 3 milioni di multa all'AciBollo auto più caro con carta di credito: 3 milioni di multa all'Aci
Bollo auto più caro con carta di credito: 3 milioni di multa all'AciAutoblog.it
 
はじめての UWP アプリ開発
はじめての UWP アプリ開発はじめての UWP アプリ開発
はじめての UWP アプリ開発hiyohiyo
 

Viewers also liked (20)

Agentschap Integratie en Inburgering heeft geschil met provincies
Agentschap Integratie en Inburgering heeft geschil met provinciesAgentschap Integratie en Inburgering heeft geschil met provincies
Agentschap Integratie en Inburgering heeft geschil met provincies
 
ACI Mercato auto usate novembre 2012
ACI Mercato auto usate novembre 2012ACI Mercato auto usate novembre 2012
ACI Mercato auto usate novembre 2012
 
Luis Alberto Marín- 'Horal', sus orillas extremas
Luis Alberto Marín- 'Horal', sus orillas extremasLuis Alberto Marín- 'Horal', sus orillas extremas
Luis Alberto Marín- 'Horal', sus orillas extremas
 
Workforce Magazine - August 2015
Workforce Magazine - August 2015Workforce Magazine - August 2015
Workforce Magazine - August 2015
 
Listino prezzi BMW Serie 3 Gran Turismo
Listino prezzi BMW Serie 3 Gran Turismo Listino prezzi BMW Serie 3 Gran Turismo
Listino prezzi BMW Serie 3 Gran Turismo
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networking
 
STOCK_ANALYSIS_PROJECT
STOCK_ANALYSIS_PROJECTSTOCK_ANALYSIS_PROJECT
STOCK_ANALYSIS_PROJECT
 
Tema 2 RRPP
Tema 2 RRPPTema 2 RRPP
Tema 2 RRPP
 
Python component in mule
Python component in mulePython component in mule
Python component in mule
 
Groovy features
Groovy featuresGroovy features
Groovy features
 
Listino Prezzi McLaren 570GT
Listino Prezzi McLaren 570GTListino Prezzi McLaren 570GT
Listino Prezzi McLaren 570GT
 
Fiat-Chrysler 3,3% VEBA
Fiat-Chrysler 3,3% VEBAFiat-Chrysler 3,3% VEBA
Fiat-Chrysler 3,3% VEBA
 
IPC
IPCIPC
IPC
 
Listino Prezzi Lancia Ypsilon
Listino Prezzi Lancia YpsilonListino Prezzi Lancia Ypsilon
Listino Prezzi Lancia Ypsilon
 
Pembaharuan sumber tenaga
Pembaharuan sumber tenagaPembaharuan sumber tenaga
Pembaharuan sumber tenaga
 
group 3
group 3group 3
group 3
 
Reportes
ReportesReportes
Reportes
 
Catálogo de plantas para espacios abiertos.
Catálogo de plantas para espacios abiertos.Catálogo de plantas para espacios abiertos.
Catálogo de plantas para espacios abiertos.
 
Bollo auto più caro con carta di credito: 3 milioni di multa all'Aci
Bollo auto più caro con carta di credito: 3 milioni di multa all'AciBollo auto più caro con carta di credito: 3 milioni di multa all'Aci
Bollo auto più caro con carta di credito: 3 milioni di multa all'Aci
 
はじめての UWP アプリ開発
はじめての UWP アプリ開発はじめての UWP アプリ開発
はじめての UWP アプリ開発
 

Similar to Angular js

Dive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionDive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionOleksii Prohonnyi
 
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
 
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.
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfsarah david
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfsarah david
 
Angularjs overview
Angularjs  overviewAngularjs  overview
Angularjs overviewVickyCmd
 
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
 
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
 
Angular tutorial
Angular tutorialAngular tutorial
Angular tutorialRohit Gupta
 
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
 
angularjs_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docxtelegramvip
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to AngularjsGaurav Agrawal
 
The A1 by Christian John Felix
The A1 by Christian John FelixThe A1 by Christian John Felix
The A1 by Christian John FelixDEVCON
 
The Growing Popularity of AngularJS
The Growing Popularity of AngularJSThe Growing Popularity of AngularJS
The Growing Popularity of AngularJSWhiz Solutions
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxreshu khan
 
Angular js getting started
Angular js getting startedAngular js getting started
Angular js getting startedHemant Mali
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaphp2ranjan
 
Kalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js TutorialsKalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js TutorialsKalp Corporate
 

Similar to Angular js (20)

Dive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionDive into Angular, part 1: Introduction
Dive into Angular, part 1: Introduction
 
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
 
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
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
 
Angularjs overview
Angularjs  overviewAngularjs  overview
Angularjs overview
 
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?
 
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
 
Angular tutorial
Angular tutorialAngular tutorial
Angular tutorial
 
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
 
angularjs_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docx
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
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
 
The Growing Popularity of AngularJS
The Growing Popularity of AngularJSThe Growing Popularity of AngularJS
The Growing Popularity of AngularJS
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptx
 
Angular js getting started
Angular js getting startedAngular js getting started
Angular js getting started
 
Angular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad indiaAngular 6 Training with project in hyderabad india
Angular 6 Training with project in hyderabad india
 
What is Angular?
What is Angular?What is Angular?
What is Angular?
 
Kalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js TutorialsKalp Corporate Angular Js Tutorials
Kalp Corporate Angular Js Tutorials
 

More from Ramakrishna kapa

More from Ramakrishna kapa (20)

Load balancer in mule
Load balancer in muleLoad balancer in mule
Load balancer in mule
 
Anypoint connectors
Anypoint connectorsAnypoint connectors
Anypoint connectors
 
Batch processing
Batch processingBatch processing
Batch processing
 
Msmq connectivity
Msmq connectivityMsmq connectivity
Msmq connectivity
 
Scopes in mule
Scopes in muleScopes in mule
Scopes in mule
 
Data weave more operations
Data weave more operationsData weave more operations
Data weave more operations
 
Basic math operations using dataweave
Basic math operations using dataweaveBasic math operations using dataweave
Basic math operations using dataweave
 
Dataweave types operators
Dataweave types operatorsDataweave types operators
Dataweave types operators
 
Operators in mule dataweave
Operators in mule dataweaveOperators in mule dataweave
Operators in mule dataweave
 
Data weave in mule
Data weave in muleData weave in mule
Data weave in mule
 
Servicenow connector
Servicenow connectorServicenow connector
Servicenow connector
 
Introduction to testing mule
Introduction to testing muleIntroduction to testing mule
Introduction to testing mule
 
Choice flow control
Choice flow controlChoice flow control
Choice flow control
 
Message enricher example
Message enricher exampleMessage enricher example
Message enricher example
 
Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategies
 
Anypoint connector basics
Anypoint connector basicsAnypoint connector basics
Anypoint connector basics
 
Mule global elements
Mule global elementsMule global elements
Mule global elements
 
Mule message structure and varibles scopes
Mule message structure and varibles scopesMule message structure and varibles scopes
Mule message structure and varibles scopes
 
How to create an api in mule
How to create an api in muleHow to create an api in mule
How to create an api in mule
 
Log4j is a reliable, fast and flexible
Log4j is a reliable, fast and flexibleLog4j is a reliable, fast and flexible
Log4j is a reliable, fast and flexible
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 

Angular js

  • 1. AngularJS is a very powerful JavaScript Framework. It is used in Single Page Application (SPA) projects. It extends HTML DOM with additional attributes and makes it more responsive to user actions. AngularJS is open source, completely free, and used by thousands of developers around the world. It is licensed under the Apache license version 2.0.
  • 2. Prerequisites  Before you learn AngularJS, you should have a basic understanding of:  HTML  CSS  JavaScript
  • 3. AngularJS History  AngularJS version 1.0 was released in 2012.  Miško Hevery, a Google employee, started to work with AngularJS in 2009.  The idea turned out very well, and the project is now officially supported by Google.
  • 4. Introduction  AngularJS is a JavaScript framework. It can be added to an HTML page with a <script> tag.  AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions.
  • 5.  AngularJS extends HTML with ng-directives.  The ng-app directive defines an AngularJS application.  The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.  The ng-bind directive binds application data to the HTML view.
  • 6. AngularJS Applications  AngularJS modules define AngularJS applications.  AngularJS controllers control AngularJS applications.  The ng-app directive defines the application, the ng- controller directive defines the controller.
  • 7. Controllers  In Angular, a Controller is defined by a JavaScript constructor function that is used to augment the Angular Scope.  When a Controller is attached to the DOM via the ng- controller directive, Angular will instantiate a new Controller object, using the specified Controller's constructor function. A new child scope will be created and made available as an injectable parameter to the Controller's constructor function as $scope
  • 8. 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.
  • 9. 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.  Angular offers several useful services (like $http), but for most applications you'll also want to create your own.
  • 10. What are Scopes?  Scope is an object that refers to the application model. It is an execution context for expressions. Scopes are arranged in hierarchical structure which mimic the DOM structure of the application. Scopes can watch expressions and propagate events.
  • 11. Templates  In Angular, templates are written with HTML that contains Angular- specific elements and attributes. Angular combines the template with information from the model and controller to render the dynamic view that a user sees in the browser.  These are the types of Angular elements and attributes you can use:  Directive — An attribute or element that augments an existing DOM element or represents a reusable DOM component.  Markup — The double curly brace notation {{ }} to bind expressions to elements is built-in Angular markup.  Filter — Formats data for display.  Form controls — Validates user input.
  • 12. AngularJS Example  <!DOCTYPE html> <html> <script src="http://ajax.googleapis.com/ajax/libs/angularjs /1.4.8/angular.min.js"></script> <body> <div ng-app=""> <p>Name: <input type="text" ng-model="name"></p> <p ng-bind="name"></p> </div> </body> </html>