Difference of 'ng' and 'nang'

Translating that sentence in Filipino would require the Filipino conjunction ‘ng’ to conjunct the verb (bought [bumili]) to its object (new shoes [bagong sapatos]). Therefore, Siya ay bumili ng bagong sapatos. On the other hand, the Filipino word ‘nang’ is the counterpart of the word ‘when’