SlideShare uma empresa Scribd logo
1 de 24
Present by : Ronak Patel
Introduction
 AngularJS is a complete JavaScript-based open-
source front-end web application framework mainly
maintained by Google.
 Html , CSS , Java-script basic knowledge is require for
learning Angular.
 Its aims to simplify both development and testing.
 Its provide the frame-work for MVC & MVVM architecture
along with component use in the rich internet application
Agenda
 What is AngularJS ?
 Why AngularJS ?
 Features of AngularJS
 Core Features
 MVC Architecture
 AngularJS Module
 AngularJS Directives
 Data-binding
 Scope , Controller , Services , Filter
 Dependency Injection
 Services & Custom Factory
 Routing
What is Angular ?
 Angular is a extension of Html ,CSS ,JavaScript
library framework .
 AngularJS is a powerful framework for create RICH
Internet Application(RIA).
 AngularJS is distributed as a JavaScript file, and can
be added to a web page with a script tag:
<script></script>
 It Is use for develop single side web-applications.
Why AngularJS ?
 Single page application
 Re-usability
 Dependency Injection
 Write less code
 Security
 Easy Integration
 Data binding (example : Two way Binding )
 Easy Testing
Features Of Angular
 AngularJS provides developers options to write client
side application (using JavaScript) in a clean MVC(Model
View Controller) way.
 Organize web application at client side.
 Faster , Secure
 Re-usability
 Good for Single-Page Application
Core Features
 Model View Controller
 Data-binding
 Scope
 Controller
 Services
 Filters
 Directives
 Templates
 Routing
 Dependency Injection
MVC Architecture
(Model) (Database)
Contains the data which is to be displayed in the
view.
(View) (HTML)
Contains html tags to display the model data.
(Controller) (JavaScript function)
logic for loading data into model & calling the view
AngularJS Modules
 An AngularJS module defines an application.
 Its contains the different parts of application.
 Its container for application controller
 Controller always belong to a module
 It is created by angular.module function
 <div ng-app="myApp">...</div>
<script>
var app = angular.module("myApp", []);
</script>
AngularJS Directives
 Html elements tag is attribute its show the information
about the particular item. (such details noting but
attribute)
 Attributes which are provided by the AngularJS are called
as angular directives.
 In angular there are two types of directives
 Custom directives & Built-in directives
 Ng-app : initializes an AngularJS application.
 Ng-init : initializes application data.
 Ng-model : binds the value of HTML controls (input,
select, text area) to application data.
 Example : init.html
 Predefine directives (Its define with ng [its mean
angular])
 ng-dbl-click
 ng-mouseover
 ng-mouseout
 ng-keypress
 ng-keyup
 ng-change
 ng-disabled
 ng-show
 ng-hide
 ng-class
 ng-style
Data-Binding
 It is the automatic synchronization of data between
model and view components.
 Example : ng-bind , ng-model ,{{ }}
Scope
 These are objects that refer to the model. They act
as a glue between controller and view.
 The scope is the binding part between the HTML
(view) and the JavaScript (controller).
 The scope is available for both the view and the
controller.
 Example : Scope.html , two-way binding.html
AngularJS Controllers
 Controllers are JavaScript functions that are bound
to a particular scope.
 They are regular JavaScript Objects.
 They control the data of AngularJS applications.
 ng-controller
 Example : two-way binding.html , Scope.html
AngularJS Services
 AngularJS has about 30 built-in services.
 One of them is the $location service.
 The $location service has methods which return
information about the location of the current web
page:
 Example : location.html , timeout.html
AngularJS Filters
 Currency : Format a number to a currency format.
 Date : Format a date to a specified format.
 JSON : Format an object to a JSON string.
 Lowercase: Format a string to lower case.
 Uppercase : Format a string to upper case.
 Number: Format a number to a string.
 Order By : Orders an array by an expression.
Dependency Injection
 Dependency Injection is a software design pattern in which
components are given their dependencies instead of hard coding
them within the component.
 In the angular the term dependency use in
 function fun1()
 { }
 function fun2()
 { }
 Class dependency: one class object use in another class. that time
