I am trying to implement - https://github.com/spartaksun/ng2-file-uploader#backend-example-using-plain-php
I have installed ng2-file-uploader , in my component.ts i am trying to add the code as guided, when i am adding directives: [UPLOAD_DIRECTIVES] , it is giving me error - 
@Component({
selector: 'demo-app',
templateUrl: 'app/demo.html',
directives: [UPLOAD_DIRECTIVES],
})