I've read this post Mvc4 bundling, minification and AngularJS services
But it doesn't adress how to correctly minify AngularJS projects.
Should I minify everything except my viewmodels ? Lets say my templates use code like this:
Hello <b>{{model.name}}</b>
if I minify the controller, the "model" property will be minified, right? Thus breaking the above template.
I saw some video about AngularJS where they stated that you can apply minification but skip minification for properties.
That should solve the problem, minify the code but keep all property names on controller/models
How would I accomplish this with MVC4 bundles?