added partial hooks of api to angular services