SlideShare a Scribd company logo
1 of 18
Download to read offline
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Intro to AngularJS 
More than just data binding 
WE ARE HIRING!
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Agenda 
• Overview of AngularJS 
• Focus more on structure and use than 
features 
• Highlight more complex areas 
• Provide a starting point for you to begin 
analyzing for yourself 
• Review some code 
WE ARE HIRING! 2
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
What is it? 
• Angular allows you to extend HTML 
vocabulary to provide dynamic behavior. 
• Provides an MVC pattern for client side 
(browser) application development. 
• Developed by a team at Google 
• http://angularjs.org 
WE ARE HIRING! 3
From: 
h+p://larseidnes.com/2014/11/05/angularjs-­‐the-­‐bad-­‐parts/ 
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Why are we talking about it? 
WE ARE HIRING! 4
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Browser becomes another device 
WE ARE HIRING! 5 
WebAPI 
Data
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Basic Angular Functionality 
• https://angularjs.org 
WE ARE HIRING! 6
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
How the Data Bind Magic works 
Browser 
DOM 
Angular 
Shadow 
DOM 
WE ARE HIRING! 7 
View 
Model 
$digest 
cycle
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Isn’t MVC already on the server? 
• Yes. Using Asp.Net MVC there is a 
server side MVC pattern. 
• Using AngularJS there is a second 
MVC pattern in the browser. 
• The two are independent of each 
other. 
WE ARE HIRING! 8
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular View 
WE ARE HIRING! 9
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular Controller 
WE ARE HIRING! 10
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular Model 
Vm 
viewmodel 
WE ARE HIRING! 11
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular App – Main container 
WE ARE HIRING! 12
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular Service 
WE ARE HIRING! 13
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Directives – UI Components 
• Directives provide a mechanism for 
componentizing the UI. 
WE ARE HIRING! 14
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular Modules provide Testability 
• Using tools such as JasmineJS and 
Qunit each module (Controller, 
Service, Directive) can be unit tested 
independently. 
WE ARE HIRING! 15
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Validation 
• Always validate on the server as well 
as the UI. 
• http://scotch.io/tutorials/javascript/ 
angularjs-form-validation 
WE ARE HIRING! 16
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
Angular Coding Standards 
• From Angular 
https://docs.google.com/document/d/1XXMvReO8- 
Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub 
• Opinionated Style from John Papa 
https://github.com/johnpapa/angularjs-styleguide 
WE ARE HIRING! 17
LogicalAdvantage.com | January 2015 
/LogicalAdvantage @LogicalAdvantage 
TM 
References 
• http://angularjs.org 
• http://larseidnes.com/2014/11/05/angularjs-the-bad-parts/ 
• http://scotch.io/tutorials/javascript/angularjs-form-validation 
WE ARE HIRING! 18

More Related Content

What's hot

What's hot (6)

OutSystems Tricks & Tips for Complex UI Integrations
OutSystems Tricks & Tips for Complex UI IntegrationsOutSystems Tricks & Tips for Complex UI Integrations
OutSystems Tricks & Tips for Complex UI Integrations
 
Welcome Note by Abhinav Asthana, CEO at Postman
Welcome Note by Abhinav Asthana, CEO at PostmanWelcome Note by Abhinav Asthana, CEO at Postman
Welcome Note by Abhinav Asthana, CEO at Postman
 
Design-first API Development using Swagger and Node
Design-first API Development using Swagger and NodeDesign-first API Development using Swagger and Node
Design-first API Development using Swagger and Node
 
Building Cross Platform Mobile Apps
Building Cross Platform Mobile AppsBuilding Cross Platform Mobile Apps
Building Cross Platform Mobile Apps
 
Headless cms architecture
Headless cms architectureHeadless cms architecture
Headless cms architecture
 
The Inverted Funnel of API Documentation
The Inverted Funnel of API DocumentationThe Inverted Funnel of API Documentation
The Inverted Funnel of API Documentation
 

Viewers also liked

