Thanks Dave and Jez. I spoke to a mechanic and he said it maybe a corroded connection.. however I'm not totally convinced since the angel light issue was fixed straight away by swapping out the aliexpress module, so I'm guessing that means he is implying I had a faulty module and connection at the same time.
I have since ordered a 2nd hand Hella BMW headlight which I have been told has working modules. It is probably the original TMS module. I am thinking of swapping the aliexpress one with that which hopefully means I don't need to program it or clear all the faults. However is the module able to be swapped by removing the tyre and accessing the back flap on the passenger side? (car is right hand drive). I don't want to have to pull the front bumper off again. Cheers