SlideShare a Scribd company logo
Demo & Workshop
AngularJS - MVW Framework
AngularJS Overview
Model View Whatever
Controllers are for data binding, filters and scope
Views become more closer integrated with the data
Learn to do things the ‘Angular’ way
Resources
Official Documentation isn’t so great
The Angular Cheat Sheet
Google Groups
JSFiddles
Demos
AngularJS Official Demos
Built With Angular Demos
Tutorialzine Demos
Setup
Indicate you are using angular with ng-app in a tag.
Load AngularJS from the web or download and use
one stored on your own server.
<!doctype html>
<html ng-app>
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"<
/script>
</head>
<body>
<div ng-view="main"></div>
</body>
</html>
Simple App
ng-model is a model that provides data binding
Demo1
<!doctype html>
<html ng-app>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script>
</head>
<body>
<div>
<label>Name:</label>
<input type="text" ng-model="yourName">
<hr>
<h1>Hello {{yourName}}!</h1>
</div>
</body>
</html>
Key Terms part I
Template: HTML with additional markup
Directives: extend HTML with custom attributes and elements
You can make your own directives
Model: the data that is shown to the user and with which the user
interacts
Scope: context where the model is stored so that controllers,
directives and expressions can access it
Expressions: access variables and functions from the scope
Compiler: parses the template and instantiates directives and
expressions
Key Terms part II: Son of Key Terms
Filter: formats the value of an expression for display to the user
View: what the user sees (the DOM)
Data Binding: sync data between the model and the view
Controller: the business logic behind views
Dependency Injection: Creates and wires objects / functions
Injector: dependency injection container
Module: configures the Injector
Service: reusable business logic independent of views
Workshop
Check out - github.com/drewry/angular-workshop
Goal is to create a very simple app using Angular for
front-end and Node for back-end
1. Create a method to grab from ‘/users’ and creates
an unordered list for each user
2. Check and update a user if the user has ‘attended’
3. Click a user’s profile which will load just that user
and load another view
4. Update a picture URL for the user and display it on
the different views as an image

More Related Content

ODP
Using WordPress for Rapid Prototyping
PDF
Rapid Prototyping with WordPress Page Builders - WordCamp Asheville 2016 - an...
PDF
Transforming Front-End Disaster Code™ Into A Maintainable Masterpiece
PPTX
PDF
jQuery UI & Mobile - The Great Merger
PDF
Angularjs [Bahasa Indonesia]
PPTX
Automated perf optimization - jQuery Conference
PDF
Django
Using WordPress for Rapid Prototyping
Rapid Prototyping with WordPress Page Builders - WordCamp Asheville 2016 - an...
Transforming Front-End Disaster Code™ Into A Maintainable Masterpiece
jQuery UI & Mobile - The Great Merger
Angularjs [Bahasa Indonesia]
Automated perf optimization - jQuery Conference
Django

What's hot (20)

PDF
[JogjaJS] Single Page Application nganggo Angular.js
PPTX
AngularJS vs React JS vs Node JS: Which is Best For Web Development ?
KEY
jQuery Mobile Overview - Boston
PPTX
Kickstart sencha extjs
PPTX
Back to the ng2 Future
PPTX
Angular vs React: Building modern SharePoint interfaces with SPFx
PPTX
From MVC to Component Based Architecture
PDF
Fast Prototyping Strategies for UI design
PPTX
Choosing a JavaScript Framework
PDF
jQuery Foundation Keynote
PPTX
Angle Forward with TypeScript
PDF
Rest Introduction (Chris Jimenez)
PPT
Using Features
PPTX
React JS Belgium Touch Base - React, Flux, React Native
PPTX
Kendo UI presentation at JsConf.eu
PDF
OSCON 2014: OpenUI5 - The New Responsive Web UI Library
PDF
Muhammad azamuddin introduction-to-reactjs
PPTX
Introducing Kendo UI
PPTX
React or Angular and SharePoint Framework Development
[JogjaJS] Single Page Application nganggo Angular.js
AngularJS vs React JS vs Node JS: Which is Best For Web Development ?
jQuery Mobile Overview - Boston
Kickstart sencha extjs
Back to the ng2 Future
Angular vs React: Building modern SharePoint interfaces with SPFx
From MVC to Component Based Architecture
Fast Prototyping Strategies for UI design
Choosing a JavaScript Framework
jQuery Foundation Keynote
Angle Forward with TypeScript
Rest Introduction (Chris Jimenez)
Using Features
React JS Belgium Touch Base - React, Flux, React Native
Kendo UI presentation at JsConf.eu
OSCON 2014: OpenUI5 - The New Responsive Web UI Library
Muhammad azamuddin introduction-to-reactjs
Introducing Kendo UI
React or Angular and SharePoint Framework Development
Ad

