EVOLUTION-MANAGER
Edit File: $controllerProvider.html
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ng/controller.js?message=docs($controllerProvider)%3A%20describe%20your%20change...#L3' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.9/src/ng/controller.js#L3' class='view-source pull-right btn btn-primary'> <i class="glyphicon glyphicon-zoom-in"> </i>View Source </a> <header class="api-profile-header"> <h1 class="api-profile-header-heading">$controllerProvider</h1> <ol class="api-profile-header-structure naked-list step-list"> <li> <a href="api/ng/service/$controller">- $controller</a> </li> <li> - provider in module <a href="api/ng">ng</a> </li> </ol> </header> <div class="api-profile-description"> <p>The <a href="api/ng/service/$controller">$controller service</a> is used by Angular to create new controllers.</p> <p>This provider allows controller registration via the <a href="api/ng/provider/$controllerProvider#register">register</a> method.</p> </div> <div> <h2>Methods</h2> <ul class="methods"> <li id="register"> <h3><p><code>register(name, constructor);</code></p> </h3> <div></div> <h4>Parameters</h4> <table class="variables-matrix input-arguments"> <thead> <tr> <th>Param</th> <th>Type</th> <th>Details</th> </tr> </thead> <tbody> <tr> <td> name </td> <td> <a href="" class="label type-hint type-hint-string">string</a><a href="" class="label type-hint type-hint-object">Object</a> </td> <td> <p>Controller name, or an object map of controllers where the keys are the names and the values are the constructors.</p> </td> </tr> <tr> <td> constructor </td> <td> <a href="" class="label type-hint type-hint-function">function()</a><a href="" class="label type-hint type-hint-array">Array</a> </td> <td> <p>Controller constructor fn (optionally decorated with DI annotations in the array notation).</p> </td> </tr> </tbody> </table> </li> <li id="allowGlobals"> <h3><p><code>allowGlobals();</code></p> </h3> <div><p>If called, allows <code>$controller</code> to find controller constructors on <code>window</code></p> </div> </li> </ul> </div>