title: How to use document ready in Typescript angular controller
body: <p>I have tried to apply the below code in Typescript parent controller but it is not working. </p>
  
  <p>Did I miss anything?</p>
  
  <pre><code> angular.element(document).ready(function() {
              $('form').find('input[type=text],textarea,select').filter(':visible:first').focus();
       });
  </code></pre>