-7

I am trying to display a link using <a> in a modal window, but the content is showing as a plain text; however, the same text in another modal window is displaying properly.

This is my code:

<span data-ng-if="error.message">{{error.message}}</span>
Kabb5
  • 3,760
  • 2
  • 33
  • 55
scary_devil
  • 268
  • 4
  • 19

1 Answers1

1

for a link in HTML the code should be

<a href="{yourURL}">TEXT HERE</a>

But it would be more helpful if you posted up your code for us to see where the mistake is.

  • My HTML code is {{error.message}} and the message is coming from a angular service var service = { getErrorMsg: function(errorcode) { var errorMsg = ""; errorMsg = USER_FRIENDLY_MSG[errorcode]; $log.info( "errorMsg :" + errorMsg); return errorMsg; } }; – scary_devil Apr 28 '15 at 09:19