Currently, I am utilizing AngularJS in conjunction with Foundations.
Visit the official website for more information
Within my page, there are two tabs that are functioning correctly as shown below:
<tabset>
<tab heading="tab1"> </tab>
<tab heading="tab2"> </tab>
</tabset>
The challenge I am facing is related to a variable named $scope.isdata
.
I wish to have a situation where if the variable is set to true
, then tab1
should be active. Conversely, if it is false, then tab2
should be active.
In addition, if a user manually clicks on either tab, the corresponding tab should become visible.
EDIT: An error message appears, stating:
TypeError: undefined is not a function
at Object.<anonymous> (/bower_components/angular-foundation/mm-foundation-tpls.min.js:8:23667)
... (additional error details follow here)