{{ value_expression | titlecase }}
transform(value:string): string {
let first = value.substr(0,1).toUpperCase();
return first + value.substr(1);
}
app.filter('capitalize', function() {
return function(token) {
return token.charAt(0).toUpperCase() + token.slice(1);
}
});