There's nothing wrong with hating Islam. What we are called to do is to love all Muslims while hating their evil ideology.
If you are an elected official you do NOT have the luxury of "hating" a religion while acting in your office. That is one of the responsibilities that comes with election.
If you can't uphold the PRINCIPLES of the Constitution, then don't hypocritically stand for election.