Unfortunately that is not possible. We can't assign until controller is
constructed. That means that it is not possible to have everything assigned
before the constructor runs.

As much as I don't like it, I think we should optionally have init method
an the controller which would get called once all of the assignment is
done. What do you think about that?


On Tue, Jul 30, 2013 at 8:45 PM, Pavel Jbanov <notifications@github.com>wrote:

> In lib/block.dart:
>
> > @@ -297,6 +298,7 @@ class _ComponentFactory {
> >      if (directive.$publishAs != null) {
> >        shadowScope[directive.$publishAs] = controller;
> >      }
> > +    createAttributeMapping(scope, shadowScope, controller, parser);
>
> This move would break #45<https://github.com/angular/angular.dart/issues/45>
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/angular/angular.dart/pull/61/files#r5495279>
> .
>