Component wrapper for AngularJS