This episode explains the config phase of an AngularJS application and how is it special in regards to $routeProvider (routing configuration) and providers in general.
Hello, I'm wondering about the following thing:
I have Project structure with an Index.html code and many directories where I put html templates and corresponding css, and js files.
in js files I have .config with routs and .controller with a controller.
The problem is:
When I develop my application everything works just fine, but when I build my app using Grunt the "public" folder appears with index.html and uglified js files. After building my /paths are broken and templates do not work anymore.
How to get rid of that? Thank you