* This method is used to define top-level {@link VariableElement}s for each "ng-model" with
* simple identifier model.
*/
void applyTopDeclarations(AngularHtmlUnitResolver resolver, XmlTagNode node) {
XmlAttributeNode attribute = node.getAttribute(NG_MODEL);
Expression expression = parseDartExpression(resolver, attribute);
// if not identifier, then not a top-level model, delay until "apply"
if (!(expression instanceof SimpleIdentifier)) {
return;
}
SimpleIdentifier identifier = (SimpleIdentifier) expression;