{"action":"closed","issue":{"url":"https://api.github.com/repos/remotty/angular-ladda/issues/44","repository_url":"https://api.github.com/repos/remotty/angular-ladda","labels_url":"https://api.github.com/repos/remotty/angular-ladda/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/remotty/angular-ladda/issues/44/comments","events_url":"https://api.github.com/repos/remotty/angular-ladda/issues/44/events","html_url":"https://github.com/remotty/angular-ladda/issues/44","id":138757373,"number":44,"title":"Throws error when button is inside the form","user":{"login":"maddygoround","id":7420749,"avatar_url":"https://avatars.githubusercontent.com/u/7420749?v=3","gravatar_id":"","url":"https://api.github.com/users/maddygoround","html_url":"https://github.com/maddygoround","followers_url":"https://api.github.com/users/maddygoround/followers","following_url":"https://api.github.com/users/maddygoround/following{/other_user}","gists_url":"https://api.github.com/users/maddygoround/gists{/gist_id}","starred_url":"https://api.github.com/users/maddygoround/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddygoround/subscriptions","organizations_url":"https://api.github.com/users/maddygoround/orgs","repos_url":"https://api.github.com/users/maddygoround/repos","events_url":"https://api.github.com/users/maddygoround/events{/privacy}","received_events_url":"https://api.github.com/users/maddygoround/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-06T05:38:04Z","updated_at":"2016-07-25T02:18:43Z","closed_at":"2016-07-25T02:18:43Z","body":"When applying ladda to the button which is within the form then its throws error\r\n\r\nTypeError: r[0].querySelector is not a function\r\n    at link (http://localhost/loopin/bower_components/angular-ladda/dist/angular-ladda.min.js:2:880)\r\n    at ka (http://localhost/loopin/bower_components/angular/angular.min.js:79:16)\r\n    at u (http://localhost/loopin/bower_components/angular/angular.min.js:66:326)\r\n    at g (http://localhost/loopin/bower_components/angular/angular.min.js:58:136)\r\n    at u (http://localhost/loopin/bower_components/angular/angular.min.js:66:270)\r\n    at g (http://localhost/loopin/bower_components/angular/angular.min.js:58:136)\r\n    at g (http://localhost/loopin/bower_components/angular/angular.min.js:58:153)\r\n    at g (http://localhost/loopin/bower_components/angular/angular.min.js:58:153)\r\n    at g (http://localhost/loopin/bower_components/angular/angular.min.js:58:153)\r\n    at g (http://localhost/loopin/bower_components/angular/angular.min.js:58:153) \r\n\r\nWhen button is outside the form everything works fine.\r\n"}}
{"actor":{"display_login":"maddygoround"}}