better template resolution on angular side