Would there be possibility of ng-directive's link function's parameter 
element's instance to be a different value between "general angularJS" vs 
"Ionic framework"?

I am in middle of converting my MEAN stack web app into mobile app using 
Ionic framework, since the element instance that I am getting with 
angular.element(element) within link function gives me a value that I can 
not query through ng-directive's template HTML, I will have to use general 
jquery to find that element which seems to take longer..?

*[general ng-directive link function:]*

console.log("test:", angular.element(element));

and debug console shows below-->

test: [div]0: divlength: 1__proto__: Object[0]
test: [div.ng-scope, selector: "", context: div.ng-scope]0: 
div.ng-scopecontext: div.ng-scopelength: 1selector: ""*proto*: n[0]

*[Ionic framework ion-conent ng-directive link function:]*

console.log("test:", angular.element(element));

and debug console shows below-->

test: [div]0: divlength: 1__proto__: Object[0]

-- 
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.

Reply via email to