In this example we have three tabs Angular, Jquery and bootstrap. By default tab variable has Angular value and ng-switch
directive will match values for tab variable so by default Angular tab will open and when we click on the any other tab like on the Jquery tab then the value of tab variable becomes Jquery and Jquery tab will open.