aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/compile.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/compile.js')
-rw-r--r--src/ng/compile.js2
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!');
}