Suppose I have -
$scope.trustAsHtml = $sce.trustAsHtml; 
<p ng-bind-html="trustAsHtml(expression)"></p>
What does the trustAsHtml could check such that its expression wouldn't displayed as trust HTML ? 
Please provide me some examples .
Suppose I have -
$scope.trustAsHtml = $sce.trustAsHtml; 
<p ng-bind-html="trustAsHtml(expression)"></p>
What does the trustAsHtml could check such that its expression wouldn't displayed as trust HTML ? 
Please provide me some examples .
Strict Contextual Escaping (SCE) is a mode in which AngularJS requires bindings in certain contexts to result in a value that is marked as safe to use for that context. One example of such a context is binding arbitrary html controlled by the user via ng-bind-html. We refer to these contexts as privileged or SCE contexts.
For example
That should be:
plus in your controller: