title: How to rename the URL for url: '/add/{id}' to url: '/add' in URL
body: <p>How to rename the URL for <code>url: '/add/{id}'</code> to <code>url: '/add'</code> in URL. I don't want to show my Id in the URL. How to remove the id from url in AngularJs?</p>
  
  <p>My Code:</p>
  
  <pre><code>.state('app.useredit', {
        url: '/user-edit/:userId',
        data: {
          auth: true
        },
        views: {
          'main@app': {
            template: '&lt;user-edit&gt;&lt;/user-edit&gt;'
          }
        },
  </code></pre>