29 lines
477 B
JavaScript
29 lines
477 B
JavaScript
import ngModule from '../../module';
|
|
|
|
class Controller {
|
|
constructor($http) {
|
|
this.$http = $http;
|
|
}
|
|
|
|
$onInit() {
|
|
this.data.registerChild(this);
|
|
}
|
|
|
|
onStepChange(state) {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
Controller.$inject = ['$http'];
|
|
|
|
ngModule.component('vnTicketDataStepTwo', {
|
|
template: require('./index.html'),
|
|
controller: Controller,
|
|
bindings: {
|
|
ticket: '<'
|
|
},
|
|
require: {
|
|
data: '^vnTicketData'
|
|
}
|
|
});
|