import ngModule from '../module'; class Controller { constructor($scope) { this.$ = $scope; } } Controller.$inject = ['$scope']; ngModule.component('vnTravelDescriptor', { template: require('./index.html'), bindings: { travel: '<' }, require: { card: '^?vnTravelCard' }, controller: Controller });