19 lines
326 B
JavaScript
19 lines
326 B
JavaScript
|
import ngModule from '../module';
|
||
|
import './style.scss';
|
||
|
|
||
|
class Controller {
|
||
|
constructor($http) {
|
||
|
this.$http = $http;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Controller.$inject = ['$http'];
|
||
|
|
||
|
ngModule.component('vnOrderDescriptor', {
|
||
|
template: require('./index.html'),
|
||
|
bindings: {
|
||
|
order: '<'
|
||
|
},
|
||
|
controller: Controller
|
||
|
});
|