I use {{message}}
in template HTML.
This code shows HTML as text in page.
How I can show only one HTML tag <a href>
as HTML in page?
Asked
Active
Viewed 52 times
-2

Mustafa
- 39
- 5
-
check ng-show / ng-hide or ng-if – Gonzalo.- Nov 06 '15 at 21:08
-
Possible duplicate of [AngularJs: ng-show / ng-hide](http://stackoverflow.com/questions/12599637/angularjs-ng-show-ng-hide) – Gonzalo.- Nov 06 '15 at 21:08
-
Not, You understood me wrong. I mean to show HTML text like as TEXT, except link – Mustafa Nov 06 '15 at 21:10
-
I think you need to explain the problem in more detail, probably with more code to illustrate what you want to accomplish. – The Head Rush Nov 06 '15 at 21:12
-
You could use ng-sanitize – cirtrus Nov 06 '15 at 21:13
-
This question doesn't make any sense – charlietfl Nov 06 '15 at 21:15
-
@Mustafa can you provide an example of your desired output ? It is not clear what are you asking. What does message contains? – Gonzalo.- Nov 06 '15 at 21:16
-
Have edited my question – Mustafa Nov 06 '15 at 21:18
-
Seems this is that I need: https://docs.angularjs.org/api/ngSanitize/filter/linky – Mustafa Nov 06 '15 at 21:22
-
It helped me: http://plnkr.co/edit/?p=preview – Mustafa Nov 06 '15 at 21:28