Practical case is pretty simple: I would like to provide documentation for my library that's for I want to paste examples of code there together with demo parts.
So my question is: How to make one part compilable and executable but other one - just a text (!with double curly brackets).
For example:
<angular-switchery [(ngModel)]="swticherModel"></angular-switchery>
Switcher: {{swticherModel? 'ON' : 'OFF'}}