title: Loop up to number in angularjs
body: <p>I'm sure this is really simple, but I'm only just starting with angular. I have a property.price variable which is either 1, 2 or 3.  I wish to display this as £, ££, or £££.</p>
  
  <p>I can display "Price: 2" by going: </p>
  
  <pre><code>Price: {{ price = property.price}}
  </code></pre>
  
  <p>But I'm getting a bit confused.</p>
  
  <pre><code>&lt;span ng-repeat="n in [] | range:property.price" &gt;£&lt;/span&gt;
  </code></pre>