AngularJS 1.4 - bindToController object definition

This commit supports using `bindToController` as an object (see: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#features-9).
This commit is contained in:
André König
2015-05-29 09:59:37 +02:00
parent 86d1044eb3
commit 5294692073
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for Angular JS 1.3+
// Type definitions for Angular JS 1.4+
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -1550,7 +1550,7 @@ declare module angular {
compile?: IDirectiveCompileFn;
controller?: any;
controllerAs?: string;
bindToController?: boolean;
bindToController?: any;
link?: IDirectiveLinkFn | IDirectivePrePost;
name?: string;
priority?: number;