title: querySelector, get elements whose attribute begins with given string
body: <p>I'm looking for a way to find all elements that contain an attribute that begins witha a given string. For example:</p>
  
  <p><code>document.querySelectorAll('[ng-*]')</code> would return all elements with Angular directives (<code>ng-click</code>, <code>ng-show</code>, <code>ng-hide</code>...).</p>
  
  <p>But the wildcard does not seem to work.</p>
  
  <p>Any ideas? I could implement my own, but it wouldn't be as effective.</p>