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