Missing $inject fixed

This commit is contained in:
Juan 2018-03-13 13:15:06 +01:00
parent 9b153aec5a
commit d8b39ea5ac
2 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,7 @@ class ClientDescriptor {
}
}
}
ClientDescriptor.$inject = ['$http'];
ngModule.component('vnClientDescriptor', {
template: require('./descriptor.html'),

View File

@ -157,7 +157,6 @@ export default class Popover extends Component {
if (event.keyCode == 27) { // Esc
event.preventDefault();
this.hide();
this.$.$applyAsync();
}
}