<script> window.isPublic = "{{$ispublic}}"; </script>