At the first regular meeting of the mayor and council of said city in January of each year, they shall elect a municipal court judge, a recorder pro tempore, and a city attorney. Each of said officers shall take such oath, give such bond, receive such salary and perform such duties as the mayor and city council may prescribe.