an example of using Django 1.x with AngularJS, requires django-rest-framework