Converts Tab Manager to AngularJS