title: Unable to set focus on angular editor using document.getelementById(id)
body: <p>I am using dyanamic id for angular-editor. But I am unable to set the focus programatically.</p>
  <p>I have tried the below code.</p>
  <pre><code>document.getElementById(id).focus();
  </code></pre>
  <p>But always occurs this error</p>
  <pre><code>ERROR TypeError: Cannot read properties of null (reading 'focus')
  </code></pre>