title: Get the list of all instance of enum type and iterate in view
body: <p>I have a enum as below :</p>
  
  <pre><code>    public static enum Status {
      UNKNOWN(0, "Unknown"), AVAILABLE(1, "Available"), ISSUED(2, "Issued"), RETURNED(
              3, "Returned"), DAMAGED(4, "Damaged"), LOST(5, "Lost"), UNDER_REPAIR(
              6, "Under Repair");
  
      private int id;
      private String description;
  
      public int getId() {
          return id;
      }
  
      public void setId(int id) {
          this.id = id;
      }
  
      public String getDescription() {
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description;
      }
  
      private Status(Integer id, String description) {
          this.id = id;
          this.description = description;
      }
  }
  </code></pre>
  
  <p>How can I get a list of all enum instances and iterate in view some thing like below (I use angular js to iterate in below code):</p>
  
  <pre><code>            &lt;select name="status" ng-model="ticket.status"&gt;
                  &lt;option value=""&gt;----Select----&lt;/option&gt;
                      &lt;option ng-repeat="s in statusList" value ={{s.id}}&gt;{{s.description}}&lt;/option&gt;
              &lt;/select&gt;
  </code></pre>