added serverside filtering in angular service