I'm having a problem, when loading an HTML block of the page via angular, the elements that have the class ".datepicker", activate the jquery of the "datepicker" plugin, however, so I noticed, the action that binds of this block is occurring after the elements are loaded.
I researched, commented on the use of $ watch and $ on, we are calling HTML / JS from datepicker, as follows:
Calling the datepicker:
$('.datepicker').datepicker():
Element (This element is inside an ng-controller and an ng-repeat):
<input class="datepicker" />
This input is inside an "ng-controller" and an "ng-repeat", a directive is not being used, is there any way to trigger an event after block loading?