Add the gender setting with a really ugly ng-if solution
Remove the ng-if gender solution and use a function instead