I'm an angular2 beginner and I've written this piece of code in my dev/app.component.ts
It works, when I go to the browser "Max Brown is displayed". Now I want to write the template part on different lines like this:
But I get this error in Chrome console:
Uncaught TypeError: Cannot read property 'split' of undefined