{"action":"created","issue":{"url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer/issues/7","repository_url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer","labels_url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer/issues/7/comments","events_url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer/issues/7/events","html_url":"https://github.com/JohnnyTheTank/angular-bricklayer/issues/7","id":160066869,"number":7,"title":"Duplicate value on update for the array on scope.","user":{"login":"victorsosa","id":2557974,"avatar_url":"https://avatars.githubusercontent.com/u/2557974?v=3","gravatar_id":"","url":"https://api.github.com/users/victorsosa","html_url":"https://github.com/victorsosa","followers_url":"https://api.github.com/users/victorsosa/followers","following_url":"https://api.github.com/users/victorsosa/following{/other_user}","gists_url":"https://api.github.com/users/victorsosa/gists{/gist_id}","starred_url":"https://api.github.com/users/victorsosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorsosa/subscriptions","organizations_url":"https://api.github.com/users/victorsosa/orgs","repos_url":"https://api.github.com/users/victorsosa/repos","events_url":"https://api.github.com/users/victorsosa/events{/privacy}","received_events_url":"https://api.github.com/users/victorsosa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"JohnnyTheTank","id":6803264,"avatar_url":"https://avatars.githubusercontent.com/u/6803264?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnyTheTank","html_url":"https://github.com/JohnnyTheTank","followers_url":"https://api.github.com/users/JohnnyTheTank/followers","following_url":"https://api.github.com/users/JohnnyTheTank/following{/other_user}","gists_url":"https://api.github.com/users/JohnnyTheTank/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnyTheTank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnyTheTank/subscriptions","organizations_url":"https://api.github.com/users/JohnnyTheTank/orgs","repos_url":"https://api.github.com/users/JohnnyTheTank/repos","events_url":"https://api.github.com/users/JohnnyTheTank/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnyTheTank/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-06-13T23:28:24Z","updated_at":"2016-06-14T14:29:10Z","closed_at":null,"body":"Hi,\r\n\r\nIf I updated the appendData in the $scope with a new array values, it won't update correctly the array and the items get always append to the array. In my case the array get updated every 30seg. So it will always present new duplicate values.\r\n\r\n```\r\n<div class=\"bricklayer\" ng-cloak>\r\n    <!-- append -->\r\n    <div bricklayer-append ng-repeat=\"item in appendData\" ng-cloak></div>\r\n\r\n    <!-- prepend -->\r\n    <div bricklayer-prepend ng-repeat=\"item in prependData\" ng-cloak></div>\r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer/issues/comments/225899064","html_url":"https://github.com/JohnnyTheTank/angular-bricklayer/issues/7#issuecomment-225899064","issue_url":"https://api.github.com/repos/JohnnyTheTank/angular-bricklayer/issues/7","id":225899064,"user":{"login":"JohnnyTheTank","id":6803264,"avatar_url":"https://avatars.githubusercontent.com/u/6803264?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnyTheTank","html_url":"https://github.com/JohnnyTheTank","followers_url":"https://api.github.com/users/JohnnyTheTank/followers","following_url":"https://api.github.com/users/JohnnyTheTank/following{/other_user}","gists_url":"https://api.github.com/users/JohnnyTheTank/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnyTheTank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnyTheTank/subscriptions","organizations_url":"https://api.github.com/users/JohnnyTheTank/orgs","repos_url":"https://api.github.com/users/JohnnyTheTank/repos","events_url":"https://api.github.com/users/JohnnyTheTank/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnyTheTank/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T14:29:10Z","updated_at":"2016-06-14T14:29:10Z","body":"yes I know. \r\n\r\n> the problem is, that you should'nt just replace the array by another array. You should just add or remove items of/to this array that you loop through ng-repeat\r\n\r\nthis is the workaround for this component"}}
{"actor":{"display_login":"JohnnyTheTank"}}