mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 22:35:14 +08:00
docs(compile/notassign): description for compile/notassign error
Closes #3459
This commit is contained in:
@@ -978,7 +978,7 @@ function $CompileProvider($provide) {
|
||||
parentSet = parentGet.assign || function() {
|
||||
// reset the change, or we will throw this exception on every $digest
|
||||
lastValue = scope[scopeName] = parentGet(parentScope);
|
||||
throw $compileMinErr('noass', "Expression '{0}' used with directive '{1}' is non-assignable!",
|
||||
throw $compileMinErr('nonassign', "Expression '{0}' used with directive '{1}' is non-assignable!",
|
||||
attrs[attrName], newIsolateScopeDirective.name);
|
||||
};
|
||||
lastValue = scope[scopeName] = parentGet(parentScope);
|
||||
|
||||
Reference in New Issue
Block a user