我现在已经把头撞到这里30分钟了,找不到我做错了什么: 我在 index.html
中包含了所有需要的模块(和其他模块)<script type="text/javascript" src="libs/angular1.5.8/angular.js"></script>
<script type="text/javascript" src="libs/angular-route/angular-route.js"></script>
<script type="text/javascript" src="libs/angular-file-upload.min.js"></script>
<script type="text/javascript" src="libs/jquery/jquery.js"></script>
<script type="text/javascript" src="libs/angular-scroll.js"></script>
<script type="text/javascript" src="libs/angularGrid.js"></script>
<script type="text/javascript" src="libs/angular-count-to.min.js"></script>
<script type="text/javascript" src="libs/angular-animate.js"></script>
<script src="https://rawgit.com/srfrnk/re-tree/master/re-tree.js" type="text/javascript"></script>
<script src="https://rawgit.com/srfrnk/ng-device-detector/master/ng-device-detector.js" type="text/javascript"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.9.0/ui-bootstrap-tpls.min.js"></script>
我告诉它在 app.js中使用bootstrap ui模块
var app = angular.module('app', ['ng', 'ngRoute','angularFileUpload', 'duScroll', 'angularGrid', 'countTo', 'ngAnimate', 'ui.bootstrap', 'ng.deviceDetector']);
我试图将其添加到ng-repeat中,如下所示:
<button uib-popover="I appeared on mouse enter!" popover-trigger="mouseenter" type="button" class="btn btn-default">Mouseenter</button>
怎么了?
答案 0 :(得分:0)
试试这个............没有uib
<button popover="I appeared on mouse enter!" popover-trigger="mouseenter" type="button" class="btn btn-default">Mouseenter</button>