Open GaurangGhinaiya opened 8 years ago
The problem is here: https://github.com/jacobscarter/angular-countdown/blob/master/dist/angularcountdown.js#L1223
Instead of angular.element('#myIdHere')
it needs to be something like:
angular.element( document.querySelector( '#myIdHere' ) );
I will fix it and republish the repo as soon as possible but if you need an immediate fix you can change the source code to use the method above.
One more thing i am using this with ng-repeat so take cate of that as well. Because with ng-repeat there is same id multiple time.
When i try to use this directive with ionic then i am getting this error.
[jqLite:nosel] Looking up elements via selectors is not supported by jqLite!
So how could resolved it.