@{ if (ViewContext.RouteData.Values["Controller"].ToString() == "Checkout" ) { Html.AddScriptParts("/YourScriptPath/YourScript.js"); }}