create the problem.
 Which lets you to create a dependent component without having the
base component.
 Example : scope.html
Custom services & Custom Factories
 Service : Angular services are java script functions and
are responsible to do a specific tasks.
 Angular provide the in-built services like
 $http , $route , $window, $location
 Five way to create the service
 1)factory
 2)service
 3)provider
 4)value
 5)constant
Service
 It is a singleton object. Use it when you need to
share a single object across the application
 app.service("service name",function()
 {
 this.member = function_1() {};
 this.member = function_2() {};
 .......
 });
 new service() // For calling the service new keyword
 Example: service.html
Factory :
 It is just a collection of functions like a class
 app.factory("factory name" , funcion()
 {
 var temp = {};
 temp.member = funcion()_1{};
 temp.member = funcion()_2{};
 ...
 return temp;
 });
 factory() // directly call
 Example : factory.html
AngularJS Routing
 The ngRoute module helps your application to
become a Single Page Application.
 If you want to navigate to different pages in your
application, but you also want the application to be a
SPA (Single Page Application), with no page
reloading, you can use the ngRoute module.
Overview
 Angular is way popular,
dynamic, and most
adaptable by the
enterprises. Every
project we did with
AngularJS — and we
mean every single one
— was designed and
developed to build an
enterprise solution with
the same methodology
and belief.
Angular js

Mais conteúdo relacionado

Mais procurados (20)

Introduction To Angular 4 - J2I
Introduction To Angular 4 - J2IIntroduction To Angular 4 - J2I
Introduction To Angular 4 - J2I
 
Angular Js Basics
Angular Js BasicsAngular Js Basics
Angular Js Basics
 
AngularJS Best Practices
AngularJS Best PracticesAngularJS Best Practices
AngularJS Best Practices
 
Angular workshop - Full Development Guide
Angular workshop - Full Development GuideAngular workshop - Full Development Guide
Angular workshop - Full Development Guide
 
Angular JS tutorial
Angular JS tutorialAngular JS tutorial
Angular JS tutorial
 
Angular 4 Introduction Tutorial
Angular 4 Introduction TutorialAngular 4 Introduction Tutorial
Angular 4 Introduction Tutorial
 
Angular js architecture (v1.4.8)
Angular js architecture (v1.4.8)Angular js architecture (v1.4.8)
Angular js architecture (v1.4.8)
 
Angular js
Angular jsAngular js
Angular js
 
Angular js
Angular jsAngular js
Angular js
 
Migrating an Application from Angular 1 to Angular 2
Migrating an Application from Angular 1 to Angular 2 Migrating an Application from Angular 1 to Angular 2
Migrating an Application from Angular 1 to Angular 2
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular js
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 
AngularJS
AngularJSAngularJS
AngularJS
 
Angular JS
Angular JSAngular JS
Angular JS
 
AngularJS
AngularJSAngularJS
AngularJS
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
Mastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksMastering angular - Dot Net Tricks
Mastering angular - Dot Net Tricks
 
Introduction to Angularjs
Introduction to AngularjsIntroduction to Angularjs
Introduction to Angularjs
 
AngularJS - Services
AngularJS - ServicesAngularJS - Services
AngularJS - Services
 
AngularJS
AngularJSAngularJS
AngularJS
 

Semelhante a Angular js

One Weekend With AngularJS
One Weekend With AngularJSOne Weekend With AngularJS
One Weekend With AngularJSYashobanta Bai
 
AngularJS Basics
AngularJS BasicsAngularJS Basics
AngularJS BasicsRavi Mone
 
Angular Js Get Started - Complete Course
Angular Js Get Started - Complete CourseAngular Js Get Started - Complete Course
Angular Js Get Started - Complete CourseEPAM Systems
 
angularJs Workshop
angularJs WorkshopangularJs Workshop
angularJs WorkshopRan Wahle
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014Ran Wahle
 
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 tutorial
Angular tutorialAngular tutorial
Angular tutorialRohit Gupta
 
AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle StudiosAngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle StudiosLearnimtactics
 
Dive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionDive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionOleksii Prohonnyi
 
Angular.js interview questions
Angular.js interview questionsAngular.js interview questions
Angular.js interview questionscodeandyou forums
 
Angular js interview question answer for fresher
Angular js interview question answer for fresherAngular js interview question answer for fresher
Angular js interview question answer for fresherRavi Bhadauria
 
introduction to Angularjs basics
introduction to Angularjs basicsintroduction to Angularjs basics
introduction to Angularjs basicsRavindra K
 
Angular Presentation
Angular PresentationAngular Presentation
Angular PresentationAdam Moore
 

Semelhante a Angular js (20)

Angular Basics.pptx
Angular Basics.pptxAngular Basics.pptx
Angular Basics.pptx
 
One Weekend With AngularJS
One Weekend With AngularJSOne Weekend With AngularJS
One Weekend With AngularJS
 
AngularJS Basics
AngularJS BasicsAngularJS Basics
AngularJS Basics
 
Training On Angular Js
Training On Angular JsTraining On Angular Js
Training On Angular Js
 
Angular Js Get Started - Complete Course
Angular Js Get Started - Complete CourseAngular Js Get Started - Complete Course
Angular Js Get Started - Complete Course
 
angularJs Workshop
angularJs WorkshopangularJs Workshop
angularJs Workshop
 
Angular introduction basic
Angular introduction basicAngular introduction basic
Angular introduction basic
 
AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014AngularJs Workshop SDP December 28th 2014
AngularJs Workshop SDP December 28th 2014
 
Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in Jaipur
 
AngularJS By Vipin
AngularJS By VipinAngularJS By Vipin
AngularJS By Vipin
 
Angular js slides
Angular js slidesAngular js slides
Angular js slides
 
Angular tutorial
Angular tutorialAngular tutorial
Angular tutorial
 
AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle StudiosAngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
AngularJs Superheroic JavaScript MVW Framework Services by Miracle Studios
 
Dive into Angular, part 1: Introduction
Dive into Angular, part 1: IntroductionDive into Angular, part 1: Introduction
Dive into Angular, part 1: Introduction
 
Angular.js interview questions
Angular.js interview questionsAngular.js interview questions
Angular.js interview questions
 
Angular js interview question answer for fresher
Angular js interview question answer for fresherAngular js interview question answer for fresher
Angular js interview question answer for fresher
 
AngularJS in practice
AngularJS in practiceAngularJS in practice
AngularJS in practice
 
introduction to Angularjs basics
introduction to Angularjs basicsintroduction to Angularjs basics
introduction to Angularjs basics
 
Angularjs Basics
Angularjs BasicsAngularjs Basics
Angularjs Basics
 
Angular Presentation
Angular PresentationAngular Presentation
Angular Presentation
 

Último

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 

