my .ts file is this
upload(documents){
  //  let file=user.files[0];
  //   console.log(file);
  //  console.log(file.name);
  let storageRef=firebase.storage().ref();
    for(let selectedFile of[(<HTMLInputElement>document.getElementById('file')).files[0]]){
     let path='/resumes/'+selectedFile.name;
      let iRef=storageRef.child(path);
      iRef.put(selectedFile).then((snapshot)=>{
        debugger;
       documents.resume=selectedFile.name;
       documents.path=path;
        var Userid=localStorage.getItem('user');
        console.log(documents);
      let content= this.db.object('/candidates_list/'+Userid)
            content.subscribe(data => {
              this.data=this.data.concat(documents);
              this.db.object('/candidates_list/'+Userid).set(this.data);
            console.log(this.idcontent=data);
       })
it shows that error
core.es5.js:1084 ERROR TypeError: Cannot read property 'concat' of undefined.
how to solve this problem?thanks in advance.the problem is with this code.
this.data=this.data.concat(documents);
thanks in advance
 
     
    