Keyboard go button click redirects to default state and with a ? in url

I have a form that I need to be submitted when user clicks on Go button.

I have added ng-submit in form and input type submit as well.
However, the very first time app is launches and user clicks on go button, it redirect to default state with a question mark (?) just before # and works just fine after question mark is there is url.

How do I fix this?

what seems to be wrong?