Dirty fix primitives on ngrepeat