21 lines
353 B
JavaScript
21 lines
353 B
JavaScript
import ngModule from '../module';
|
|
|
|
class Controller {
|
|
constructor($scope) {
|
|
this.$scope = $scope;
|
|
}
|
|
}
|
|
|
|
Controller.$inject = ['$scope'];
|
|
|
|
ngModule.component('vnZoneLocation', {
|
|
template: require('./index.html'),
|
|
controller: Controller,
|
|
bindings: {
|
|
zone: '<'
|
|
},
|
|
require: {
|
|
card: '^vnZoneCard'
|
|
}
|
|
});
|