I have two tabs, the second has a close icon.
i want that when i close the second tab, the first to be selected automatically
angular.module(\'app\',