I'm having problems when i try to get the pasted data using ng-paste directive.
<input ng-model="evidence.url" ng-paste="getEvidenceInfos(evidence, $event.clipboardData.getData('text/plain'))">
When the jquery is loaded after angular, it works fine.
How to do when jquery is loaded before angular ?
<input ng-model="evidence.url" ng-paste="getEvidenceInfos(evidence, $event)">
$scope.getEvidenceInfos = function(evidence, event) {
$(event.currentTarget).val() // doesn't work
$(event.target).val() // doesn't work
}