It's not so much of an anti-US sentiment than a non aligned stand. US can make a great Ally, but honestly as a nation still going through the development process, our priorities are vastly different from that of the US. US does not face those issues with it's other traditional allies. India-China and US-G8 have constantly been at loggerheads in trade and economic forums. There is bound to be a carry over effect on strategic military relations as well.
I do not think a military cooperation with US will harm our relation with china or any other country. See china is our biggest trading partner but it shares great relation with pakistan. Doesn't it throw these carpy theory of startegic and economic inetrests are interlinked. China is going great guns in defence. we need to sense the pulse for our future generation we did the mistake in 1962. Getting a defense system is very critical for our future. China is building nuclear plants in Pakistan.
By signing the pact we will send clear signal to the world that India means business.