using UI-Bootstrap tabs directive to fix tab switching bug.

using UI-Bootstrap tabs directive to fix tab switching bug.