$get method for dependency injection.
Adds an identifier to the controller instance in the given locals' scope.
The locals object containing the scope.
The identifier to assign.
The controller instance.
The name of the controller.
Register a controller.
Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
Controller constructor function (optionally decorated with DI annotations in the array notation).
The ng.$controller $controller service is used by AngularJS to create new controllers.
This provider allows controller registration via the ng.$controllerProvider#register register method.