Why not just create a directive? Just restrict : 'A' and put the attribute on each html element you want to bind to?
On Wednesday, January 7, 2015 at 1:47:15 AM UTC-8, biswarup dasgupta wrote: > > Hi, > > Is there any way to bind the same javascript object to different html > pages apart from having the object in rootScope ? Any pointers are welcome. > > 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/d/optout.
