There is an issue with native class controllers in Chrome. Controller like this:
alight.ctrl.test = class {
constructor() {;
this.value = 1;
}
};
and html like this:
<div al-ctrl="test"></div>
could not be initialised due to new error:
Error in controller: test Class constructor cannot be invoked without 'new' Object {name: "test", env: Object, scope: d, element: div} TypeError: Class constructor cannot be invoked without 'new'