I am trying to use both flask and angular.js. While rendering a page with flask, I tried to add some angular js and the two templating methods (tags) clash.
I want something like:
<div>
{{ flaskReplacesThis }}
</div>
<div>
{%?! Ignore this, flask! %?}
{{ angularReplacesThis }}
{%?! endIgnore %?}
</div>
Is it:
- a bad idea all round, and I should abandon hope, or
- should I roll my own solution (if so, how?).
I've tried googling and haven't seen anything I can fully understand / make use of.