add index.html for rest tests
use static files for rest instead jade templates
fix tests when using static index.html
update angular example and use static files