SlideShare a Scribd company logo
AngularJS
Introduction
• AngularJS is a open source Javascript
based front end web framework developed
by Google
• It is a Single page web Application
• AngularJS version 1.0 was released in
2012
• The main unique identity is without page
reload and faster response
Basics
• AngularJS extends html attributes and
directives bind data to html with expressions
So what is directive it is a -ng prefix it extends
the power of html Example : ng-if, ng-model,
ng-click …
• AngularJS uses Javascript framework so you
can use angularjs cdn :-
First App
• Before we start check some prerequisite
i) AngularJS cdn
• ii) Editor
• Index.html
<!DOCTYPE html>
• <html>
• <script src=“”>
• </script>
• <div ng-app=“”>
• <p> Name : <input type=“text” ng-model=“name”></p>
• <p ng-bind=“name”></p>
</div>
• </body>
</html>
Description
• ng-app is a directive tells that div section is
owner of the angularJS application
• ng-model directive set and get the value of
the input field
• ng-bind directive bind the content that hold
a value
AngularJS Directive
• Simply directive is a behaviour and starts
with ng-
• The ng-app intializes angularjs and makes
root element of the application
• The ng-init directive initalizes the
application variables
• And etc….
AngularJS Controller
• The controller is a javascript function that
maintain application and behaviour using
$scope object
• In $scope object you can attach properties
and methods
• The ng-controller directive is used to specify
controller in html it maintain data and
behaviour it extends to ng-app
AngularJS Service
• AngularJS services are JavaScript functions for specific tasks,
which can be reused throughout the application.
• You can create http service and data travel between the entire
application.
Service Application
AngularJS Modules
• Module is a container of the different part of the application such as controller,
service and directives etc…
• Example :
• <!DOCTYPE html>
<html >
• <head>
• <script src="~/Scripts/angular.js"></script>
• </head>
• <body ng-app="myApp">
• <script>
• var myApp = angular.module('myApp', []);
• </script>
• </body>
• </html>
Thank you

More Related Content

PPTX
Angularjs basic part01
Mohd Abdul Baquee
 
PPTX
Angularjs
Sabin Tamrakar
 
PPTX
Angularjs - custom directives part 05
Mohd Abdul Baquee
 
PDF
Gettings started with the superheroic JavaScript library AngularJS
Armin Vieweg
 
PPTX
Angular js tutorial slides
samhelman
 
PDF
Introduction to AngularJS
Aldo Pizzagalli
 
PPTX
AngularJS One Day Workshop
Shyam Seshadri
 
PPTX
Modules in AngularJs
K Arunkumar
 
Angularjs basic part01
Mohd Abdul Baquee
 
Angularjs
Sabin Tamrakar
 
Angularjs - custom directives part 05
Mohd Abdul Baquee
 
Gettings started with the superheroic JavaScript library AngularJS
Armin Vieweg
 
Angular js tutorial slides
samhelman
 
Introduction to AngularJS
Aldo Pizzagalli
 
AngularJS One Day Workshop
Shyam Seshadri
 
Modules in AngularJs
K Arunkumar
 

What's hot (20)

PPTX
Angular js
Steve Fort
 
PPT
Angularjs for kolkata drupal meetup
Goutam Dey
 
PPTX
Single Page Applications in SharePoint with Angular
Sparkhound Inc.
 
PPTX
Introduction to Angular 2
Tuan Trung Vo
 
PPT
Angular js
yogi_solanki
 
PPTX
AngularJS is awesome
Eusebiu Schipor
 
PPTX
Angular js for beginners
Munir Hoque
 
PPT
Angular js
Hritesh Saha
 
PPTX
Angular js
Larry Ball
 
PPTX
AngularJS Beginners Workshop
Sathish VJ
 
PPTX
Step by Step - AngularJS
Infragistics
 
PPTX
Overview about AngularJS Framework
Camilo Lopes
 
PDF
Introduction to AngularJS
Jussi Pohjolainen
 
PPTX
AngularJS - Architecture decisions in a large project 
Elad Hirsch
 
PPTX
Angular JS Indtrodution
adesh21
 
PPTX
AngularJs advanced Topics
Amr Abd El Latief
 
PPTX
Introduction to Angular js 2.0
Nagaraju Sangam
 
PPTX
When to use and when not to use AngularJS - Liju Pillai, www.perfomatix.com
Perfomatix Solutions
 
PPTX
Angular js workshop
Rolands Krumbergs
 
PDF
Angularjs - lazy loading techniques
Nir Kaufman
 
Angular js
Steve Fort
 
Angularjs for kolkata drupal meetup
Goutam Dey
 
Single Page Applications in SharePoint with Angular
Sparkhound Inc.
 
Introduction to Angular 2
Tuan Trung Vo
 
Angular js
yogi_solanki
 
AngularJS is awesome
Eusebiu Schipor
 
Angular js for beginners
Munir Hoque
 
Angular js
Hritesh Saha
 
Angular js
Larry Ball
 
AngularJS Beginners Workshop
Sathish VJ
 
Step by Step - AngularJS
Infragistics
 
Overview about AngularJS Framework
Camilo Lopes
 
Introduction to AngularJS
Jussi Pohjolainen
 
AngularJS - Architecture decisions in a large project 
Elad Hirsch
 
