Monday, June 9, 2014

ng-options 50 states $scope variable

$scope.states = ["AL","AK","AZ","AR","CA","CO","CT",
          "DE","DC","FL","GA","HI","ID","IL",
          "IN","IA","KS","KY","LA","ME","MD","MA",
          "MI","MN","MS","MO","MT","NE","NV",
          "NH","NJ","NM","NY","NC","ND",
          "OH","OK","OR","PA","PR","RI","SC",
          "SD","TN","TX", "UT","VT","VA","WA",
          "WV","WI", "WY"];

1 comment:

  1. Your blog is a great source for little nuggets of information that are so important when it comes to programming without getting stressed out.

    ReplyDelete