fixing up angular/django api interface