title: make REST call with typescript
body: <p>I installed the "sb admin  2" dashboard with html5/angular2.
  This sample works with typescript. To instanciate charts, the file charts.compenent.ts defines the class and then defines the charts attributes and data as follows </p>
  
  <pre><code>import { Component, OnInit} from '@angular/core';
  
  @Component({
      moduleId: module.id,
      selector: 'chart-cmp',
      templateUrl: 'chart.component.html'
  })
  
  export class ChartComponent implements OnInit {
      ngOnInit() {
  
          var container:any = $('#container');
          container.highcharts({
              chart: {
                  type: 'area'
              },
  ...................................
  </code></pre>
  
  <p>In my case, I want to get the date from a restfull service. </p>
  
  <p>Can you help me to do this please?? 
  any input will help</p>