title: AngularJS translate difference
body: <p>What is the difference between adding translation in these two ways:</p>
  
  <pre><code>&lt;div class="row" translate="{{::'newvisitormodal-bannerimage'}}"&gt;
  
  
  &lt;div class="row"&gt;{{::'newvisitormodal-bannerimage' | translate}}&lt;/div&gt;
  </code></pre>
  
  <p>And how to used first approach in case of placeholder like this:</p>
  
  <pre><code>&lt;input id="txtresetPassword" type="password" placeholder="{{::'reset-password-enternewpassword' | translate}}" &gt;
  </code></pre>