anchor.diff:      for (var directive in unit.directives) {
         directive.accept(this);
       }
  +    _inAngularTemplate = false;
     }
   
     @override
  
positive.code:     var type = _emitType(to,
          nameType: options.nameTypeTests || options.hoistTypeTests,
          hoistType: options.hoistTypeTests);
      return js.call('dart.as(#, #)', [jsFrom, type]);
    }
  
  
negative.code:         return js.call(
              'dart.$dynamicHelper(#, #)', [_visit(target), _visitList(args)]);
        }
        if (_inAngularTemplate) {
          return js
              .call('#.#(#)', [_visit(target), memberName, _visitList(args)]);
        } else {
          return js.call('dart.dsend(#, #, #)',
              [_visit(target), memberName, _visitList(args)]);
        }
      }
  
      // Generic dispatch to a statically known method.
  