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.