RequireJS partial management improvements.
Templates are now cached through angular modules.
Optimization is working properly for production build.