title: Error when setting model to the view in onBeforeShow
body: <p>I try to set a model to a view in onBeforeShow hook after I navigate to that view (using Router).</p>
  
  <p>Here is my relevant view code part:</p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;Table items="{path:'model&gt;/'}"&gt;
      &lt;columns&gt;
          &lt;!-- columns definition here --&gt;
      &lt;/columns&gt;
      &lt;items&gt;
          &lt;ColumnListItem&gt;
              &lt;cells&gt;
                  &lt;Text text="{model&gt;property1}"/&gt;
                  &lt;Text text="{model&gt;property2}"/&gt;
                  &lt;Text text="{model&gt;property3}"/&gt;
                  &lt;Text text="{model&gt;property4}"/&gt;
                  &lt;Text text="{model&gt;property5}"/&gt;
              &lt;/cells&gt;
          &lt;/ColumnListItem&gt;
      &lt;/items&gt;
  &lt;/Table&gt;
  </code></pre>
  
  <p>Then, in onBeforeShow:</p>
  
  <pre class="lang-js prettyprint-override"><code>var oData = sap.ui.getCore().getModel("modelSource");
  this.getView().setModel(oData, "model");
  </code></pre>
  
  <p><code>"modelSource"</code> is defined in the previous view.</p>
  
  <p>When executing the model set line, I get the following error:</p>
  
  <blockquote>
    <p>TypeError: e.bindList is not a function</p>
  </blockquote>
  
  <p>Here is my onBeforeShow hook definition (credits to <a href="https://stackoverflow.com/questions/25139638/how-execute-code-every-time-that-i-view-a-page">this post</a>):</p>
  
  <pre class="lang-js prettyprint-override"><code>onInit: function() { 
  
      this.getView().addEventDelegate({ 
          onBeforeShow : jQuery.proxy(function(evt) { 
              this.onBeforeShow(evt); 
          }, this) 
      }); 
  }, 
  </code></pre>
  
  <p>How to fix the issue?</p>
  
  <p>Thanks.</p>