angularjs directives for image crop,preview,upload