diff options
| author | Chirayu Krishnappa | 2013-08-06 21:51:48 -0700 |
|---|---|---|
| committer | Chirayu Krishnappa | 2013-08-07 13:02:46 -0700 |
| commit | be621934edca1efef80cb24752fad4e1e915739f (patch) | |
| tree | 967a6e4d9b4a44263cc192460382a207330edc32 /src/ng/compile.js | |
| parent | 6d7ee1ad3b548fa0e3ebf13e008d7024b664813f (diff) | |
| download | angular.js-be621934edca1efef80cb24752fad4e1e915739f.tar.bz2 | |
fix(compile): fix directive as identifier
Diffstat (limited to 'src/ng/compile.js')
| -rw-r--r-- | src/ng/compile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js index 91cf155e..ad979e33 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -1036,7 +1036,7 @@ function $CompileProvider($provide) { controllerInstance); if (directive.controllerAs) { if (typeof locals.$scope !== 'object') { - throw new Error('Can not export controller as "' + identifier + '". ' + + throw new Error('Can not export controller as "' + directive.controllerAs + '". ' + 'No scope object provided!'); } |
