0
I am at my root index.html and loads normal, but when I type the # more the / and a view for example the view tests the url: index.html#! #%2Fview-test. I would like to know the pq!
Follow the code of the route:
angular.module('teste').config(['$routeProvider', '$locationProvider'], 
    function($routeProvider, $locationProvider){
       $locationProvider.html5Mode(true);
       $routeProvider
       .when('/', {
         templateUrl: 'index.html',
         controller: 'testeCtrl'
       })
       .when('/teste', {
         templateUrl: 'view/teste.html',
         controller: 'testeCtrl'
     });                                                                  
 });
						
now you are giving error in the console so: Error: $injector:modulerr
– LeAndrade
may be that you forgot to put the reference of some file or module not ? as for example ngRoute ....
– stringnome
@stringname this same that occurred!
– LeAndrade