Sha256: 74a03b98b25ea50f4637e0bcc9ea5ce2084261a7b26b75886c97a8f29c39b365

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

'use strict';

angular.module('herald.filters', [
])

.filter('capitalize', function() {
  return function(input) {
    var first = input.substring(0, 1);
    var rest = input.substring(1);
    return first.toUpperCase() + rest;
  };
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-herald-0.1.1 lib/puppet-herald/public/components/filters/filters.js
puppet-herald-0.1.0 lib/puppet-herald/public/components/filters/filters.js