Currently the application has 4-5 references to a constant called API_ENDPOINT.
I was thinking this should be extracted into a single angular constant value: see "#constant" here - https://docs.angularjs.org/api/ng/type/angular.Module that all of the resources/authprovider can build their url's off of.
Currently the application has 4-5 references to a constant called API_ENDPOINT.
I was thinking this should be extracted into a single angular constant value: see "#constant" here - https://docs.angularjs.org/api/ng/type/angular.Module that all of the resources/authprovider can build their url's off of.