Hi, You will have to create a custom directive which gets the element and calls the jquery plugin. To be more generic you can create a pass through directive in the lines of
https://github.com/puxos/angular-ui-jq Or, you can go for jquery UI and angular implementation. For eg: https://angular-ui.github.io/#modules The json changes will have to be watched for in the directive to update the jquery plugin. On Wednesday, 28 October 2015 13:34:32 UTC+5:30, Sami Pietilä wrote: > > Hi, > > I am using angular to generate web page from json. When I modify the json, > angular modifies the web page accordingly just fine. > > After the json has been modified how/where do I make calls (for example: > $( ".datepicker" ).datepicker();) to activate jQueryUI components? I guess > this needs to be done only after angular is done with adjusting the web > page to json changes. > > 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.
