Husband fell asleep with baby

So my husband was suppose to be taking care of the baby, while I went upstairs to clean a few things. He was sitting on the couch holding our 6 month old when I went up and when I came back down he was snoring while our 6 month old was wide awake laying on the couch next to him. I was gone for about 10 minutes. I woke him up and told him he can't do that and got mad at him. He doesn't work, he goes to school two days a week, and gets to sleep in while I get up with the baby every morning. I get up around 6 or 7 and he gets to sleep in till 9 or 10. I felt like he was so irresponsible to fall asleep like that. You put our child in danger and he doesn't seem to think it's a big deal. Am I overreacting or is he that irresponsible? I can understand if you had to get up with the baby at night or if you worked all day but he doesn't.