ionicModal - ionNavBar required by directive ionNavButtons

I am trying to use $ionicModal from my Ionic Creator project.
Ideally, I would like to use the “fromTemplateUrl” API.

I created an HTML page in Creator.
The first issue I had was that it wasn’t completely clear what the .html file was called, but after I downloaded the project, I found it was named the same as the state.

The problem I have now is that when I call show(), I get the following error:
ionic.bundle.js:25642 Error: [$compile:ctreq] Controller ‘ionNavBar’, required by directive ‘ionNavButtons’, can’t be found!

If I use “fromTemplate” instead, it will appear just fine.

Is there something I’m doing wrong? Is there a better way of adding template HTML files?

Hey,

Did you find a solution, I have the same problem.