how to change mobile-angular-ui "ui-state" from controller code
<p>I am maintaining a state as follows</p>

<pre><code>&lt;ui-state id='activeScreen' default='1'&gt;&lt;/ui-state&gt;
</code></pre>

<p>I am able to change the state as follows</p>

<pre><code>&lt;a href="#" ui-set="{'activeScreen': 2}"&gt;click here&lt;/a&gt;
</code></pre>

<p>How to change the state from the controller code?</p>