If a directive have terminal:true
, the expressions won't be rendered.
npm install
open index.html
- directive
terminal
api: https://docs.angularjs.org/api/ng/service/$compile#-terminal-
Thanks for Petr Averyanov's answer, points that from the document: https://docs.angularjs.org/api/ng/service/$compile#-terminal-
Note that expressions and other directives used in the directive's template will also be excluded from execution.