AngularJS wrapper to simplify use of directives as components