Angular2 pipe to convert camelCase strings to human readable strings
npm install angular2-camelcase
import {CamelCaseHumanModule} from 'angular2-camelcase';
@NgModule({
declarations: [
CamelCaseHumanModule
],
....
})
<h1>
{{'helloWorldHowAreYouDoingIamUpper' | camelCaseToHuman:true}}
</h1>
<h1>
{{'helloWorldHowAreYouDoingIamLower' | camelCaseToHuman:false}}
</h1>