Fix issue with drag and drop directive

The directive was dependant on the global
myapp module which get redefine in various 
places.

The fix puts the dnd directive in an other module.