Get Data on conditions by $resource angualrjs
问题 I am using $resource service for my crud operations now i want to get data on a condition like get appointments whose starting date is today. I am fetching all data by vm.appointments = AppointmentsService.query(); and my service code is (function () { 'use strict'; angular .module('appointments') .factory('AppointmentsService', AppointmentsService); AppointmentsService.$inject = ['$resource']; function AppointmentsService($resource) { return $resource('api/appointments/:appointmentId', {