angular 2 & ng2-dragula - adding directives into component
<p>I'm using Angular 2.0.0-rc6 and ng2-dragula. I wanted to create a simple list of words and be able to drag n' drop inside it.</p>

<p>When i try to add the attribute "directive" to my component, it says that "directive" can not be a part of the Component Metadatatype and i'm not allowed to bind the directive to my component. 
I found several tutorials that implements the attribute "directive" inside the component declaration.</p>

<p>How can I bind the Dragula directive to my component ?</p>

<pre><code>import { Component } from '@angular/core';

import {Dragula, DragulaService} from 'ng2-dragula/ng2-dragula';

@Component({
  selector: 'my-app',
  // directives: [Dragula],
  // viewProviders: [DragulaService],
  templateUrl: "app/templates/app.component.html"
})
</code></pre>