Is it possible to make a Angular Material Dialog draggable? I installed angular2-draggable and can of course use the functionality on all other elements.
But because
in angular2-draggable, you use ngDraggable to make the element draggable.
where ngDraggable is a directive and in your situation you need to attach this ngDraggable directive dynamically with your dialog which is created dynamically.
Though officially, there is no way to add directive dynamically but some dirty tricks have been discussed in the following questions to add directive dynamically.
How to dynamically add a directive?
Use Angular2 Directive in host of another Directive