title: How to call an angular 6 function from browser console?
body: <p>I want to call a function that is inside a component from the browser console.
  I want something like <a href="https://stackoverflow.com/questions/22795628/calling-angular-controller-function-from-browser-console">this</a>
  but equivalent to angular 6.</p>
  
  <p>Thank you in advance</p>