pedroabreu / ion-gallery

Ionic gallery directive
MIT License
124 stars 61 forks source link

UI not updating on adding more items to array #3

Closed illavirs closed 9 years ago

illavirs commented 9 years ago

When I initialize the items array with values eg { src: ' .. ' } it displays fine, but when I add more items to the array later via javascript, UI is not getting updated. Its still displaying the initialized values.

pedroabreu commented 9 years ago

I'll have a look at this. First thing that comes to mind is that the scope value is not updated (Probably have to force it with a timeout)

pedroabreu commented 9 years ago

Fixed in latest commit