title: an invalid or illegal selector was specified error on protractor angularjs
body: <p>so I've been using protractor as my e2e test angularjs component, and I've been facing this issue..</p>
  
  <p>so I've got an html markup like this</p>
  
  <pre><code> &lt;div class="item"&gt;
         &lt;div class="item-grid"&gt;grid A&lt;/div&gt;
         &lt;div class="item-actions"&gt;
             &lt;input type="image" class="item-action-image" title="info" src="images/icons/system-info.png"&gt;
             &lt;input type="image" class="item-action-image" title="event" src="images/icons/system-event.png"&gt;
         &lt;/div&gt;
      &lt;/div&gt;
  &lt;div class="item"&gt;
         &lt;div class="item-grid"&gt;grid B&lt;/div&gt;
         &lt;div class="item-actions"&gt;
             &lt;input type="image" class="item-action-image" title="info" src="images/icons/system-info.png"&gt;
             &lt;input type="image" class="item-action-image" title="event" src="images/icons/system-event.png"&gt;
         &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>let's say if one of the input typed image above was clicked, there will be an information modal coming up to display the information.</p>
  
  <p>so I want to create a scenario on protractor to simulate those..</p>
  
  <p>the scenario would be</p>
  
  <pre><code>it("should've display grid information datas", function() {
  
          element(by.css(".item:eq(0) &gt; .item-actions &gt; input[title='info']")).click();
  
          browser.waitForAngular();
  
    });
  </code></pre>
  
  <p>logical explanation for the above code is the protractor would select the first <code>'.item'</code> element then click the <code>'input[title="info"]'</code> inside it right ?</p>
  
  <p>but instead I got this error</p>
  
  <pre><code>InvalidSelectorError: The given selector .item:eq(0) &gt; .item-actions &gt; input[title='info'] is either invalid or does not result in a WebElement. The following error occurred:
  InvalidSelectorError: An invalid or illegal selector was specified
  </code></pre>
  
  <p>therefore I've been stuck since I'm new to using protractor.. is there anybody that could help me solve this issue ? </p>