{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/7779","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/7779/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/7779/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/7779/events","html_url":"https://github.com/driftyco/ionic/issues/7779","id":171958072,"number":7779,"title":"Potential Issue in loadercontroller","user":{"login":"anand-ma","id":9460816,"avatar_url":"https://avatars.githubusercontent.com/u/9460816?v=3","gravatar_id":"","url":"https://api.github.com/users/anand-ma","html_url":"https://github.com/anand-ma","followers_url":"https://api.github.com/users/anand-ma/followers","following_url":"https://api.github.com/users/anand-ma/following{/other_user}","gists_url":"https://api.github.com/users/anand-ma/gists{/gist_id}","starred_url":"https://api.github.com/users/anand-ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anand-ma/subscriptions","organizations_url":"https://api.github.com/users/anand-ma/orgs","repos_url":"https://api.github.com/users/anand-ma/repos","events_url":"https://api.github.com/users/anand-ma/events{/privacy}","received_events_url":"https://api.github.com/users/anand-ma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T17:37:22Z","updated_at":"2016-08-18T17:37:22Z","closed_at":null,"body":"#### Short description of the problem:\r\nI create a loader in controller and presenting and dismissing it every time i need, it throws error\r\nORIGINAL EXCEPTION: Attempt to use a destroyed view: detectChanges\r\n#### What behavior are you expecting?\r\nIt should work\r\n\r\n\r\nIn my constructeor calling a function with below content\r\n\r\n```\r\n    this.loader = this.loadingController.create({\r\n      content: 'Please wait...',\r\n      spinner: 'bubbles'\r\n    });```\r\n\r\nloader - class property\r\nin my custom function i call \r\n```this.loader.present();\r\n```\r\nand\r\n```\r\nthis.loader.dismiss();\r\n\r\nto launch and dismiss the overlay. \r\n\r\n\r\nIf i call this.loadingController.create every time i want to present a overlay it works. Is this the way it is designed or is this a bug?"}}
{"actor":{"display_login":"anand-ma"}}