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