Added directive for upload widget