Fixes angular-ui/ui-router#350

Fixes by avoid binding `click` event when the targeted state has `url`.