I want to fix the livereload with my angular js app. I am using yoeman ui-router with html5 push state.
What do a have to do?
I want to fix the livereload with my angular js app. I am using yoeman ui-router with html5 push state.
What do a have to do?
The index For the searchengines you have to add the following to the
<head>of your index.htmlThe app In your app.js you have to inject the following dependencies and add the functions.
The middelware
The solution to this problem is to adapt the connect-modrewrite middleware.
Install the middleware with the node packetmanager within your console in your yeomanfolder
Then adapt the Gruntfile.js
Now start your grunt with the command