support capybara javascript feature test.
fixed rspec error. add angular services test.