title: Angular. CLI Cannot read property 'split'
body: <p>I try to deploy my beginner Angular 4 CLI app to GitHub pages. I have routes that work on my computer and don't work on GitHub Pages.
  When I try to follow link that should show one of two more components nothing works and console contains a huge error.</p>
  
  <p>Here's my site <a href="https://gultyaev.github.io/modxvm/" rel="nofollow noreferrer">https://gultyaev.github.io/modxvm/</a></p>
  
  <p>You can try to follow any of two links that aren't selected. And then check console.</p>
  
  <p>Here's my repo <a href="https://github.com/gultyaev/modxvm" rel="nofollow noreferrer">https://github.com/gultyaev/modxvm</a></p>
  
  <p>Also, as I see, it happens only in production. E.g. I do <code>ng serve --prod</code> it doesn't work(routes). If I start just <code>ng serve</code> everything works.</p>
  
  <p>I think that it's because of minimizing. But I have no idea what's exactly minimizes wrong.</p>