angular material cdkdragdrop condition code example Example: angular material drag and drop not working // what i did was just to restart angular compiler.