Skip to content

mustafaer/ngx-replace

Repository files navigation

Angular Twitter Timeline

Embed Twitter Timeline in Angular application.

Supported version:

Angular 15

Installation

To install this library, run:

npm i ngx-replace

Usage

Import in your Angular app:

// Import ngx-replace
import {NgxReplacePipe} from "ngx-replace";

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        NgxReplacePipe,
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
<p>{{'My name is %name' | ngxReplace: '%name' : 'Mustafa'}}</p>