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

Commit bd7b217

Browse files
fix($compile): bind all directive controllers correctly when using bindToController
Previously only the first directive's controller would be bound correctly. Closes #11343 Closes #11345
1 parent 50557a6 commit bd7b217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/compileSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4482,7 +4482,7 @@ describe('$compile', function() {
44824482
'str': '@fooStr',
44834483
'fn': '&fooFn'
44844484
},
4485-
scope: true,
4485+
scope: {},
44864486
controllerAs: 'fooCtrl',
44874487
controller: function() {
44884488
expect(this.data).toEqualData({'foo': 'bar', 'baz': 'biz'});

0 commit comments

Comments
 (0)