Inline condition produces the wrong result
<p>I am trying to add the '0' to the number which is less than 10. for that i trying to write a inline code like this. ( i don't require filter here, since this is for visual purpose not required to change object. )</p>

<pre><code> &lt;ul&gt;
      &lt;li ng-repeat="d in Num"&gt;{{d &lt; 10 ? d= '0'+d : d}}&lt;/li&gt;
 &lt;/ul&gt;
</code></pre>

<p>But getting result like this:</p>

<pre><code>000000000001
000000000002
000000000003
000000000004
000000000005
000000000006
000000000007
000000000008
000000000009
10
11
12
13
14
15
</code></pre>

<p>How to fix this? or what is wrong here?</p>

<p><a href="http://plnkr.co/edit/i2xfLW5CPks9Y31YKYMV?p=preview" rel="nofollow">Live demo</a></p>