The uppercase/lowercase pipe

The name uppercase/lowercase pipe says it all. As in the example provided previously, this pipe sets the string output in uppercase or lowercase. Insert the following code anywhere in your view and check out the output for yourself:

<p>{{ 'hello world' | uppercase}}</p>  // outputs HELLO WORLD
<p>{{ 'wEIrD hElLo' | lowercase}}</p> // outputs weird hello
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset