Missing $firebase.storage() in Angularfire 1.X
See original GitHub issueHi all,
I’m working on a pretty old project right now. It’s built in Angular 1.4 and uses these firebase libraries:
"firebase": "^2.4.1",
"angularfire": "~1.1.4",
It makes heavy use of the “Firebase” api, and I’d rather not refactor the entire project if I don’t have to. hehe.
The problem is that now we want to introduce Firebase storage, and I can’t figure out what api you are expected to use in firebase 1.X.
I tried injecting $firebase into my controller/service, but it seems that there are no storage methods on that. Also, for some reason there was never a $firebaseStorage service (someone please correct me, but I think this is because the actual storage product that firebase offers began after the 1.x library was created).
Anyway, can someone point me towards the easiest way to implement storage on this older project (I’m sure I’m not the only one wondering about this)? Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
I just tried, am I’m happy to say that I was able to access regular old firebase without adding any imports.
ok thanks guys. I will try this out.
btw - I’m using bower to load in firebase and angularfire (repo here: https://github.com/ng-nj/ng-nj.org)