From e929e0ba8a6f707e51c2d4ea4124057433455431 Mon Sep 17 00:00:00 2001
From: Peter Bacon Darwin <pete@bacondarwin.com>
Date: Tue, 10 Nov 2015 10:52:18 +0000
Subject: [PATCH] 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
---
 test/ng/compileSpec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js
index 4e1abbc086dc..00a69d79184e 100755
--- a/test/ng/compileSpec.js
+++ b/test/ng/compileSpec.js
@@ -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'});