Porting imgspect to angular.