Angularjs: Add bind-to-controller to IControllerService

This commit is contained in:
Ben Tesser
2015-08-04 00:21:01 -04:00
parent 4947369d66
commit d945844367
+2 -2
View File
@@ -1227,8 +1227,8 @@ declare module angular {
///////////////////////////////////////////////////////////////////////////
interface IControllerService {
// Although the documentation doesn't state this, locals are optional
(controllerConstructor: Function, locals?: any): any;
(controllerName: string, locals?: any): any;
(controllerConstructor: Function, locals?: any, bindToController?: any): any;
(controllerName: string, locals?: any, bindToController?: any): any;
}
interface IControllerProvider extends IServiceProvider {