Flame retardant epoxy polymers using phosphorus‐containing polyalkylene amines as curing agents