update angular template