Hello Stephen ,
Te gusta la chica is another way of saying "la chica te gusta " so the conjunction of the verb "gustar" refers to the "la chica" , the 3rd personal pronoun (she) .
Te gustan las chicas is referring to " las chicas " , the personal pronoun ( they) ,so the verb's conjunction follows the noun in both cases .