got it working with ng repeat