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
|
|
|
|
});
|