title: Testing broken links with Protractor
body: <p>I'm using Protractor for e2e tests. 
  I want to test all the links in my website to see whether they are broken or not.
  the thing is that I can't use existing tools for 2 reasons:
  1. we are using Angular, so the server doesn't really returns '404' code, but the result is '<a href="http://www../404" rel="nofollow">http://www../404</a>'
  2. there is a login in order to go over the pages, and regular tools don't support it.</p>
  
  <p>Can anyone help with how to do it using Protractor?
  Thanks.</p>