Angular momentum decomposition from a QED example