ngOnInit() {

I have array
console.log(this.array1) //this shows correct list

Second Array(this.array2) // this shows correct list

FinalArray =[];
FinalArray =this.array1.concat(this.array2)
//I also tried this one
This.finalArray = [...this.array,...this.array2]

   this.ref.detectChanges();
//this array is binded to HTMl template but this is not workin
template code here


 <li *ngFor="let c of completeList | search: searchText ; let i = index;">
</li>




What is missing here. ? it does not loaded into the template.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CAKVZMjDo7B3ySv44hLxcjSiJaMuysApTwcyTjQnVtcFNEFWxVQ%40mail.gmail.com.

Reply via email to