Merge pull request #5198 from btesser/angularjs-bind-to-controller

Angularjs bind to controller
This commit is contained in:
Masahiro Wakame
2015-08-04 21:22:33 +09:00
+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 {