I have app.js file and in it bunch of javascript code. Among other thing I want be ablt to add path.
var ul = " {{ path('chat_get_fnln', {'email':'%s'}) | url_decode | format('"+jid+"') | raw }}";
I need this in app.js not some twig file.
1) Is it such a thing even possible? 2) If yes please point me right direction.
I need this in .js file not in .twig.html!!!