16 lines
331 B
JavaScript
16 lines
331 B
JavaScript
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,
|
|
});
|