title: Inject parameter in Service Worker
body: <p>I'm trying to use the Service Worker but a the moment of registration I get this error:</p>
  <p><a href="https://i.stack.imgur.com/TplGz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TplGz.png" alt="Js Error" /></a></p>
  <p>I got that the service worker can't subscribe because the evaluation of the script failed, but I don't get why &quot;Username&quot; is not defined, cause if I debug it I can see the value inside it, and inside the service worker the value is passed correctly, but I can't figure out why &quot;Username&quot; is not defined. Help please!</p>
  <p>This is the start and the end of the Sevice Worker:</p>
  <p><a href="https://i.stack.imgur.com/dxqbv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dxqbv.png" alt="The script in my View" /></a></p>
  <p>This is the Service Worker:</p>
  <p><a href="https://i.stack.imgur.com/Ad06z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ad06z.png" alt="The start and the end of the Sevice Worker" /></a></p>