title: Export and import from index.ts
body: <p>I have been working on angular project and came on this very peculiar problem. I have created separate module for layouts,login and dashboard. On login i want a very specific layout so i did this</p>
  
  <pre><code>import { LoginLayout } from '../layouts/login-layout/login-layout.component'; // this works
  import { LoginLayout } from '../layouts'; // this doesn't work
  
  import { 
   loginRoute,
   resetPasswordRoute
  } './'; 
  
  const LOGIN_ROUTES = [loginRoute, resetPasswordRoute];
  
  export const loginRoute: Routes = [
   path: '',
   component: LoginLayoutComponent,
   children:  LOGIN_ROUTES
  ]
  </code></pre>
  
  <p>and i am exporting login layout from <code>index.ts</code> in <code>layouts</code> as </p>
  
  <pre><code>...
  export * from './login/login-layout/login-layout.compenent';
  </code></pre>
  
  <p>I am not able to understand why one works and the other doesn't 
  It doesn't even show any errors</p>