For ambitious software developers, a commitment to continuous learning is key to better pay. Constantly refining your coding skills and knowledge of different languages, rather than limiting your expertise to one, will open you up to more than one job type and higher salaries.
Working on independent projects aside from your regular role will also help you discover what you are most passionate about, whether as a front end, back end or full stack developer.