title: Angular 2: Can't resolve service from my library
body: <p>I have 2 angular projects: </p>
  
  <ul>
  <li>MyLib </li>
  <li>MyApp </li>
  </ul>
  
  <p>I want to use MyLib in MyApp project. MyLib contains library created by angular cli. I built it, installed it and imported MyLibModule into MyAppModule - everything seems ok. Problem is when I use any service from the MyLib in any MyApp component I am getting: <strong>Module not found: Error: Can't resolve..</strong> </p>
  
  <p>Each service in lib module has: </p>
  
  <pre><code>@Injectable({providedIn: 'root'})
  export class MyLibService {
  </code></pre>
  
  <p>Each component &amp; pipe in MyLib is listed in the export section of the MyLibModule.</p>
  
  <p>Thanx for any advice.</p>