Actually retrieve template data from $templateCache

Fixes custom template by actually retrieving the template content from the cache using $templateCache.get
If not done, one gets the templateUrl instead of the template data.