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