Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Debananda opened this issue May 24, 2014 · 4 comments
Open

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

Debananda opened this issue May 24, 2014 · 4 comments

Comments

@Debananda
Copy link

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

@Debananda Debananda reopened this May 26, 2014
@hamidhadi
Copy link

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

@shyamseshadri
Copy link
Owner

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

@hamidhadi
Copy link

It doesn't work :(

@smasztarowski
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants