method prepareInstanceModel


dynamic prepareInstanceModel(Element template)

Returns a function that can optionally replace the model that will be passed to TemplateBindExtension.createInstance. This can be used to implement syntax such as <template repeat="{{ item in items }}"> by ensuring that the returned model has the "item" name available.

Source

prepareInstanceModel(Element template) =>
    _delegate.prepareInstanceModel(template);