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

Commit

Permalink
fix($compile): bind all directive controllers correctly when using `b…
Browse files Browse the repository at this point in the history
…indToController`

Previously only the first directive's controller would be bound correctly.

Closes #11343
Closes #11345
  • Loading branch information
petebacondarwin committed Nov 10, 2015
1 parent 894cccf commit e929e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ng/compileSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4482,7 +4482,7 @@ describe('$compile', function() {
'str': '@fooStr',
'fn': '&fooFn'
},
scope: true,
scope: {},
controllerAs: 'fooCtrl',
controller: function() {
expect(this.data).toEqualData({'foo': 'bar', 'baz': 'biz'});
Expand Down

0 comments on commit e929e0b

Please sign in to comment.