Always power up after you have the highest evolution due to the fact that moveset's are random.
If you don't care for moveset then it doesn't matter.
Up
0
Down
Whether you do it before or after will always give the same result.
However, waiting until after you evolve ensures you don't waste dust/candy on an unwanted moveset
Up
0
Down
Powering up before is like forcing yourself to learn guitar by buying an expensive one. I invest heavily before powering up, then you have no choice but to use the Pokémon regardless of moveset.
Up
0
Down
It's more like buying a $2.000 surprise box with a random instrument, and then forcing yourself to learn ukulele because that's what you got when you would be much happier with a $1.000 bass guitar.