0.0.4 • Published 7 years ago
angular2-camelcase v0.0.4
angular2-camelCase
Angular2 pipe to convert camelCase strings to human readable strings
Installation
Npm
npm install angular2-camelcase
Usage
import {CamelCaseHumanModule} from 'angular2-camelcase';
@NgModule({
declarations: [
CamelCaseHumanModule
],
....
})
HTML
<h1>
{{'helloWorldHowAreYouDoingIamUpper' | camelCaseToHuman:true}}
</h1>
<h1>
{{'helloWorldHowAreYouDoingIamLower' | camelCaseToHuman:false}}
</h1>