title: angular 2 - set a selection on an elementRef
body: <p>I have this selection:</p>
  
  <pre><code>let selection = window.getSelection();
  </code></pre>
  
  <p>And this elementRef: </p>
  
  <pre><code>@ViewChild('contentEditable') public el: ElementRef;
  </code></pre>
  
  <p>And for example this text is inside the contenteditable elementRef:</p>
  
  <blockquote>
    <p>This is some text</p>
  </blockquote>
  
  <p>Where i selected 'some' then lost the selection but saved it in the selection property with getSelection(). How do i set it back on the elementRef?</p>