Can you provide a live working demo and link to a repo?

And which text box is being synced across browsers? I don't see how two
different clients would be able to sync data without talking to a remote
server, so I'm guessing there's something going on there.

On Thu, Jan 21, 2016 at 9:04 AM, Eric Magers <[email protected]>
wrote:

> Hey Gordon,
>
> thanks for your reply!
>
> I am actually using MongoDB for the database, but it's my understanding
> that nothing is stored server-side until a call is made to the Auth service
> to login. Is that not correct? Like I said, I'm new to this all, so any
> insight you could give would help.
>
> On Thursday, January 21, 2016 at 8:45:06 AM UTC-8, Gordon Zhu wrote:
>>
>> 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.
>

-- 
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.

Reply via email to