$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.