I have a small puzzle, I have in Django's template a following line of code:
{% if x == y %} sth {% endif %}
Where "x" variable belongs to Django while "y" is a angularjs variable. I've learned that one can change the $interpolateProvider to {$ $} or sth else, but in this case that's not an option since the code should than look like:
{% if x == {$ y $} %} sth {% endif %}
and that of course will cause an error. How to resolve that issue, i.e. to use angularjs variables inside the template tags?
I would be grateful for a tip,
best wishes,
nykon