angularjs - Angular JS - Route provider not working -
Help me with this plunk
Getting blank screen while using routing, but its work is not correct two things: You are announcing the main app module twice - once in Which overwrites your previous one, redefines the githubviewer module. To view a module, just leave the second parameter (array of dependency). So change that line to your controller instead: Performance: Go to the plunk and see it pls < / Code>
app.js and once In the controller
app.js Before a load, which adds the router as a dependency, but after that you are doing this in your controller:
var app = angular .module ("gitbewar", []);
var app = angular Module ("Gitbuvert");
ngRoute :
Comments
Post a Comment