亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

angular.js - angular-ui-bootstrap reports an error and cannot be used?
給我你的懷抱
給我你的懷抱 2017-05-15 16:59:49
0
1
626

1. I wrote this in webpack.config.js

entry: {
        app: ['webpack-dev-server/client?http://localhost:8080','./app/js/app.js'],
        vendor: ['jquery', 'bootstrap', 'angular', 'angular-ui-router', 'angular-ui-bootstrap']
    }

Introduction:

var app = angular.module('app', ['ui.router', 'ngGrid', 'ui.bootstrap']);

2. Then the console reported an error

What’s going on here?

給我你的懷抱
給我你的懷抱

reply all(1)
世界只因有你

Do you have any controllers under the "app" module? If yes, write it like this
so that the module can access the controller under the module

var app = angular.module('app', ['ui.router', 'ngGrid', 'ui.bootstrap','app-controller']);

Referenced from stack overflow

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template