我正在尝试运行
grunt build
从创建的目录中
yo angular
我通过凉亭安装了 angular-ui-bootstrap。在本地我需要添加
<script src="components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
到我的 index.html 和
angular.module('app', ['ngResource', 'ngCookies', 'ui.bootstrap'])
到我的 app.js。但是,每次我尝试构建应用程序时,我都会收到此错误
38 at Array.forEach (native) TypeError: Cannot read property 'awesomeThings' of undefined at null。(/Users/nicholasshook/angular/pokerfund/angular_app/test/spec/controllers/main.js:20:17)