title: In Angular 2 how to put array string elements into template element value-attribute?
body: <p>I have this array called myArray in my Angular 2 component class:</p>
  
  <pre><code>@Component({
      templateUrl: 'my.component.html'
  })
  
  export class MyComponent {
      private myArray: Array&lt;string&gt;;
      ...
  }
  </code></pre>
  
  <p>In my.component.html I have a single input element:</p>
  
  <pre><code>&lt;input placeholder='write some tags' value=''&gt;
  </code></pre>
  
  <p>What I want is to have the string elements of myArray inserted into the value attribute of the input element. The strings should be comma separated. Something like:</p>
  
  <pre><code>&lt;input placeholder='write some tags' value='apple, orange, banana'&gt;
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>&lt;input name='user-tag' placeholder='write some tags' value='*ngFor="let e of myArray"{{e}}'&gt;
  </code></pre>
  
  <p>But that produced an error.</p>
  
  <p>How can I do this?</p>