Do you have a repair stand? This can make it very simple.
Just loosen the stem some and put the bike on the repair stand. Tilt the while bikke forward. Now, while standing at the front wheel, you can easily see and adjust the bars to be lined up perfectly with the front wheel.
I'm sure there are other methods, but this is the one I learned.