angular/angular.js — pull request #3497 by niallsmart (2013-08-07 21:25:47+00:00)
Title: $controller should use $injector to resolved named controllers.

The patch extends the resolution strategy used by $controller to also search for controllers registered via $provide.

Using $provide gives developers more flexibility in how controllers are configured and created (it also seems more internally consistent to use Angular's own dependency resolution framework for controller resolution.)

Includes updated ngdoc for $ng.$controller – I'm happy to add an update for the guide too, just LMK.