Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

TypeError when opening a $uibModel dialog #5962

Closed
MacDschie opened this issue Jun 5, 2016 · 1 comment
Closed

TypeError when opening a $uibModel dialog #5962

MacDschie opened this issue Jun 5, 2016 · 1 comment

Comments

@MacDschie
Copy link

Bug description:

Suddenly, when I try to call $uibModal.open(), I get an error:

TypeError: providedScope.$new is not a function at resolveSuccess (ui-bootstrap-tpls.js:4187)

The code worked fine until today and it didn't change since it was originally programmed. Also my package versions didn't change except for Angular, it was upgraded from 1.4.3 to 1.4.8 some days ago because of some problems in some other ui-bootstrap component. Does anyone know what's going on here?

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/ona2O9zdhdI7zyL18bX2

Version of Angular, UIBS, and Bootstrap

Angular: 1.4.8

UIBS: 1.2.5

Bootstrap: 3.3.6

@MacDschie
Copy link
Author

Sorry guys, for opening this issue pre-maturely, I found the bug in my code which calls the factory. Please consider the issue as never opened. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant