Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit a91c99a

Browse files
beetleromandrewseguin
authored andcommitted
fix(truncate): remove controllerAs and bindToController directive attributes (#10798)
This fix addresses the bug described in issue: #10356 See #10356 (comment) for details
1 parent bbb719d commit a91c99a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/truncate/truncate.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ function MdTruncateDirective() {
6767
return {
6868
restrict: 'AE',
6969

70-
controller: MdTruncateController,
71-
controllerAs: '$ctrl',
72-
bindToController: true
70+
controller: MdTruncateController
7371
}
7472
}
7573

0 commit comments

Comments
 (0)