Skip to content

craigmckeachie/superhero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Superhero

##Project setup Install Node.js from nodejs.org

npm install

npm start

##Lab 0: Hero List http://plnkr.co/edit/ww3Iol6hfjbCGkfn5IXA?p=preview

##Lab 1: Checkout

##Lab 2: Routing Create two routes (virtual pages)

  1. Heroes List
  2. Checkout Set the default page to the heroes list Set up navigation on index page Bonus: Highlight navigation

###Simple Routing Example http://plnkr.co/edit/px60glMRFJnqCguPfhFr?p=preview

npm install angular-route --save

  • app.routes.js - configure routes
  • add scripts (angular-route.js and app.routes.js) to index.html
  • add ng-view directive

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published