Configuring a headless browser for Angular