Angular — Understanding pipes and Different ways to use them