i take it the father is named on her birth certificate ?
you need to prove you have 'sole responsibility' , 2 yrs is a long time to be apart,but some people have lived apart more than that and still got the child a visa.