Tabs controller changed from element to attribute directive