Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Restangular #61

Open
santiph opened this issue Oct 12, 2016 · 0 comments
Open

Implement Restangular #61

santiph opened this issue Oct 12, 2016 · 0 comments
Assignees

Comments

@santiph
Copy link
Contributor

santiph commented Oct 12, 2016

As requested in https://github.com/crowbar/crowbar-ui/pull/58/files#diff-1decdd3c74bc130e7faf34856d182a54 a way to reuse code has been requested.

To update default values in $http service would work, but I'd like to avoid touching the global one in case we need to reuse it to consume a different set of APIs in the future (OpenStack, for instance)
Restangular seems to have an official recommendation to solve it: https://github.com/mgonto/restangular#how-to-create-a-restangular-service-with-a-different-configuration-from-the-global-one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant