A minor who is the subject of a juvenile court hearing and any person entitled to notice of the hearing under the provisions of Section 658, is entitled to be present at such hearing. Any such minor and any such person has the right to be represented at such hearing by counsel of his own choice or, if unable to afford counsel, has the right to be represented by counsel appointed by the court.