You don't want to run the controller again. A better approach is probably to move the functionality you want to run again into either a method that controller puts on $scope or a service.
--- R. Mark Volkmann Object Computing, Inc. > On Sep 24, 2014, at 7:04 AM, mark goldin <[email protected]> wrote: > > When I load a view for first time its controller runs automatically and > produces data for the view. Now I want to run the controller again since > parameters it uses got changed. How can I rerun my controller? > > 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. -- 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.
