Modularizing angular, moving sidebar button to directive