title: Knockout.js - Multiple ViewModels per page; page-wide functions with different model contexts
body: <p>I am building a huge page with multiple forms on it that the user will fill out in sequence.  </p>
  
  <p>I want to make each section its own model and was planning on having a masterViewModel that imports the subModels.</p>
  
  <p>Each section, however, has Edit &amp; Save buttons that have the same functions:</p>
  
  <ol>
  <li>Edit toggles the model into Edit mode</li>
  <li>Save validates the inputs, saves the data (via ajax), and toggle the state of the model back</li>
  </ol>
  
  <p>The only difference between the sets of buttons is their model context.</p>
  
  <p>I'm having trouble making a page-level save &amp; edit function that can reference different models using the masterViewModel/subViewModels.</p>
  
  <p>Does anyone have any guidance on this?  </p>
  
  <p>Thanks.</p>