Workshop
AngularJS 1.x Team Lead
clone using git
git clone https://github.com/petebacondarwin/foodme-intro
or download zip file
https://github.com/petebacondarwin/foodme-intro/archive/master.zip
or copy from USB stick
Add Angular and basic bindings to the page:
ng-show / ng-hide
Show and hide parts of the page dynamically
Move the deliveryForm behaviour into a Controller
Add a list of restaurants to choose from
Simple functions that modify bindings
Use the pipe | symbol in an expression to apply
{{ name | uppercase }}
Implement sorting of the restaurant list
Implement sorting of the restaurant list
Create custom filter to display nicer price and rating values
Angular provides sophisticated declarative validation
Add validation to delivery form
Well Defined Singleton Objects/Functions
Persist the delivery info in the local storage
Load the restaurant data from a server
(remote using CORS)
Load the restaurant data from a server
(hosting app and data locally)
Filter the restaurants by price and rating
Display the number of filtered restaurants
Provide reusable visual components and low level interaction with the DOM
Add a cool rating directive for use in filtering
Keep in touch: pete@bacondarwin.com
Find out more: https://doc.angularjs.org
Get involved: http://angularconnect.com