adding first part of drag/drop directive. fixing upload service