$ dialog deprecated in version 1.0.8

I am new to angular and have inherited the project, so apologize in advance if this is a basic / bad question. I have a controller

.controller('myCtrl', function($dialog) {}

causing error

Error: Unknown provider: $dialogProvider <- $dialog

on another machine with the angular 1.0.7 $ dialog box, it seems to come from angular ui-bootstrap.js but is missing in 1.0.8. If this feature is deprecated, does anyone have a suggestion on how to replace it?

Thank you in advance

FROM

+4
source share
1 answer

Assuming we are talking about a service $dialogfrom http://angular-ui.imtqy.com/bootstrap/ than the service $dialog(and therefore your error), has absolutely nothing to do with the version of AngularJS.

http://angular-ui.imtqy.com/bootstrap/ 0.6.0 $dialog. $modal, API - ( API- $modal $dialog , ).

, , angular -ui/bootstrap (0.6.0), . , 0,5.0, .

+5

All Articles