title: Finding the UI element in protractor is not consistent. Working with localhost and not with the server
body: <p>Here is the code I am using <code>expect(element(by.id('title')).getAttribute('value')).toMatch('Sample Title')</code></p>
  
  <p>in local machine it is working perfectly fine and on server it is not with the following error.</p>
  
  <pre><code>Failed: Timed out waiting for asynchronous Angular tasks to finish after 11 seconds. This may be because the current page is not an Angular application. Please see the FAQ for more details: https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular
  While waiting for element with locator - Locator: By(css selector, *[id="title"])
  </code></pre>
  
  <p>and surprisingly sometimes these tests are working on server when I execute them alone.</p>
  
  <p>to add to the question. I observed that protractor is able to find only one element in the tests and all the remaining are ignored with the error as above.</p>
  
  <p>what could be the solution for this?</p>