How to run AngularJS end to end tests on Jenkins?

How can I run AngularJS end to end tests on Jenkins? As far as I understand, e2e tests require a web server.

I can run e2e tests locally with karma while node.js web server script is running.

See these links:

Would also say, get grunt running inside jenkins using https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin

it's awesome