I am trying to create a grid component in AngularJS that has it's grid items provided at runtime. (think render props pattern in React).
I am trying to build this using the "new" AngularJS components API along with transclusion.
<grid-items>
<grid-item-type-1></grid-item-type-1>
</grid-items>
<grid-items>
<grid-item-type-2></grid-item-type-2>
</grid-items>
Any of these should be valid. <grid-items>
should take care of the data and the <grod-item-type-x>
should take care of how each individual item is going to be dislpayed.