title: Angular2 class constructor error: no provider for Number
body: <p>I've started a project using the development kit found here: <a href="https://github.com/datatypevoid/ng2-mean-webpack" rel="nofollow">https://github.com/datatypevoid/ng2-mean-webpack</a>. Everything seems to work perfectly fine, except when I create a new class with parameters properties (as seen on the official Typescript documentation here: <a href="https://www.typescriptlang.org/docs/handbook/classes.html" rel="nofollow">https://www.typescriptlang.org/docs/handbook/classes.html</a>), I get an error message in the console saying: </p>
  
  <pre><code>ORIGINAL EXCEPTION: No provider for Number!
  </code></pre>
  
  <p>Here is my class:</p>
  
  <pre><code>@Component({
    selector: 'grid-tile',
    template: require('./grid-tile.component.html'),
    styleUrls: [require('!style!css!sass!./grid-tile.component.scss')],
    providers: [],
    directives: [],
    pipes: []
  })
  export class GridTile extends Tile {
    constructor(private x:number, private y: number) {
      super();
    }
  }
  </code></pre>
  
  <p>And a here is how I create the instances:</p>
  
  <pre><code>var tile = new GridTile(3,4);
  tiles.push(tile);
  </code></pre>
  
  <p>I would really appreciate finding a solution for this problem as I go further into development. I've followed the Angular2 Tour of Heroes tutorial and parameter properties seemed to work fine, so I'm wondering if it has something to do with the development kit or simply something I'm passing on.. I'm totally new with Angular2, so this may be a mistake by my fault. Thanks for the help.</p>