I would like to have a proof of concept where, at 1 second intervals (say), an AngularJS application makes an Ajax request and makes the resultant object (from JSON) available to items in a particular scope, so that a regular repeater can be used to build out HTML for part of the page, based on the JSON.
I'm not clear what is and isn't kosher while using the scope; it looks to me like a setInterval function with appropriate closures could see the scope that is desired. I'm a newcomer, and I'd appreciate any links or clarifications, as well as code, clarifying "This is how it makes sense to do Comet with AngularJS". Thanks, CJS Hayward http://JonathansCorner.com -- 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.
