A pure angular directive for client-side cropping and resizing