I'm making an application with angularJS. I have pages being called, but a single one does not appear.
Here are my codes:
app.js
var app = angular.module("vc", ["ui.router"]);
app.config(function($stateProvider){
$stateProvider
.state("login", {
url:"/",
controller: "LoginController",
templateUrl: "admin/views/login.html"
})
.state("painel", {
url: "/painel",
controller: "PainelController",
templateUrl: "admin/views/painel.html"
})
.state("usuario", {
url: "/usuario",
controller: "UsuarioController",
templateUrl: "admin/views/usuario.html"
})
.state("paises", {
url: "/paises",
controller: "PaisesController",
templateUrl: "admin/views/paises.html"
})
.state("atualizarUsuario", {
url: "/atualizarUsuario",
controller: "AtualizarUsuarioController",
templateUrl: "admin/views/atualizarUsuario.html"
})
})
index.html
<html ng-app="vc">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/vc.css">
<body>
<div ui-view></div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script><scriptsrc="http://angular-ui.github.io/ui-router/release/angular-ui-router.js"></script>
<script src="admin/js/app.js"></script>
<script src="admin/js/loginController.js"></script>
<script src="admin/js/painelController.js"></script>
<script src="admin/js/usuarioController.js"></script>
<script src="admin/js/atualizarUsuarioController.js"></script>
</html>
Follow print where the .html files are
Andprintfromtheuser.htmlstructurewhereyouhavethelinktothepagethatdoesnotappear