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