I think it helps somewhat, but it still seems a little weird to have to import things that are not used in the JS code and that are commonly used in HTML templates. I guess it feels weird because we don't have to do anything special to get access to ng-if and ng-repeat now.
Also, I see there are several .js files in the angular2 directory that we may want to import. One of them is named angular2.js which is imported using 'angular2/angular2'. I really think it would look nicer if angular2.js was renamed to core.js so we could import from 'angular2/core' instead of 'angular2/angular2'. On Tue, May 5, 2015 at 10:29 AM, Sander Elias <[email protected]> wrote: > Hi Travis, > > You can create a single include file, that includes all dependencies you > need. > something like: > import * from myDependencies > > in myDependencies: > export * from 'angular' > export * from '...' > ... > > Does that help? > > Regards > Sander > > -- > 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. > -- R. Mark Volkmann Object Computing, Inc. -- 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.
