AngularJS

DAMP (Django, Angular, Mysql-or-Mongo, Python)

2016-08-20. Category & Tags: Django, Angular, AngularJS

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.

...