angularjs-book
angularjs-book copied to clipboard
Chapter -2 : Changing Views with Routes and $location
The example is not working with Angular 1.2.15. Giving "Uncaught object" at line :78 in angularjs.
I have same problem and add angular-route.js to my project but still doesn't work. can you help me ?
To update the routing, you need to :
- Include the angular-route.js file (after angular.js) in your index.html
- Add the 'ngRoute' module as a dependency to your main module
Then it should work
It doesn't work :(
it works js: http://pastebin.com/TmyK8DRu html: http://pastebin.com/qiZRyqaU