I am new to angular and I wrote a simple code, but it doesn't work. Can someone explain me how can i get a tagName from input value. It's a sample, of course I want to assign this variable in data model, so text would be in I, B, U, or div class="something", but I want to change it on the fly.
<div ng-app>
<div>
<input type="text" ng-model="customTag" placeholder="Enter a name here" value="b">
<{{customTag}}>77</{{customTag}}>
</div>
</div>