
Conflicts: js/app.js js/service.js js/services/utils-service.js test/services/model-service_test.js
20 lines
No EOL
540 B
JavaScript
20 lines
No EOL
540 B
JavaScript
'use strict';
|
|
|
|
var jamstash = angular.module('JamStash');
|
|
|
|
/* Filters */
|
|
jamstash.filter('capitalize', function () {
|
|
return function (input, scope) {
|
|
return input.substring(0, 1).toUpperCase() + input.substring(1);
|
|
};
|
|
});
|
|
jamstash.filter('musicfolder', function () {
|
|
return function (items, scope) {
|
|
return items.slice(1, items.length);
|
|
};
|
|
});
|
|
jamstash.filter('capitalize', function () {
|
|
return function (input, scope) {
|
|
return input.substring(0, 1).toUpperCase() + input.substring(1);
|
|
};
|
|
}); |