21 lines
356 B
JavaScript
21 lines
356 B
JavaScript
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
|
|
});
|