title: Need to pass a angular js value into php function?
body: <p>I need to translate value thats why I wrote a function and I need to pass angular value into that php function.</p>
  
  <blockquote>
    <p>such as php function is</p>
  </blockquote>
  
  <pre><code> &lt;?php bn_translate(); ?&gt;
  </code></pre>
  
  <blockquote>
    <p>and angular js value is</p>
  </blockquote>
  
  <pre><code> {{ result.min_tenure }}
  </code></pre>
  
  <blockquote>
    <p>I tried this two ways but nothing changed</p>
  </blockquote>
  
  <pre><code>&lt;?php print bn_translate("{{ result.min_tenure }}"); ?&gt;
  and
  {{ &lt;?php print bn_translate("result.min_tenure") }}; ?&gt;
  </code></pre>
  
  <blockquote>
    <p>or If I tried for test value that was successful translate</p>
  </blockquote>
  
  <pre><code>&lt;?php print bn_translate("5"); ?&gt; or &lt;?php print bn_translate(5); ?&gt;
  </code></pre>
  
  <p>Is it possible to pass value into php function to work properly?</p>