title: Can't resolve all parameters
body: <p>I try to inject service in my component and I get this error:</p>
  
  <p><a href="https://i.stack.imgur.com/zA3QB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zA3QB.png" alt="enter image description here"></a></p>
  
  <p><code>news.component.ts</code></p>
  
  <pre><code>import { Component,OnInit } from '@angular/core';
  import { NewsService } from './index';
  
  
  declare var jQuery:any;
  
  @Component({
      moduleId: module.id,
      selector: 'news-selector-comp',
      templateUrl:'news.html'
  
  })
  
  export class NewsSelectorComponent implements OnInit {
  
        isLoading = true;
        isError   = false;
        News:any;
  
  
        constructor(public newsService:NewsService) { }
  
  }
  </code></pre>
  
  <p><code>news.module.ts</code></p>
  
  <p><a href="https://i.stack.imgur.com/YeIAJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YeIAJ.png" alt="enter image description here"></a></p>
  
  <p><code>news.service.ts</code></p>
  
  <pre><code>import {Http, Headers} from '@angular/http';
  import { Injectable } from '@angular/core';
  import { News, NewsImp } from './news';
  import { Observable } from 'rxjs/Observable';
  import 'rxjs/add/operator/map';
  
  @Injectable()
  export class NewsService {
  
  _url = '&lt;%= SYSTEM_URL%&gt;/news';
  token   = window.localStorage.getItem('token');
  user_id = window.localStorage.getItem('user_id');
      constructor(private _http:Http) {
  
      }
  
      getNews() : Observable&lt;NewsImp[]&gt; {
  
          return  this._http.get('https://jsonplaceholder.typicode.com/posts').map(res =&gt; res.json());
      }
  
      postNews() : Observable&lt;News[]&gt; {
  
        var headers = new Headers();
            headers.append('Content-Type', 'application/json');
  
        var news = {
          user_id: this.user_id,
          token  : this.token
        };
  
          return this._http.post(this._url, JSON.stringify(news), {headers:headers}).map( res =&gt; res.json().data);
    }
  
  }
  </code></pre>