updating to use angular template