ng:compile

Description

Compiles HTML string. Works like ngBindHtml but compiles the string.

Usage

as attribute
<ANY ng-compile>
   ...
</ANY>

Directive info

  • This directive creates new scope.

Example