Fixing the argument passing for controller provider.