diff --git a/lib/core_dom/ng_mustache.dart b/lib/core_dom/ng_mustache.dart index c6c604b6f..5e3f9496e 100644 --- a/lib/core_dom/ng_mustache.dart +++ b/lib/core_dom/ng_mustache.dart @@ -54,7 +54,7 @@ class NgAttrMustacheDirective { attrs.listenObserverChanges(attrName, (hasObservers) { if (_hasObservers != hasObservers) { - hasObservers = hasObservers; + _hasObservers = hasObservers; if (_watch != null) _watch.remove(); _watch = scope.watch(ast, interpolation.call, readOnly: !hasObservers); }