Guest User

Untitled

a guest
Feb 22nd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. angular.element(document.body).click(function(event){
  2. // Code
  3. }
  4.  
  5. var appElement = document.getElementById("MyApp");
  6. angular.bootstrap(appElement, ['MyApp']);
  7.  
  8. <div id="MyApp" ng-controller="MyApp">
  9. // Other HTML
  10. </div>
  11.  
  12. Uncaught TypeError: angular.element(...).click is not a function
  13.  
  14. m.fn.init [body.ms-backgroundImage, context: body.ms-backgroundImage]
  15. 0:body.ms-backgroundImage
  16. context:body.ms-backgroundImage
  17. length:1
  18. __proto__:Object(0)
  19.  
  20. m.fn.init [body.ms-backgroundImage]
  21. 0:body.ms-backgroundImage
  22. length:1
  23. __proto__:Object(0)
Add Comment
Please, Sign In to add comment