title: Adding image from URL
body: <p>I've been trying to get an image to appear from a URL input in Typescript but have only been able to do it in javascript. When user inserts image URL a preview should show up and be able to upload it. I apologize for not having more code just haven't been able to figure it out..</p>
  
  <p>upload.component.html</p>
  
  <pre><code>input type="URL" id="myURL" placeholder="insert image URL here" (change)="onURLinserted($event) "&gt;
  
            &lt;button type="button"  class="btn btn-dark btninput"  [disabled]="toogleBool" (click)="onUpload()"&gt;Upload&lt;/button&gt;
  </code></pre>
  
  <p>upload.component.ts</p>
  
  <pre><code> onURLinserted(event: any) {
  
  }
  </code></pre>