I am not sending updates to the server. Here is an example. The page is finished rendering. Now that user created the page and knows that a div exists with an ID that only he knows. Now he wants to hide this div. So he writes a rule to fire after rendering that will hide that div with a jQuery hide().
Where would that code go and how would it run? I don't understand how I can make it a directive. On Monday, November 9, 2015 at 6:56:22 AM UTC-6, Sander Elias wrote: > > Hi James, > > You should not store any data into the DOM. but instead store it inside > your model's using controllers. Then you have everything you need to know > handy when the user decides it's time to send the updates to the server. > > Regards > Sander > -- 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.
