A code sample written in python, django, angularjs utilizing json AJAX requests