salix/modules/travel/front/descriptor/index.js

21 lines
356 B
JavaScript
Raw Normal View History

2019-10-24 10:49:18 +00:00
import ngModule from '../module';
class Controller {
2019-10-24 12:43:11 +00:00
constructor($scope) {
this.$ = $scope;
2019-10-24 10:49:18 +00:00
}
}
2019-10-24 12:43:11 +00:00
Controller.$inject = ['$scope'];
2019-10-24 10:49:18 +00:00
ngModule.component('vnTravelDescriptor', {
template: require('./index.html'),
bindings: {
travel: '<'
},
require: {
card: '^vnTravelCard'
},
controller: Controller
});