title: how do we change the name format based on language
body: <p>In my application I have two languages English and Chinese. When I
   choose English, the name format should be first name and last name. But, when I choose Chinese, it should be in the reverse order, that is, last name and first name.How to do that using angular JS?</p>
  
  <pre><code>&lt;div ng-if="lan.value == 'APP.LANGUAGE.EN_GB'"&gt;
    {{vm.userIdentity.lastname}} {{vm.userIdentity.firstname}}
  &lt;/div&gt;
  &lt;div ng-if="lan.value!== 'APP.LANGUAGE.EN_GB'"&gt;
    {{xxx.firstname}} {{xxx.lastname}}
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried that but that's not working.</p>