Angular directive for crop images with realtime preview