title: Give me an advice for how to set a page title in ASP.NET MVC
body: <p>I have a number of Views in my site that have a different logics. I want to change the page title depending on the View that is loaded. The way I am doing it right now is by JavaScript that finds an element in the loaded page and then : <code>document.title = $("#current-loaded-element")[0].innerHTML</code></p>
  
  <p>The page title is always loaded in the current page but it also comes with the object passed to the current View. Which one is better : setting it by javascript or by <strong>@Model.PropertyName</strong></p>