title: aviary (adobe creative SDK) in angular 2/4 can't access class variables when image editor is launched and save button is pressed
body: <p>I have created sample code on plunker <a href="https://plnkr.co/edit/kBZGz6pRlErV6hV08ctX?p=preview" rel="nofollow noreferrer">https://plnkr.co/edit/kBZGz6pRlErV6hV08ctX?p=preview</a></p>
  
  <p>everything works fine, but when editor is launched, i can't access class variables or any other member in class</p>
  
  <pre><code>imageCropMsg: string = "";
  </code></pre>
  
  <p>when editor launched, this variable and all other become undefined inside</p>
  
  <pre><code>onSave: function(imageID: string, newURL: string) {
      debugger;
  
      var img:any = document.getElementById(imageID);
      img.src = newURL;
      this.imageCropMsg = "Image Cropped Successfully";
      this.featherEditor.close();
  }
  </code></pre>
  
  <p>unfortunately i couldn't find any reason and solved this issue.</p>
  
  <p>Also, I'll highly appreciate if someone can improve code.</p>