1. angularjs中的$templateCache出現(xiàn)中文亂碼怎么解決啊,我put里面的出現(xiàn)亂碼了,頁(yè)面設(shè)置過(guò)編碼格式的=.module(,[]);
.run(($templateCache)$templateCache.put(,);
);
.directive(,($templateCache):,
????:$templateCache.get(),:);2.$templateCache.put里面要是不能寫(xiě)url的話(huà)拼接字符串會(huì)不會(huì)很累啊怎么解決的就像$templateUrl一樣
3.緩存的代碼必須在div里面這是為什么啊
關(guān)于angular緩存的問(wèn)題,求大神
偶爾喝個(gè)小酒
2016-03-01 15:42:34