$templateCache.get returns undefined
<pre><code>$http.get('template/alert.html', {
    cache: $templateCache
});
$scope.clickedButton = function () {
    console.log($templateCache.info()); // &lt;-- Object {id: "templates", size: 1}
    console.log($templateCache.get('alert.html')); // &lt;-- undefined
    console.log($templateCache.get('template/alert.html')); // &lt;-- undefined
};
</code></pre>

<p>So I am trying to aquire the html, put it into the cache and then console.log out the contents of the html file.</p>