message: Get apps from API service
diff: import { Injectable } from '@angular/core';
  import { Http, Headers, RequestOptions } from '@angular/http';
  import 'rxjs/add/operator/toPromise';
  -import { IFlogoApplicationModel } from '../../../common/application.model';
  +import { IFlogoApplicationModel } from '../../application.model';
  const UNTITLED_APP = 'Untitled App';
  @@ -132,7 +132,15 @@ export class RESTAPIApplicationsService {
  list() {
  return new Promise((resolve, reject) => {
  - resolve(this.applications);
  + this._http.get('/v1/api/apps').toPromise()
  + .then(response => {
  + if (response.text()) {
  + let apps: Array<IFlogoApplicationModel> = response.json().data;
  + resolve(apps);
  + } else {
  + reject(response)
  + }
  + });
  });
  }
  