title: angular 2 export interface initialize inside component issue
body: <p>i am having kind of a goofy problem. inside my component i export some interfaces and whe i try to use them inside my component if i dont initialize them i am geting issues about undifined which i totaly normal. Is these any other way to init them without writting all that code again?</p>
  
  <pre><code>export interface Data {
      Code: string;
      Date: Date;
      OccurredDate: Date;
      Person: Person;
      Vehicle: Vehicle;
      Policy: Policy;
      OccurredLocation: OccurredLocation;
      Phones: Phone[];
      Notes: string;
      Actions: Action[];
  }
  
  export interface RootObject {
      Data: Data[];
      IsSuccessful: boolean;
      Messages: any[];
  }
  </code></pre>
  
  <p>these are 2 of my interfaces and i init them like this:</p>
  
  <pre><code>export class SubscriberComponent {
          public myRootObject: RootObject = {
              Data: this.myData[0],
              IsSuccessful: true,
              Messages: null
          }
          public myData: Data ={
              Code: '',
              Date: new Date(),
              OccurredDate: new Date(),
              Person: null,
              Vehicle: null,
              Policy: null,
              OccurredLocation: null,
              Phones: null,
              Notes: '',
              Actions: null,
      }
  }
  </code></pre>
  
  <p>when i try to use myData.Code if i dont initialize it with '' i get and error. any other way to init my templates without all that much code?</p>