Django with AngularJS generator