Fixed controller dependency injection broken after minification.

As per the Angular documentation, directive controllers support dependency injection which means you have to use the bracket syntax or define an $inject property for the controller to work correctly when minified. This PR fixes the directives not working when minified. 

From the documentation at http://docs.angularjs.org/guide/directive
> controller - Controller constructor function. The controller is instantiated before the pre-linking phase and it is shared with other directives (see require attribute). This allows the directives to communicate with each other and augment each other's behavior. The controller is injectable (and supports bracket notation) with the following locals...