what provided functionality of angular-ui jquery passthrough , angular.element()?
are interchangeable? jquery passthrough additional options on angular.element()?
any examples out there might demonstrate power of each in ng-app?
you confusing 2 unrelated pieces of code.
passthru simple wrapper enables call jquery method on dom element without creating new directive.
angular.element()
javascript method returns dom element. if injected jquery first angular.element() === jquery() ==== $()
passthru not special, , angular.element()
isn't needed because $element
provided linking function.
Comments
Post a Comment