I'm really sorry to hear about your loss, I wish it didn't happen. I can imagine how brave your friend from work must have been to let you know her news after knowing what you are going through, she sounds like a very respectful and caring human being.
When my friend was pregnant with her 5th child she was scared to tell me as I was TTC as well , but when she did she had tears in her eyes from guilt because she knew my struggle with infertility. Gee I felt so bad to think that she has been blessed with being pregnant and she couldn't share her wonderful news with me for fear of me being upset with her.
I agree with previous posts about it being perfectly fine to feel jealous and angry while going through your loss, I think it's a normal reaction to such a situation.