title: set angular-ui-tinymce editor content after navigation
body: <p>I'm using angular-ui-tinymce (latest version 0.0.4, <a href="https://github.com/angular-ui/ui-tinymce/blob/master/src/tinymce.js">https://github.com/angular-ui/ui-tinymce/blob/master/src/tinymce.js</a>).</p>
  
  <p>I've encountered a problem I cannot solve.</p>
  
  <p>On the first page load, content is loaded to the editor via ng-model.
  Then I navigate to another state and then navigating back to state with the editor.
  The value still exists on the scope (I've checked it) but the content doesn't appear in the editor for some reason I cant figure..</p>
  
  <p>This is the the textarea with the directive as attribute:</p>
  
  <pre><code>&lt;textarea rows="10" class="form-control" id="desc" ui-tinymce ng-model="valueFromScope"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>This changes happened after updating AngularJS from 1.5 to 1.2.1.
  I thought it had something to do with ngSanitize but I'm not sure..</p>
  
  <p>btw angular-sanitize and ngSanitize are included in the app.</p>
  
  <p>Any advice?</p>
  
  <p><strong>update</strong><br/>
  It seems like ngModel.$render is not doing anything.</p>
  
  <pre><code>     ngModel.$render = function() {
          console.log(ngModel);
          tinyInstance = tinymce.get(attrs.id);
  
        if (tinyInstance) {
  
          tinyInstance.setContent(ngModel.$viewValue || '');
          updateView();
        }
      };
  </code></pre>
  
  <p>Nothing is printed out, not even undefined, this means ngModel.$render doesn't even run.
  Any reasons for that?</p>
  
  <p><strong>Update</strong>
  <br/>
  I don't think model.$render is related, from what I understand $render only executes on a programmatic change like actually editing the text and that works..</p>
  
  <p>I still can't figure it out, sometimes the value is shown and sometimes not.</p>