这是这个demo的目录结构,总共有两个文件:locale-chinese.json和translation11.html
locale-chinese.json文件的内容是:
{ "beauty":"漂亮的", "ugly":"丑陋的", "people":"人民" }
translation11.html的代码如下:
1 2 3 4 "UTF-8"> 5 "UTF-8"> 6 7 8 9 10 11 12 13 14 15 16 17 18 19 36"myApp" ng-controller="myCtrl"> 3741 42 43"beauty">
38"ugly">
39"people">
40