第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

怎樣多次調(diào)用templateCache里緩存的key

var app=angular.module("myApp",[]);
app.run(function($templateCache){
?? ?$templateCache.put("hello.html","<div>hello~~~~</div>")
})
app.directive("hello",function($templateCache){
?? ?return{
?? ??? ?restrict:"AECM",
?? ??? ?template:$templateCache.get("hello.html"),
?? ??? ?repace:true?? ?
?? ?}?? ??? ?
})
app.directive("hello1",function($templateCache){
?? ?return{
?? ??? ?restrice:"AECM",
?? ??? ?template:$templateCache.get("hello.html"),
?? ??? ?replace:true,?? ?
?? ?}?? ?
})

正在回答

舉報(bào)

0/150
提交
取消
AngularJS實(shí)戰(zhàn)
  • 參與學(xué)習(xí)       205391    人
  • 解答問(wèn)題       1225    個(gè)

一起學(xué)習(xí)AngularJS的基礎(chǔ)教程,通過(guò)實(shí)例學(xué)習(xí)并學(xué)會(huì)AngularJS

進(jìn)入課程

怎樣多次調(diào)用templateCache里緩存的key

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)