I am trying to append Blade syntax from Laravel but can\'t get the browser to understand Blade. When I append the Blade syntax from my js file it output the code onto the page.<
Laravel Blade is processing on server side by PHP. Not in your browser like JS. Therefore if you do like you did, you get normal text in your browser. So your server process PHP/Laravel code with Blade and provide for your browser static code with HTML, CSS and JS.
If it will help you, you can try put your blade code in appropriate *.blade.php file.