Similar to GDG Atlanta - Angular.js Demo and Workshop (20)

PDF
AngularJS By Vipin
DOCX
angularjs_tutorial.docx
PDF
Introduction to Angular Js
PPT
introduction to Angularjs basics
PPTX
Kalp Corporate Angular Js Tutorials
PPTX
Angular js workshop
PDF
One Weekend With AngularJS
DOCX
Angular js getting started
PPTX
Intoduction to Angularjs
PDF
Getting Started With AngularJS
PDF
Getting Started with AngularJS
PDF
Introduction to Angularjs : kishan kumar
PPTX
Introduction to Angularjs
PDF
AngularJS for Beginners
DOCX
ANGULAR JS LAB MANUAL(final) vtu2021 sch
PPTX
AngularJs (1.x) Presentation
PPTX
Dive into Angular, part 1: Introduction
PPTX
Single Page Applications in SharePoint with Angular
PPTX
Angular Js Get Started - Complete Course
PDF
AngularJS: Overview & Key Features
AngularJS By Vipin
angularjs_tutorial.docx
Introduction to Angular Js
introduction to Angularjs basics
Kalp Corporate Angular Js Tutorials
Angular js workshop
One Weekend With AngularJS
Angular js getting started
Intoduction to Angularjs
Getting Started With AngularJS
Getting Started with AngularJS
Introduction to Angularjs : kishan kumar
Introduction to Angularjs
AngularJS for Beginners
ANGULAR JS LAB MANUAL(final) vtu2021 sch
AngularJs (1.x) Presentation
Dive into Angular, part 1: Introduction
Single Page Applications in SharePoint with Angular
Angular Js Get Started - Complete Course
AngularJS: Overview & Key Features
Ad

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Encapsulation theory and applications.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Tartificialntelligence_presentation.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
A Presentation on Artificial Intelligence
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity
A comparative analysis of optical character recognition models for extracting...
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Encapsulation theory and applications.pdf
Approach and Philosophy of On baking technology
Tartificialntelligence_presentation.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Group 1 Presentation -Planning and Decision Making .pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
Advanced methodologies resolving dimensionality complications for autism neur...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine learning based COVID-19 study performance prediction

GDG Atlanta - Angular.js Demo and Workshop

  • 2. AngularJS - MVW Framework
  • 3. AngularJS Overview Model View Whatever Controllers are for data binding, filters and scope Views become more closer integrated with the data Learn to do things the ‘Angular’ way
  • 4. Resources Official Documentation isn’t so great The Angular Cheat Sheet Google Groups JSFiddles
  • 5. Demos AngularJS Official Demos Built With Angular Demos Tutorialzine Demos
  • 6. Setup Indicate you are using angular with ng-app in a tag. Load AngularJS from the web or download and use one stored on your own server. <!doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"< /script> </head> <body> <div ng-view="main"></div> </body> </html>
  • 7. Simple App ng-model is a model that provides data binding Demo1 <!doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script> </head> <body> <div> <label>Name:</label> <input type="text" ng-model="yourName"> <hr> <h1>Hello {{yourName}}!</h1> </div> </body> </html>
  • 8. Key Terms part I Template: HTML with additional markup Directives: extend HTML with custom attributes and elements You can make your own directives Model: the data that is shown to the user and with which the user interacts Scope: context where the model is stored so that controllers, directives and expressions can access it Expressions: access variables and functions from the scope Compiler: parses the template and instantiates directives and expressions
  • 9. Key Terms part II: Son of Key Terms Filter: formats the value of an expression for display to the user View: what the user sees (the DOM) Data Binding: sync data between the model and the view Controller: the business logic behind views Dependency Injection: Creates and wires objects / functions Injector: dependency injection container Module: configures the Injector Service: reusable business logic independent of views
  • 10. Workshop Check out - github.com/drewry/angular-workshop Goal is to create a very simple app using Angular for front-end and Node for back-end 1. Create a method to grab from ‘/users’ and creates an unordered list for each user 2. Check and update a user if the user has ‘attended’ 3. Click a user’s profile which will load just that user and load another view 4. Update a picture URL for the user and display it on the different views as an image