title: Showing a array defined in a class Angular
body: <p>I am trying to show a list of content using an array in angular.
  The app, however, does not seem to return any data.
  The load still works, because other apps do load in.</p>
  
  <p>The service has been added to the app.module.ts.
  The imports do not give any errors indicating a wrong connection.</p>
  
  <p>Class:</p>
  
  <pre><code>export class Bike
  {
      id: number;
      model: string;
      manufacturer: string;
  }
  </code></pre>
  
  <p>app-component.html:</p>
  
  <pre><code>&lt;h1&gt;   {{title}} &lt;/h1&gt;
  &lt;hr /&gt;
  
  &lt;app-bike&gt;&lt;/app-bike&gt;
  </code></pre>
  
  <p>bikes.service.ts:</p>
  
  <pre><code>import { Injectable } from '@angular/core';
  import { Bike } from '../bike';
  
  
  @Injectable()
  export class BikesService
  {
  getBikes(): Bike[]
  {
  
      //return
      return [
          { id: 1, model: 'CBR250R', manufacturer: 'Honda' },
          { id: 2, model: 'CBR150R', manufacturer: 'Honda' },
          { id: 3, model: 'Ninja250R', manufacturer: 'Kawasaki' },
          { id: 4, model: 'CBR1000R', manufacturer: 'Honda' },
          { id: 5, model: 'Ninja1000RR', manufacturer: 'Kawasaki' }
      ];
  }
  
  }
  </code></pre>
  
  <p>bikes.component.ts:</p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  import { BikesService } from '../services/bikes.service';
  
  
  @Component({
  selector: 'app-bike',
  templateUrl: './bike.component.html',
  styleUrls: ['./bike.component.css']
  })
  export class BikeComponent implements OnInit
  {
  //properties
  title: string = "Bikes";
  bikes:any[]
  
  //constructor
  constructor(bikesService: BikesService)
  {
      //init prop
      this.bikes = bikesService.getBikes();
  }
  
  
  //lifeCycle
  ngOnInit()
  {
  }
  
  }
  </code></pre>
  
  <p>bike.component.html:</p>
  
  <pre><code>&lt;div *ngFor="let bike of bikes"&gt;{{bike}}&lt;/div&gt;
  </code></pre>
  
  <p>I know that i would need something similar to bike.model for the html, but i do not get any output, not even object</p>