Thursday, January 1, 2015

[Resolved- AngularJS Routing] Uncaught Error : [$injector:Modulerr]

hi recently while using angularjs routing i came up with this below issue.


to resolve this go to your angularjs code and change this below code

var homeMainApp = angular.module('homeMainA', []);

to

var homeMainApp = angular.module('homeMainA', ['ngRoute']);


hope that resolves your issue as well.thanks

No comments:

Post a Comment