fix: flip attr / property bind in directives annotations
Fixes #648 Closes #684
This commit is contained in:
@ -196,7 +196,7 @@ export class ElementBinderBuilder extends CompileStep {
|
||||
var annotation = directive.annotation;
|
||||
if (isBlank(annotation.bind)) continue;
|
||||
var _this = this;
|
||||
StringMapWrapper.forEach(annotation.bind, function (dirProp, elProp) {
|
||||
StringMapWrapper.forEach(annotation.bind, function (elProp, dirProp) {
|
||||
var expression = isPresent(compileElement.propertyBindings) ?
|
||||
MapWrapper.get(compileElement.propertyBindings, elProp) :
|
||||
null;
|
||||
|
Reference in New Issue
Block a user