{"action":"closed","number":3811,"pull_request":{"url":"https://api.github.com/repos/driftyco/ionic/pulls/3811","id":36012693,"html_url":"https://github.com/driftyco/ionic/pull/3811","diff_url":"https://github.com/driftyco/ionic/pull/3811.diff","patch_url":"https://github.com/driftyco/ionic/pull/3811.patch","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/3811","number":3811,"state":"closed","locked":false,"title":"[ionicHistory] add method to remove the back view","user":{"login":"ashconnell","id":760516,"avatar_url":"https://avatars.githubusercontent.com/u/760516?v=3","gravatar_id":"","url":"https://api.github.com/users/ashconnell","html_url":"https://github.com/ashconnell","followers_url":"https://api.github.com/users/ashconnell/followers","following_url":"https://api.github.com/users/ashconnell/following{/other_user}","gists_url":"https://api.github.com/users/ashconnell/gists{/gist_id}","starred_url":"https://api.github.com/users/ashconnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashconnell/subscriptions","organizations_url":"https://api.github.com/users/ashconnell/orgs","repos_url":"https://api.github.com/users/ashconnell/repos","events_url":"https://api.github.com/users/ashconnell/events{/privacy}","received_events_url":"https://api.github.com/users/ashconnell/received_events","type":"User","site_admin":false},"body":"solves issue #3750\r\n\r\nAdds a method `$ionicHistory.removeBackView()` which removes the cached view, element, scope, and rejigs the history. I'm already using this in production in various use-cases. \r\n\r\nThis predominantly solves the issue where in most angular applications you can use `$state.go('app.foo', { location: 'replace' })` except in ionic, the history is managed manually - this is the solution.\r\n\r\nWould be good to have it part of the core!\r\n\r\nI'm working on the method `$ionicHistory.removeFromHistory(stateName/id)` which we also need for our app - and the ionic community would also benefit from this going forward. Keep an eye out.","created_at":"2015-05-22T09:10:47Z","updated_at":"2016-04-15T14:55:44Z","closed_at":"2016-04-15T14:55:44Z","merged_at":"2016-04-15T14:55:44Z","merge_commit_sha":"678c1651838f2f1fc91d5ae9ba293717fd807440","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/driftyco/ionic/pulls/3811/commits","review_comments_url":"https://api.github.com/repos/driftyco/ionic/pulls/3811/comments","review_comment_url":"https://api.github.com/repos/driftyco/ionic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/3811/comments","statuses_url":"https://api.github.com/repos/driftyco/ionic/statuses/e3c1147e5f60dafe4b7a091bf79efad350a1474c","head":{"label":"ashconnell:ionicHistory-removeBackView","ref":"ionicHistory-removeBackView","sha":"e3c1147e5f60dafe4b7a091bf79efad350a1474c","user":{"login":"ashconnell","id":760516,"avatar_url":"https://avatars.githubusercontent.com/u/760516?v=3","gravatar_id":"","url":"https://api.github.com/users/ashconnell","html_url":"https://github.com/ashconnell","followers_url":"https://api.github.com/users/ashconnell/followers","following_url":"https://api.github.com/users/ashconnell/following{/other_user}","gists_url":"https://api.github.com/users/ashconnell/gists{/gist_id}","starred_url":"https://api.github.com/users/ashconnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashconnell/subscriptions","organizations_url":"https://api.github.com/users/ashconnell/orgs","repos_url":"https://api.github.com/users/ashconnell/repos","events_url":"https://api.github.com/users/ashconnell/events{/privacy}","received_events_url":"https://api.github.com/users/ashconnell/received_events","type":"User","site_admin":false},"repo":{"id":36062166,"name":"ionic","full_name":"ashconnell/ionic","owner":{"login":"ashconnell","id":760516,"avatar_url":"https://avatars.githubusercontent.com/u/760516?v=3","gravatar_id":"","url":"https://api.github.com/users/ashconnell","html_url":"https://github.com/ashconnell","followers_url":"https://api.github.com/users/ashconnell/followers","following_url":"https://api.github.com/users/ashconnell/following{/other_user}","gists_url":"https://api.github.com/users/ashconnell/gists{/gist_id}","starred_url":"https://api.github.com/users/ashconnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashconnell/subscriptions","organizations_url":"https://api.github.com/users/ashconnell/orgs","repos_url":"https://api.github.com/users/ashconnell/repos","events_url":"https://api.github.com/users/ashconnell/events{/privacy}","received_events_url":"https://api.github.com/users/ashconnell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashconnell/ionic","description":"Advanced HTML5 mobile development framework and SDK. Build incredible hybrid apps with web technologies you already know and love. Best friends with AngularJS.","fork":true,"url":"https://api.github.com/repos/ashconnell/ionic","forks_url":"https://api.github.com/repos/ashconnell/ionic/forks","keys_url":"https://api.github.com/repos/ashconnell/ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashconnell/ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashconnell/ionic/teams","hooks_url":"https://api.github.com/repos/ashconnell/ionic/hooks","issue_events_url":"https://api.github.com/repos/ashconnell/ionic/issues/events{/number}","events_url":"https://api.github.com/repos/ashconnell/ionic/events","assignees_url":"https://api.github.com/repos/ashconnell/ionic/assignees{/user}","branches_url":"https://api.github.com/repos/ashconnell/ionic/branches{/branch}","tags_url":"https://api.github.com/repos/ashconnell/ionic/tags","blobs_url":"https://api.github.com/repos/ashconnell/ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashconnell/ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashconnell/ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashconnell/ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashconnell/ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/ashconnell/ionic/languages","stargazers_url":"https://api.github.com/repos/ashconnell/ionic/stargazers","contributors_url":"https://api.github.com/repos/ashconnell/ionic/contributors","subscribers_url":"https://api.github.com/repos/ashconnell/ionic/subscribers","subscription_url":"https://api.github.com/repos/ashconnell/ionic/subscription","commits_url":"https://api.github.com/repos/ashconnell/ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashconnell/ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashconnell/ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashconnell/ionic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashconnell/ionic/contents/{+path}","compare_url":"https://api.github.com/repos/ashconnell/ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashconnell/ionic/merges","archive_url":"https://api.github.com/repos/ashconnell/ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashconnell/ionic/downloads","issues_url":"https://api.github.com/repos/ashconnell/ionic/issues{/number}","pulls_url":"https://api.github.com/repos/ashconnell/ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/ashconnell/ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/ashconnell/ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashconnell/ionic/labels{/name}","releases_url":"https://api.github.com/repos/ashconnell/ionic/releases{/id}","deployments_url":"https://api.github.com/repos/ashconnell/ionic/deployments","created_at":"2015-05-22T08:51:02Z","updated_at":"2015-05-22T08:51:05Z","pushed_at":"2015-05-23T09:34:36Z","git_url":"git://github.com/ashconnell/ionic.git","ssh_url":"git@github.com:ashconnell/ionic.git","clone_url":"https://github.com/ashconnell/ionic.git","svn_url":"https://github.com/ashconnell/ionic","homepage":"http://ionicframework.com/","size":37940,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"driftyco:master","ref":"master","sha":"af1bfef327e685585244c6051c4d38b98aa6c62a","user":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"repo":{"id":12256376,"name":"ionic","full_name":"driftyco/ionic","owner":{"login":"driftyco","id":3171503,"avatar_url":"https://avatars.githubusercontent.com/u/3171503?v=3","gravatar_id":"","url":"https://api.github.com/users/driftyco","html_url":"https://github.com/driftyco","followers_url":"https://api.github.com/users/driftyco/followers","following_url":"https://api.github.com/users/driftyco/following{/other_user}","gists_url":"https://api.github.com/users/driftyco/gists{/gist_id}","starred_url":"https://api.github.com/users/driftyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driftyco/subscriptions","organizations_url":"https://api.github.com/users/driftyco/orgs","repos_url":"https://api.github.com/users/driftyco/repos","events_url":"https://api.github.com/users/driftyco/events{/privacy}","received_events_url":"https://api.github.com/users/driftyco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/driftyco/ionic","description":"Advanced HTML5 mobile development framework and SDK. Build incredible mobile apps with web technologies you already know and love. Best friends with AngularJS.","fork":false,"url":"https://api.github.com/repos/driftyco/ionic","forks_url":"https://api.github.com/repos/driftyco/ionic/forks","keys_url":"https://api.github.com/repos/driftyco/ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driftyco/ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driftyco/ionic/teams","hooks_url":"https://api.github.com/repos/driftyco/ionic/hooks","issue_events_url":"https://api.github.com/repos/driftyco/ionic/issues/events{/number}","events_url":"https://api.github.com/repos/driftyco/ionic/events","assignees_url":"https://api.github.com/repos/driftyco/ionic/assignees{/user}","branches_url":"https://api.github.com/repos/driftyco/ionic/branches{/branch}","tags_url":"https://api.github.com/repos/driftyco/ionic/tags","blobs_url":"https://api.github.com/repos/driftyco/ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driftyco/ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driftyco/ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/driftyco/ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driftyco/ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/driftyco/ionic/languages","stargazers_url":"https://api.github.com/repos/driftyco/ionic/stargazers","contributors_url":"https://api.github.com/repos/driftyco/ionic/contributors","subscribers_url":"https://api.github.com/repos/driftyco/ionic/subscribers","subscription_url":"https://api.github.com/repos/driftyco/ionic/subscription","commits_url":"https://api.github.com/repos/driftyco/ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/driftyco/ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/driftyco/ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/driftyco/ionic/issues/comments{/number}","contents_url":"https://api.github.com/repos/driftyco/ionic/contents/{+path}","compare_url":"https://api.github.com/repos/driftyco/ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driftyco/ionic/merges","archive_url":"https://api.github.com/repos/driftyco/ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driftyco/ionic/downloads","issues_url":"https://api.github.com/repos/driftyco/ionic/issues{/number}","pulls_url":"https://api.github.com/repos/driftyco/ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/driftyco/ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/driftyco/ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driftyco/ionic/labels{/name}","releases_url":"https://api.github.com/repos/driftyco/ionic/releases{/id}","deployments_url":"https://api.github.com/repos/driftyco/ionic/deployments","created_at":"2013-08-20T23:06:02Z","updated_at":"2016-04-15T13:37:03Z","pushed_at":"2016-04-15T14:55:44Z","git_url":"git://github.com/driftyco/ionic.git","ssh_url":"git@github.com:driftyco/ionic.git","clone_url":"https://github.com/driftyco/ionic.git","svn_url":"https://github.com/driftyco/ionic","homepage":"http://ionicframework.com/","size":73433,"stargazers_count":23341,"watchers_count":23341,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4456,"mirror_url":null,"open_issues_count":509,"forks":4456,"open_issues":509,"watchers":23341,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/3811"},"html":{"href":"https://github.com/driftyco/ionic/pull/3811"},"issue":{"href":"https://api.github.com/repos/driftyco/ionic/issues/3811"},"comments":{"href":"https://api.github.com/repos/driftyco/ionic/issues/3811/comments"},"review_comments":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/3811/comments"},"review_comment":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/driftyco/ionic/pulls/3811/commits"},"statuses":{"href":"https://api.github.com/repos/driftyco/ionic/statuses/e3c1147e5f60dafe4b7a091bf79efad350a1474c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":2,"additions":31,"deletions":0,"changed_files":1}}