Hi, I'm learning Angular2, and I would ask you where in the source code do 
you parse the ngFor expression, expanding it to distinct attributes. 
Currently our team works with AngularJS and we have a custom grid directive 
that takes an expression like this:

item in model.gridData with item.coord[0].id as column and item.coord[1].id 
as row

We validate it with a Regexp and then we parse its relevant parts (with 
$parse) to make the directive work (this is not the only directive that 
uses a custom "microsyntax"). We were inspired by ng-repeat 
<https://github.com/angular/angular.js/blob/v1.4.9/src/ng/directive/ngRepeat.js#L349-L368>
 source 
code when deciding this approach and now we find it very practical.. it 
would be really a loss if this won't be possible in Angular2.

-- 
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