angularjs - Vertical navbar using Bootstrap and angular -
folks,
i trying implement vertical navbar in page. page rendered angular. somehow not able working. not sure missing here.
clicking on different tabs not display respective pages.
any clues can provide appreciated.
here plnkr have created troubleshooting: http://plnkr.co/edit/dzfv8vmwcjk8cywgy5mm
you need dynamically set classes of elements under nav-tabs
, tab-content
. easiest way accomplish use ng-class
attribute calls function in controller return appropriate class each tab. set active tab, use ng-click
on nav-tabs
.
here working version in plunker: http://plnkr.co/edit/ubbq7v8mdyqllbhdwegy
Comments
Post a Comment