Stable integration tests for AngularJS with Capybara