You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE:
Before this change, it was possible to inject an observable of a synchronized
list into a component by calling FirebaseList to get a provider:
```
@component({providers: [FirebaseList('/questions')]})
class MyComponent {
constructor(@Inject('/questions') questions) {}
}
```
This behavior has been replaced by the injectable AngularFire service:
```
@component({providers: [AngularFire]})
class MyComponent {
constructor(af:AngularFire) {
this.questions = af.list('/questions');
}
}
```
Closesangular#46
jeffbcross
added a commit
to jeffbcross/angularfire2
that referenced
this issue
Feb 16, 2016
BREAKING CHANGE:
Before this change, it was possible to inject an observable of a synchronized
list into a component by calling FirebaseList to get a provider:
```
@component({providers: [FirebaseList('/questions')]})
class MyComponent {
constructor(@Inject('/questions') questions) {}
}
```
This behavior has been replaced by the injectable AngularFire service:
```
@component({providers: [AngularFire]})
class MyComponent {
constructor(af:AngularFire) {
this.questions = af.list('/questions');
}
}
```
Closesangular#46
jeffbcross
added a commit
to jeffbcross/angularfire2
that referenced
this issue
Feb 16, 2016
BREAKING CHANGE:
Before this change, it was possible to inject an observable of a synchronized
list into a component by calling FirebaseList to get a provider:
```
@component({providers: [FirebaseList('/questions')]})
class MyComponent {
constructor(@Inject('/questions') questions) {}
}
```
This behavior has been replaced by the injectable AngularFire service:
```
@component({providers: [AngularFire]})
class MyComponent {
constructor(af:AngularFire) {
this.questions = af.list('/questions');
}
}
```
Closesangular#46
While functional, it's awkward to use, and is distracting from better paths to do the same thing.
The text was updated successfully, but these errors were encountered: