-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate inside ng-if can cause duplicates with Angular 1.2 #18
Comments
This is not an angular-gettext bug, it's angular/angular.js#4852 |
I just came across this... Quick question, it will not ever be possible to have translations inside |
If anyone comes up with a fix, I'd love to have it. Haven't found a good You can easily work around it by adding an extra div or span.
|
You mean extra div or span inside the Maybe I did something wrong, will have to try again... That would be a work around that I wouldn't mind much. |
This should work: <a ng-click="doSomething()" ng-if="showLink">
<span translate>Do something!</span>
</a> |
Yeah, I forgot to mention that I had tested again and it worked. I might have done something wrong the first time I tried it. Thanks, and sorry for the trouble. |
No description provided.
The text was updated successfully, but these errors were encountered: