angularjs - Getting Bootstrap UI for Angular to work with Bootstrap V4 CSS -


i have based entire applications style (grid system, classes) in angularjs on bootstrap's v4 css file. using bootstrap ui, have been using ui-tabs , have had no issues say, though styling errors have put off until have completed html , core functionality.

i need implement carousel display catergorised content, , have followed example , have come realisation not of components work bootstrap v4 css file.

on site under dependencies state:

bootstrap css (tested version 3.3.7). version of library (2.5.0) works bootstrap css in version 3.x. 0.8.0 last version of library supports bootstrap css in version 2.3.x.

so bootstrap ui angular hasn't been adjusted compatible v4 css

the carousel works if used cdn:

<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

question

any ideas or links solution implementing carousel app, without reverting bootstrap v3 css?

specified cdns in index.html:

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/y6pd6fv/vv2hjna6t+vslu6fwyxjcftcephbnj0lyafsxtsjbbfadjzaleqsn6m" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="assets/css/style.css">  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.5/angular-animate.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/2.5.0/ui-bootstrap-tpls.min.js"></script> 

code carousel displayed within tab:

<uib-tabset active="active" type="pills">     <uib-tab index="1" ng-hide="true">         <div id="slides_control">             <div style="height:500px;">                 <div uib-carousel interval="myinterval" active="activeslide">                      <div uib-slide ng-repeat="slide in slides" index="$index">                           <img ng-src="{{slide.image}}" style="margin:auto;">                           <div class="carousel-caption">                               <h4>slide {{$index+1}}</h4>                           </div>                      </div>                 </div>             </div>         </div>     </uib-tab> </uib-tabset> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -