{"id":5915,"date":"2015-07-17T03:14:07","date_gmt":"2015-07-16T18:14:07","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=5915"},"modified":"2015-07-17T03:14:07","modified_gmt":"2015-07-16T18:14:07","slug":"typescript-angularjs-%e3%81%a7%e6%97%a5%e4%bb%98%e9%81%b8%e6%8a%9e%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e4%bd%9c%e6%88%90","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=5915","title":{"rendered":"TypeScript &#038; AngularJS \u3067\u65e5\u4ed8\u9078\u629e\u30d5\u30a9\u30fc\u30e0\u4f5c\u6210"},"content":{"rendered":"<p>\u3069\u3046\u3082\u3067\u3059\u3002<\/p>\n<p>\u3044\u3084\u3041\u3002<\/p>\n<p>\u6691\u3044\u3067\u3059\u306d\u30fc\u3002\u5168\u304f\u3002<\/p>\n<p>\u306a\u3093\u3068\u306a\u304f\u3001<strong>AngularJS<\/strong>\u306e\u4e8b\u66f8\u304d\u305f\u304f\u306a\u3063\u305f\u306e\u3067\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u3041\u3001\u7279\u5225\u3059\u3054\u3044\u4e8b\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u4f55\u304b\u53c2\u8003\u306b\u306a\u308c\u3070\u3068\u3002<\/p>\n<p>\u3067\u3001\u4eca\u56de\u306f\u3053\u3046\u3044\u3063\u305f<strong>\u5e74\u6708\u65e5\u306e\u9078\u629e\u30d5\u30a9\u30fc\u30e0\u306b\u95a2\u3057\u3066<\/strong><\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/a54e8a7ef71bad6aaea3d1eadf0826cc.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/a54e8a7ef71bad6aaea3d1eadf0826cc.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-17 2.05.41\" width=\"107\" height=\"55\" class=\"alignnone size-full wp-image-5916\" \/><\/a><\/p>\n<p>html\u3067\u8a00\u3046\u3068\u3001select\u8981\u7d20\u3092\u7528\u3044\u3066\u5b9f\u88c5\u3059\u308b\u306e\u3067\u3059\u304c\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;select id=&quot;year&quot; name=&quot;year&quot;&gt;\r\n    &lt;option value=&quot;0&quot;&gt;2015&lt;\/option&gt;\r\n    &lt;option value=&quot;1&quot;&gt;2016&lt;\/option&gt;\r\n    &lt;option value=&quot;2&quot;&gt;2017&lt;\/option&gt;\r\n&lt;\/select&gt;<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u304b\u306d\u3002<\/p>\n<p>\u307e\u3001<strong>AngularJS<\/strong>\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001\u3053\u3093\u306a\u3079\u305f\u66f8\u304d\u306f\u305b\u305a\u3001<strong>ng-options<\/strong>\u7b49\u3092\u7528\u3044\u3066\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u3053\u3061\u3089\u306a\u3069\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u3002<\/p>\n<p><a href=\"http:\/\/js.studio-kingdom.com\/angularjs\/ng_directive\/select\" target=\"_blank\">http:\/\/js.studio-kingdom.com\/angularjs\/ng_directive\/select<\/a><\/p>\n<p>\u3067\u3001<strong>ng-options<\/strong>\u7528\u3044\u305fhtml\u306f<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;select id=&quot;year&quot; ng-options=&quot;y for y in yearList&quot; ng-model=&quot;scheduleYear&quot;&gt;&lt;\/select&gt;<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u304b\u306d\u3002<\/p>\n<p><strong>yearList<\/strong>\u306f[&#8220;2015&#8243;,&#8221;2016&#8243;,&#8221;2017&#8221;]\u3068\u3044\u3063\u305f\u5e74\u53f7\u306e\u914d\u5217\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5f62\u3067\u884c\u304f\u3068\u3001Javscript\u5074\u306f\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$scope.yearList =\u00a0&#x5B;\"2015\",\"2016\",\"2017\"]; <\/pre>\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u3067<strong>$scope.yearList\u3092\u5b9a\u7fa9<\/strong>\u3057\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/ff37373e98a320edae4ced8e09b5dd43.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/ff37373e98a320edae4ced8e09b5dd43.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-17 2.13.19\" width=\"103\" height=\"86\" class=\"alignnone size-full wp-image-5917\" \/><\/a><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u306b\u3067\u304d\u3061\u3083\u3046\u308f\u3051\u3067\u3059\u306d\u3002\u3044\u3084\u30fc\u4fbf\u5229\u3002<\/p>\n<p>\u3067\u3059\u304c\u3001\u3053\u3093\u306a\u30d9\u30bf\u66f8\u304d\u3057\u3066\u3044\u307e\u3059\u3068\u3001\uff08\u3053\u3093\u306a\u30d9\u30bf\u66f8\u304d\u3057\u306a\u3044\u306e\u3067\u3059\u304c\uff09<\/p>\n<p><strong>\u300c\u6765\u5e74\u624b\u66f8\u304d\u3067\u4fee\u6b63\uff1f\u300d\u300c\u6570\u5897\u3084\u3059\u6642\u306f\uff1f\u300d<\/strong>\u3068\u3001\u8272\u3005\u3068\u624b\u52d5\u611f\u305f\u3063\u3077\u308a\u306b\u306a\u308a\u3001<strong>JavaScript\u4f7f\u3063\u3066\u3044\u308b\u610f\u5473\u306a\u3044\u3067\u3059\u306d\u3002<\/strong><\/p>\n<p><strong>JavaScript\u306f\u65e5\u4ed8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u3067\u3042\u308b\u3001<strong>Date\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059<\/strong>\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u4f7f\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">var now = new Date();<\/pre>\n<p><strong>\u5e74<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">now.getFullYear();<\/pre>\n<p><strong>\u6708<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">now.getMonth() + 1;<\/pre>\n<p><strong>\u65e5<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">now.getDate();<\/pre>\n<p>\u3068\u3044\u3063\u305f\u5f62\u3067\u3001\u73fe\u5728\u306e\u5e74\u6708\u65e5\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3063\u305f\u308f\u3051\u3067\u3001\u3053\u3046\u3044\u3046\u65e5\u6642\u3092\u9078\u629e\u3059\u308b\u30d5\u30a9\u30fc\u30e0\u306e\u4f5c\u6210\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/7b64c074a554774d7a9b4469cce69d0f.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/7b64c074a554774d7a9b4469cce69d0f.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-17 2.20.13\" width=\"321\" height=\"54\" class=\"alignnone size-full wp-image-5918\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/7b64c074a554774d7a9b4469cce69d0f.png 321w, https:\/\/www.webcyou.com\/wp-content\/uploads\/7b64c074a554774d7a9b4469cce69d0f-300x50.png 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/a><\/p>\n<h4>\u65e5\u6642\u9078\u629e\u30d5\u30a9\u30fc\u30e0\u4f5c\u6210<\/h4>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u307e\u3057\u3066\u306f\u3001<strong>\u65e5\u306b\u3061\u304c\u5909\u52d5<\/strong>\u3059\u308b\u3068\u3053\u308d\u3067\u3059\u304b\u306d\u3002<\/p>\n<p>\u7d50\u8ad6\u3092\u8a00\u3063\u3066\u3057\u307e\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b <strong>year\uff08\u5e74\uff09\u3001month\uff08\u6708\uff09\u306e\u5024\u3092\u5f15\u6570<\/strong>\u3068\u3057\u3066\u5b9f\u884c\u3059\u308c\u3070\u3001\u65e5\u306b\u3061\u304c\u4f55\u65e5\u3042\u308b\u304b\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">function getDay(year, month) {\r\n    return new Date(year, month, 0).getDate();\r\n}<\/pre>\n<p>\u3053\u308c\u3092<strong>html\u306e\u65b9\u306bFunction\u3068\u3057\u3066\u767b\u9332<\/strong>\u3059\u308c\u3070\u3001\u5e74\u6708\u3092\u5909\u66f4\u3059\u308c\u3070\u9023\u52d5\u3057\u3066\u65e5\u306b\u3061\u3082\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3067html\u306e\u65b9\u306f\u3001\u3053\u3093\u306a\u611f\u3058\u3067<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;select id=&quot;year&quot; ng-options=&quot;y for y in yearList&quot; ng-model=&quot;scheduleYear&quot;&gt;&lt;\/select&gt;\r\n&lt;label for=&quot;year&quot;&gt;\u5e74&lt;\/label&gt;\r\n&lt;select id=&quot;month&quot; ng-options=&quot;m for m in monthList&quot; ng-model=&quot;scheduleMonth&quot;&gt;&lt;\/select&gt;\r\n&lt;label for=&quot;month&quot;&gt;\u6708&lt;\/label&gt;\r\n&lt;select id=&quot;day&quot; ng-options=&quot;d for d in getDayList(scheduleYear, scheduleMonth)&quot; ng-model=&quot;scheduleDay&quot;&gt;&lt;\/select&gt;\r\n&lt;label for=&quot;day&quot;&gt;\u65e5&lt;\/label&gt;<\/pre>\n<p><strong>getDayList<\/strong>\u3067<strong>scheduleYear\u3068scheduleMonth\u3092\u5f15\u6570<\/strong>\u306b\u3059\u308b\u4e8b\u306b\u3088\u3063\u3066\u65e5\u4ed8\u3092\u53d6\u5f97\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u304b\u3089\u3001<strong>TypeScript<\/strong>\u3067\u8a18\u8ff0\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4>\u65e5\u6642\u9078\u629e\u30d5\u30a9\u30fc\u30e0\u4f5c\u6210:TypeScripe<\/h4>\n<p>\u307e\u305a<strong>module\u306fSchedule<\/strong>\u3068\u3057\u3066\u4f5c\u6210\u3002<\/p>\n<p><strong>class ScheduleModel\u3092\u4f5c\u6210<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">module Schedule {\r\n    class ScheduleModel {\r\n        constructor() {}\r\n    }\r\n}<\/pre>\n<p>constructor(){}\u306fScheduleModel\u3092\u751f\u6210\u306e\u969b\u3001\u547c\u3073\u51fa\u3055\u308c\u521d\u671f\u5316\u304c\u884c\u3048\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001<strong>\u4eca\u306e\u5e74\u6570\u304b\u3089\u4f55\u5e74\u8868\u793a\u3055\u305b\u305f\u3044\u304b<\/strong>\u3092\u3001<strong>ADD_SELECT_YEAR_NUM<\/strong>\u306e\u5b9a\u6570\u3068\u3057\u5b9a\u7fa9\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">private ADD_SELECT_YEAR_NUM: number = 3;<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">private select_year_list: string&#x5B;] = &#x5B;];\r\nprivate select_month_list: string&#x5B;] = &#x5B;];<\/pre>\n<p><strong>\u5e74\u3068\b\u6708\u3092\u683c\u7d0d\u3059\u308b\u30ea\u30b9\u30c8\u3082\u5b9a\u7fa9\u3002<\/strong><\/p>\n<p>\u5e74\u30ea\u30b9\u30c8\u3092set\u3059\u308b\u3001set\u30a2\u30af\u30bb\u30b5\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public setYearList() {\r\n    var year = new Date().getFullYear(),\r\n    i;\r\n    for(i = 0; i &lt; this.ADD_SELECT_YEAR_NUM; i++) {\r\n        this.select_year_list.push(String(year + i));\r\n    }\r\n}<\/pre>\n<p><strong>\u6708\u30ea\u30b9\u30c8\u3092set\u3059\u308b\u3001set\u30a2\u30af\u30bb\u30b5\u3092\u4f5c\u6210<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6708\u306f\u56fa\u5b9a\u30671\u301c12\u6708\u306a\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public setMonthList() {\r\n    var i: number;\r\n    for(i = 1; i &lt; 13; i++) {\r\n        this.select_month_list.push(String(i));\r\n    }\r\n}<\/pre>\n<p><strong>\u7d9a\u3044\u3066\u3001\u5e74\u3001\u6708\u3092\u53d6\u5f97\u3059\u308bget\u30a2\u30af\u30bb\u30b5<\/strong>\u306e\u4f5c\u6210<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public getYearList(): string&#x5B;] {\r\n    return this.select_year_list;\r\n}\r\npublic getMonthList(): string&#x5B;] {\r\n    return this.select_month_list;\r\n}<\/pre>\n<p>\u306a\u3093\u3066\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>\u3067\u306f\u3001<strong>\u4eca\u306e\u5e74\u3001\u6708\u306f\u305d\u306e\u30ea\u30b9\u30c8\u304b\u3089\u4f55\u756a\u76ee\u306a\u306e\u304b\u3092\u53d6\u5f97\u3059\u308bget<\/strong>\u30a2\u30af\u30bb\u30b5\u3092\u4f5c\u6210\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public getInitYearNum(): number {\r\n    var year = new Date().getFullYear();\r\n        return this.select_year_list.indexOf(String(year));\r\n}\r\npublic getInitMonthNum(): number {\r\n    var month = new Date().getMonth() + 1;\r\n    return this.select_month_list.indexOf(String(month));\r\n}<\/pre>\n<p>\u3053\u308c\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u3001\u5e74\u3001\u6708\u306e\u30ea\u30b9\u30c8\u306f\u5b8c\u6210\u3057\u307e\u3057\u305f\u306d\u3002<\/p>\n<p><strong>class ScheduleModel\u751f\u6210\u6642\u306b\u3053\u308c\u3089\u3092\u5b9f\u884c<\/strong>\u3057\u305f\u3044\u306e\u3067\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">constructor(\r\n) {\r\n    this.setYearList();\r\n}<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3001<strong>setYearList()\u306b\u306f\u3001this.setMonthList();\u3092\u8ffd\u8a18<\/strong>\u3057\u307e\u3059\u3002<\/p>\n<h5>scope<\/h5>\n<p>\u5e74\u306e\u30ea\u30b9\u30c8\u3068\u3001\u6708\u306e\u30ea\u30b9\u30c8\u306escope\u306e\u4f5c\u6210\u3057\u3066\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$scope.yearList = model.getYearList();\r\n$scope.monthList = model.getMonthList();<\/pre>\n<p>ng-model\u306e\u65b9\u306b\u3001\u4eca\u73fe\u5728\u306e\u5e74\u3001\u6708\u3092\u4ee3\u5165\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$scope.scheduleYear = $scope.yearList&#x5B;model.getInitYearNum()];\r\n$scope.scheduleMonth = $scope.monthList&#x5B;model.getInitMonthNum()];<\/pre>\n<p>\u3067\u3001\u9078\u629e\u3055\u308c\u305f\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/ea123673b1cf3e6f5fa07dbd37b7f2f5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/ea123673b1cf3e6f5fa07dbd37b7f2f5.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-17 2.44.07\" width=\"209\" height=\"55\" class=\"alignnone size-full wp-image-5919\" \/><\/a><\/p>\n<p>\u305d\u308c\u3089\u3092\u3001<strong>getDayList\u3067\u5f15\u6570<\/strong>\u3068\u3057\u307e\u3059\u306e\u3067\u3001scope\u5074\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$scope.getDayList = (year: string, month: string): string&#x5B;] =&gt; {\r\n    return model.getDayList(parseInt(year, 10), parseInt(month, 10));\r\n};<\/pre>\n<p><strong>model\u306e\u65b9\u3067\u3001year\u3068month\u3092\u5143\u306b\u65e5\u4ed8\u3092\u8fd4\u3059\u3088\u3046\u306b\u51e6\u7406<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public getDayList(year: number, month: number) {\r\n    var dayLength = new Date(year, month, 0).getDate(),\r\n    dayList: string&#x5B;] = &#x5B;],\r\n    i;\r\n    for(i = 0; i &lt; dayLength; i++) {\r\n        dayList.push(String(1 + i));\r\n    }\r\n    return dayList;\r\n}<\/pre>\n<p>\u521d\u671f\u306e\u65e5\u4ed8\u3092\u8fd4\u3059get\u30a2\u30af\u30bb\u30b5\u3082\u4f5c\u6210\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public getInitDay(): string {\r\n    var nowDate = new Date(),\r\n    dayList = this.getDayList(nowDate.getFullYear(), nowDate.getMonth() + 1),\r\n    initNumber = dayList.indexOf(String(nowDate.getDate()));\r\n    return dayList&#x5B;initNumber];\r\n}<\/pre>\n<p>scope\u306bgetInitDay\u3092\u4ee3\u5165\u3059\u308c\u3070\u5b8c\u6210\u3067\u3059\u306d\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$scope.scheduleDay = model.getInitDay();<\/pre>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/66c1825fc58c762959d79c77c0d7ed5d.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/66c1825fc58c762959d79c77c0d7ed5d.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-17 2.49.19\" width=\"323\" height=\"43\" class=\"alignnone size-full wp-image-5920\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/66c1825fc58c762959d79c77c0d7ed5d.png 323w, https:\/\/www.webcyou.com\/wp-content\/uploads\/66c1825fc58c762959d79c77c0d7ed5d-300x39.png 300w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><\/a><\/p>\n<p>\u5e74\u3001\u6708\u3092\u5909\u66f4\u3059\u308b\u3068\u3001\u65e5\u4ed8\u3082\u9023\u52d5\u3002<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/cdbe2436c3bf235a2522d1b2b96c867a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/cdbe2436c3bf235a2522d1b2b96c867a.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-17 2.49.32\" width=\"77\" height=\"538\" class=\"alignnone size-full wp-image-5921\" \/><\/a><\/p>\n<p>\u3068\u3001\u4eca\u56de\u306e\u30bd\u30fc\u30b9\u306fgist\u306b\u8a18\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/gist.github.com\/webcyou\/cf4e87cece86806d0d0a\" target=\"_blank\">https:\/\/gist.github.com\/webcyou\/cf4e87cece86806d0d0a<\/a><\/p>\n<p>[gist id=cf4e87cece86806d0d0a]<\/p>\n<p>\u53c2\u8003\u306b\u306a\u308c\u3070\u3068\u30fc\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u3067\u3059\u3002 \u3044\u3084\u3041\u3002 \u6691\u3044\u3067\u3059\u306d\u30fc\u3002\u5168\u304f\u3002 \u306a\u3093\u3068\u306a\u304f\u3001AngularJS\u306e\u4e8b\u66f8\u304d\u305f\u304f\u306a\u3063\u305f\u306e\u3067\u66f8\u304d\u307e\u3059\u3002 \u307e\u3041\u3001\u7279\u5225\u3059\u3054\u3044\u4e8b\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u4f55\u304b\u53c2\u8003\u306b\u306a\u308c\u3070\u3068\u3002 \u3067\u3001\u4eca\u56de\u306f\u3053\u3046\u3044\u3063\u305f\u5e74\u6708\u65e5\u306e\u9078\u629e\u30d5\u30a9\u30fc\u30e0\u306b\u95a2\u3057\u3066 h [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[171,59,165,168,176,166,37,44,45,39,178,78],"class_list":{"0":"post-5915","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-javascript","7":"tag-android","8":"tag-android-sdk","9":"tag-angularjs","10":"tag-html","11":"tag-html5","12":"tag-iphone","13":"tag-iphone-","14":"tag-web","16":"tag-39","17":"tag-178","18":"tag-78"},"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5915"}],"version-history":[{"count":1,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5915\/revisions"}],"predecessor-version":[{"id":5922,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5915\/revisions\/5922"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}