If we are writing documentation within an Angular App is there a way to escape:
<p>{{ date | date :'short'}}</p>
So that it does not execute and instead renders as:
{{ date | date :'short'}}
Most sample documentation I've read through will put a span
element around the individual pieces like this:
<span class="pun">{{</span>
Does angular have a syntax highlighting pipe that we can pass the expression through?
In AngularJS it's done like this:
<div ng-non-bindable>Ignored: {{1 + 2}}</div>