title: What is template in component Angular2
body: <p>can someone explain me what does it mean "template" in @Component({}). For example i've create my component</p>
  
  <pre><code>@Component({
  selector: 'delete'
  template: 'What i must write here?. If i write code here, this code will be at view? or i should write code here and the same in view?
  </code></pre>
  
  <p>I've read documentation, but can't understood for what this component</p>