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.
Merge pull request #74 from dinoboff/master

Fix issue with drag and drop directive