This commit intend to make ui-router-tabs compatible with bootstrap 1.2.x. According to the documentation, to make a tab active, one must use the new active attribute on <uib-tabset> tag.
This commit do 2 simple things :
add an activeTab variable to scope which contains the index of the active tab
add "active" attribute to tag in the default template. And link it to the new "activeTab" scope variable.
This commit intend to make ui-router-tabs compatible with bootstrap 1.2.x. According to the documentation, to make a tab active, one must use the new
active
attribute on<uib-tabset>
tag.This commit do 2 simple things :