更新时间:2023-11-30 15:34:40
在bower
安装文件下载到的ngCart
目录中查找.
look in the ngCart
directory that bower
installed downloaded the files to.
app/public/libraries/ngCart/template/
└── ngCart
├── addtocart.html
├── cart.html
├── checkout.html
└── summary.html
然后在指令中将其写入模板位置.
then in the directive write in the template location.
<ngcart-summary template-url="/libraries/ngCart/template/ngCart/summary.html"></ngcart-summary>