SlideShare a Scribd company logo
1 of 18
Download to read offline
An
Introduction to
AngularJS
By makitweb.com
AngularJS is a JavaScript MVC
framework developed by Google that
lets you build well structured, easily
testable, declarative and maintainable
front-end applications which provides
solutions to standard infrastructure
concerns.
Intro
AngularJS is a JavaScript MVC Framework that integrates two-way data binding,
Angular does one very specific job very well – that is, moving data around inside a
single-page application, dynamically updating the view as the data changes without
the need for specific listener code. If you have a website where this type of
functionality is important (there’s more and more of them now) then it might fit the
bill for you.
There are other JavaScript frameworks placed on the client to manage the flow of
data from the server to your application, like -
Backbone, Knockout, React, Meteor, Aurelia, etc.
How to Embed AngularJS in your page?
For including AngularJS to your page you first need to download AngularJS library
from its Official Website. After downloading the library copy or move the file to
your project folder. Then include the file within your page same as we include a
jQuery library or any other JavaScript file.
<script type="text/javascript" src="angular.min.js"></script>
Or you can directly include from CDN <script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
Example
<!DOCTYPE html>
<html lang="en" ng-app="">
<head >
<meta charset="UTF-8">
<title>First AngularJS program</title>
<script src="angular.min.js" type="text/javascript"></script>
</head>
<body>
<div> </div>
</body>
</html>
In HTML code, you may be noted that <html> tag contains ng-app attribute.
What is ng-app ?
ng-app is an AngularJS directive there are many such directives are available in
AngularJS. Here, ng prefix stands for Angular. the ng-app directive is a starting point
of AngularJS application.
Angular Framework first checks the ng-app directive within the HTML page. If its
found then Angular bootstrap itself and starts to manage the section of the page
that have a ng-app directive. Everything within the HTML tag section will be
managed by Angular.
Let’s do some Angular
Let’s compute the sum of 40 + 50.
<!DOCTYPE html>
<html lang="en" ng-app="">
<head >
<meta charset="UTF-8">
<title>First AngularJS program</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
</head>
<body >
<div >
40 + 50 = {{ 40+50 }}
</div>
</body>
</html>
Here, we use double curly braces {{ }} in Angular it means binding expressions.
Within that, we can specify any Angular expression.
In above code, 40+50 treated as an expression and add both values.
When we execute the above program, it will produce the following output –
40 + 50 = 90
Now let’s change ng-app directive position
in our current code
In our previous code <html> code contain ng-app directive. Let’s move the ng-app
directive position to <div> tag and add another <div> and it also contains an Angular
expression.
<!DOCTYPE html>
<html lang="en" >
<head >
<meta charset="UTF-8">
<title>First AngularJS program</title>
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
</head>
<body>
<div ng-app="">
40 + 50 = {{ 40+50 }}
</div>
<div>
50 + 60 = {{ 50+60 }}
</div>
</body>
</html>
Here, ng-app directive only present in first <div> that means Angular going to
manage only that section of the page and any children element it contains. Angular is
not responsible for rest of the page that means second <div> element which
contains Angular expression is not been evaluated.
When we execute the above program, it will produce the following output –
40 + 50 = 90
50 + 60 = {{ 50+60 }}
Valid expressions
Using relational operator to create an
expression. It returns True or False
based on values.
<div ng-app="">
{{ 31 > 20 }}
{{ 43 < 50 }}
{{ 13 >= 23 }}
{{ 12 <= 40 }}
{{ 5 == 5 }}
{{ 4 != 5 }}
</div>
Its gives the following Output –
true
true
false
true
true
true
Using JavaScript object in expression
<div ng-app="">
{{ {name:'Yogesh',age:22}.name }}
</div>
Its gives the following Output –
Yogesh
JavaScript Array in expression
<div ng-app="">
{{ ['Yogesh','Sonarika','Vishal'][1] }}
</div>
Its gives the following Output –
Sonarika
Advantages
● Two-way Data binding
In AngularJS Framework Two-way data binding is an approach to synchronize the
data between model and view that means if there is any change made in the model
then the view will be updated.
While you can write a simple two-way data-binding event in jQuery, JavaScript MVC
libraries provide a more declarative (using HTML) way of connecting models to your
view.
Advantages
● Faster application Development
The MVC architecture ensures that the application development, testing &
maintenance is fast & quick! It helps in enhancing the productivity of the developers
too!
● Templating
Angular combines the template with information from the model and controller to
render the dynamic view that a user sees in the browser.
Advantages
● Greate for SPA (Single Page Application)
Single Page Application(SPA) is a web application that fits on a single web page with
dynamic actions without refreshing the page. Single Page Application interactions
can be handled without reaching the server. Single Page Application can improve
performance in several ways like loading time, using AJAX, easy to navigate pages
etc. End users will be more comfortable with Single Page Application, It is very easy
to navigate to different page and filter content.
● Supported by Google and a great development community.
Why?
To built more responsive web applications, full page refresh takes the time to built
up a connection with the server while AJAX is amazingly fast in fetching data from
already connected server. The community is awesome, it’s google.
Plus you can build an app like Gmail using it. I have listened from sources that
Google is reinventing its Gmail app using AngularJS and the new design will roll out
to soothe the eye of consumer and suit the needs of current web era.
Thanks!
yssyogesh@makitweb.com
@yssyogesh_singh on twitter
www.makitweb.com

