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

21 lines
357 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: {
2019-11-10 10:08:44 +00:00
card: '^?vnTravelCard'
2019-10-24 10:49:18 +00:00
},
controller: Controller
});