我想在这个例子中实现引导选项卡,使用angularjs bootstrap - 它包含指令 tabbable 和 tabPane。它不起作用,我不知道如何让球滚动。
<tabbable>
<tabPane title="first">
<div ng-controller="FirstCtrl"></div>
</tabPane>
<tabPane title="tabbable">
<div ng-controller="SecondCtrl"></div>
</tabPane>
</tabbable>
应用程序.js:
angular.module('orders_manage', ['orders_manage.services', 'bootstrap'])
.config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) {
$routeProvider
.when('/first', { templateUrl:'/partials/first.html', controller:FirstCtrl})
.when('/second', { templateUrl:'/partials/second.html', controller:SecondCtrl})