using bootstrap, angular directives and controller to display tabs.