if (type == AngularJSElementTypes.REPEAT_EXPRESSION) {
return new AngularJSRepeatExpression(node);
} else if (type == AngularJSElementTypes.FILTER_EXPRESSION) {
return new AngularJSFilterExpression(node);
} else if (type == AngularJSElementTypes.AS_EXPRESSION) {
return new AngularJSAsExpression(node);
}
return super.createElement(node);
}