title: set focus on ace editor
body: <p>I am using ng-grid. In ng-grid I have few textbox along with a button. By clicking the button, one ace editor is going to open where I can edit/add the text. But when I am clicking the button, there is no focus(no cursor blink) on the editor, I have to manually click on the editor to get the focus. Here are portion 
  of my html and js file code</p>
  
  <p>html: </p>
  
  <pre><code>&lt;div class="modal fade" id="valueModal" role="dialog" aria-hidden="true"&gt;
                  &lt;div class="modal-dialog"&gt;
                      &lt;div class="modal-content"&gt;
                          &lt;div class="modal-header"&gt;
                              &lt;button id="mbx-procsr-properties-closeFile" type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;X&lt;/button&gt;
                              &lt;h4 class="modal-title"&gt;Edit Value&lt;/h4&gt;
                          &lt;/div&gt;
                          &lt;div class="modal-body"&gt;
                              &lt;div ui-ace="{onLoad : loadValueData,
                    theme : 'chaos',
                    useWrapMode : true,
                    showGutter: true,
                    mode: 'json'
                  }"&gt;
                              &lt;/div&gt;
                              &lt;div class="modal-footer"&gt;
                                  &lt;button id="mbx-procsr-properties-close" type="button" class="btn btn-default" data-dismiss="modal" ng-click="close()"&gt;Close&lt;/button&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code> $scope.loadValueData = function (_editor) {
   editor = _editor;
   _editor.getSession().setUseWorker(false);
   _editor.focus();
   };
  </code></pre>
  
  <p>I want the focus/cursor blink on ace editor</p>
  
  <p>I am giving you the snippet code of <strong>ng-grid-gridOptionsForProcessor</strong></p>
  
  <pre><code>&lt;textarea  class="form-control"  ng-model="COL_FIELD" style="width:90%;height:45px" placeholder="required" /&gt;\n\
                                      &lt;a ng-click="isModal(row)" data-toggle="modal" data-backdrop="static" data-keyboard="false" data-target="#valueModal"  class="right"&gt;\n\
                                      &lt;i class="glyphicon glyphicon-new-window"&gt;&lt;/i&gt;
  </code></pre>
  
  <p>\n\</p>
  
  <p>and the content of isModal is </p>
  
  <pre><code>$scope.isModal = function (row) {
                  rowObj = row;
                  editor.setValue(row.getProperty('value').toString());
  </code></pre>
  
  <p>so is it possible to set the focus in isModal</p>