I can change element's attributes seamlessly like this:
<input name="{{ currentField.name }}" type="{{ currentField.properties.type }}" ... /> But, I need to change the element (input, textarea, select etc.) dynamically.
If I try to change element, AngularJS doest not rendering the element. Instead, showing HTML:
<{{ currentField.element }} name="{{ currentField.name }}" type="{{ currentField.properties.type }}" ... /> This is the example {{ currentField }} data:
{ element: 'textarea', name: 'address', properties: { type: 'text', } } Where is the problem?

