At least five policemen have been killed in a militant attack on a security camp in Indian-controlled Kashmir .