How to compare two integer values with text?
<p>HTML code:</p>

<pre><code>&lt;li class="list-group-item ng-binding ng-scope" ng-repeat="sourceMatch in sourceMatches"&gt;
   &lt;img ng-src="/static/images/Timesjobs_small.jpg" width="32px" height="32px"&gt;
   &lt;span class="badge ng-binding"&gt;585784&lt;/span&gt;
   Times Jobs
&lt;/li&gt;
</code></pre>

<p>I am getting this error.</p>

<pre><code>Expected '52675
Times Jobs' to match '52619 Times Jobs'.
</code></pre>

<p>It is showing integer value in first line and text in second line so that am not able to compare. How to fix this?</p>