More Related Content

What's hot

What's hot (19)

Introduction to Android Programming
Introduction to Android ProgrammingIntroduction to Android Programming
Introduction to Android Programming
 
10 practices that every developer needs to start right now
10 practices that every developer needs to start right now10 practices that every developer needs to start right now
10 practices that every developer needs to start right now
 
Progressive Web Application by Citytech
Progressive Web Application by CitytechProgressive Web Application by Citytech
Progressive Web Application by Citytech
 
Introduction to AngularJS Framework
Introduction to AngularJS FrameworkIntroduction to AngularJS Framework
Introduction to AngularJS Framework
 
Integrating consumers IoT devices into Business Workflow
Integrating consumers IoT devices into Business WorkflowIntegrating consumers IoT devices into Business Workflow
Integrating consumers IoT devices into Business Workflow
 
Angular JS - Develop Responsive Single Page Application
Angular JS - Develop Responsive Single Page ApplicationAngular JS - Develop Responsive Single Page Application
Angular JS - Develop Responsive Single Page Application
 
Angular 7 Firebase5 CRUD Operations with Reactive Forms
Angular 7 Firebase5 CRUD Operations with Reactive FormsAngular 7 Firebase5 CRUD Operations with Reactive Forms
Angular 7 Firebase5 CRUD Operations with Reactive Forms
 
Ajax & ASP.NET 2
Ajax & ASP.NET 2Ajax & ASP.NET 2
Ajax & ASP.NET 2
 
Training On Angular Js
Training On Angular JsTraining On Angular Js
Training On Angular Js
 
Introduction to React for Frontend Developers
Introduction to React for Frontend DevelopersIntroduction to React for Frontend Developers
Introduction to React for Frontend Developers
 
Angular js
Angular jsAngular js
Angular js
 
AngularJS - introduction & how it works?
AngularJS - introduction & how it works?AngularJS - introduction & how it works?
AngularJS - introduction & how it works?
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
 
AngularJS Scopes
AngularJS ScopesAngularJS Scopes
AngularJS Scopes
 
Building mobile applications with Vaadin TouchKit
Building mobile applications with Vaadin TouchKitBuilding mobile applications with Vaadin TouchKit
Building mobile applications with Vaadin TouchKit
 
Introduction of ASP.NET MVC and AngularJS
Introduction of ASP.NET MVC and AngularJSIntroduction of ASP.NET MVC and AngularJS
Introduction of ASP.NET MVC and AngularJS
 
AngularJS
AngularJSAngularJS
AngularJS
 
JOSA TechTalks - Better Web Apps with React and Redux
JOSA TechTalks - Better Web Apps with React and ReduxJOSA TechTalks - Better Web Apps with React and Redux
JOSA TechTalks - Better Web Apps with React and Redux
 
Angular js PPT
Angular js PPTAngular js PPT
Angular js PPT
 

Viewers also liked (7)

How important are meta tags in seo
How important are meta tags in seoHow important are meta tags in seo
How important are meta tags in seo
 
Đột quỵ, tai biến là do huyết áp tăng cao
Đột quỵ, tai biến là do huyết áp tăng caoĐột quỵ, tai biến là do huyết áp tăng cao
Đột quỵ, tai biến là do huyết áp tăng cao
 
Final Resume
Final ResumeFinal Resume
Final Resume
 
8 Techniques Every Parent with an Anxious Child Should Try
8 Techniques Every Parent with an Anxious Child Should Try8 Techniques Every Parent with an Anxious Child Should Try
8 Techniques Every Parent with an Anxious Child Should Try
 
