title: How to convert dash-case to camelCase in AngularJS?
body: <p>Is there any utility function in AngularJS that converts a dash-case string to a camelCase string? e.g.: "min-max" becomes "minMax"</p>
  
  <p>That's quite simple to implement my own function:</p>
  
  <pre><code>function toCamelCase(name) {
    return name.replace(/-(\w)/g, function(match) {
      return match[1].toUpperCase();
    });
  }
  </code></pre>
  
  <p>But, I know that Angular already does this (e.g. directive name), so I wonder if it's possible to use the mechanism that Angular has?</p>