Seeing as you have started the car with no trouble and then all of a sudden it dies, I pretty sure its your alternator. Plus your battery light came on.

I could be wrong, ya never know tho.