jameskleeh / angular-confirm

Confirmation modal dialog for AngularJS
Apache License 2.0
150 stars 75 forks source link

Hardcoded interpolation symbols '{{' '}}' #35

Closed frozonfreak closed 8 years ago

frozonfreak commented 8 years ago

My project uses '[[' instead of '{{' as interpolation symbol Is it possible to change the symbols via configurations

jameskleeh commented 8 years ago

I don't think that is a common enough use case to warrant a parameter. You can simply use a custom template and it will meet your needs. You can define it in the $confirmModalDefaults.

JohnnyEvo commented 8 years ago

For the twig's user, it's common because "{{ }}" is the symbol for Twig too.

But your solution is ok, thank you :+1:

http://twig.sensiolabs.org/