cgross / angular-busy

Show busy/loading indicators on any element during $http requests (or any promise).
http://cgross.github.io/angular-busy/demo
MIT License
1.44k stars 256 forks source link

{{$message}} conflict with Twig #47

Open evaldoprestes opened 9 years ago

evaldoprestes commented 9 years ago

The template below causes conflicts when using in templates Twig, showing only the message $ message {{}}. For those using Twig templates, you must change the default delimiters AngularJS. example:

interpolateProvider.startSymbol $ ('[['); interpolateProvider.endSymbol $ (']]');

To work, made ​​the following temporary change:

From:

$ {{message}} </ div> To:
[[$ message]] </ div>

aldarund commented 9 years ago

Same issue when using it with django. It should be probably use $interpolate.startSymbol() and $interpolate.endSymbol();

aldarund commented 9 years ago

I have created a pull request with fix for this https://github.com/cgross/angular-busy/pull/63

th0th commented 9 years ago

I am experiencing same issue with django. Will the pr be merged soon?

pbassut commented 8 years ago

+1 Same thing here.

pinkgom commented 8 years ago

+1