I can't tell from your plnkr, but it looks like you're using some sort of real-time database like firebase.
Firebase will in real-time sync the same data across different clients, so I'm guessing that's what you're seeing. To get around this, you'll want to save data in different locations for each logged-in user. On Wednesday, January 20, 2016 at 9:02:35 AM UTC-8, Eric Magers wrote: > > Hello everyone, > > I'm fairly new to Angular and I guess I'm not understanding why this is > happening... > > My issue is that when I have two browsers open, whether its on the same > computer or separate computers, any time I enter anything in say a text > box, that same input is then displayed in all the browsers text boxes. I do > have two-way binding, but I didn't think this would extend to binding these > variables to all the different browsers as well. I also have a page with > ngTabs, and any browsers on that page will always be on the same tab (so if > one person changes tabs, it changes the tabs for all the users). > > I have seen some people use local storage, which looks like a hassle since > I would have to store any data that's not ready to be sent to the server > locally, and I was wondering if there's another way around this. > > Below is my view and controller for my login page, if there's anything > else that would be useful to see just let me know. Thanks. > > http://plnkr.co/edit/tfQ64mKOIGNJnJcrIOhC?p=info > -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
