Hi Rob, Your code is ok, but you are running on the wrong moment. It will only work AFTER that angular finishes its work. A crude solution will be, running your code in a timeout, repeating it until your scope variable becomes available.
May I ask why you need this? 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.
