angularjs - $rootScope cyrillic encoding on page reload -
here authetication service (i'm using passportjs):
$rootscope.currentuser = $cookiestore.get('user'); now when i'm trying bind $rootscope value:
<p ng-bind="currentuser.username"></p> it encodes correct cyrillic symbols. when i'm reloading page get: ΜÑкимбаÐΜв
what can problem?
Comments
Post a Comment