Simple image gallery w/ image preloading built with AngularJS