Hi, I'm new to Angular and ran into a couple issues with Angular being a bit "heavy handed" with trying to "keep me safe".
In a controller, if I set a model equal to a string that contains HTML, like this:
$scope.test1 = "This & <a href="#">that</a>.";
The in the view I use {{test1}}, the HTML elements are printed rather than being treated as HTML... "&" become "&" and "<" becomes "<", etc.
Also, I have an ng-repeat directive where one of the elements being repeated is a "vnc" link:
<tr ng-repeat="device in devices">
<td>...</td>
<td>...</td>
<td><a href="vnc://{{device.ip}}">vnc</a></td>
</tr>
And on the page, all the links have "unsafe:" added to the beginning. Like: <a href="unsafe:vnc://
123.123.123.123">
How can I turn these things off? I can't find any reference to these in the docs.
Thanks,
Greg