Personally, I use socket.io to handle websocket events and user presence indicators. Whenever $stateChangeSuccess fires, I ping socket.io with that event, and on my server I keep track of that stuff. But in general, you could listen for $stateChangeSuccess and do a $http.put or something.
Eric On Thu, Sep 18, 2014 at 9:05 AM, Christian Nwamba <[email protected] > wrote: > Hi! > Is there a way I can keep record of number of users that visit a particulr > route. > I am using UI route > > -- > 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.
