title: How to get jquery CKEDITOR Value in angular 2?
body: <p>I have to use Jquery Ckeditor in our application. But, i have unable to get Ckeditor value.</p>
  
  <p>Please check live Plunker example: <a href="http://plnkr.co/edit/H9g3yvMzOGrgqRNuFf3D?p=preview" rel="nofollow">Plunker Here</a></p>
  
  <p><strong>My Component</strong></p>
  
  <p><strong>1) index.html</strong></p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Angular 2 QuickStart&lt;/title&gt;
      &lt;script src="https://code.angularjs.org/tools/system.js"&gt;&lt;/script&gt;
      &lt;script src="https://code.angularjs.org/tools/typescript.js"&gt;&lt;/script&gt;
      &lt;script src="https://code.angularjs.org/2.0.0-alpha.44/angular2.dev.js"&gt;&lt;/script&gt;
      &lt;script src="//cdn.ckeditor.com/4.5.5/standard/ckeditor.js"&gt;&lt;/script&gt;
  
      &lt;script&gt;
        System.config({
          transpiler: 'typescript',
          typescriptOptions: { emitDecoratorMetadata: true }
        });
        System.import('./app.ts');
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;my-app&gt;loading...&lt;/my-app&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>2) app.ts</strong></p>
  
  <pre><code>import {bootstrap, Component, Directive, View, ElementRef} from 'angular2/angular2';
  
  @Directive({
    selector: 'textarea'
  })
  class CKEditor {
    constructor(_elm: ElementRef) {
      CKEDITOR.replace(_elm.nativeElement);
    }
  }
  
  @Component({
    selector: 'my-app',
  })
  @View({
    directives: [CKEditor],
    template: `
    &lt;textarea&gt;{{ content }}&lt;/textarea&gt;
  
    &lt;button (click)="getValue()" style="padding:20px 50px;margin-top: 20px;"&gt;Add&lt;/button&gt;`,
  })
  class AppComponent {
    content: any = "test content";
    constructor() {
  
    }
  
    getValue() {
      alert(this.content)
      console.log(this.content)
    }
  }
  
  bootstrap(AppComponent, []);
  </code></pre>
  
  <p>Please check live Plunker example: <a href="http://plnkr.co/edit/H9g3yvMzOGrgqRNuFf3D?p=preview" rel="nofollow">Plunker Here</a></p>