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

21 lines
354 B
JavaScript
Raw Normal View History

2020-01-10 10:52:35 +00:00
import ngModule from '../module';
class Controller {
constructor($scope) {
this.$ = $scope;
}
}
Controller.$inject = ['$scope'];
ngModule.component('vnEntryDescriptor', {
template: require('./index.html'),
bindings: {
entry: '<'
},
require: {
card: '^?vnEntryCard'
},
controller: Controller
});