title: exception nativeEvalAndFetch: ReferenceError: Can't find variable: cordova
body: <p>I keep getting an error with Angular and Ionic, running on iOS simulator.</p>
  
  <p>When running</p>
  
  <pre><code>ionic run ios
  </code></pre>
  
  <p>It was launching on the simulator fine. Then I pressed the home button on the simulator and got </p>
  
  <blockquote>
    <p>exception nativeEvalAndFetch : ReferenceError: Can't find variable: cordova</p>
  </blockquote>
  
  <p>I was testing for deeplinking on my ionic app and this broke it.</p>