After a few trials and errors I got it working, I was trying to update dynamically the title
attribute but that is not the way to go with Tipsy extension, instead I have to use the original-title
attribute for anything that is posted after the creation of the element that has a tooltip, which you can also call that has the effect of Dynamically Updating Text (like mentioned on Tipsy website). So my code has to change with this instead:
<input type="number" name="price" ngx-tipsy="s" ng-attr-original-title="{{ (mytype == 'type1') ? 'some title' : '' }}" title="" ng-model="myprice">
I added the title
attribute in my answer, but it could in fact be removed without affecting the end result. What is most important is to use the attribute of original-title
and so with angular it becomes ng-attr-original-title
for a proper binding. It also tells me that my directive was indeed properly built.