i think that instead of this foreach there should be a directive ```sdGridsterItem``` which would register itself.
this is doing too much