title: Cannot read property 'match' of undefined (ace-angular)
body: <p>I installed ace-angular with npm and created ace editor inside angular, it looks like this:</p>
  
  <pre><code>[HTML]
  &lt;div id="editor" ace-editor="aceOptions" ng-model="aceContent"&gt;&lt;/div&gt;
  
  [JS]
  $scope.aceOptions = {
      method: "javascript",
      theme: "monokai",
      onLoad: function(editor, session, ace){
          // Do on load
      }
  }
  </code></pre>
  
  <p>And it keeps saying "TypeError: Cannot read property 'match' of undefined" every time I load page with ace editor.
  Screenshot: <a href="https://i.stack.imgur.com/w3m3B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w3m3B.png" alt="enter image description here"></a></p>
  
  <p>EDIT:</p>
  
  <pre><code>[AngularJS]
  var app = angular.module("cloude", ["ngRoute", "ace.angular"]);
  </code></pre>
  
  <p>It seems that error will not appear if I remove "ace.angular" so I guess it is problem with module?</p>