Debojyoti Debojyoti - 7 months ago 90
Javascript Question

How to remove   in angular js?

The angular expression is

{{notification.noti_val}}
.
The value stored in the expression is
saha &n bsp;like&nb sp;own&nb sp;wall
.

How can I remove the
&nb sp;
characters?

Answer

You need to specify your value as safe html. In angular you can use $sceservice to do so. I have created this jsbin explaining the use case and it fixes your issue