SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //in the component define "user" and use it to interpolate
  2. user = { firstName: 'Amith'};
  3.  
  4. // html
  5. <p>{{ 'welcome' | translate:user }}</p>
  6.  
  7. <input type="password" placeholder="{{ 'login.password' | translate }}">
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top