Your Angular.js directives will break when minified. This is how you write directives #likeaboss

Surprisingly enough, if you write your directive controllers as per the documentation, they will break when minified.
Image
IMO the standard should be to write minification compatible code. The docs do talk about using the minfication-compatible square-brakets [] DI syntax for controllers and such, but not for directive controllers. In fact every directive I’ve ever seen in videos, at meetups or in docs will break when minified.