docs(compile/notassign): description for compile/notassign error

Closes #3459
This commit is contained in:
Misko Hevery
2013-08-01 15:39:22 -07:00
committed by Igor Minar
parent 4e76d0469e
commit 78a445fa37
4 changed files with 39 additions and 7 deletions

View File

@@ -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);