convert angular generated services to use providers