Set translations in Angular Translate and IONIC

I would like to set values for translation in service / factory. Can anyone help here, what should the dependency be and what would the code look like in the angular translate config as well as the service