Use an angular service to manage filters.
Split services.js into multiple services/* files.
Move all the API calls to a $api service.