ngx-restangular
ngx-restangular copied to clipboard
Define dependencies in package.json?
We had an issue where we were using lodash 3.x and were getting tricky to debug errors.
ERROR TypeError: “Object(...) is not a function”
As a long shot, we upgraded to lodash 4.x and that fixed the error.
It would be nice if lodash (and Angular for that matter) were added to the dependencies of this project, with the specific versions that are supported (at least the minimum versions), i.e. "lodash": ">=4.0.0",.
Or, at the very least, mention that at least lodash 4.x is required in the README (https://github.com/2muchcoffeecom/ngx-restangular#dependencies). :)
Thanks!