Hey Folks,
We've been working with Angular for awhile now, and one of the things we've been missing from other app environments, is the idea of an "item renderer".
This is a custom component that is selected at run time based on the data in a collection.
We just worked through some ideas today and thought we'd share the results.
http://jsfiddle.net/VSzCN/4/
This example is slightly more complicated than it should be, because our use case involves selecting different list renderers, and then selecting different cell renderers within the lists.
FWIW - we started out by using ng:switch statements, but they turned out to be overly complex and required a code change in multiple places whenever we added a new template/widget.
There may be a better way to solve this problem, so any feedback is welcome.
Thanks,
Luke