salix/client/ticket/src/data/step-two/step-two.js

30 lines
481 B
JavaScript
Raw Normal View History

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('./step-two.html'),
controller: Controller,
bindings: {
ticket: '<'
},
require: {
data: '^vnTicketData'
}
});