String-based template store inspired by AngularJS $templateCache.