How to enable production mode?
<p>I was reading related questions and I found <a href="https://stackoverflow.com/questions/35710895/angular2-method-binding-error-value-has-changed-after-it-was-checked">this one</a>, but my question is how can I switch from development to production mode. There are some differences between the modes which are pointed out <a href="https://stackoverflow.com/questions/34868810/what-is-diff-between-production-and-development-mode-in-angular2">here</a>.</p>

<p>In the console I can see <code>....Call enableProdMode() to enable the production mode.</code> However, I'm not sure instance of which type should I call that method on.</p>

<p>Can somebody answer this question?</p>