constructed angular rest client