In the doc you linked to
> Some modules are libraries of other modules.
> Angular itself ships as a collection of library modules called "barrels". 
Each Angular library is actually a public facade over several logically 
related private modules.
An angular module is pretty much the same as a Dart library containing 
Angular components/directives/pipes, ....
The "facade" is like a Dart library that exports from other Dart libraries. 
(As common practice in Dart - for example you have the implementation of a 
package in `lib/src` and add a facade library in `lib` that exports a 
selection of libraries from `lib/src` which are considered public) 

By adding dependency injection providers on components/directives, modules 
seem to also fulfill the purpose they had in Angular.dart 1.x where modules 
(not in the sense of Dart libraries) were used to configure dependency 
injection.

On Tuesday, December 22, 2015 at 6:48:28 PM UTC+1, Daniel Davidson wrote:
>
> A few very basic questions - not even *stackoverflow* worthy yet.
>
>
> This Arichitecture Guide 
> <https://angular.io/docs/ts/latest/guide/architecture.html> does not have 
> the word *controller* on it. A *Component* references a *template* which 
> provides the view, and a *class* for behavior. Would you say that the 
> associated *class* is then a/the *Controller* or is that an 
> inapropriate/confusing term?
>
> What is better?
>
>
> The page also discusses the importance of modularity, but that is 
> optional. Is the *module* a first class citizen of Angular2, like 
> *directive* or *component*, or is it just an organization mechanism which 
> will vary based on language?
>
> In the context of Dart, is *module* then a direct mapping to Dart 
> *library*?
>
>
> Finally, for general understanding questions not applicable to stack 
> overflow, is this the best place to ask questions focusing on Angular2 Dart 
> or will there be an Angular2 Dart group as well?
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to