Hacker News new | ask | show | jobs
by SideburnsOfDoom 4190 days ago
In the section on minification;

> When you minify your code, it stops working, since variables are injected by name. ... You have to use this syntax ...

We didn't have that problem. Or rather we did until we reaised that the minification tooling can convert it automatically. The author does not know that his problem is not a problem any more as it has already been solved.

1 comments

FWIW, newish versions of angular can be set to explode in your face if you use the shortened syntax even when unminified using "ng-strict-di" which I suggest everyone to use.