title: How to get Character Value from an Integer database field
body: <p>I have an integer field in db, which is option field. I'm saving the options in terms of id in to the db, but I also have to display the value in that field pertaining to certain operations. Can anyone here please tell me how to get a text value from an int field and display it? Below is my code:</p>
  
  <p>Html:</p>
  
  <pre><code>&lt;th col width="55%"&gt;&lt;label&gt;&lt;strong&gt;Risk Estimation&lt;/strong&gt;&lt;/label&gt;
  
                 &lt;select ng-model="arform.risk_estimate"
                         ng-options="item for item in risk_estimate"&gt;
                    &lt;option style="display:none" value=" risk_estimate.text"&gt;&lt;/option&gt;
                 &lt;/select&gt;
              &lt;/th&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>{{ngapp}}.controller(
          "SiVerifyAddReviewController",
          function($scope, $http, $modalInstance, r_header){
  
  $scope.risk_estimate = ['High','Medium', 'Low'];};
  </code></pre>
  
  <p>Will be able to provide if further part of code is required for understanding. Thanks. </p>