From d94584436795ad9b610b175ec18fba7d85ec18b5 Mon Sep 17 00:00:00 2001 From: Ben Tesser Date: Tue, 4 Aug 2015 00:17:05 -0400 Subject: [PATCH] Angularjs: Add bind-to-controller to IControllerService --- angularjs/angular.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 11f46b064..9fc2ffb0e 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -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 {