"From appellant's affidavit and the evidence in the record it appears to be uncontroverted that appellant did not have the funds necessary to prosecute the appeal or to pay attorneys' fees, that respondent is able to pay a reasonable sum therefor, and that the appeal was taken in good faith and presented debatable questions which were not without substantial merit or controversy. Under these circumstances it must be held that the court erred in denying appellant's application for a reasonable allowance for costs and counsel fees on appeal." (See also Coleman v. Coleman, 23 Cal. App. 423, 426 [138 P. 362]; Weil v. Weil, 37 Cal. 2d 770, 791 [236 P.2d 159].)