Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //real api
- var api = {
- list_cameras: list_cameras,
- //other methods…
- };
- function list_cameras(filters){
- return AppAjax.get(‘/api/list_cameras’, {filters: angular.toJson(filters)});
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement