India is not friendly to USA and UK not for the reason it will be made an ally or that it will be supported by them if China attacked India. India is second most populous country in the world and it should take care of it's own security. Apne haath Jagannath!
India's miiddle class is english speaking or knowing, secular and has similar diversity as that of USA in ethnicity. The migrants to the USA came from England,Ireland, Germany, Spain, Italy,Poland, Russia and several other European besides african countries. similarly India had already 12 major language speaking people besides several other languages.
The ethnic composition is more or as diverse as that of USA and UK. we led by example very much earlier than the multi ethnic, linguistic, religious Europian community even before it was conceived and made a reality. There are other factors besides the above that can make nations friendly besides religion and common ehtnicity.
Indians were cultivating USA even when Pakistan was a member of SEATO, CENTO, Baghdad pacts led by USA and Nato nations and it diverted and used the arms and aircraft supplied to it against India. It is not muslim hatred but secular, rational, liberal and democratic attitude that draws India and the USA/European community together.