I'm using Angular 1 with UI Router(https://github.com/angular-ui/ui-router).
Here's how my main app.js looks like:
var myApp= angular.module('myApp', [
'ui.router'
]);
myApp.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/overview");
$stateProvider
.state('overview', {
url: "/overview",
templateUrl: "templates/overview/overview.html"
});
});
Thing is, I'm able to load overview.html
but nothing displays on the document (the file for sure is not empty)
angular.js:11821 XHR finished loading: GET "http://localhost:8000/templates/overview/overview.html".
I'm not quiet sure why this happens.