1
I changed the routes to load the pages without the "#".
The problem is when I do F5 it returns error 404.
var app = angular.module("app", ['ngRoute']);
app.config(function ($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true);
$routeProvider
.when('/Cadastros', { templateUrl: $("#linkBase").attr("href") + 'templates/Cadastro/cadastros.html', controller: 'CadastroController' })
.otherwise({ redirectTo: "/" });
});
What is your http server?
– Rafael Araújo