If you have kids, pick the one in the better school district whichever that may be.
If you tend to get involved in your community, pick the nicer location. If you can ignore your neighbors and stick to yourself happily, pick the nicer apartment.
If you're a homebody or work at home, pick the nicer apartment. If you work at home also consider internet connectivity.
I think if it were me, I'd tend not to settle down long term yet. I'd probably go for the nicer location with crappy apartment, sign a short lease and continue looking for a better apartment while living in and getting to know the area and available rentals. You might not get all three things right away: nice location, nice apartment, and long term living situation.