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