angularjs - Tab is not working in my local machine using angular js -


i trying create tab using angular js.i trying in chrome.referered these code http://jsfiddle.net/wijmo/ywuyq/ , included these file in code

  <script src="https://ajax.googleapis.com/ajax/libs/   angularjs/1.2.0/angular.min.js">  </script>   <link rel="stylesheet" type="text/css"    href="http://netdna.bootstrapcdn.com/twitter-bootstrap/  2.3.1/css/bootstrap-  combined.min.css">  <script type='text/javascript' src="http://netdna.bootstrapcdn.com/  twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script> 

got result these way

 bootstrap tab component  content of first tab.  content of second tab. 

i have no idea,why these not working in site?is nt problem of chrome version?anybody me?my chrome version version 39.0.2171.71 m

you need include bootstrap dependencies it. suggest know bootstrap before going forward.

you cant create in fly. tabs part of bootstrap looking for. add 2 line pieces of code below angularjs declaration.

<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css"> <script type='text/javascript' src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script> 

get know little basics before post something. , accept answer when works


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -