How to support query parameters(/user?id=1&valid=1) in ionic?