1. 前端简单逻辑
<title data-ng-bind="{true:‘ (‘+notice_count+‘) ‘}[notice_count > 0]+{true:global.title,false:‘正在加载中‘}[global.loading_done]+‘ - xxxx‘"></title>
AngularJS 乱记
原文:http://www.cnblogs.com/Denny_Yang/p/3976499.html