title: Error: Can't resolve all parameters for MyProvider: ([object Object], [object Object], ?, [object Object])
body: <p>I've found many questions already talking about this problem, but somehow none seemed to propose a working solution in my case.  </p>
  
  <p>When I run my app, I get the following message:<br>
  <code>Error: Can't resolve all parameters for MyModel: ([object Object], [object Object], ?, [object Object]).</code></p>
  
  <p>The third argument passed to MyModel's constructor is a provider that I created myself (as well as the three other arguments). That provider itself uses other providers, but I've checked for looping dependencies, and there are none.<br>
  Also, no error is thrown at compilation time.  </p>
  
  <p>I really can't understand where that error comes from. I've checked the app's code, app.module.ts... but everything seem to be ok. Any idea? </p>
  
  <p>°°<em>In case that's useful</em>°°: myModel is a provider that I created, it's located in a directory which path is <code>/src/models/someModel/myModel.ts</code> (here the root being the root of my app).<br>
  I have other providers located in <code>/src/providers/</code>. I use two distinct folders because the purpose of the providers in those folders are slightly different.  </p>