DAMP (Django, Angular, Mysql-or-Mongo, Python)
Conflict of {{ }} in Angular & Jinja #
Solution 1 (suggested):
vim static/js/app.js
$interpolateProvider.startSymbol("[[").endSymbol("]]");
Solution 2 (ugly):
Use {% verbatim %}
and {% endverbatim %}
paris.
Restful API with Angular - A Shopping List Demo #
(Very Simple Demo with Json)
This is following the “Rest API” part of LearnDjango. We will “Consume the rest API” using AngularJS.
BTW, a must watch video by Nina @ DjangoCon 2014.
Consume API #
2013 https://blog.kevinastone.com/django-rest-framework-and-angular-js
others:
2009: https://github.com/brwr/thinkster-django-angular-boilerplate
2013: http://glynjackson.org/weblog/tutorial-using-angularjs-django/