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

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
 

Similar to AngularJs Basic Concept (20)

PDF
Wt unit 5 client &amp; server side framework
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
PPTX
Kalp Corporate Angular Js Tutorials
Kalp Corporate
 
PDF
AngularJS By Vipin
Vipin Mundayad
 
PPTX
Angular Javascript Tutorial with command
ssuser42b933
 
PPTX
ANGULAR JS TRAINING IN PUNE
cncwebworld
 
PPTX
Intoduction to Angularjs
Gaurav Agrawal
 
PPTX
ANGULARJS introduction components services and directives
SanthoshB77
 
PPTX
AngularJs
syam kumar kk
 
PPTX
AngularJS training - Day 1 - Basics: Why, What and basic features of AngularJS
murtazahaveliwala
 
DOCX
Angular js getting started
Hemant Mali
 
DOCX
angularjs_tutorial.docx
telegramvip
 
PPTX
The Basics Angular JS
OrisysIndia
 
PDF
AngularJs
Abdhesh Kumar
 
PDF
Angularjs 131211063348-phpapp01
Arunangsu Sahu
 
PPTX
Angular tutorial
Rohit Gupta
 
PPTX
Angular js
ParmarAnisha
 
PPTX
Angular Js Get Started - Complete Course
EPAM Systems
 
PPTX
AngularJS Introduction, how to run Angular
SamuelJohnpeter
 
Wt unit 5 client &amp; server side framework
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
Kalp Corporate Angular Js Tutorials
Kalp Corporate
 
AngularJS By Vipin
Vipin Mundayad
 
Angular Javascript Tutorial with command
ssuser42b933
 
ANGULAR JS TRAINING IN PUNE
cncwebworld
 
Intoduction to Angularjs
Gaurav Agrawal
 
ANGULARJS introduction components services and directives
SanthoshB77
 
AngularJs
syam kumar kk
 
AngularJS training - Day 1 - Basics: Why, What and basic features of AngularJS
murtazahaveliwala
 
Angular js getting started
Hemant Mali
 
angularjs_tutorial.docx
telegramvip
 
The Basics Angular JS
OrisysIndia
 
AngularJs
Abdhesh Kumar
 
Angularjs 131211063348-phpapp01
Arunangsu Sahu
 
Angular tutorial
Rohit Gupta
 
Angular js
ParmarAnisha
 
Angular Js Get Started - Complete Course
EPAM Systems
 
AngularJS Introduction, how to run Angular
SamuelJohnpeter
 
Ad

Recently uploaded (20)

PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PDF
Introduction presentation of the patentbutler tool
MIPLM
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Mahidol_Change_Agent_Note_2025-06-27-29_MUSEF
Tassanee Lerksuthirat
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
Introduction presentation of the patentbutler tool
MIPLM
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Controller Request and Response in Odoo18
Celine George
 
infertility, types,causes, impact, and management
Ritu480198
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Horarios de distribución de agua en julio
pegazohn1978
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
epi editorial commitee meeting presentation
MIPLM
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Ad

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>