[Fixed]-Cannot call service in my index.html file; Django error

0👍

You need to tell Django not to try to parse the Angular tags. Use {% verbatim %} to do that.

👤Tom

1👍

Django and AngularJS both use the double brace syntax {{ variable }} you will need to escape the double braces at the Django template level so that Django does not try to render your tag

data-ng-href="{% templatetag openvariable %} $kjTheme {% templatetag closevariable %}"

Leave a comment