Firstly, I really like the style, this would be great (es6). Im unsure about how the modules manage the dependencies themselves. Ie. the reference to 'Counter' is not dependency injected. It seems like browserify is managing all dependencies here. Also how the app needs to then bring all of these classes into the app at app level.
To incorporate with the angular module system more (browserify modules can return angular modules) might be an approach. Im not sure where the sweet spot here is tho - im actually looking to integrate browserify into a new project, so am very interested in this. Of notice, I just watched this (which you've probably seen): https://www.youtube.com/watch?v=NTPutZ99XWY This seems to integrate more with the angular module system On 23 July 2014 10:12, Axel Hernández Ferrera <[email protected]> wrote: > What is your opinion about this example of angular.js + es6 classes ? > > https://github.com/axelhzf/angular-es6 > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Tony Polinelli -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
