title: Error: SyntaxError: Unexpected strict mode reserved word(…)..
body: <p>app.template.html</p>
  
  <pre><code>&lt;div class="container"&gt;
     &lt;div class="row"&gt;
        &lt;div class="col-md-6 "&gt;
           &lt;button class= "btn btn-primary" (click)="onAddMessage()"&gt;RANDOM BUTTON&lt;/button&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="container"&gt;
     &lt;div class="row"&gt;
        &lt;div class="col-md-6 "&gt;
           &lt;article class="panel panel-default" *ngFor = "let latestmessage of messages" &gt;
              &lt;div class="panel-body"&gt;
                 {{ latestmessage.content }}
              &lt;/div&gt;
           &lt;/article&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>app.component.ts</p>
  
  <pre><code>import { Component } from '@angular/core';
  import { Message } from './message.model';
  
  @Component({
      moduleId: module.id,
      selector: 'my-app',
      templateUrl: 'app.template.html'
  })
  export class AppComponent {
      messages: Message[] = [
          new Message('hello')
      ];
  
      onAddMessage() {
          const rnd = Math.ceil(Math.random() * 100);
          const msg = new Message(rnd + ' is a awsome number');
          this.messages.push(msg);
      }
  }
  </code></pre>
  
  <p>message.model.ts</p>
  
  <pre><code>import { Component } from '@angular/core';
  
  export class Message(){
      constructor(public content: string){}
  }
  </code></pre>
  
  <p>This code is build in angularjs2 and nodejs .I created a button.when i click on button it give me response like this hello     99 number is an awesome number.what is reserved word in this code?? anyone can help??</p>