Computational Studies of Materials with Broken Inversion and Time-Reversal Symmetries: Angular Momentum of Ions and Electrons