Removes scope variable from view for testing purposes