{"action":"created","issue":{"url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/issues/52","labels_url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/issues/52/comments","events_url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/issues/52/events","html_url":"https://github.com/adonespitogo/angular-base64-upload/pull/52","id":107260937,"number":52,"title":"remove tampering with form state","user":{"login":"stefanotorresi","id":2952427,"avatar_url":"https://avatars.githubusercontent.com/u/2952427?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanotorresi","html_url":"https://github.com/stefanotorresi","followers_url":"https://api.github.com/users/stefanotorresi/followers","following_url":"https://api.github.com/users/stefanotorresi/following{/other_user}","gists_url":"https://api.github.com/users/stefanotorresi/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanotorresi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanotorresi/subscriptions","organizations_url":"https://api.github.com/users/stefanotorresi/orgs","repos_url":"https://api.github.com/users/stefanotorresi/repos","events_url":"https://api.github.com/users/stefanotorresi/events{/privacy}","received_events_url":"https://api.github.com/users/stefanotorresi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-18T19:14:59Z","updated_at":"2015-09-23T10:04:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/pulls/52","html_url":"https://github.com/adonespitogo/angular-base64-upload/pull/52","diff_url":"https://github.com/adonespitogo/angular-base64-upload/pull/52.diff","patch_url":"https://github.com/adonespitogo/angular-base64-upload/pull/52.patch"},"body":"this PR reverts #47, which is causing any form containing a `base-sixty-four-input` being initialized with `$dirty = true` and `$pristine = false`.\r\n\r\ni don't know what's the deal with that change in #47, because removing it still makes the tests pass.\r\n"},"comment":{"url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/issues/comments/142552674","html_url":"https://github.com/adonespitogo/angular-base64-upload/pull/52#issuecomment-142552674","issue_url":"https://api.github.com/repos/adonespitogo/angular-base64-upload/issues/52","id":142552674,"user":{"login":"stefanotorresi","id":2952427,"avatar_url":"https://avatars.githubusercontent.com/u/2952427?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanotorresi","html_url":"https://github.com/stefanotorresi","followers_url":"https://api.github.com/users/stefanotorresi/followers","following_url":"https://api.github.com/users/stefanotorresi/following{/other_user}","gists_url":"https://api.github.com/users/stefanotorresi/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanotorresi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanotorresi/subscriptions","organizations_url":"https://api.github.com/users/stefanotorresi/orgs","repos_url":"https://api.github.com/users/stefanotorresi/repos","events_url":"https://api.github.com/users/stefanotorresi/events{/privacy}","received_events_url":"https://api.github.com/users/stefanotorresi/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T10:04:42Z","updated_at":"2015-09-23T10:04:42Z","body":"> Again, the point for setting the initial value to null was to activate the required state of the input field.\r\n\r\ni see, but then [this test](https://github.com/stefanotorresi/angular-base64-upload/blob/fix-form-initialized-as-dirty/test/angular-base64-upload.spec.js#L452) should not pass with my change; either the test or the implementation is not working properly :)"}}