我使用並排我的角度項目高音引導側數據幻燈片屬性衝突,使用data-slide
屬性高音旋轉木馬:引導與angularJS
<a class="carousel-control left" href="#masthead-carousel" data-slide="prev"><i class="fa fa-reply"></i></a>
原因angularJS在瀏覽器控制檯錯誤
Error: [$compile:ctreq] http://errors.angularjs.org/1.2.17/$compile/ctreq?p0=carousel&p1=slide
at Error (native)
at http://localhost:9000/assets/js/angular/1.2/angular.min.js:6:450
at D (http://localhost:9000/assets/js/angular/1.2/angular.min.js:51:80)
at N (http://localhost:9000/assets/js/angular/1.2/angular.min.js:54:128)
at http://localhost:9000/assets/js/angular/1.2/angular.min.js:60:280
at http://localhost:9000/assets/js/angular/1.2/angular.min.js:71:373
at l.promise.then.D (http://localhost:9000/assets/js/angular/1.2/angular.min.js:99:263)
at http://localhost:9000/assets/js/angular/1.2/angular.min.js:100:417
at h.$get.h.$eval (http://localhost:9000/assets/js/angular/1.2/angular.min.js:111:121)
at h.$get.h.$digest (http://localhost:9000/assets/js/angular/1.2/angular.min.js:108:200) <div ng-class="{
'active': leaving || (active && !entering),
'prev': (next || active) && direction=='prev',
'next': (next || active) && direction=='next',
'right': direction=='prev',
'left': direction=='next'
}" class="carousel-control left item text-center ng-isolate-scope" ng-transclude="" href="#masthead-carousel" data-slide="prev">
我該如何解決這個高音揚聲器引導和角度之間的衝突
您是否有任何自定義指令稱爲幻燈片幻燈片?通常''data-slide'沒有問題,除非angularjs在應用程序內部找到一個 – maurycy
在我的角度模塊中沒有像'slide'或'dataSlide'或'DataSlide'的指令 –