yet another api module for angularjs, for custom APIs (not just REST)