title: $stateParams converting value to string
body: <p>I am using <code>UI-Router</code>. Here's one of my state to which I am routing via <code>ui-sref</code>:</p>
  
  <pre><code>.state("community", {
      url: "/community/:community_id",
      controller: "CommunityCtrl",
      templateUrl: "/static/templates/community.html"
  })
  </code></pre>
  
  <p>In one of my templates from where I go to 'community' state:</p>
  
  <pre><code>&lt;div ui-sref="community({community_id: community.community_id})"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Here's my community object:</p>
  
  <pre><code>{
      name: 'Community name',
      community_id: 11 //int, not a string
  }
  </code></pre>
  
  <p>As you can see the key 'community_id' contains an int value rather than string value. However, when I access this parameter via <code>$stateParams</code> I get:</p>
  
  <pre><code>community_id: "11" //string
  </code></pre>
  
  <p>Why am I getting a string?</p>