The conservation of angular momentum holds that the angular momentum just prior to a collision is the same as the angular momentum just after a collision.
Example
Imagine a rod of length l and mass M suspensed from one end vertically, and that a small block mass having velocity v and mass m collides with the other end and sticks to it. The maximum angle of displacement of the rod from the vertical axis can be calculated using the conservation of angular momentum:


Thus

After the collision, there is conservation of energy such that the final potential energy of the rod (with the sticking block mass) equals the initial kinetic energy just after the collision:

Now solve the the two sides of the above equation separately:




Solving the above four equations yields:

Plugging in for angular velocity from the initial equations above yields:

Calculating the moment of inertia I now becomes necessary for a rod of length l and mass M, with a small block of mass m at its end.