我正在构建一个有角度的网络应用程序,并试图合并 ngCart。我使用 安装它bower install ngcart --save
,将 bower 文件合并到我的 index.html 文件中,并将其作为依赖项注入到应用程序中。当我尝试使用<ngcart-addtocart>
指令(仅ngcart-addtocart
在视图文件中合并标签)时,我收到以下错误 -Error: [$compile:tpload] Failed to load template: template/ngCart/addtocart.html (HTTP status: 404 Not Found)
我怀疑这是我想念的简单东西。谢谢!