any way that I can hide the menu sidebar by one url param
No, this is not possible to hide via a URL parameter. The expand/collapse state of the left nav is stored in the browser's localStorage, in the kibana.isGlobalNavOpen key.
cannot I add some listener of the ng-route and change the kibana.isGlobalNavOpen key.?
Sure, you might be able to do that. Try it out!