I encounter an error while trying to connect a David Easts TODO Angular2 demo to Firebase.
Maximum Call Stack Size Exceeded
The repo can be found here: https://github.com/davideast/ng2do
All I did differently was: import bind, AngularFire and FirebaseArray:
import {bind} from 'angular2/di';
import {AngularFire, FirebaseArray} from 'firebase/AngularFire';
And register the Services component:
@Component({
selector: 'todo-app',
componentServices: [
AngularFire,
bind(Firebase).toValue(new Firebase('https://webapi.firebaseio-demo.com/test'))
]
})
This results in an error:
Error exceeding maximum call stack size.
source
share