This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Modal templateUrl can't be a function like UI-Router supports #2296
Comments
Okay I was actually able to do it like this:
Still, it's strange that templateUrl doesn't accept a function like UI-Router does. |
Hmm, OK, actually we could easily add a possibility to specify a function, this should be trivial to add. Fancy a PR? If not I can probably push a fix later today. |
Sorry, I'm still behind on reviewing pull requests on my own projects. I could maybe find time to create one sometime later this week, but it's probably a lot quicker if you could do it? Thank you! |
dearlordylord
pushed a commit
to dearlordylord/bootstrap
that referenced
this issue
Jun 18, 2014
dearlordylord
pushed a commit
to dearlordylord/bootstrap
that referenced
this issue
Jun 18, 2014
jurassic-c
pushed a commit
to jurassic-c/bootstrap
that referenced
this issue
Aug 6, 2014
OronNadiv
pushed a commit
to lanetix/bootstrap
that referenced
this issue
Nov 18, 2014
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to open a modal with a different template depending on the type of object I'm dealing with, but this seems impossible. The
template
option only takes a string.The template will literally be "function(...". In UI-Router
templateUrl
can be a function instead of a string, but that doesn't work here either.How could I achieve my goal?
The text was updated successfully, but these errors were encountered: