Added code to toggle between bootstrap tabs

Bootstrap tabs now get hooked to the angular code on new tab added
through the open file code.