ng-change on select throwing an error
<p><strong>HTML</strong>  </p>

<p></p>

<pre><code>            &lt;tr dir-paginate="sale in payments | itemsPerPage: 6"&gt;
                &lt;td&gt;{{sale.date}}&lt;/td&gt;
                &lt;td&gt;{{sale.transaction_id}}&lt;/td&gt;
                &lt;td&gt;{{sale.artist_details.seller_num}}&lt;/td&gt;
                &lt;td&gt;{{sale.artist_details.name}}&lt;/td&gt;
                &lt;td&gt;{{sale.exc_vat}} Kr&lt;/td&gt;
                &lt;td&gt;{{sale.total_price}}&lt;/td&gt;
                &lt;td&gt;&lt;select ng-change="released()" ng-options="released.item  for released in releasedSeller.options" ng-model="released" &gt;&lt;/select&gt;&lt;span&gt;{{released.item}}&lt;/span&gt;&lt;/td&gt;
            &lt;/tr&gt;
</code></pre>

<p><strong>CONTROLLER</strong></p>

<pre><code> $scope.released=function() {
        console.log('pending');
    }
    $scope.releasedSeller = {
        options : [{
                item: 'Pending'
                }, {
                item: 'Released'
            }]
    }
</code></pre>

<p>I am using ng-change to call a function in selectbox. but i can get the options data,it is wrapping the controller, i am getting the payments data here from the controller.i am using the controller by mentioning in app.js (ui-router) but when i select some option, it is throwing an error as below.</p>

<pre><code>angular.js:13236 TypeError: v2.released is not a function
at fn (eval at compile (angular.js:14086), &lt;anonymous&gt;:4:215)
</code></pre>