salix/modules/travel/front/log/index.js

16 lines
332 B
JavaScript

import ngModule from '../module';
class Controller {
constructor($scope, $stateParams) {
this.$scope = $scope;
this.$stateParams = $stateParams;
}
}
Controller.$inject = ['$scope', '$stateParams'];
ngModule.component('vnTravelLog', {
template: require('./index.html'),
controller: Controller,
});