title: angularjs : cannot call method from list comprehension in select
body: <p>Im new to angularjs. Im trying to invoke a method from a list comprehension but unfortunately the script failes. take a look at the plunk <a href="http://plnkr.co/5uPj81" rel="nofollow">http://plnkr.co/5uPj81</a>.</p>
  
  <p>when using a scope variable like the code below, everything works fine</p>
  
  <pre><code>Province:&lt;select ng-model="portinForm.address.provinceCode" ng-options="province.code for province in ProvinceList"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>however, when using a method to get the array, i get an exception </p>
  
  <pre><code>Province:&lt;select ng-model="portinForm.address.provinceCode" ng-options="province.code for province in getProvinceList()"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>Exception:</p>
  
  <pre><code>Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
  Watchers fired in the last 5 iterations: [[{"msg":"fn: regularInterceptedExpression","newVal":16,"oldVal":14}],[{"msg":"fn: regularInterceptedExpression","newVal":18,"oldVal":16}],[{"msg":"fn: regularInterceptedExpression","newVal":20,"oldVal":18}],[{"msg":"fn: regularInterceptedExpression","newVal":22,"oldVal":20}],[{"msg":"fn: regularInterceptedExpression","newVal":24,"oldVal":22}]]
  http://errors.angularjs.org/1.3.4/$rootScope/infdig?p0=10&amp;p1=%5B%5B%7B%22ms…rInterceptedExpression%22%2C%22newVal%22%3A24%2C%22oldVal%22%3A22%7D%5D%5D
  </code></pre>
  
  <p>doesnt angular support this! or am I doing something worng.</p>
  
  <p>thanks</p>