title: CKEditor not showing when AngularJS swap its view
body: <p>My AngularJS Directive is:</p>
  
  <pre><code>.directive('ckEditor', function() {
    return {
      require: '?ngModel',
      link: function(scope, elm, attr, ngModel) {
        var ck = CKEDITOR.replace(elm[0]);
  
        if (!ngModel) return;
        ck.on('pasteState', function() {
          scope.$apply(function() {
            ngModel.$setViewValue(ck.getData());
          });
        });
  
        ngModel.$render = function(value) {
          ck.setData(ngModel.$viewValue);
        };
      }
    };
  </code></pre>
  
  <p>Let's say My View is like following:</p>
  
  <pre><code>&lt;textarea ck-editor  name="menu_content" style="width:600px; height:300px;" id="menu_content" ng-model="models.menu_content" ub-search-settings=""&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>When the view is called CKEditor shows instead of TextArea. It's ok.
  Now, my problem is CKEditor not showing when view is call for next time not reloading the whole page.</p>