{"id":6470,"date":"2015-08-10T12:55:08","date_gmt":"2015-08-10T03:55:08","guid":{"rendered":"http:\/\/www.spiceworks.co.jp\/blog\/?p=6470"},"modified":"2024-05-20T18:08:23","modified_gmt":"2024-05-20T09:08:23","slug":"angularjs%e3%82%92%e3%81%95%e3%82%8f%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%80%ef%bd%9e%e5%85%a5%e9%96%80%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470","title":{"rendered":"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u85e4\u91ce\u3067\u3059\u3002<\/p>\n<p>\u30b9\u30d1\u30a4\u30b9\u30ef\u30fc\u30af\u30b9\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u30c1\u30fc\u30e0\u306f\u57fa\u672c\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u958b\u767a\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001<br \/>\n\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u65b0\u3057\u3044\u6280\u8853\u3082\u3055\u308f\u3063\u3066\u307f\u3088\u3046\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u524d\u304b\u3089\u8a71\u984c\u3067\u6c17\u306b\u306a\u3063\u3066\u3044\u305f<br \/>\n\u300cAngularJS\u300d\u3092\u5c11\u3005\u3055\u308f\u3063\u3066\u307f\u305f\u306e\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-large.png\" data-rel=\"lightbox-gallery-ZA0p9Mls\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-6609 alignnone\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-large-300x85.png\" alt=\"AngularJS-large\" width=\"300\" height=\"85\" srcset=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-large-300x85.png 300w, https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-large.png 383w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>AngularJS\u3068\u306f\uff1f<\/h2>\n<p>AngularJS\u3068\u306f\u3001Google\u304c\u4e3b\u4f53\u3068\u306a\u3063\u3066\u958b\u767a\u3057\u3066\u3044\u308bJavaScript\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<br \/>\n\u6628\u4eca\u8a71\u984c\u306b\u306a\u3063\u3066\u3044\u308bJavaScript\u306eMVC\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u304c\u3001<br \/>\n\u30c8\u30ec\u30f3\u30c9\u3068\u3057\u3066\u306f\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304b\u3089\u7fa4\u3092\u629c\u3044\u3066\u3053\u306eAngularJS\u304c\u8a71\u984c\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u53c2\u8003\uff1a<a href=\"http:\/\/www.buildinsider.net\/web\/popularjslib\/2015\" target=\"_blank\" rel=\"noopener\">\u4eba\u6c17\u4e0a\u6607\u4e2d\u306eJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8abf\u3079\u3066\u307f\u305f\u30102015\u5e74\u7248\u3011<\/a><\/p>\n<p>\u53b3\u5bc6\u306b\u306f\u3053\u306eAngularJS\u306f\u300cMVW\uff08Model-View-Whatever\uff09\u300d\u3092\u8b33\u3063\u3066\u304a\u308a\u3001<br \/>\nW\u306b\u3042\u305f\u308bWhatever\u306f\u300c\u4f55\u3067\u3082\u3042\u308a\uff01\u300d\u3068\u3044\u3046\u52e2\u3044\u3067\u3059\u3002<\/p>\n<p>\u4e3b\u306a\u7279\u5fb4\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0<\/strong><br \/>\n\u30e2\u30c7\u30eb\uff08\u30c7\u30fc\u30bf\uff09\u3068\u30d3\u30e5\u30fc\uff08\u8868\u793a\uff09\u3092\u7d10\u3065\u3051\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u30e6\u30fc\u30b6\u304b\u3089\u306e\u30c7\u30fc\u30bf\u5165\u529b\u3092\u5373\u6642\u306b\u8868\u793a\u306b\u53cd\u6620\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6<\/strong><br \/>\nAngularJS\u72ec\u81ea\u306eHTML\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u3053\u308c\u3092\u300c\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u300d\u3068\u3044\u3044\u307e\u3059\u3002\uff09\u3092HTML\u30bf\u30b0\u306b\u4ed8\u4e0e\u3057\u3066DOM\u3092\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u3057\u3066\u306eHTML<\/strong><br \/>\nHTML\u30bf\u30b0\u306bAngularJS\u72ec\u81ea\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u4ed8\u4e0e\u3059\u308b\u3053\u3068\u3067\u5f93\u6765\u306eHTML\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u305d\u306e\u307e\u307e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\nAngularJS\u304c\u8aad\u307f\u8fbc\u307e\u308c\u306a\u3044\u5834\u5408\u3067\u3082\u305d\u306e\u307e\u307e\u901a\u5e38\u306eHTML\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u3069\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u4f7f\u3046\u306e\u304b\u7c21\u5358\u306b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0<\/h2>\n<p>\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304c\u3042\u3063\u3066\u3001\u5165\u529b\u3055\u308c\u308b\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u306a\u308bHTML\u8981\u7d20\u5185\u306b\u305d\u306e\u5165\u529b\u6587\u5b57\u3092\u53cd\u6620\u3055\u305b\u305f\u3044\u5834\u5408\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture1.png\" data-rel=\"lightbox-gallery-ZA0p9Mls\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6647 alignnone\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture1.png\" alt=\"capture1\" width=\"244\" height=\"131\" \/><\/a><\/p>\n<p>\u5f93\u6765\u306a\u3089\u3001jQuery\u8fba\u308a\u3092\u4f7f\u3063\u3066\u5165\u529b\u30dc\u30c3\u30af\u30b9\u306echange\u30a4\u30d9\u30f3\u30c8\u3092\u691c\u77e5\u3057\u3066\u5024\u3092\u53d6\u5f97\u3057\u3001<br \/>\n\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u306a\u308b\u8981\u7d20\u306e\u5185\u5bb9\u3092\u66f8\u304d\u63db\u3048\u308b\u3001\u3068\u3044\u3046\u3088\u3046\u306a\u5b9f\u88c5\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;hoge&amp;quot; \/&amp;gt;\r\n&amp;lt;div id=&amp;quot;target&amp;quot;&amp;gt;&amp;lt;\/div&amp;gt;\r\n\r\n&amp;lt;script type=&amp;quot;text\/javascript&amp;quot; src=&amp;quot;\/js\/jquery.js&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;\r\n&amp;lt;script type=&amp;quot;text\/javascript&amp;quot;&amp;gt;\r\n$(&amp;quot;input&#x5B;name=hoge]&amp;quot;).change(function(){\r\n    $(&amp;quot;#target&amp;quot;).html($(this).val());\r\n});\r\n&amp;lt;\/script&amp;gt;\r\n<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306f\u30d5\u30a9\u30fc\u30ab\u30b9\u304c\u5916\u308c\u306a\u3044\u3068change\u30a4\u30d9\u30f3\u30c8\u304c\u691c\u77e5\u3067\u304d\u306a\u3044\u306e\u3067<br \/>\n\u300c\u5373\u6642\u300d\u53cd\u6620\u3092\u5b9f\u73fe\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3089keyup\u3084keydown\u30a4\u30d9\u30f3\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001<br \/>\n\u3082\u3046\u3061\u3087\u3063\u3068\u8907\u96d1\u306a\u5b9f\u88c5\u3092\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<br \/>\n\u53c2\u8003\uff1a<a href=\"http:\/\/qiita.com\/maruyam-a\/items\/cf0168f91d934b449a07\" target=\"_blank\" rel=\"noopener\">jQuery\u3067\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306e\u5909\u66f4\u3092\u76e3\u8996\/\u691c\u77e5\u3059\u308b<\/a><\/p>\n<p>\u3053\u308c\u3092AngularJS\u3092\u4f7f\u3046\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&amp;lt;script type=&amp;quot;text\/javascript&amp;quot; src=&amp;quot;\/js\/angular.js&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;\r\n\r\n&amp;lt;div ng-app&amp;gt;\r\n&amp;lt;input type=&amp;quot;text&amp;quot; ng-model=&amp;quot;hoge&amp;quot; \/&amp;gt;\r\n&amp;lt;div ng-bind=&amp;quot;hoge&amp;quot;&amp;gt;&amp;lt;\/div&amp;gt;\r\n&amp;lt;\/div&amp;gt;\r\n<\/pre>\n<p>1\u884c\u76ee\u306fjQuery\u306a\u3069\u3068\u540c\u69d8\u306b\u307e\u305aAngularJS\u672c\u4f53\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4e0b\u306eHTML\u30bf\u30b0\u5185\u3067\u767b\u5834\u3059\u308b\u300c<span style=\"color: #ff00ff;\">ng-app<\/span>\u300d\u300c<span style=\"color: #ff00ff;\">ng-model<\/span>\u300d\u300c<span style=\"color: #ff00ff;\">ng-bind<\/span>\u300d\u3068\u3044\u3063\u305f\u300c<span style=\"color: #ff00ff;\">ng-<\/span>\u300d\u3067\u59cb\u307e\u308b\u898b\u6163\u308c\u306a\u3044HTML\u30d7\u30ed\u30d1\u30c6\u30a3\u304cAngularJS\u72ec\u81ea\u306e\u300c<span style=\"color: #ff0000;\">\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6<\/span>\u300d\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>3\u884c\u76ee\u306e\u300c<span style=\"color: #ff00ff;\">ng-app<\/span>\u300d\u306fAngularJS\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u4e0b\u6e96\u5099\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3001\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u4ed8\u4e0e\u3057\u305f\u8981\u7d20\u5185\u306eDOM\u306bAngularJS\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<br \/>\n\u7279\u306b\u5236\u9650\u306a\u304f\u30da\u30fc\u30b8\u5168\u4f53\u3067AngularJS\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306b\u306f&lt;html&gt;\u30bf\u30b0\u306b\u4ed8\u4e0e\u3057\u3066\u3057\u307e\u3048\u3070OK\u3067\u3059\u3002<\/p>\n<p>4\u884c\u76ee\u306e\u300c<span style=\"color: #ff00ff;\">ng-model<\/span>\u300d\u306f\u305d\u306e\u540d\u306e\u901a\u308a\u30e2\u30c7\u30eb\uff08\u30c7\u30fc\u30bf\uff09\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u5165\u529b\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u300choge\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u4fdd\u6301\u3057\u307e\u3059\u3002<\/p>\n<p>5\u884c\u76ee\u306e\u300c<span style=\"color: #ff00ff;\">ng-bind<\/span>\u300d\u306f\u30e2\u30c7\u30eb\u3092\u30d3\u30e5\u30fc\u306b\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3057\u307e\u3059\u3002\u3053\u306e&lt;div&gt;\u30bf\u30b0\u5185\u306b\u300choge\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u4fdd\u6301\u3057\u305f\u30e2\u30c7\u30eb\u3092\u53cd\u6620\u3057\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u300cng-bind\u300d\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b5\u884c\u76ee\u306f\u300c<span style=\"color: #ff0000;\">{{}}<\/span>\u300d\u306e\u8a18\u53f7\u3092\u4f7f\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&amp;lt;div&amp;gt;{{hoge}}&amp;lt;\/div&amp;gt;\r\n<\/pre>\n<p>\u4e00\u822c\u7684\u306b\u306f\u3053\u306e\u7701\u7565\u5f62\u304c\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001AngularJS\u3092\u8aad\u307f\u8fbc\u3080\u307e\u3067\u306e\u6642\u9593\u306b\u3001\u30da\u30fc\u30b8\u4e0a\u306b{{hoge}}\u3068\u8868\u793a\u3055\u305b\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u300cng-bind\u300d\u3067\u66f8\u304f\u3068\u56de\u907f\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3072\u3068\u3064\u76ee\u306b\u8a18\u8f09\u3057\u305fjQuery\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304b\u3089\u30d5\u30a9\u30fc\u30ab\u30b9\u304c\u5916\u308c\u305f\u6642\u306bchange\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u3063\u3066\u5024\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u304c\u3001<br \/>\nAngularJS\u3067\u306f\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u5165\u529b\u3057\u3066\u3044\u308b\u6700\u4e2d\u306b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u5373\u6642\u53cd\u6620\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001AngularJS\u3067\u306f\u72ec\u81ea\u306e<span style=\"color: #ff0000;\">\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6<\/span>\u3092\u4ed8\u4e0e\u3059\u308b\u3053\u3068\u3067\u3001HTML\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u305d\u306e\u307e\u307e<span style=\"color: #ff0000;\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/span>\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3001<span style=\"color: #ff0000;\">\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0<\/span>\u3067\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306b\u30d3\u30e5\u30fc\u3092\u5909\u5316\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u3053\u306e\u7a0b\u5ea6\u306e\u5b9f\u88c5\u306a\u3089\u81ea\u5206\u3067JavaScript\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u3059\u3089\u306a\u3044\u3093\u3067\u3059\u306d\uff01<\/p>\n<p>&nbsp;<\/p>\n<h2>\u7e70\u308a\u8fd4\u3057\u51e6\u7406<\/h2>\n<p>\u3055\u3066\u3001\u4e0a\u8a18\u3067\u4f7f\u7528\u3057\u305fAngularJS\u306e\u7279\u5fb4\u3067\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u3059\u304c\u3001\u81ea\u5206\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u81ea\u4f5c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3057\u3001\u3082\u3061\u308d\u3093\u3055\u307e\u3056\u307e\u306a\u6a5f\u80fd\u3092\u3082\u3063\u305f\u3082\u306e\u304c\u4e88\u3081\u30d3\u30eb\u30c8\u30a4\u30f3\u3067\u7528\u610f\u3057\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4e00\u4f8b\u3068\u3057\u3066\u3001\u7c21\u5358\u306a\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture2.png\" data-rel=\"lightbox-gallery-ZA0p9Mls\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6659 alignnone\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture2.png\" alt=\"capture2\" width=\"143\" height=\"61\" \/><\/a><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&amp;lt;script type=&amp;quot;text\/javascript&amp;quot; src=&amp;quot;\/js\/angular.js&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;\r\n\r\n&amp;lt;div ng-app&amp;gt;\r\n&amp;lt;ul ng-init=&amp;quot;fruits=&#x5B;'apple','grape','orange']&amp;quot;&amp;gt;\r\n    &amp;lt;li ng-repeat=&amp;quot;fruit in fruits&amp;quot;&amp;gt;{{fruit}}&amp;lt;\/li&amp;gt;\r\n&amp;lt;\/ul&amp;gt;\r\n&amp;lt;\/div&amp;gt;\r\n<\/pre>\n<p>4\u884c\u76ee\u306e\u300c<span style=\"color: #ff00ff;\">ng-init<\/span>\u300d\u3067\u30e2\u30c7\u30eb\u306e\u521d\u671f\u5316\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u8907\u6570\u306e\u30d5\u30eb\u30fc\u30c4\u304c\u5165\u3063\u305ffruits\u3068\u3044\u3046\u914d\u5217\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>5\u884c\u76ee\u306e\u300c<span style=\"color: #ff00ff;\">ng-repeat<\/span>\u300d\u3067\u8981\u7d20\u306e\u7e70\u308a\u8fd4\u3057\u3092\u3057\u307e\u3059\u3002\u7e70\u308a\u8fd4\u3057\u6761\u4ef6\u300cfruit in fruits\u300d\u3067fruits\u914d\u5217\u5185\u306e\u5024\u3092fruit\u3068\u3057\u3066\u3072\u3068\u3064\u305a\u3064\u53d6\u308a\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\uff1f\u7c21\u5358\u306a\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u975e\u5e38\u306b\u30b9\u30c3\u30ad\u30ea\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>MVC<\/h2>\n<p>\u3055\u3066\u3001\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306bweb\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u969b\u306bMVC\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u7684\u306b\u4f7f\u3046\u5834\u5408\u306e\u3084\u308a\u65b9\u3092\u5c11\u3057\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30d3\u30e5\u30fc\uff08HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff09\u3068\u3057\u3066index.html\u3092\u7528\u610f\u3057\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u3057\u3066myController.js\u3001\u30e2\u30c7\u30eb\u3068\u3057\u3066myModel.js\u3092\u5225\u30d5\u30a1\u30a4\u30eb\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3084\u3084\u96e3\u6613\u5ea6\u304c\u4e0a\u304c\u308b\u306e\u3067\u30d1\u30c3\u3068\u898b\u3067\u306f\u4f55\u3092\u3084\u3063\u3066\u3044\u308b\u304b\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u304c\u591a\u3044\u304b\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001<br \/>\nAngularJS\u3067\u66f8\u304f\u3068\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308b\u3093\u3060\u306a\u3041\u3068\u3044\u3046\u96f0\u56f2\u6c17\u3060\u3051\u3067\u3082\u63b4\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5e78\u3044\u3067\u3059\u3002<\/p>\n<h3>index.html<\/h3>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&amp;lt;!doctype html&amp;gt;\r\n&amp;lt;html lang=&amp;quot;ja&amp;quot; ng-app='app'&amp;gt;\r\n&amp;lt;head&amp;gt;\r\n    &amp;lt;meta charset=&amp;quot;utf-8&amp;quot;&amp;gt;\r\n    &amp;lt;script type=&amp;quot;text\/javascript&amp;quot; src=&amp;quot;\/js\/angular.js&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;\r\n    &amp;lt;script type=&amp;quot;text\/javascript&amp;quot; src=&amp;quot;\/js\/myModel.js&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;\r\n    &amp;lt;script type=&amp;quot;text\/javascript&amp;quot; src=&amp;quot;\/js\/myController.js&amp;quot;&amp;gt;&amp;lt;\/script&amp;gt;\r\n&amp;lt;\/head&amp;gt;\r\n&amp;lt;body ng-controller=&amp;quot;MyController&amp;quot;&amp;gt;\r\n    &amp;lt;h1&amp;gt;Food List&amp;lt;\/h1&amp;gt;\r\n    &amp;lt;ul&amp;gt;\r\n        &amp;lt;li ng-repeat=&amp;quot;food in foods&amp;quot;&amp;gt;{{food.name}} ({{food.category}})&amp;lt;\/li&amp;gt;\r\n    &amp;lt;\/ul&amp;gt;\r\n    &amp;lt;h1&amp;gt;Fruits List&amp;lt;\/h1&amp;gt;\r\n    &amp;lt;ul&amp;gt;\r\n        &amp;lt;li ng-repeat=&amp;quot;fruit in fruits&amp;quot;&amp;gt;{{fruit}}&amp;lt;\/li&amp;gt;\r\n    &amp;lt;\/ul&amp;gt;\r\n&amp;lt;\/body&amp;gt;\r\n&amp;lt;\/html&amp;gt;\r\n<\/pre>\n<h3>myController.js<\/h3>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nangular.module('app', &#x5B;'MyModel'])\r\n    .controller('MyController', &#x5B;'$scope', 'Model', function($scope, Model) {\r\n        $scope.foods = Model.foods;\r\n        $scope.fruits = Model.getFruits();\r\n    }]);\r\n<\/pre>\n<h3>myModel.js<\/h3>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\nangular.module('MyModel', &#x5B;])\r\n    .factory('Model', function() {\r\n        var Model = {};\r\n        Model.foods = &#x5B;\r\n            {'category':'fruits', 'name':'apple'},\r\n            {'category':'vegetables', 'name':'cabage'},\r\n            {'category':'vegetables', 'name':'tomato'},\r\n            {'category':'fruits', 'name':'orange'}\r\n        ];\r\n        Model.getFruits = function () {\r\n            var fruits = &#x5B;];\r\n            for(i=0; i&amp;lt;Model.foods.length; i++){\r\n                if(Model.foods&#x5B;i].category == 'fruits'){\r\n                    fruits.push(Model.foods&#x5B;i].name);\r\n                }\r\n            }\r\n            return fruits;\r\n        };\r\n        return Model;\r\n    });\r\n<\/pre>\n<p>\u307e\u305a\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u3042\u308bindex.html\u3067\u306f\u3001<br \/>\n2\u884c\u76ee\u3067AngularJS\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u300c<span style=\"color: #ff00ff;\">ng-app<\/span>\u300d\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u3001\u81ea\u4f5c\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u300capp\u300d\u3092\u6307\u5b9a\u3057\u3066&lt;html&gt;\u8981\u7d20\u306b\u4ed8\u4e0e\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3067\u81ea\u4f5c\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u300capp\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n6,7\u884c\u76ee\u3067\u5404js\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<br \/>\n9\u884c\u76ee\u306b\u300c<span style=\"color: #ff00ff;\">ng-controller<\/span>=&#8221;MyController&#8221;\u300d\u3068\u3044\u3046\u306e\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u5225\u9014\u5b9a\u7fa9\u3057\u305f\u81ea\u4f5c\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u300cMyController\u300d\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>myController.js\u3067\u306f\u30011\u884c\u76ee\u3067AngularJS\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u300capp\u300d\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7b2c2\u5f15\u6570\u306e[&#8216;MyModel&#8217;]\u3068\u3044\u3046\u306e\u306f\u3001\u5225\u9014\u5b9a\u7fa9\u3057\u305f\u300cMyModel\u300d\u3068\u3044\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002\uff08\u4f9d\u5b58\u6027\u6ce8\u5165\uff09<br \/>\n\u305d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306b2\u884c\u76ee\u300c<span style=\"color: #ff6600;\">.controller()<\/span>\u300d\u30e1\u30bd\u30c3\u30c9\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3068\u3057\u3066\u306e\u6a5f\u80fd\u3092\u4ed8\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7b2c1\u5f15\u6570\u306b\u306f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u540d\u300c&#8217;MyController&#8217;\u300d\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7b2c2\u5f15\u6570\u3067\u306f\u4f9d\u5b58\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u6ce8\u5165\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u300c<span style=\"color: #ff6600;\">$scope<\/span>\u300d\u30b5\u30fc\u30d3\u30b9\u3068\u81ea\u4f5c\u306e\u300cModel\u300d\u30b5\u30fc\u30d3\u30b9\u3092\u6ce8\u5165\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u300c<span style=\"color: #ff6600;\">$scope<\/span>\u300d\u3068\u3044\u3046\u306e\u306f\u3001index.html\u306e9\u884c\u76ee\u3067\u300c<span style=\"color: #ff00ff;\">ng-controller<\/span>=&#8221;MyController&#8221;\u300d\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3053\u306eDOM\u304c\u30b9\u30b3\u30fc\u30d7\u3055\u308c\u3066\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<br \/>\n\u7b2c2\u5f15\u6570\u306e\u914d\u5217\u306e\u4e00\u756a\u6700\u5f8c\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u95a2\u6570\u3092\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3089\u8fba\u306f\u6700\u521d\u975e\u5e38\u306b\u3068\u3063\u3064\u304d\u306b\u304f\u3044\u90e8\u5206\u3068\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u79c1\u81ea\u8eab\u3082\u3068\u3066\u3082100%\u7406\u89e3\u3059\u308b\u306b\u306f\u81f3\u3063\u3066\u304a\u308a\u307e\u305b\u3093\u304c\u3001<br \/>\n\u307e\u305a\u306f\u305d\u3093\u306a\u6c7a\u307e\u308a\u306a\u3093\u3060\u3068\u601d\u3063\u3066\u305f\u304f\u3055\u3093\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u6163\u308c\u3066\u3044\u304f\u3057\u304b\u306a\u3044\u306e\u304b\u306a\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>myModel.js\u3067\u3082\u540c\u69d8\u306b\u30011\u884c\u76ee\u3067\u300cMyModel\u300d\u3068\u3044\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u3001<br \/>\n2\u884c\u76ee\u306e\u300c<span style=\"color: #ff6600;\">.factory()<\/span>\u300d\u30e1\u30bd\u30c3\u30c9\u3067factory\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u306e\u6a5f\u80fd\u3092\u4ed8\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\uff08\u30e2\u30c7\u30eb\u306f\u3053\u306e\u300c<span style=\"color: #ff6600;\">factory<\/span>\u300d\u30b5\u30fc\u30d3\u30b9\u3084\u300c<span style=\"color: #ff6600;\">service<\/span>\u300d\u30b5\u30fc\u30d3\u30b9\u306a\u3069\u3092\u4f7f\u3063\u3066\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\uff09<br \/>\n\u3053\u306efactory\u30b5\u30fc\u30d3\u30b9\u306b\u7b2c1\u5f15\u6570\u306e\u300cModel\u300d\u3068\u3044\u3046\u540d\u524d\u3092\u4ed8\u3051\u3001\u7b2c2\u5f15\u6570\u306e\u95a2\u6570\u5185\u3067\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u304b\u305f\u3061\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u98df\u3079\u7269\u306e\u60c5\u5831\u3092\u8fd4\u3059\u914d\u5217foods\u3068\u3001\u305d\u306e\u914d\u5217\u304b\u3089\u30d5\u30eb\u30fc\u30c4\u3060\u3051\u629c\u304d\u51fa\u3057\u3066\u540d\u524d\u3060\u3051\u306e\u914d\u5217\u3092\u8fd4\u3059\u30e1\u30bd\u30c3\u30c9getFruits()\u3092\u5b9a\u7fa9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306eModel\u304b\u3089\u8fd4\u3057\u305ffoods\u3068getFruits()\u3092myController.js\u306e3,4\u884c\u76ee\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u30b9\u30b3\u30fc\u30d7\u5185\u306e\u5404\u5909\u6570\u306b\u30bb\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture3.png\" data-rel=\"lightbox-gallery-ZA0p9Mls\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6679\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture3-300x277.png\" alt=\"capture3\" width=\"300\" height=\"277\" srcset=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture3-300x277.png 300w, https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/capture3.png 365w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u3063\u3066\u307f\u305f\u611f\u60f3<\/h2>\n<p>\u3084\u306f\u308a\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3044\u3046\u3060\u3051\u3042\u3063\u3066\u3001<br \/>\n\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3093\u3067\u3059\u3050\u306b\u4fbf\u5229\u306a\u6a5f\u80fd\u304c\u30b5\u30af\u30c3\u3068\u4f7f\u3048\u308b\u300cjQuery\u300d\u306a\u3069\u3068\u306f\u6839\u672c\u7684\u306b\u8003\u3048\u65b9\u306f\u7570\u306a\u3063\u3066\u3001\u8a2d\u8a08\u306e\u6bb5\u968e\u304b\u3089\u5341\u5206\u306b\u691c\u8a0e\u306e\u4e0a\u3067AngularJS\u3092\u30d9\u30fc\u30b9\u306bweb\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3044\u304f\u3001<br \/>\n\u3068\u3044\u3063\u305f\u30a4\u30e1\u30fc\u30b8\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306a\u3069\u306e\u72ec\u81ea\u306e\u6a5f\u80fd\u304c\u30d9\u30fc\u30b9\u306b\u306a\u308b\u306e\u3067\u5b66\u7fd2\u30b3\u30b9\u30c8\u3082\u306a\u304b\u306a\u304b\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u6848\u4ef6\u3067\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u8a2d\u8a08\u6bb5\u968e\u3067\u672c\u5f53\u306b\u4f7f\u7528\u3057\u305f\u65b9\u304c\u3088\u3044\u30b1\u30fc\u30b9\u306a\u306e\u304b\u5341\u5206\u306b\u691c\u8a0e\u3057\u305f\u4e0a\u3067\u4f7f\u7528\u3059\u308b\u306e\u304c\u3044\u3044\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\uff1f<br \/>\n\u4eca\u56de\u306f\u300c\u5165\u9580\u7de8\u300d\u3068\u3057\u3066AngularJS\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u3056\u3063\u304f\u308a\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u307e\u305f\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u3089\u3088\u308a\u6df1\u3044\u90e8\u5206\u3082\u3054\u7d39\u4ecb\u3067\u304d\u305f\u3089\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nAngularJS\u3063\u3066\u6700\u8fd1\u3088\u304f\u805e\u304f\u3051\u3069\u3001\u3061\u3087\u3063\u3068\u8a66\u3057\u3066\u307f\u3088\u3046\u304b\u306a\uff1f\u3068\u3044\u3046\u4eba\u306e\u4e00\u52a9\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p>\u30b9\u30d1\u30a4\u30b9\u30ef\u30fc\u30af\u30b9\u3067\u306f\u3001\u4eca\u5f8c\u3082\u65b0\u3057\u3044\u6280\u8853\u3092\u7a4d\u6975\u7684\u306b\u53d6\u308a\u5165\u308c\u3001<br \/>\n\u3055\u307e\u3056\u307e\u306a\u30cb\u30fc\u30ba\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u7cbe\u9032\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u3093\u306b\u3061\u306f\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u85e4\u91ce\u3067\u3059\u3002 \u30b9\u30d1\u30a4\u30b9\u30ef\u30fc\u30af\u30b9\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u30c1\u30fc\u30e0\u306f\u57fa\u672c\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u958b\u767a\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001 \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u65b0\u3057\u3044\u6280\u8853\u3082\u3055\u308f\u3063\u3066\u307f\u3088\u3046\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u524d\u304b\u3089\u8a71\u984c\u3067\u6c17\u306b\u306a\u3063\u3066\u3044\u305f \u300cAngularJS\u300d\u3092 [&hellip;]","protected":false},"author":14,"featured_media":6698,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,4,454],"tags":[56,96,240,241],"class_list":["post-6470","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ed-tech","category-website","category-dx","tag-javascript","tag-96","tag-240","tag-angularjs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8 - spiceworks Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8 - spiceworks Blog\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u85e4\u91ce\u3067\u3059\u3002 \u30b9\u30d1\u30a4\u30b9\u30ef\u30fc\u30af\u30b9\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u30c1\u30fc\u30e0\u306f\u57fa\u672c\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u958b\u767a\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001 \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u65b0\u3057\u3044\u6280\u8853\u3082\u3055\u308f\u3063\u3066\u307f\u3088\u3046\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u524d\u304b\u3089\u8a71\u984c\u3067\u6c17\u306b\u306a\u3063\u3066\u3044\u305f \u300cAngularJS\u300d\u3092 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470\" \/>\n<meta property=\"og:site_name\" content=\"spiceworks Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-10T03:55:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-20T09:08:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-Shield-huge.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1184\" \/>\n\t<meta property=\"og:image:height\" content=\"1247\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u85e4\u91ce \u96bc\u543e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u85e4\u91ce \u96bc\u543e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470\"},\"author\":{\"name\":\"\u85e4\u91ce \u96bc\u543e\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/46bd10d22d956bc6eb9a4430707a6949\"},\"headline\":\"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8\",\"datePublished\":\"2015-08-10T03:55:08+00:00\",\"dateModified\":\"2024-05-20T09:08:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470\"},\"wordCount\":719,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/AngularJS-Shield-huge.png\",\"keywords\":[\"JavaScript\",\"\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\",\"\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\",\"AngularJS\"],\"articleSection\":[\"EdTech\",\"Web\u5236\u4f5c\u30fb\u30b7\u30b9\u30c6\u30e0\",\"DX\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470\",\"name\":\"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8 - spiceworks Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/AngularJS-Shield-huge.png\",\"datePublished\":\"2015-08-10T03:55:08+00:00\",\"dateModified\":\"2024-05-20T09:08:23+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/46bd10d22d956bc6eb9a4430707a6949\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#primaryimage\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/AngularJS-Shield-huge.png\",\"contentUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/07\\\/AngularJS-Shield-huge.png\",\"width\":1184,\"height\":1247},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=6470#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/\",\"name\":\"spiceworks Blog\",\"description\":\"&quot;\u4f1d\u308f\u308b&quot;\u3092\u30c7\u30b6\u30a4\u30f3\u3059\u308b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/46bd10d22d956bc6eb9a4430707a6949\",\"name\":\"\u85e4\u91ce \u96bc\u543e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bceca1d3ffd91ee2f59e7540489fbc5dd401d28bcad461d2ad4c681ea3d53807?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bceca1d3ffd91ee2f59e7540489fbc5dd401d28bcad461d2ad4c681ea3d53807?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bceca1d3ffd91ee2f59e7540489fbc5dd401d28bcad461d2ad4c681ea3d53807?s=96&d=mm&r=g\",\"caption\":\"\u85e4\u91ce \u96bc\u543e\"},\"description\":\"\u30a8\u30f3\u30b8\u30cb\u30a2\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?author=14\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8 - spiceworks Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470","og_locale":"ja_JP","og_type":"article","og_title":"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8 - spiceworks Blog","og_description":"\u3053\u3093\u306b\u3061\u306f\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u85e4\u91ce\u3067\u3059\u3002 \u30b9\u30d1\u30a4\u30b9\u30ef\u30fc\u30af\u30b9\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u30c1\u30fc\u30e0\u306f\u57fa\u672c\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u958b\u767a\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001 \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u65b0\u3057\u3044\u6280\u8853\u3082\u3055\u308f\u3063\u3066\u307f\u3088\u3046\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u4ee5\u524d\u304b\u3089\u8a71\u984c\u3067\u6c17\u306b\u306a\u3063\u3066\u3044\u305f \u300cAngularJS\u300d\u3092 [&hellip;]","og_url":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470","og_site_name":"spiceworks Blog","article_published_time":"2015-08-10T03:55:08+00:00","article_modified_time":"2024-05-20T09:08:23+00:00","og_image":[{"width":1184,"height":1247,"url":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-Shield-huge.png","type":"image\/png"}],"author":"\u85e4\u91ce \u96bc\u543e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u85e4\u91ce \u96bc\u543e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#article","isPartOf":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470"},"author":{"name":"\u85e4\u91ce \u96bc\u543e","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/46bd10d22d956bc6eb9a4430707a6949"},"headline":"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8","datePublished":"2015-08-10T03:55:08+00:00","dateModified":"2024-05-20T09:08:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470"},"wordCount":719,"commentCount":0,"image":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-Shield-huge.png","keywords":["JavaScript","\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af","\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a","AngularJS"],"articleSection":["EdTech","Web\u5236\u4f5c\u30fb\u30b7\u30b9\u30c6\u30e0","DX"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470","url":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470","name":"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8 - spiceworks Blog","isPartOf":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#primaryimage"},"image":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-Shield-huge.png","datePublished":"2015-08-10T03:55:08+00:00","dateModified":"2024-05-20T09:08:23+00:00","author":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/46bd10d22d956bc6eb9a4430707a6949"},"breadcrumb":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.spiceworks.co.jp\/blog\/?p=6470"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#primaryimage","url":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-Shield-huge.png","contentUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2015\/07\/AngularJS-Shield-huge.png","width":1184,"height":1247},{"@type":"BreadcrumbList","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=6470#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.spiceworks.co.jp\/blog"},{"@type":"ListItem","position":2,"name":"AngularJS\u3092\u3055\u308f\u3063\u3066\u307f\u305f\u3000\uff5e\u5165\u9580\u7de8"}]},{"@type":"WebSite","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#website","url":"https:\/\/www.spiceworks.co.jp\/blog\/","name":"spiceworks Blog","description":"&quot;\u4f1d\u308f\u308b&quot;\u3092\u30c7\u30b6\u30a4\u30f3\u3059\u308b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.spiceworks.co.jp\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/46bd10d22d956bc6eb9a4430707a6949","name":"\u85e4\u91ce \u96bc\u543e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/bceca1d3ffd91ee2f59e7540489fbc5dd401d28bcad461d2ad4c681ea3d53807?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bceca1d3ffd91ee2f59e7540489fbc5dd401d28bcad461d2ad4c681ea3d53807?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bceca1d3ffd91ee2f59e7540489fbc5dd401d28bcad461d2ad4c681ea3d53807?s=96&d=mm&r=g","caption":"\u85e4\u91ce \u96bc\u543e"},"description":"\u30a8\u30f3\u30b8\u30cb\u30a2","url":"https:\/\/www.spiceworks.co.jp\/blog\/?author=14"}]}},"_links":{"self":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6470"}],"version-history":[{"count":64,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6470\/revisions"}],"predecessor-version":[{"id":23654,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6470\/revisions\/23654"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/6698"}],"wp:attachment":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}