For loop in angular 4 component