Angular JS Indtrodution
adesh21
 
AngularJs advanced Topics
Amr Abd El Latief
 
Introduction to Angular js 2.0
Nagaraju Sangam
 
When to use and when not to use AngularJS - Liju Pillai, www.perfomatix.com
Perfomatix Solutions
 
Angular js workshop
Rolands Krumbergs
 
Angularjs - lazy loading techniques
Nir Kaufman
 
Ad

Similar to AngularJs Basic Concept (20)

PPTX
AngularJS Introduction, how to run Angular
SamuelJohnpeter
 
PPTX
Learning AngularJS - Complete coverage of AngularJS features and concepts
Suresh Patidar
 
PPTX
AngularJs (1.x) Presentation
Raghubir Singh
 
PDF
Wt unit 5 client &amp; server side framework
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
PPTX
AgularJS basics- angular directives and controllers
jobinThomas54
 
PPTX
Anjular js
Naga Dinesh
 
PPTX
AngularJS
Mahmoud Tolba
 
PDF
End to-End SPA Development Using ASP.NET and AngularJS
Gil Fink
 
PDF
Introduction to AngularJS By Bharat Makwana
Bharat Makwana
 
PPTX
Intoduction to Angularjs
Gaurav Agrawal
 
PDF
One Weekend With AngularJS
Yashobanta Bai
 
PPTX
Angular JS - Introduction
Sagar Acharya
 
PDF
AngularJS By Vipin
Vipin Mundayad
 
PPTX
Angular JS, A dive to concepts
Abhishek Sur
 
PDF
AngularJS
Hiten Pratap Singh
 
PPTX
Angular js for Beginnners
Santosh Kumar Kar
 
PPTX
Angular js slides
Amr Abd El Latief
 
PPTX
Exploring AngularJS - Liju Pillai
Liju Pillai
 
AngularJS Introduction, how to run Angular
SamuelJohnpeter
 
Learning AngularJS - Complete coverage of AngularJS features and concepts
Suresh Patidar
 
AngularJs (1.x) Presentation
Raghubir Singh
 
Wt unit 5 client &amp; server side framework
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
AgularJS basics- angular directives and controllers
jobinThomas54
 
Anjular js
Naga Dinesh
 
AngularJS
Mahmoud Tolba
 
End to-End SPA Development Using ASP.NET and AngularJS
Gil Fink
 
Introduction to AngularJS By Bharat Makwana
Bharat Makwana
 
Intoduction to Angularjs
Gaurav Agrawal
 
One Weekend With AngularJS
Yashobanta Bai
 
Angular JS - Introduction
Sagar Acharya
 
AngularJS By Vipin
Vipin Mundayad
 
Angular JS, A dive to concepts
Abhishek Sur
 
Angular js for Beginnners
Santosh Kumar Kar
 
Angular js slides
Amr Abd El Latief
 
Exploring AngularJS - Liju Pillai
Liju Pillai
 
Ad

Recently uploaded (20)

PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PPTX
How to Manage Global Discount in Odoo 18 POS
Celine George
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
Understanding operators in c language.pptx
auteharshil95
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PDF
Arihant Class 10 All in One Maths full pdf
sajal kumar
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
How to Manage Global Discount in Odoo 18 POS
Celine George
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
Understanding operators in c language.pptx
auteharshil95
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Arihant Class 10 All in One Maths full pdf
sajal kumar
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 

AngularJs Basic Concept

  • 2. Introduction • AngularJS is a open source Javascript based front end web framework developed by Google • It is a Single page web Application • AngularJS version 1.0 was released in 2012 • The main unique identity is without page reload and faster response
  • 3. Basics • AngularJS extends html attributes and directives bind data to html with expressions So what is directive it is a -ng prefix it extends the power of html Example : ng-if, ng-model, ng-click … • AngularJS uses Javascript framework so you can use angularjs cdn :-
  • 4. First App • Before we start check some prerequisite i) AngularJS cdn • ii) Editor • Index.html <!DOCTYPE html> • <html> • <script src=“”> • </script> • <div ng-app=“”> • <p> Name : <input type=“text” ng-model=“name”></p> • <p ng-bind=“name”></p> </div> • </body> </html>
  • 5. Description • ng-app is a directive tells that div section is owner of the angularJS application • ng-model directive set and get the value of the input field • ng-bind directive bind the content that hold a value
  • 6. AngularJS Directive • Simply directive is a behaviour and starts with ng- • The ng-app intializes angularjs and makes root element of the application • The ng-init directive initalizes the application variables • And etc….
  • 7. AngularJS Controller • The controller is a javascript function that maintain application and behaviour using $scope object • In $scope object you can attach properties and methods • The ng-controller directive is used to specify controller in html it maintain data and behaviour it extends to ng-app
  • 8. AngularJS Service • AngularJS services are JavaScript functions for specific tasks, which can be reused throughout the application. • You can create http service and data travel between the entire application. Service Application
  • 9. AngularJS Modules • Module is a container of the different part of the application such as controller, service and directives etc… • Example : • <!DOCTYPE html> <html > • <head> • <script src="~/Scripts/angular.js"></script> • </head> • <body ng-app="myApp"> • <script> • var myApp = angular.module('myApp', []); • </script> • </body> • </html>