use templateCache to load chart widget template