Learning Tastypie API backend and Angular JS