My project consists of creating sun elements from js, for this I use angular and its function ng-bind-html, the ng-bind-html serves me in all cases except this one.
I want to add the following tag when adding a text.
<a data-toggle="modal" href="#modalAcquisitionMode">VER FIGURA MODALIDAD DE ADQUISICIÓN</a>
The problem is that when you add the tag the property data-toggle="modal" is deleted and without it the tag does not work.
Does anyone know how I can solve this?
PS:
When the screen appears on the screen, it appears like this
<a href="#modalAcquisitionMode">VER FIGURA MODALIDAD DE ADQUISICIÓN</a>