Angular-meteor $templatCache not working


#1

Hi All,

I’m using angular-meteor.

When i try load templates via angular $templateCache.get service i get 404/undefined.

AFAIK, when meteor runs he loads all html files into the $templateCache. I can’t see this, $templateCache will work for me only if i first use $templateCache.put.

not working:

$templateCache.get("table-nested-sc")
working:

$templateCache.put("table-nested-sc","some html")
console.log($templateCache.get("table-nested-sc"))

Any suggestions?

Thanks!


#2

$templateCache…
Help please (((((-:


#3

Do you have two angulars running? You should be able to see it in the console logs.