【发布时间】:2017-04-05 08:28:26
【问题描述】:
我的代码是这样的:
function enableUser(Restangular, $state, notification) {
...
...
notification.log(
{{ "DISABLED_LOG_DISABLE" | translate }},
{ addnCls: 'humane-flatty-success' });
}
我发现它会直接在屏幕上显示{{ "DISABLED_LOG_DISABLE" | translate }},但是当我给它{'DISABLED_LOG_DISABLE': 'Disabled employee'}时我需要的是Disabled employee
【问题讨论】:
标签: javascript ng-admin angularjs