AngularJS directive for content sharing