2017-06-03 11:01:47 +00:00
|
|
|
import ngModule from '../module';
|
2017-12-20 13:36:12 +00:00
|
|
|
|
2017-06-03 11:01:47 +00:00
|
|
|
export default class Controller {
|
2018-05-02 09:54:13 +00:00
|
|
|
constructor($scope) {
|
|
|
|
this.$scope = $scope;
|
2017-05-23 08:58:17 +00:00
|
|
|
this.client = null;
|
2017-01-31 13:13:06 +00:00
|
|
|
}
|
2018-05-02 09:54:13 +00:00
|
|
|
|
|
|
|
reload() {
|
|
|
|
this.$scope.edit.accept();
|
|
|
|
}
|
2017-05-23 08:58:17 +00:00
|
|
|
}
|
2018-05-02 09:54:13 +00:00
|
|
|
Controller.$inject = ['$scope'];
|
2017-05-23 07:20:21 +00:00
|
|
|
|
2017-06-03 11:01:47 +00:00
|
|
|
ngModule.component('vnClientCard', {
|
2018-05-23 12:26:51 +00:00
|
|
|
template: require('./index.html'),
|
2017-10-05 07:20:40 +00:00
|
|
|
controller: Controller
|
2017-05-23 08:58:17 +00:00
|
|
|
});
|
2018-05-02 09:54:13 +00:00
|
|
|
|