{"type":"rich","version":"1.0","title":"Injecting uibModalInstance to a controller that is not always invoked by uibModal\n\n(SOLUTION, original plunkr was: 9rfHtE0PHXPhC5Kcyb7P)","author_name":"germanger","author_url":"https://plnkr.co/users/germanger","provider_name":"Plunker","provider_url":"https://plnkr.co","html":"<iframe id=\"plnkr_embed_ZasHQhl6M5cCc9yaZTd5\" class=\"plnkr_embed_iframe\" style=\"width: 100%; overflow: hidden;\" src=\"https://embed.plnkr.co/plunk/ZasHQhl6M5cCc9yaZTd5?autoCloseSidebar&deferRun&show=preview\" width=\"600\" height=\"400\" frameborder=\"0\" scrolling=\"no\"></iframe>","width":600,"height":400,"thumbnail_url":"https://shot.plnkr.co/ZasHQhl6M5cCc9yaZTd5.png?d=2016-06-11T21%3A06%3A03.540Z","thumbnail_width":400,"thumbnail_height":300}