Deriving content via Angular Templates
Closed this issue · 2 comments
3goats commented
I'm trying to get my markdown data via an angular controller.
This works:
<btf-markdown ng-include="'ecc.md'">
</btf-markdown>
But this doesnt
<btf-markdown>
{{itemdesc.content}}
</btf-markdown>
It renders this:
{{itemdesc.content}}
btford commented
try
<div btf-markdown="itemdesc.content"></div>
3goats commented
Perfect! That did the trick thanks.