Problem with html5Mode angular

0

I installed my application Angular using #! in the links url, now I'm trying to use html5Mode but it's not working.

The folder structure of my application looks like this: In the root is index.html , a folder with the images, a folder with CSS , a folder with the JS files I'm using (the% angular.min.js ) and a last folder called jQuery where app , controller and directives of angular.

I have already inserted services into my $locationProvider.html5Mode(true) which is where I define the name of my module and the routes. In the file app.js (which is where index.html is) I inserted the '. When I do this, the images on the site will disappear and the links will stop working.

    
asked by anonymous 25.05.2017 / 19:30

1 answer

0

I was able to solve the html5Mode problem. Mine was pointing to a wrong folder address of my project. Now it's ok!

    
25.05.2017 / 21:32