I am using angularJS translate directive to translate self employed
to german like this
span(translate="translation_id")
and it gives me the following translation Selbstständig
which is correct.
but when i did the same translation with translate service like below
$translate("translation_id").then (translation) ->
$scope.translation = translation
But this time it gives me wrong translation Selbstständig
.
And the same problem is with translate filter.
The difference between both output is ä for ä
. Why translate service and translate directive is showing different behaviour and how to resolve this issue.