publish: Hacking Core Directives in AngularJS