I am trying to render some unsafe HTML (basically a HTML snippet with some inline styling) and have the following code in my view:
You can bypass it using $sce.trustAsHtml . See documentation
$sce.trustAsHtml
self.snippet.content = $sce.trustAsHtml('some html');