Split container directive for AngularJS capable of displaying dynamic content