Strange one this.
Error: getaddrinfo ENOTFOUND when 'api' anywhere in the path.
to reproduce install latest gulp-angular (but it exists in 0.4 also)
yo gulp-angular myApp
[installation ensues]
gulp serve
navigate to any of:-
http://localhost:3000/api
http://localhost:3000/foo/api
http://localhost:3000/apifoo
Error: getaddrinfo ENOTFOUND
at errnoException (dns.js:37:11)
at Object.onanswer [as oncomplete] (dns.js:124:16)
This only happens when api is in the path....