title: Breeze/Angular: How to select Enum type in html?
body: <p>I know Breeze is supporting enum type now and I can get enum type show in html without problem. However, I couldn't figure out how to edit this field in client.</p>
  
  <p>For example:</p>
  
  <pre><code>public class Student
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public SexTypes SexType { get; set; }
  }
  
  public enum SexTypes
  {
      Male, Female
  }
  </code></pre>
  
  <p>I want to use select tag to choose a sex type like</p>
  
  <pre><code>&lt;select ng-model="student.sexType" ng-options="g for g in sexTypes"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>When I looked at metadata (via api/breeze/metadata), I do see my enum type as</p>
  
  <pre><code>enumType: {
      name: "SexTypes",
      isFlags: "false",
      underlyingType: "Int32",
      member: [
          {
              name: "Male",
              value: "0"
          },
          {
              name: "Female",
              value: "1"
          }
      ]
  },
  </code></pre>
  
  <p>Now, the question is how do I populate <code>$scope.sexTypes</code> in my controller?</p>