At the bottom of the page I didn't have
I just had
which was the default line in extendApp.html. I have saved extendApp.html as plot.html but otherwise left it in the same directory and it still script requires 'extendApp' as above. Seems strange .js isn't required as that is the filename but must be some magic somewhere.
Adding the require to mango-3.01/bootstrap changed things, now I see the request to /rest/v1/login. The response code is 200 OK.
Requests prior to the login had a cookie MANGO80, the login request came back with a new MANGO80 cookie and an XSRF-TOKEN. I think maybe the first go around it doesn't work because it requested /rest/v1/data-points before the login request. Hitting reload (thinking there might already by the XSRF-token set) results in successful requests to /rest/v1/data-points but after the request to rest/v1/login the next 4 requests 403 and have a different MANGO80 and XSRF-TOKEN
The Error ng:btstrpd started to appear when I added the require to mango-3.0/bootstrap.
Thanks for your help