20 lines
358 B
JavaScript
20 lines
358 B
JavaScript
|
import ngModule from '../../module';
|
||
|
|
||
|
class Controller {
|
||
|
|
||
|
construct($http, $scope) {
|
||
|
this.$http = $http;
|
||
|
this.$ = $scope;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Controller.$inject = ['$http', '$scope'];
|
||
|
|
||
|
ngModule.component('vnTicketPackageList', {
|
||
|
template: require('./package-list.html'),
|
||
|
controller: Controller,
|
||
|
bindings: {
|
||
|
ticket: '<'
|
||
|
}
|
||
|
});
|