I am trying to change the value of a label in my HTML page on an event,is it possible to insert html code into the variable?
The HTML
code is like:
<div ng-controller="welcomeCon" ><label>{{ welcomemsg }}</label></div>
and in some controller
in the script:
$rootScope.welcomemsg="You are not logged in,please log in or register"
Is there a way to make the words log in
and register
to be links?
If no, I would be happy if someone could guide me what to do in alternative.
Thanks
$root.welcomemsg
<a href...></a>