cloudHQ
cloudHQcloudHQ
cloudHQ
jjuban
 
AngularJS Data Binding
AngularJS Data BindingAngularJS Data Binding
AngularJS Data Binding
Ticore Shih
 

Viewers also liked (20)

AngularJS Framework
AngularJS FrameworkAngularJS Framework
AngularJS Framework
 
aapkapainter.com - An Overview
aapkapainter.com - An Overviewaapkapainter.com - An Overview
aapkapainter.com - An Overview
 
Why a new CPAN client cpm is fast
Why a new CPAN client cpm is fastWhy a new CPAN client cpm is fast
Why a new CPAN client cpm is fast
 
cloudHQ
cloudHQcloudHQ
cloudHQ
 
AngularJS Data Binding
AngularJS Data BindingAngularJS Data Binding
AngularJS Data Binding
 
How to use App::FatPacker effectively
How to use App::FatPacker effectivelyHow to use App::FatPacker effectively
How to use App::FatPacker effectively
 
How to send great cart abandonment emails
How to send great cart abandonment emailsHow to send great cart abandonment emails
How to send great cart abandonment emails
 
AngularJS Anatomy & Directives
AngularJS Anatomy & DirectivesAngularJS Anatomy & Directives
AngularJS Anatomy & Directives
 
Conversion Hacking: 10 Things You Can Start Tomorrow To Accelerate Your Ecomm...
Conversion Hacking: 10 Things You Can Start Tomorrow To Accelerate Your Ecomm...Conversion Hacking: 10 Things You Can Start Tomorrow To Accelerate Your Ecomm...
Conversion Hacking: 10 Things You Can Start Tomorrow To Accelerate Your Ecomm...
 
Data binding in AngularJS, from model to view
Data binding in AngularJS, from model to viewData binding in AngularJS, from model to view
Data binding in AngularJS, from model to view
 
We Are Ometrians - The Ometria Culture Deck
We Are Ometrians - The Ometria Culture DeckWe Are Ometrians - The Ometria Culture Deck
We Are Ometrians - The Ometria Culture Deck
 
Business Logic Notes for Business and Commerce Department
Business Logic Notes for Business and Commerce DepartmentBusiness Logic Notes for Business and Commerce Department
Business Logic Notes for Business and Commerce Department
 
AngularJS vs jQuery
AngularJS vs jQueryAngularJS vs jQuery
AngularJS vs jQuery
 
Ecommerce Trends 2015: 19 predictions from top ecommerce experts
Ecommerce Trends 2015: 19 predictions from top ecommerce expertsEcommerce Trends 2015: 19 predictions from top ecommerce experts
Ecommerce Trends 2015: 19 predictions from top ecommerce experts
 
The Art of AngularJS in 2015 - Angular Summit 2015
The Art of AngularJS in 2015 - Angular Summit 2015The Art of AngularJS in 2015 - Angular Summit 2015
The Art of AngularJS in 2015 - Angular Summit 2015
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Logic
LogicLogic
Logic
 
Introduction to angular js for .net developers
Introduction to angular js  for .net developersIntroduction to angular js  for .net developers
Introduction to angular js for .net developers
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular js
 
The Importance of Logic in Business
The Importance of Logic in BusinessThe Importance of Logic in Business
The Importance of Logic in Business
 

Similar to Introduction to AngularJS - More Than Just Data Binding

Similar to Introduction to AngularJS - More Than Just Data Binding (20)

Angular
AngularAngular
Angular
 
What is Angular?
What is Angular?What is Angular?
What is Angular?
 
Introduction to SPAs with AngularJS
Introduction to SPAs with AngularJSIntroduction to SPAs with AngularJS
Introduction to SPAs with AngularJS
 
Ajs ppt
Ajs pptAjs ppt
Ajs ppt
 
What is the Use of Angular?
What is the Use of Angular?What is the Use of Angular?
What is the Use of Angular?
 
THE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JSTHE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JS
 