reinventingmegalopolis
reinventingmegalopolisreinventingmegalopolis
reinventingmegalopolis
 
Occupational Outlook Handbook Ready Reference Instructional Guide
Occupational Outlook Handbook Ready Reference Instructional GuideOccupational Outlook Handbook Ready Reference Instructional Guide
Occupational Outlook Handbook Ready Reference Instructional Guide
 
Social media marketing
Social media marketingSocial media marketing
Social media marketing
 

Similar to An introduction to AngularJS

Similar to An introduction to AngularJS (20)

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
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
One Weekend With AngularJS
One Weekend With AngularJSOne Weekend With AngularJS
One Weekend With AngularJS
 
The Growing Popularity of AngularJS
The Growing Popularity of AngularJSThe Growing Popularity of AngularJS
The Growing Popularity of AngularJS
 
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_tutorial.docx
angularjs_tutorial.docxangularjs_tutorial.docx
angularjs_tutorial.docx
 
AngularJS - A JavaScript Framework
AngularJS - A JavaScript FrameworkAngularJS - A JavaScript Framework
AngularJS - A JavaScript Framework
 
Getting Started with AngularJS
Getting Started with AngularJSGetting Started with AngularJS
Getting Started with AngularJS
 
Getting Started With AngularJS
Getting Started With AngularJSGetting Started With AngularJS
Getting Started With AngularJS
 
Angular js
Angular jsAngular js
Angular js
 
The A1 by Christian John Felix
The A1 by Christian John FelixThe A1 by Christian John Felix
The A1 by Christian John Felix
 
Big Improvement_ New AngularJS Tools Changing How We Develop.pptx
Big Improvement_ New AngularJS Tools Changing How We Develop.pptxBig Improvement_ New AngularJS Tools Changing How We Develop.pptx
Big Improvement_ New AngularJS Tools Changing How We Develop.pptx
 
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
quantum_leap_angularjs_tools_redefining_development_in_2023.pdfquantum_leap_angularjs_tools_redefining_development_in_2023.pdf
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
 
AngularJS for Beginners
AngularJS for BeginnersAngularJS for Beginners
AngularJS for Beginners
 
Starting with angular js
Starting with angular js Starting with angular js
Starting with angular js
 
Angular
AngularAngular
Angular
 
angular
angularangular
angular
 

More from Yogesh singh

More from Yogesh singh (8)

How to create Custom Page Template in WordPress
How to create Custom Page Template in WordPressHow to create Custom Page Template in WordPress
How to create Custom Page Template in WordPress
 
Drag and drop file upload with Dropzone in CodeIgniter
Drag and drop file upload with Dropzone in CodeIgniterDrag and drop file upload with Dropzone in CodeIgniter
Drag and drop file upload with Dropzone in CodeIgniter
 
Check username availability with vue.js and PHP
Check username availability with vue.js and PHPCheck username availability with vue.js and PHP
Check username availability with vue.js and PHP
 
Copy text to clipboard using vue-clipboard2 - Vue.js
Copy text to clipboard using vue-clipboard2 - Vue.jsCopy text to clipboard using vue-clipboard2 - Vue.js
Copy text to clipboard using vue-clipboard2 - Vue.js
 
How to Create and Load Model in Laravel
How to Create and Load Model in LaravelHow to Create and Load Model in Laravel
How to Create and Load Model in Laravel
 
Create custom 404 error page in CodeIgniter
Create custom 404 error page in CodeIgniterCreate custom 404 error page in CodeIgniter
Create custom 404 error page in CodeIgniter
 
How to Schedule Posts in Wordpress without Plugin
How to Schedule Posts in Wordpress without PluginHow to Schedule Posts in Wordpress without Plugin
How to Schedule Posts in Wordpress without Plugin
 
How to verify a domain in MailChimp
How to verify a domain in MailChimpHow to verify a domain in MailChimp
How to verify a domain in MailChimp
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
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
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.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
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 

An introduction to AngularJS

  • 2. AngularJS is a JavaScript MVC framework developed by Google that lets you build well structured, easily testable, declarative and maintainable front-end applications which provides solutions to standard infrastructure concerns.
  • 3. Intro AngularJS is a JavaScript MVC Framework that integrates two-way data binding, Angular does one very specific job very well – that is, moving data around inside a single-page application, dynamically updating the view as the data changes without the need for specific listener code. If you have a website where this type of functionality is important (there’s more and more of them now) then it might fit the bill for you. There are other JavaScript frameworks placed on the client to manage the flow of data from the server to your application, like - Backbone, Knockout, React, Meteor, Aurelia, etc.
  • 4. How to Embed AngularJS in your page? For including AngularJS to your page you first need to download AngularJS library from its Official Website. After downloading the library copy or move the file to your project folder. Then include the file within your page same as we include a jQuery library or any other JavaScript file. <script type="text/javascript" src="angular.min.js"></script> Or you can directly include from CDN <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
  • 5. Example <!DOCTYPE html> <html lang="en" ng-app=""> <head > <meta charset="UTF-8"> <title>First AngularJS program</title> <script src="angular.min.js" type="text/javascript"></script> </head> <body> <div> </div> </body> </html> In HTML code, you may be noted that <html> tag contains ng-app attribute.
  • 6. What is ng-app ? ng-app is an AngularJS directive there are many such directives are available in AngularJS. Here, ng prefix stands for Angular. the ng-app directive is a starting point of AngularJS application. Angular Framework first checks the ng-app directive within the HTML page. If its found then Angular bootstrap itself and starts to manage the section of the page that have a ng-app directive. Everything within the HTML tag section will be managed by Angular.
  • 7. Let’s do some Angular Let’s compute the sum of 40 + 50. <!DOCTYPE html> <html lang="en" ng-app=""> <head > <meta charset="UTF-8"> <title>First AngularJS program</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script> </head> <body > <div > 40 + 50 = {{ 40+50 }} </div> </body> </html>
  • 8. Here, we use double curly braces {{ }} in Angular it means binding expressions. Within that, we can specify any Angular expression. In above code, 40+50 treated as an expression and add both values. When we execute the above program, it will produce the following output – 40 + 50 = 90
  • 9. Now let’s change ng-app directive position in our current code In our previous code <html> code contain ng-app directive. Let’s move the ng-app directive position to <div> tag and add another <div> and it also contains an Angular expression.
  • 10. <!DOCTYPE html> <html lang="en" > <head > <meta charset="UTF-8"> <title>First AngularJS program</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script> </head> <body> <div ng-app=""> 40 + 50 = {{ 40+50 }} </div> <div> 50 + 60 = {{ 50+60 }} </div> </body> </html>
  • 11. Here, ng-app directive only present in first <div> that means Angular going to manage only that section of the page and any children element it contains. Angular is not responsible for rest of the page that means second <div> element which contains Angular expression is not been evaluated. When we execute the above program, it will produce the following output – 40 + 50 = 90 50 + 60 = {{ 50+60 }}
  • 12. Valid expressions Using relational operator to create an expression. It returns True or False based on values. <div ng-app=""> {{ 31 > 20 }} {{ 43 < 50 }} {{ 13 >= 23 }} {{ 12 <= 40 }} {{ 5 == 5 }} {{ 4 != 5 }} </div> Its gives the following Output – true true false true true true
  • 13. Using JavaScript object in expression <div ng-app=""> {{ {name:'Yogesh',age:22}.name }} </div> Its gives the following Output – Yogesh JavaScript Array in expression <div ng-app=""> {{ ['Yogesh','Sonarika','Vishal'][1] }} </div> Its gives the following Output – Sonarika
  • 14. Advantages ● Two-way Data binding In AngularJS Framework Two-way data binding is an approach to synchronize the data between model and view that means if there is any change made in the model then the view will be updated. While you can write a simple two-way data-binding event in jQuery, JavaScript MVC libraries provide a more declarative (using HTML) way of connecting models to your view.
  • 15. Advantages ● Faster application Development The MVC architecture ensures that the application development, testing & maintenance is fast & quick! It helps in enhancing the productivity of the developers too! ● Templating Angular combines the template with information from the model and controller to render the dynamic view that a user sees in the browser.
  • 16. Advantages ● Greate for SPA (Single Page Application) Single Page Application(SPA) is a web application that fits on a single web page with dynamic actions without refreshing the page. Single Page Application interactions can be handled without reaching the server. Single Page Application can improve performance in several ways like loading time, using AJAX, easy to navigate pages etc. End users will be more comfortable with Single Page Application, It is very easy to navigate to different page and filter content. ● Supported by Google and a great development community.
  • 17. Why? To built more responsive web applications, full page refresh takes the time to built up a connection with the server while AJAX is amazingly fast in fetching data from already connected server. The community is awesome, it’s google. Plus you can build an app like Gmail using it. I have listened from sources that Google is reinventing its Gmail app using AngularJS and the new design will roll out to soothe the eye of consumer and suit the needs of current web era.