use "get" instead of "query" in the AngularJS $resource library due to the modification of JSON format