SlideShare a Scribd company logo
10
Most read
12
Most read
13
Most read
A session by Amit Baghel
Superheroic JavaScript MVW Framework
History
AngularJS was created, as a side project, in 2009 by two developers,
Misko Hevery and Adam Abrons. The two originally envisioned their
project, GetAngular, to be an end-to-end tool that allowed web
designers to interact with both the frontend and the backend.
Hevery eventually began working on a project at Google called Google
Feedback. Hevery and 2 other developers wrote 17,000 lines of code
over the period of 6 months for Google Feedback. However, as the
code size increased, Hevery began to grow frustrated with how
difficult it was to test and modify the code the team had written.
So Hevery made the bet with his manager that he could rewrite the
entire application using his side GetAngular project in two weeks.
Hevery lost the bet. Instead of 2 weeks it took him 3 weeks to rewrite
the entire application, but he was able to cut the application from
17,000 lines to 1,500 lines.
17000 lines of code to 1500 how?
Take an example
In JQuery
HTML
<p id="test"></p>
<p id="test1"></p>
<p id="test2"></p>
<p id="test3"></p>
17000 lines of code to 1500 how?
Script
$(function(){
$('#test’).text('Hello World!');
$('#test1’).show();
$('#test2’).hide();
$('#test3’).addClass(‘active’);
});
17000 lines of code to 1500 how?
Same thing in Angularjs ?
HTML
<p>{{greeting}}</p>
<p ng-show=’visible’ ></p>
<p ng-hide=’visible’></p>
<p ng-class=’{ ‘active’: visible }’></p>
17000 lines of code to 1500 how?
Same thing in Angularjs ?
Script
$scope.greeting=’Hello Viatech’;
$scope.visible=’true’;
•Structure, Quality and Organization
•Lightweight ( < 36KB compressed and
minified)
•Free
•Separation of concern
•Modularity
•Extensibility & Maintainability
•Reusable Components
Benefits of Angularjs
What Browsers Does AngularJS Support?
Angular claims to support “Class A Browsers.” As of Angular 1.2, the Angular team considers the
following browsers “Class A”:
● Chrome
● Firefox
● Safari
● iOS
● Android
● IE8+.
https://angularjs.org
Angularjs PPT
What is SPA?
In Angularjs SPA application
is created with the help of
one of the most happening
features of Angularjs i.e.
Routing
● Modules
● Directives
● Templates
● Scope
● Expressions
● DataBinding
● MVC (Model, View & Controller)
● Validations
● Filters
● Services
● Routing
● Dependency Injection
Features
What is a module?
A container for code for the
different parts of your
applications.
Your module goes here
ng-app=’yourModuleName’
Module
What is a controller?
AngularJS applications are
controlled by controllers.
Controller does not directly
communicate to views but with
the help of scope as like model
in ASP.Net MVC.
ng-
controller=’yourControllerName’
ControllerController
A quick note
$rootscope is the parent
scope for all the scopes of
several controller
Behaves like models in MVC
but models are two-way
Scope
one way binding is done with
the help of inbuilt directive
i.e.
Ng-bind for once
and
{{}} / interpolation /
expression
Binding
Two way binding is done
with the help of an inbuilt
directive i.e.
ng-model
Binding
As we say controls in
ASP.net or Partial views in
MVC
Directive
What are expressions or code blocks in ASP.Net or MVC?
ASP.NET
MVC
Code blocks in Microsoft technologies
{{ variable }}
Will get evaluated to its
value .
Expression in Angularjs
Good luck!
Keep learning.
Thank you everyone !!
In next session
We will decide :)

More Related Content

What's hot (20)

PPTX
Introduction to Angularjs
Manish Shekhawat
 
PPTX
Collections and its types in C# (with examples)
Aijaz Ali Abro
 
PPTX
Angular
Mouad EL Fakir
 
PPTX
Introduction to angular with a simple but complete project
Jadson Santos
 
PPTX
Delegates and events in C#
Dr.Neeraj Kumar Pandey
 
PPTX
Angular 14.pptx
MohaNedGhawar
 
PDF
REST API and CRUD
Prem Sanil
 
PPT
JavaScript Tutorial
Bui Kiet
 
PDF
Basics of JavaScript
Bala Narayanan
 
PPTX
ReactJS presentation.pptx
DivyanshGupta922023
 
PPT
Angular Introduction By Surekha Gadkari
Surekha Gadkari
 
PPTX
[Final] ReactJS presentation
洪 鹏发
 
PDF
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
PPTX
Express js
Manav Prasad
 
PPTX
Introduction to Node.js
Vikash Singh
 
PPTX
JSON: The Basics
Jeff Fox
 
PDF
JavaScript Programming
Sehwan Noh
 
Introduction to Angularjs
Manish Shekhawat
 
Collections and its types in C# (with examples)
Aijaz Ali Abro
 
Introduction to angular with a simple but complete project
Jadson Santos
 
Delegates and events in C#
Dr.Neeraj Kumar Pandey
 
Angular 14.pptx
MohaNedGhawar
 
REST API and CRUD
Prem Sanil
 
JavaScript Tutorial
Bui Kiet
 
Basics of JavaScript
Bala Narayanan
 
ReactJS presentation.pptx
DivyanshGupta922023
 
Angular Introduction By Surekha Gadkari
Surekha Gadkari
 
[Final] ReactJS presentation
洪 鹏发
 
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
 
Express js
Manav Prasad
 
Introduction to Node.js
Vikash Singh
 
JSON: The Basics
Jeff Fox
 
JavaScript Programming
Sehwan Noh
 

Similar to Angularjs PPT (20)

PPTX
Anjular js
Naga Dinesh
 
DOCX
angularjs_tutorial.docx
telegramvip
 
PPTX
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
PPTX
What You Really Want To Be Aware (2).pptx
reshu khan
 
PDF
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
sarah david
 
PPTX
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
PPTX
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
PPTX
Advantages of AngularJS
Albiorix Technology
 
PDF
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
sarah david
 
PDF
Difference Between Angular and AngularJS.pdf
Your Team in India
 
PDF
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
sarah david
 
PDF
The Pros and Cons of Angular Development: All You Need to Know
Hepto Software Company
 
PDF
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
Cuneiform Consulting Pvt Ltd.
 
PPTX
Angular Vs React Vs Vue.pptx
Albiorix Technology
 
PDF
Top Reasons to use the Angular Framework for developing Applications!
Shelly Megan
 
PPTX
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
PDF
What You Need to Know About AngularJS Development Tools in 2024.pdf
JPLoft Solutions
 
PPTX
Angular 5,6,7
snehalkamble29
 
PDF
AngularJS Vs ReactJS_ What’s The Difference_.pdf
Onviqa Pvt. Ltd.
 
PPTX
Big Improvement_ New AngularJS Tools Changing How We Develop.pptx
sarah david
 
Anjular js
Naga Dinesh
 
angularjs_tutorial.docx
telegramvip
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
What You Really Want To Be Aware (2).pptx
reshu khan
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
sarah david
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
Advantages of AngularJS
Albiorix Technology
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
sarah david
 
Difference Between Angular and AngularJS.pdf
Your Team in India
 
quantum_leap_angularjs_tools_redefining_development_in_2023.pdf
sarah david
 
The Pros and Cons of Angular Development: All You Need to Know
Hepto Software Company
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
Cuneiform Consulting Pvt Ltd.
 
Angular Vs React Vs Vue.pptx
Albiorix Technology
 
Top Reasons to use the Angular Framework for developing Applications!
Shelly Megan
 
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
What You Need to Know About AngularJS Development Tools in 2024.pdf
JPLoft Solutions
 
Angular 5,6,7
snehalkamble29
 
AngularJS Vs ReactJS_ What’s The Difference_.pdf
Onviqa Pvt. Ltd.
 
Big Improvement_ New AngularJS Tools Changing How We Develop.pptx
sarah david
 
Ad

Recently uploaded (20)

PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Ad

Angularjs PPT

  • 1. A session by Amit Baghel Superheroic JavaScript MVW Framework
  • 2. History AngularJS was created, as a side project, in 2009 by two developers, Misko Hevery and Adam Abrons. The two originally envisioned their project, GetAngular, to be an end-to-end tool that allowed web designers to interact with both the frontend and the backend. Hevery eventually began working on a project at Google called Google Feedback. Hevery and 2 other developers wrote 17,000 lines of code over the period of 6 months for Google Feedback. However, as the code size increased, Hevery began to grow frustrated with how difficult it was to test and modify the code the team had written. So Hevery made the bet with his manager that he could rewrite the entire application using his side GetAngular project in two weeks. Hevery lost the bet. Instead of 2 weeks it took him 3 weeks to rewrite the entire application, but he was able to cut the application from 17,000 lines to 1,500 lines.
  • 3. 17000 lines of code to 1500 how? Take an example In JQuery HTML <p id="test"></p> <p id="test1"></p> <p id="test2"></p> <p id="test3"></p>
  • 4. 17000 lines of code to 1500 how? Script $(function(){ $('#test’).text('Hello World!'); $('#test1’).show(); $('#test2’).hide(); $('#test3’).addClass(‘active’); });
  • 5. 17000 lines of code to 1500 how? Same thing in Angularjs ? HTML <p>{{greeting}}</p> <p ng-show=’visible’ ></p> <p ng-hide=’visible’></p> <p ng-class=’{ ‘active’: visible }’></p>
  • 6. 17000 lines of code to 1500 how? Same thing in Angularjs ? Script $scope.greeting=’Hello Viatech’; $scope.visible=’true’;
  • 7. •Structure, Quality and Organization •Lightweight ( < 36KB compressed and minified) •Free •Separation of concern •Modularity •Extensibility & Maintainability •Reusable Components Benefits of Angularjs
  • 8. What Browsers Does AngularJS Support? Angular claims to support “Class A Browsers.” As of Angular 1.2, the Angular team considers the following browsers “Class A”: ● Chrome ● Firefox ● Safari ● iOS ● Android ● IE8+.
  • 12. In Angularjs SPA application is created with the help of one of the most happening features of Angularjs i.e. Routing
  • 13. ● Modules ● Directives ● Templates ● Scope ● Expressions ● DataBinding ● MVC (Model, View & Controller) ● Validations ● Filters ● Services ● Routing ● Dependency Injection Features
  • 14. What is a module? A container for code for the different parts of your applications. Your module goes here ng-app=’yourModuleName’ Module
  • 15. What is a controller? AngularJS applications are controlled by controllers. Controller does not directly communicate to views but with the help of scope as like model in ASP.Net MVC. ng- controller=’yourControllerName’ ControllerController
  • 16. A quick note $rootscope is the parent scope for all the scopes of several controller Behaves like models in MVC but models are two-way Scope
  • 17. one way binding is done with the help of inbuilt directive i.e. Ng-bind for once and {{}} / interpolation / expression Binding
  • 18. Two way binding is done with the help of an inbuilt directive i.e. ng-model Binding
  • 19. As we say controls in ASP.net or Partial views in MVC Directive
  • 20. What are expressions or code blocks in ASP.Net or MVC?
  • 21. ASP.NET MVC Code blocks in Microsoft technologies
  • 22. {{ variable }} Will get evaluated to its value . Expression in Angularjs
  • 24. In next session We will decide :)