r/angularjs • • Nov 13 '15

Exploring the Angular 1.5 .component() method

http://toddmotto.com/exploring-the-angular-1-5-component-method
57 Upvotes

13 comments sorted by

View all comments

1

u/vivainio Nov 14 '15

My earlier question was downvoted to oblivion for unknown reasons, so making a new post:

Has anyone tried using this new API with ES6 class syntax yet? Clearly, using just the plain ES5 api is not a problem either (i.e. have your controller as a class and 'component' declaration as a function), but it would be interesting to see if you can get some extra goodies from ES6 classes.