How to use the parameters when ui-routing in angularjs