Will mention also that I am using ngRoute, not ui-router or similar. On Tuesday, 21 January 2014 10:08:06 UTC+11, Josh Schreuder wrote: > > Hi, > > I have noticed something recently whereby my controller is being executed > twice when refreshing the browser windows. Unfortunately I can't seem to > replicate this in a simple example. > > My routes are setup with a controller and templateUrl, however, navigating > to the route via a link does not execute the controller twice. If I am on > the route already and refresh, the controller is executed twice. > > I am not using route controller and ng-controller so that can be ruled out > as the cause (as my searching has already determined). > > I'll continue trying to replicate this in an example, but in the meantime, > any help would be much appreciated. >
-- 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/groups/opt_out.
