Hire your boss! While that statement without context is contradictory it does deserve your attention as you advance in your career. While vision, responsibilities, advancement opportunities, position, strategic plans, staffing, benefits and salary are all important, the single most important factor impacting and influencing your future success (besides your own work ethic, commitment and quality) is your boss.
Having said that, I have been very fortunate to work with some amazing people throughout my career and I do consider myself lucky in that respect. However, while luck is important, strategic approach brings even more value. Do your due diligence and interview your prospective employer as they are interviewing you. There are many ways to do this, from questions to ask to focusing on their character, personality and leadership style. The choice on how to do this is yours, but don’t underestimate the importance of doing so next time you interview.