changed angular to be provider