title: Strange IONIC error message
body: <p>I am very new to Ionic and currently working my way through a few tutorials, specially around authentication. I have been getting the following error all day:</p>
  
  <pre><code>TypeError: Cannot read property 'getElementsByTagName' of null(…)
  onloadwff.js:1569
  </code></pre>
  
  <p>I am able to get rid of this error message by setting the following variable with a values:</p>
  
  <pre><code>    vmLogin.user = {
          username: 'testaccount',
          password: 'testaccount'
      };
  </code></pre>
  
  <p>I then do not get the error message. However, when I logout and back in again I do. I am aware that I am not sharing my full code but any insights would be greatly appreciated. </p>
  
  <p>Dan</p>