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