how to get value from array in angular 6