>From the docs: "Angular services are singletons objects or functions that carry out specific tasks common to web apps."
So yes =) 2014-01-31 Yonatan Kra <[email protected]>: > I've just read it briefly in the docs. Would that be the place where I can > keep globals/constants and the likes? > Thanks > > > On Fri, Jan 31, 2014 at 1:50 PM, Bernhard Rode <[email protected]>wrote: > >> Have you had a look at Angular services? You may bind on to your Apps >> root. >> >> >> 2014-01-31 Yonatan Kra <[email protected]>: >> >>> Hi, >>> In my app, I need to keep one page active all the time (for instance - >>> the "incoming emails" page, which is updated all the time and I need to >>> keep track when new emails come in, keep new emails in bold, old emails >>> normal etc.). >>> Data coming in from the server is just new emails coming in - I don't >>> get anything else from the server (can't ask "backward" data, or state of >>> user) except on first page load when all the emails come in from the server >>> at the same time. >>> With "simple jqeury", I'd just use the "hide"/"show" and play with them >>> to keep this view on at all time, and just show it with the right route >>> request (i.e. #/inbox). >>> Is there a more "angular" way to do this? >>> Thanks >>> >>> -- >>> 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. >>> >> >> >> >> -- >> >> Bernhard Rode >> M.Sc. (Master of Computer Science and Media) >> >> fon +49.171.5629409 >> mail [email protected] >> twitter @ebbo >> >> google+ *google.com/+BernhardRode <http://www.google.com/+BernhardRode>* >> twitter twitter.com/ebbo >> facebook facebook.com/bernhard.rode >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "AngularJS" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/angular/2UYv3WdpSYk/unsubscribe. >> To unsubscribe from this group and all its topics, 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. >> > > -- > 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. > -- Bernhard Rode M.Sc. (Master of Computer Science and Media) fon +49.171.5629409 mail [email protected] twitter @ebbo google+ *google.com/+BernhardRode <http://www.google.com/+BernhardRode>* twitter twitter.com/ebbo facebook facebook.com/bernhard.rode -- 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.
