Generally, it's not safe to access $properties in a view.

Additionally, you should be using ng-src here to avoid the flash of a broken image.

Or you could use prx-img, which uses some html5 stuff and lets you scale an image using a centerCrop style scale.