title: Property 'translate' does not exist on type 'LogComponent'
body: <p>I'm trying to do a function to change language on my page, but I am getting this error:</p>
  
  <p>Property 'translate' does not exist on type 'LogComponent'</p>
  
  <pre><code>export class LogComponent {
        langs: any;
        constructor( translate: TranslateService ){    
          this.langs = translate.getLangs();
  
        }
  
        langSelect(lang: string): void {
          this.translate.use(lang);
        }
  
      }
  </code></pre>
  
  <p>and my html:</p>
  
  <pre><code>&lt;select #langSelected (change)="langSelect(langSelected)"&gt;
    &lt;option *ngFor="let l of langs" [value]="l"&gt;{{ l }}&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And this is not working... Am I missing something?</p>