controller(name, constructor);
Parameters
| Param | Type | Details |
|---|---|---|
| name | stringObject | Controller name, or an object map of controllers where the keys are the names and the values are the constructors. |
| constructor | Function | Controller constructor function. |
Please login to continue.