directive.js update

Add button in the tab.