fix(view_factory): passing in the correct scope.