You don't need to worry about dependency injection breaking when your code is minified. You can supply a list of the dependencies as strings, and minified code will work fine:<p><pre><code> angular.module("whatever").controller("YourController",
["dep1", "dep2", function (dep1, dep2) {
whatever...
}]);
</code></pre>
Even though the `dep1` and `dep2` params get minified, angular will still pass in the correct dependencies.