title: NullInjectorError: No provider for AddItemPage! -- Ionic 3
body: <p>Error:</p>
  
  <blockquote>
    <p>Error: Uncaught (in promise): Error: StaticInjectorError[AddItemPage]:
    StaticInjectorError[AddItemPage]: 
        NullInjectorError: No provider for AddItemPage! Error: StaticInjectorError[AddItemPage]:    StaticInjectorError[AddItemPage]:</p>
  
  <pre><code>NullInjectorError: No provider for AddItemPage!
  at _NullInjector.get (http://localhost:8100/build/vendor.js:1276:19)
  at resolveToken (http://localhost:8100/build/vendor.js:1564:24)
  at tryResolveToken (http://localhost:8100/build/vendor.js:1506:16)
  at StaticInjector.get (http://localhost:8100/build/vendor.js:1377:20)
  at resolveToken (http://localhost:8100/build/vendor.js:1564:24)
  at tryResolveToken (http://localhost:8100/build/vendor.js:1506:16)
  at StaticInjector.get (http://localhost:8100/build/vendor.js:1377:20)
  at resolveNgModuleDep (http://localhost:8100/build/vendor.js:10938:25)
  at NgModuleRef_.get (http://localhost:8100/build/vendor.js:12159:16)
  at resolveNgModuleDep (http://localhost:8100/build/vendor.js:10938:25)
  at c (http://localhost:8100/build/polyfills.js:3:19752)
  at Object.reject (http://localhost:8100/build/polyfills.js:3:19174)
  at NavControllerBase._fireError (http://localhost:8100/build/vendor.js:48310:16)
  at NavControllerBase._failed (http://localhost:8100/build/vendor.js:48303:14)
  at http://localhost:8100/build/vendor.js:48350:59
  at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
  at Object.onInvoke (http://localhost:8100/build/vendor.js:4982:33)
  at t.invoke (http://localhost:8100/build/polyfills.js:3:14916)
  at r.run (http://localhost:8100/build/polyfills.js:3:10143)
  at http://localhost:8100/build/polyfills.js:3:20242
  </code></pre>
  </blockquote>
  
  <p>When I write in HomePage:</p>
  
  <pre><code>import { AddItemPage } from './../add-item/add-item';
  ...
  constructor(... ,private addItemPage: AddItemPage){...}
  ...
  editItems(item){
      this.addItemPage.editItem(item);
  }
  </code></pre>
  
  <p>So I want to <strong>call a methode</strong> from <strong>AddItemPage</strong> in <strong>HomePage</strong>.
  Any Solutions?</p>