shyamseshadri / angularjs-book

Examples and Code snippets from the first AngularJS O'Reilly book which is now heavily out of date!
1.63k stars 1.11k forks source link

Chapter -2 : Changing Views with Routes and $location #21

Open Debananda opened 10 years ago

Debananda commented 10 years ago

The example is not working with Angular 1.2.15. Giving "Uncaught object" at line :78 in angularjs.

hamidhadi commented 10 years ago

I have same problem and add angular-route.js to my project but still doesn't work. can you help me ?

shyamseshadri commented 10 years ago

To update the routing, you need to :

Then it should work

hamidhadi commented 10 years ago

It doesn't work :(

smasztarowski commented 9 years ago

it works js: http://pastebin.com/TmyK8DRu html: http://pastebin.com/qiZRyqaU