chutterbox / chutter

https://chutter.co
MIT License
12 stars 4 forks source link

Create a provider for api endpoint #1

Open chutterbox opened 9 years ago

chutterbox commented 9 years ago

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.