Angular service to interact with Fidem API within hybrid mobile application like ionic