Angular JS - Introduction
Angular JS - IntroductionAngular JS - Introduction
Angular JS - Introduction
 
ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines  ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines
 
What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 
AngularJS workshop for beginners.
AngularJS workshop for beginners.AngularJS workshop for beginners.
AngularJS workshop for beginners.
 
Angular vs. AngularJS: A Complete Comparison Guide
Angular vs. AngularJS: A Complete Comparison GuideAngular vs. AngularJS: A Complete Comparison Guide
Angular vs. AngularJS: A Complete Comparison Guide
 
Get satrted angular js day 2
Get satrted angular js day 2Get satrted angular js day 2
Get satrted angular js day 2
 
Introduction to django
Introduction to djangoIntroduction to django
Introduction to django
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
 
Knockout, TypeScript, and Nested Grids, Oh My!
Knockout, TypeScript, and Nested Grids, Oh My!Knockout, TypeScript, and Nested Grids, Oh My!
Knockout, TypeScript, and Nested Grids, Oh My!
 
AngularJS best-practices
AngularJS best-practicesAngularJS best-practices
AngularJS best-practices
 
Itroducing Angular JS
Itroducing Angular JSItroducing Angular JS
Itroducing Angular JS
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
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
 
Overview of the AngularJS framework
Overview of the AngularJS framework Overview of the AngularJS framework
Overview of the AngularJS framework
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Introduction to AngularJS - More Than Just Data Binding

  • 1. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Intro to AngularJS More than just data binding WE ARE HIRING!
  • 2. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Agenda • Overview of AngularJS • Focus more on structure and use than features • Highlight more complex areas • Provide a starting point for you to begin analyzing for yourself • Review some code WE ARE HIRING! 2
  • 3. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM What is it? • Angular allows you to extend HTML vocabulary to provide dynamic behavior. • Provides an MVC pattern for client side (browser) application development. • Developed by a team at Google • http://angularjs.org WE ARE HIRING! 3
  • 4. From: h+p://larseidnes.com/2014/11/05/angularjs-­‐the-­‐bad-­‐parts/ LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Why are we talking about it? WE ARE HIRING! 4
  • 5. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Browser becomes another device WE ARE HIRING! 5 WebAPI Data
  • 6. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Basic Angular Functionality • https://angularjs.org WE ARE HIRING! 6
  • 7. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM How the Data Bind Magic works Browser DOM Angular Shadow DOM WE ARE HIRING! 7 View Model $digest cycle
  • 8. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Isn’t MVC already on the server? • Yes. Using Asp.Net MVC there is a server side MVC pattern. • Using AngularJS there is a second MVC pattern in the browser. • The two are independent of each other. WE ARE HIRING! 8
  • 9. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular View WE ARE HIRING! 9
  • 10. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular Controller WE ARE HIRING! 10
  • 11. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular Model Vm viewmodel WE ARE HIRING! 11
  • 12. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular App – Main container WE ARE HIRING! 12
  • 13. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular Service WE ARE HIRING! 13
  • 14. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Directives – UI Components • Directives provide a mechanism for componentizing the UI. WE ARE HIRING! 14
  • 15. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular Modules provide Testability • Using tools such as JasmineJS and Qunit each module (Controller, Service, Directive) can be unit tested independently. WE ARE HIRING! 15
  • 16. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Validation • Always validate on the server as well as the UI. • http://scotch.io/tutorials/javascript/ angularjs-form-validation WE ARE HIRING! 16
  • 17. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM Angular Coding Standards • From Angular https://docs.google.com/document/d/1XXMvReO8- Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub • Opinionated Style from John Papa https://github.com/johnpapa/angularjs-styleguide WE ARE HIRING! 17
  • 18. LogicalAdvantage.com | January 2015 /LogicalAdvantage @LogicalAdvantage TM References • http://angularjs.org • http://larseidnes.com/2014/11/05/angularjs-the-bad-parts/ • http://scotch.io/tutorials/javascript/angularjs-form-validation WE ARE HIRING! 18