title: Ionic 3 app.component.ts showing red line error and not working
body: <p>We have an assignment from school and the teacher had some code that we had to copy into the app.component.ts but its not working for me and showing as error and wont compile anything. How do I fix this? I attached the screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/2qJ0v.png" rel="nofollow noreferrer">error</a></p>
  
  <p>Thank you</p>