Added separate scope for fileuploadplugin