Angular Js Ui Router Not Showing Template (no Js Console Errors)
Im just staring AngularJS app for 1st time. Followed some steps from tutorials but at the end ui router is not showing anything. Firebug is not showing any JS errors or warnings my
Solution 1:
To use the root path, the state config url
property should be an empty string, not '/'
.
$stateProvider.state("Login", {
url: "",
controller: "LoginController",
templateUrl: "views/login.html"
});
Post a Comment for "Angular Js Ui Router Not Showing Template (no Js Console Errors)"