Client side angularjs directive for dropzone