Blockquote
[I am getting data in the form of object, but I want it in the form of array.]
filter(val: any) { // call the service w