4 ms·
There are angular specific minifiers dealing just fine with #3. It's more of a toolchain problem. For #5 the real deal is the provider and everything else is s
by hcho 12y ago
There are angular specific minifiers dealing just fine with #3. It's more of a toolchain problem.
For #5 the real deal is the provider and everything else is syntactic sugar on top of it. Once you have a very large application you start to appreciate the distinction. The naming of concepts is awful though; could have been much more clearer.
- nawitus 12y ago>There are angular specific minifiers dealing just fine with #3. It's more of a toolchain problem. I'm sorry to say it's pretty "retarded" to add in framework-specific minifiers to the build process. I don't want to tweak 10 different minifiers if I'm using 10 different libraries in my application.
- hcho 12y agoSorry, I was wrong at the first time it's not actually the minifier that deals with injection. It's a preprocessor called ng-min. You can use any minifier after that. It's been a while since I touched my grunt file. I stand corrected.