A platform for developing, scheduling, and viewing reports
Making AngularJS and Django play nicely together requires redefining Angular's template tag. We will follow the tutorial in this video: http://www.youtube.com/watch?v=Q8FRBGTJ020 ...which features code from [this repository|https://github.com/gkappel/demo-d201305/blob/master/demo/static/js/demo.js]
/* AngularJS app definition */
var shopping = angular.module('shopping',['ngCookies']);
shopping.config(function($interpolateProvider) {
//allow django templates and angular to co-exist
$interpolateProvider.startSymbol('{[{');
$interpolateProvider.endSymbol('}]}');
});
// define controllers, factories, etc below...
An informative blog post on using Celery with async JavaScript is here: https://zapier.com/blog/async-celery-example-why-and-how/