I'm trying to display a string in my model that contains the html representation of a special character. Unfortunately, it doesn't show that actual character, and I don't know how to make it do it...
this is the code:
<div ng-controller="MyCtrl">
Hello, {{namea}}!
<br/>
<
</div>
<script>
var myApp = angular.module('myApp',[]);
function MyCtrl($scope) {
$scope.namea = 'Superhero <';
}
</script>
this is the output:
Hello, Superhero <!
<