diff --git a/aio/content/examples/testing/src/app/shared/title-case.pipe.ts b/aio/content/examples/testing/src/app/shared/title-case.pipe.ts index df2567778d..8797f49932 100644 --- a/aio/content/examples/testing/src/app/shared/title-case.pipe.ts +++ b/aio/content/examples/testing/src/app/shared/title-case.pipe.ts @@ -1,7 +1,7 @@ // #docregion import { Pipe, PipeTransform } from '@angular/core'; -@Pipe({name: 'titlecase', pure: false}) +@Pipe({name: 'titlecase', pure: true}) /** Transform to Title Case: uppercase the first letter of the words in a string.*/ export class TitleCasePipe implements PipeTransform { transform(input: string): string {