Consuming RESTful APIs with $resource, dynamic search filters added to hf