[javascript] Is there a simple way to use button to navigate page as a link does in angularjs