angular.module('app').controller('Ctrl', class Ctrl {
/* @ngInject */
constructor($scope) {
//some code
}
});
could become:
angular.module('app').controller('Ctrl', class Ctrl {
static $inject = ['$scope']
constructor() {
[this.$scope] = arguments;
//some code
}
});