I am using AngularJS. I have a scope variable $scope.TextToUser which is printed in html to be shown to user on website. In my controller, the code is simple and looks like this;
$scope.TextToUser='UserText'
On the corresponding html page, the code is just {{TextToUser}}.
I tried to turn the text to red by using the following code in the controller;
$scope.TextToUser = '<font size="3" color="red"> 'UserText'</font>'
Unfortunately, on the html page, the entire string was printed and not UserText in red. How can I turn the text red? Simple, straight-forward methods will be preferred.