title: set a group of similarly named attributes to false
body: <p>In an AngularJS project, the view model has several properties associated with navigation that begin with the word "show".  There is a function that sets these to false when called:</p>
  
  <pre><code>var hideComponents = function() {
   vm.showAddress = false;
   vm.showEvent = false;
   vm.showAccount = false;
   //several others not displayed here
  }
  </code></pre>
  
  <p>Is there a way to use a wildcard to set all of the properties that begin with the word "show" to false?  I was thinking something like this:</p>
  
  <pre><code>vm['show'*] = false;
  </code></pre>
  
  <p>but that syntax is not correct.</p>