title: Using angular-ui and tinymce
body: <p>I'm trying to use the angular-ui tinymce directive. I used Nuget to get the angular-ui (v 0.4.0), tinymce.jquery (v 4.0.6), and tinymce (v 4.0.6)packages. I added the ui directive to my angular module and referenced the following scripts (in order) on my page: </p>
  
  <pre><code>  &lt;script src="Scripts/jquery-1.10.2.js"&gt;&lt;/script&gt;
      &lt;script src="Scripts/tinymce/tinymce.min.js"&gt;&lt;/script&gt;
      &lt;script src="Scripts/tinymce/jquery.tinymce.min.js"&gt;&lt;/script&gt;
      &lt;script src="lib/angular/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="Scripts/angular-ui.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>When I navigate to the partial that contains the textarea that I decorated with <code>ui-tinymce ng-model="tinymce"</code>, I can see the error (angular.min.js) listed in my title in Chrome's javaScript console.</p>
  
  <p>I've searched the web and tried suggestions such as changing the listing of the script references, but nothing I've tried works. Am I missing a key component, do I have incorrect references (or out of order), or something else? I've come accross some fiddles, but most are broken or down. I haven't yet seen one that gives a working demo that I can use.</p>
  
  <p>EDIT: Ok, now I'm getting the error: "Cannot call method 'Add' of undefined" at angular-ui.min. I didn't change anything in the code, so it's possible that the original error message was from a previous attempt?</p>