Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Compatibility with Angular-Translate #12

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

wesleymilan
Copy link

When you use ng-busy with Angular-Translate or any kind of variable from scope inside the tag it prints the raw content instead of value of the variable. This commit fix that issue allowing variables and filters inside the button.

Best regards

@grbsk
Copy link
Owner

grbsk commented Jul 1, 2015

Well, this broke some stuff, so we need to back up here. Can you provide a sample or test case highlighting the issue?

@wesleymilan
Copy link
Author

Sorry about that, we're running a project and just intent to collaborate. We're using to render this view:

<button busy busy-disabled type="submit" class="btn btn-success" ng-disabled="!formUser.$valid">
    <busy-message><i class="fa fa-refresh fa-spin"></i> {{'please-wait' | translate}}</busy-message>
    <original-message>{{'button-signup' | translate}}</original-message>
</button>

With the original version what appears in button is {{'button-signup' | translate}} instead of "Sign up" for example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants