Closed felippenardi closed 8 years ago
@demands Would really appreciate your input in this, Max!
Hi @felippenardi -- try the newest version (angular-cached-resource.js
| angular-cached-resource.min.js
).
I think your problem is solved with this commit. Let me know.
Thanks @demands !!!
I'm trying to add angular-cached-resource to a project with Gulp and without Browserify.
I'm having trouble because of this:
The angular-cached-resource is assuming there will be a
module.exports
object, which this project doesn't.I tried to edit these lines to remove the
if
statement, but then it will fail because my project doen't userequire
.My question is, is there a minified version I could just import using Bower and start using by simply injecting the dependency to my angular module?