Getting TypeError: Cannot read property 'push' of undefined in my Service when trying to save my Angular form. 
This is how i am trying to implement it in my article.service.ts
createArticle(data: ArticleDB) {
this.articles.push(data);
}
tried Stackoverflow reply but it says Type 'undefined[]' is missing the following properties from type 'AngularFireList': query, valueChanges, snapshotChanges, stateChanges, and 4 more. Refrence image
this.articlesis not an array, you should check this[]i.e (empty array)