Was Pakistan meant to be secular like India?

Re: Was Pakistan meant to be secular like India?

And why rebel started in British troops during 1857?