title: Angular app transfer to version 6 error: 'Global is not defined'
body: <p>So I was hoping to transfer my MEAN stack app to Angular 6 and I set everything up and when I tried to fire up the app I got the following error in the console:</p>
  
  <p><a href="https://i.stack.imgur.com/kI9wU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kI9wU.png" alt="enter image description here"></a></p>
  
  <p>Does anyone have any idea what causes this? I went to look for it in the specified package and found the following:</p>
  
  <p><a href="https://i.stack.imgur.com/E13nI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E13nI.png" alt="enter image description here"></a></p>