in the example above the factory take one argument username and return a synch object , but in the controller Line 13 they passed a string that doesnt look like a username wich is "Agile Code Camp: Firebase Angular Sample App" why ? , and in the html also at Line 11 they print this synchronized id but it contain same username from the controller and not a hashed timestamp <h3>Edit {{ profile.$id }}</h3> ?? can sombody understand this code ?
that code is strange ! right ?
samertaha 0 Newbie Poster
samertaha 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.