added removePlugin, a stub to correctly remove the plugin from inside the directive