$timeout(function() { angular.element("#"+idelement+" input").trigger("click"); }, 100);
Nota: Agregar la dependencia $timeout al controller
Fuente: https://coderwall.com/p/udpmtq/angularjs-use-timeout-not-settimeout
$timeout(function() { angular.element("#"+idelement+" input").trigger("click"); }, 100);
Nota: Agregar la dependencia $timeout al controller
Fuente: https://coderwall.com/p/udpmtq/angularjs-use-timeout-not-settimeout