Último (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 

Angular js

  • 1. Present by : Ronak Patel
  • 2. Introduction  AngularJS is a complete JavaScript-based open- source front-end web application framework mainly maintained by Google.  Html , CSS , Java-script basic knowledge is require for learning Angular.  Its aims to simplify both development and testing.  Its provide the frame-work for MVC & MVVM architecture along with component use in the rich internet application
  • 3. Agenda  What is AngularJS ?  Why AngularJS ?  Features of AngularJS  Core Features  MVC Architecture  AngularJS Module  AngularJS Directives  Data-binding  Scope , Controller , Services , Filter  Dependency Injection  Services & Custom Factory  Routing
  • 4. What is Angular ?  Angular is a extension of Html ,CSS ,JavaScript library framework .  AngularJS is a powerful framework for create RICH Internet Application(RIA).  AngularJS is distributed as a JavaScript file, and can be added to a web page with a script tag: <script></script>  It Is use for develop single side web-applications.
  • 5. Why AngularJS ?  Single page application  Re-usability  Dependency Injection  Write less code  Security  Easy Integration  Data binding (example : Two way Binding )  Easy Testing
  • 6. Features Of Angular  AngularJS provides developers options to write client side application (using JavaScript) in a clean MVC(Model View Controller) way.  Organize web application at client side.  Faster , Secure  Re-usability  Good for Single-Page Application
  • 7. Core Features  Model View Controller  Data-binding  Scope  Controller  Services  Filters  Directives  Templates  Routing  Dependency Injection
  • 8. MVC Architecture (Model) (Database) Contains the data which is to be displayed in the view. (View) (HTML) Contains html tags to display the model data. (Controller) (JavaScript function) logic for loading data into model & calling the view
  • 9. AngularJS Modules  An AngularJS module defines an application.  Its contains the different parts of application.  Its container for application controller  Controller always belong to a module  It is created by angular.module function  <div ng-app="myApp">...</div> <script> var app = angular.module("myApp", []); </script>
  • 10. AngularJS Directives  Html elements tag is attribute its show the information about the particular item. (such details noting but attribute)  Attributes which are provided by the AngularJS are called as angular directives.  In angular there are two types of directives  Custom directives & Built-in directives  Ng-app : initializes an AngularJS application.  Ng-init : initializes application data.  Ng-model : binds the value of HTML controls (input, select, text area) to application data.  Example : init.html
  • 11.  Predefine directives (Its define with ng [its mean angular])  ng-dbl-click  ng-mouseover  ng-mouseout  ng-keypress  ng-keyup  ng-change  ng-disabled  ng-show  ng-hide  ng-class  ng-style
  • 12. Data-Binding  It is the automatic synchronization of data between model and view components.  Example : ng-bind , ng-model ,{{ }}
  • 13. Scope  These are objects that refer to the model. They act as a glue between controller and view.  The scope is the binding part between the HTML (view) and the JavaScript (controller).  The scope is available for both the view and the controller.  Example : Scope.html , two-way binding.html
  • 14.
  • 15. AngularJS Controllers  Controllers are JavaScript functions that are bound to a particular scope.  They are regular JavaScript Objects.  They control the data of AngularJS applications.  ng-controller  Example : two-way binding.html , Scope.html
  • 16. AngularJS Services  AngularJS has about 30 built-in services.  One of them is the $location service.  The $location service has methods which return information about the location of the current web page:  Example : location.html , timeout.html
  • 17. AngularJS Filters  Currency : Format a number to a currency format.  Date : Format a date to a specified format.  JSON : Format an object to a JSON string.  Lowercase: Format a string to lower case.  Uppercase : Format a string to upper case.  Number: Format a number to a string.  Order By : Orders an array by an expression.
  • 18. Dependency Injection  Dependency Injection is a software design pattern in which components are given their dependencies instead of hard coding them within the component.  In the angular the term dependency use in  function fun1()  { }  function fun2()  { }  Class dependency: one class object use in another class. that time create the problem.  Which lets you to create a dependent component without having the base component.  Example : scope.html
  • 19. Custom services & Custom Factories  Service : Angular services are java script functions and are responsible to do a specific tasks.  Angular provide the in-built services like  $http , $route , $window, $location  Five way to create the service  1)factory  2)service  3)provider  4)value  5)constant
  • 20. Service  It is a singleton object. Use it when you need to share a single object across the application  app.service("service name",function()  {  this.member = function_1() {};  this.member = function_2() {};  .......  });  new service() // For calling the service new keyword  Example: service.html
  • 21. Factory :  It is just a collection of functions like a class  app.factory("factory name" , funcion()  {  var temp = {};  temp.member = funcion()_1{};  temp.member = funcion()_2{};  ...  return temp;  });  factory() // directly call  Example : factory.html
  • 22. AngularJS Routing  The ngRoute module helps your application to become a Single Page Application.  If you want to navigate to different pages in your application, but you also want the application to be a SPA (Single Page Application), with no page reloading, you can use the ngRoute module.
  • 23. Overview  Angular is way popular, dynamic, and most adaptable by the enterprises. Every project we did with AngularJS — and we mean every single one — was designed and developed to build an enterprise solution with the same methodology and belief.