Refactor Angular service method away from an arrow function GitOrigin-RevId: a83d90d0d44a28d1b898aef0490084def3089f47