Skip to content Skip to sidebar Skip to footer

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"
});

http://plnkr.co/edit/Iypm5fXgpcrLS7Smlc62?p=preview

Post a Comment for "Angular Js Ui Router Not Showing Template (no Js Console Errors)"