title: Error: Can't resolve all parameters for TypeDecorator: Angular 2 RC-6
body: <p>I have had this error for over a day and I am not sure why.</p>
  
  <p>app.module</p>
  
  <pre><code>import {NgModule} from "@angular/core";
  import {BrowserModule} from "@angular/platform-browser";
  import {AppComponent} from "./app.component";
  import {FormsModule} from "@angular/forms";
  import {LoginComponent} from "./Login/login";
  import {LoginService} from "./Login/login.service";
  
  @NgModule({
      imports: [BrowserModule, FormsModule],
  
      declarations: [AppComponent,
          LoginComponent],
  
      providers:[LoginService],
  
      bootstrap: [AppComponent]
  })
  export class AppModule {
  
  }
  </code></pre>
  
  <p>app.component.ts</p>
  
  <pre><code>import { Component } from '@angular/core';
  
  @Component({
      selector: 'my-app',
      template: '&lt;login&gt;&lt;/login&gt;'
  })
  export class AppComponent {
  
  }
  </code></pre>
  
  <p>login.model.ts</p>
  
  <pre><code>export class LoginModel{
  
      private userName: string;
      private password: string;
  
      constructor(userName: string='', password: string=''){
          this.userName = userName;
          this.password = password;
      }
  
  }
  </code></pre>
  
  <p>login.ts</p>
  
  <pre><code>import {Component} from '@angular/core';
  import {LoginModel} from "./login.model";
  import {LoginService} from "./login.service";
  
  @Component({
      moduleId: module.id,
      selector: 'login',
      templateUrl:'./login.html',
      styleUrls:['../css/styles.css'],
  
  })
  
  export class LoginComponent{
  
      login:LoginModel = new LoginModel();
  
      constructor(public loginService:LoginService){
  
      }
  
      onSubmit() {
          this.loginService.output();
      }
  </code></pre>
  
  <p>login.service</p>
  
  <pre><code>import {Injectable, Inject} from '@angular/core';
  import {Http, Response} from '@angular/http';
  import {Observable} from 'rxjs/Rx';
  
  @Injectable
  export class LoginService {
  
      output(){
          console.log("You are in the service output class...");
      }
  }
  </code></pre>
  
  <p>Currently I am just trying to get the application to compile so I can creating the routes and services. That was the whole point of the project but I keep hitting walls. Any advice will be greatly appreciated.</p>
  
  <p>GitHub Link</p>
  
  <p><a href="https://github.com/drewjocham/AngularIssue" rel="nofollow">LINK</a></p>