Created
February 27, 2017 22:12
-
-
Save tonylampada/3efe65dcdafbfe7fe0a10c1fda3b3902 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//real api | |
var api = { | |
list_cameras: list_cameras, | |
//other methods… | |
}; | |
function list_cameras(filters){ | |
return AppAjax.get(‘/api/list_cameras’, {filters: angular.toJson(filters)}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment