well, I don't know if something like this is possible or not? so let's just ask and find out.
<input name="link" ng-model="addItemLink" ng-class="{'input-blink': this.$pristine}" />
in general, do we ever get able to use keyword this
in angular views?? and could you put me on a path to achieve something similar here??
P.S: I already know about normal angular form validation and how to properly access $pristine. I want to know about this
here??
uh and I guess $pristine is totally undefined outside a form, isn't it?