Angular JS directive to make Splitted panes