Angular Unknown provider: $modalProvider <- $modal <- Controller

14,065

Angular UI Bootstrap renamed the $modal directive to $uibModal in version 0.14.0.

Also note that $modalInstance is now $uibModalInstance.

See the Angular UI Bootstrap documentation for Modal here.

Share:
14,065
James Gentes
Author by

James Gentes

I'm a product manager, full stack developer, and growth marketer with a passion for intuitive design and hacking code. I currently manage an engineering team at Cloudflare in the Emerging Tech &amp; Incubation group where we are helping build a better internet through serverless applications, the next frontier of edge computing. I was previously co-founder and CEO of Tend.ai, a company changing the world with robots. We build software that allows people to control robots with their mobile devices. It's making smart manufacturing easier than it's ever been. Formerly in my career, I managed a $100M global product line for 7 years while at Symantec. I built the official MTV News and People Magazine apps for the iPhone. I patented a method for clustering virtual machines (http://buff.ly/HsIXSG). I started a social media and SEO firm called The Social Business (@thesocialbiz), where I built a social business analytics app in Python and sold it to a NY venture firm called Innovation Garden (http://www.innovationgarden.com) in 2014. My previous startup was StartupCommunity.org, which I built using Node and Angular. While doing that, I was also an EIR in the CTO office of Itron, where I helped them build new lines of business around IoT and Smart Cities. I was also chairman of the Tech Alliance of Central Oregon 501(c)3, I organized BendTech (http://bendtech.com), a co-working facility for startups, I have pitched at the Bend Venture Conference, and I am a mentor and alumni of the FoundersPad business accelerator program. I've got two sons who love soccer, role playing games, and stand up paddleboarding on the Deschutes. It's really hard to beat building a startup and raising a family in Central Oregon.

Updated on June 15, 2022

Comments

  • James Gentes
    James Gentes about 2 years

    After upgrading to angular-bootstrap 1.2, this error occurred when loading my app:

    Unknown provider: $modalProvider <- $modal <- Controller

  • Mike Gledhill
    Mike Gledhill almost 8 years
    (Just wasted an hour trying to get around this problem... I didn't realise they'd renamed it... I need a beer..)
  • Simon Savai
    Simon Savai about 4 years
    I also need a beer! Thanks for the fix here though :)