I got it fixed. LOL! I injected the $state to the function rather than the 
controller. I used ng-change to call a function that calls $state.go to the 
state main.graph.display :)

On Thursday, April 24, 2014 12:56:42 PM UTC-5, Ronneil Camara wrote:
>
> Hey guys,
>
> How do we call a state in a select dropdown when we click on an item? I'm 
> not sure if it's going to be ui-sref or $state.go. An example would be 
> awesome!
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to