title: show content based on angular drop down array of objects
body: <p>I haven't been able to find and example of using angular drop downs using an array of objects in the drop down menu, can someone please help me debug this? I eventually want the "Show me" to be a radio button list from the angular library.  </p>
  
  <pre><code>    &lt;div ng-app="myApp" ng-controller="myCtrl"&gt;
          Method:
          &lt;select ng-model="selectedName" ng-options="x.name for x in names"&gt;
          &lt;/select&gt;
      &lt;/div&gt;
  
      &lt;script&gt;
          var app = angular.module('myApp', []);
          app.controller('myCtrl', function($scope) {
              $scope.names = [{name: 'Experiment'}, {name: 'Clinical Trial'}, {name: 'Case Report'}];
                $scope.changeme = function() {
                  alert('here');
                }
          });
      &lt;/script&gt;
      &lt;div ng-if = "x.name == 'Experiment'"&gt;
          &lt;span&gt;Show Me&lt;/span&gt;
      &lt;/div&gt;
  </code></pre>