Call a service from @ngModule
<p>I want to call a service imported in my @ngModule from a login component.
This what i did but it's not working. 
I have just started to work on the A2 final version.</p>

<pre><code>export class Login implements OnInit{
  constructor(
    private _service: Service
    ) {
  }
  ngOnInit() {
    this._service.login(value)
        .subscribe(x =&gt; console.log(x));
    }
  }
}
</code></pre>

<p>My @ngModule</p>

<pre><code>import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { LoginService } from '../service/login.service'; 

import { Login } from './login.component';

export const routes = [
  { path: '', component: Login, pathMatch: 'full' }
];

@NgModule({
  declarations: [
    Login
  ],
  imports: [
    CommonModule,
    RouterModule.forChild(routes)
  ],
  providers: [LoginService]
})
export default class LoginModule {
  static routes = routes;
}
</code></pre>

<p>Any ideas ?</p>