On the minimal injective resolution of modules