title: ts1206 decorators are not valid here, Angular 2
body: <p>I started to program Angular 2 and I stuck with an error: </p>
  
  <blockquote>
    <p>ts1206 decorators are not valid here</p>
  </blockquote>
  
  <pre><code>@Component({   //  ts1206 decorators are not valid here
    selector: 'my-app',
    moduleId: module.id,
    templateUrl: 'app.component.html',
    styleUrls: ['app.component.css']
  })
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>My tsconfig.json:</p>
  
  <pre><code> {
    "compilerOptions": {
      "target": "es5",
      "module": "commonjs",
      "moduleResolution": "node",
      "sourceMap": true,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "removeComments": false,
      "noImplicitAny": true,
      "suppressImplicitAnyIndexErrors": true
    }
  }
  </code></pre>
  
  <p>what can I do with it? </p>