{"id":245,"date":"2019-09-26T18:03:14","date_gmt":"2019-09-26T09:03:14","guid":{"rendered":"https:\/\/weseek.co.jp\/tech\/?p=245"},"modified":"2023-04-17T10:29:52","modified_gmt":"2023-04-17T01:29:52","slug":"angular-tips-%e3%81%9d%e3%81%ae2","status":"publish","type":"post","link":"https:\/\/weseek.co.jp\/tech\/245\/","title":{"rendered":"Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e2"},"content":{"rendered":"<p>\u672c\u8a18\u4e8b\u3067\u306f SEROKU \u306e\u958b\u767a\u3092\u4f8b\u306b Angular Tips \u306e\u7d39\u4ecb\u3092\u3057\u3066\u3044\u307e\u3059\u3002(\u305d\u306e 3 \u304f\u3089\u3044\u307e\u3067\u7d9a\u3044\u3066\u3044\u307e\u3059)<\/p>\n<p>\u95a2\u9023\u8a18\u4e8b<\/p>\n<p><a href=\"https:\/\/weseek.co.jp\/tech\/227\/\">Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e1<\/a><\/p>\n<p><a href=\"https:\/\/weseek.co.jp\/tech\/229\/\">Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e3<\/a><\/p>\n<hr \/>\n<p>\u3084\u3063\u3066\u307e\u3044\u308a\u307e\u3057\u305f\u3001SEROKU \u3092\u652f\u3048\u308b\u6280\u8853 Angular Tips \u305d\u306e2\u3002<\/p>\n<p>\u524d\u56de\u306e\u8a18\u4e8b\u57f7\u7b46\u304b\u3089\u307b\u307c1\u30f6\u6708\u3002\u5f85\u3063\u3066\u304f\u308c\u3066\u3044\u305f\u4eba\u3001\u305d\u3046\u3067\u306a\u3044\u4eba\u3001\u3044\u308b\u304b\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3081\u3052\u305a\u306b\u307e\u305f\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e1\u3067\u3082\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u3042\u304f\u307e\u3067\u3001<strong>\u3053\u3046\u66f8\u304f\u3079\u304d\u3060<\/strong>\u3068\u3044\u3046\u5f37\u3044\u610f\u5fd7\u3067\u306f\u306a\u304f\u3001<strong>\u3053\u3046\u66f8\u3044\u305f\u3089\u826f\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u306a\uff1f<\/strong> \u304f\u3089\u3044\u306e\u6c17\u6301\u3061\u3067\u66f8\u304d\u307e\u3059\u306e\u3067\u53c2\u8003\u7a0b\u5ea6\u306b\u3057\u3066\u3089\u3048\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u4eca\u56de\u306f\u7279\u6bb5\u524d\u7f6e\u304d\u306f\u4e0d\u8981\u304b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\uff08\u5fc5\u8981\u3042\u3089\u3070<a href=\"https:\/\/weseek.co.jp\/tech\/?p=227&amp;preview=true\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3092\u30b5\u30af\u30c3\u3068\u898b\u3066\u304f\u3060\u3055\u3044\uff09\u3044\u304d\u306a\u308a\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n\n<h1>Tips 3: ng-template \u3068 ng-container \u306e\u4f7f\u3044\u5206\u3051<\/h1>\n<p>Angular v4 \u306b\u306a\u3063\u3066\u3001\u305f\u3060\u306e template \u30bf\u30b0\u304c <code>ng-template<\/code> \u306b\u307b\u307c\u7f6e\u304d\u63db\u308f\u308b\u3088\u3046\u306a\u5f62\u306b\u306a\u308a\u3001angular tepmlate \u306e\u3088\u3046\u306a\u6587\u5b57\u5217\u3067\u30b0\u30fc\u30b0\u30eb\u5148\u751f\u306b\u554f\u3044\u5408\u308f\u305b\u305f\u3068\u304d\u306b <code>ng-template<\/code> \u3082\u3057\u304f\u306f <code>ng-container<\/code> \u3067\u66f8\u304b\u308c\u305f\u30b5\u30f3\u30d7\u30eb\u304c\u30d2\u30c3\u30c8\u3057\u305f\u308a\u306a\u3093\u304b\u3057\u3066\u3069\u3063\u3061\u4f7f\u3048\u3070\u3044\u3044\u304b\u6df7\u4e71\u3057\u307e\u305b\u3093\u304b\uff1f\uff08\u79c1\u306f\u7d50\u69cb\u3057\u307e\u3057\u305f\uff09<\/p>\n<p>\u6df7\u4e71\u306e\u5143\u306f\u306a\u306b\u304b\u3068\u3044\u3048\u3070\u3001<\/p>\n<ul>\n<li>\u3069\u3061\u3089\u3082\u30bf\u30b0\u81ea\u8eab\u306f\u5410\u304d\u51fa\u3055\u308c\u308b HTML \u306b\u306f\u51fa\u529b\u3055\u308c\u306a\u3044<\/li>\n<li><code>ngIf<\/code>, <code>ngFor<\/code> \u69cb\u6587\u304c\u4f7f\u3048\u308b(\u305f\u3060\u3057\u66f8\u304d\u65b9\u306b\u3061\u3068\u4f5c\u6cd5\u304c\u3042\u308b)<\/li>\n<li><code>ng-<\/code> \u306e prefix \u3092\u6301\u3063\u3066\u3044\u308b<\/li>\n<li>\u3069\u3061\u3089\u306e\u66f8\u304d\u65b9\u3092\u3057\u3066\u3082\u898b\u305f\u76ee\u306b\u306f\u540c\u3058\u8868\u793a\u306b\u306a\u308b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b\u3002\u3067\u306f\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u3092\u5143\u306b\u691c\u8a3c\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>ngIf \u3092 ng-template \u3068 ng-container \u3067\u66f8\u3044\u3066\u307f\u308b<\/h2>\n<ul>\n<li>\n<p>ng-template \u306e\u5834\u5408<\/p>\n<pre><code>&lt;ng-template [ngIf]=&quot;\u8a55\u4fa1\u3057\u305f\u3044\u3082\u306e&quot;&gt;\n\u30fb\n\u30fb\n\u30fb\n&lt;\/ng-template&gt;<\/code><\/pre>\n<\/li>\n<li>\n<p>ng-container \u306e\u5834\u5408<\/p>\n<pre><code>&lt;ng-container *ngIf=&quot;\u8a55\u4fa1\u3057\u305f\u3044\u3082\u306e&quot;&gt;\n\u30fb\n\u30fb\n\u30fb\n&lt;\/ng-container&gt;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>ngIf \u306e\u66f8\u304d\u65b9\u304c\u9055\u3046\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<code>ng-container<\/code> \u306e\u5834\u5408\u306f <code>*<\/code> \u306b\u3088\u308b ngIf \u3067\u66f8\u3051\u307e\u3059\u304c\u3001 <code>ng-template<\/code> \u306e\u5834\u5408\u306f\u305d\u306e\u8a18\u6cd5\u3067\u66f8\u304f\u3068\u305f\u3060\u306e\u30b3\u30e1\u30f3\u30c8\u304b\u306e\u3088\u3046\u306a\u632f\u308b\u821e\u3044\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h2>ngFor \u3092 ng-template \u3068 ng-container \u3067\u66f8\u3044\u3066\u307f\u308b<\/h2>\n<ul>\n<li>\n<p>ng-template \u306e\u5834\u5408<\/p>\n<pre><code><ng-template ngFor let-\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u540d [ngForOf]=\"for\u3067\u56de\u3057\u305f\u3044\u5909\u6570\">\n<\u53cd\u5fa9\u3057\u3066\u8868\u793a\u3055\u305b\u305f\u3044\u30bf\u30b0>{{ \u30ed\u30fc\u30ab\u30eb\u5909\u6570\u540d\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd }}<\/\u53cd\u5fa9\u3057\u3066\u8868\u793a\u3055\u305b\u305f\u3044\u30bf\u30b0>\n<\/ng-template><\/code><\/pre>\n<\/li>\n<li>\n<p>ng-container\u306e\u5834\u5408<\/p>\n<pre><code><ng-container *ngFor=\"let \u30ed\u30fc\u30ab\u30eb\u5909\u6570\u540d of for\u3067\u56de\u3057\u305f\u3044\u5909\u6570\">\n<\u53cd\u5fa9\u3057\u3066\u8868\u793a\u3055\u305b\u305f\u3044\u30bf\u30b0>{{ \u30ed\u30fc\u30ab\u30eb\u5909\u6570\u540d\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd }}<\/\u53cd\u5fa9\u3057\u3066\u8868\u793a\u3055\u305b\u305f\u3044\u30bf\u30b0>\n<\/ng-container><\/code><\/pre>\n<\/li>\n<\/ul>\n<p>\u3053\u3061\u3089\u3082 <code>ngFor(of)<\/code> \u306e\u66f8\u304d\u65b9\u304c\u9055\u3046\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u5358\u7d14\u306a\u66f8\u304d\u65b9\u306e\u6bd4\u8f03\u3060\u3051\u3092\u3059\u308b\u3068\u3001<code>ng-container<\/code> \u306e\u307b\u3046\u304c\u901a\u5e38\u306e\u30bf\u30b0\u3068\u540c\u3058\u3088\u3046\u306a\u69cb\u6587\u3067\u66f8\u3051\u307e\u3059\u306d\u3002<br \/>\n\u306a\u306e\u3067 <code>ng-container<\/code> \u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\uff01\u7b11<\/p>\n<p>\u3068\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u3061\u3087\u3063\u3068\u8aac\u660e\u304c\u77ed\u7d61\u7684\u3059\u304e\u3067\u3059\u306d(\uff1b \uff65`\u0434\uff65\u00b4)<\/p>\n<h2>\u3082\u3046\u5c11\u3057\u8a73\u3057\u304f\u66f8\u304f\u3068<\/h2>\n<p>\u305d\u3082\u305d\u3082\u306a\u306e\u3067\u3059\u304c\u3001\u3084\u306f\u308a\u5f79\u5272\u304c\u9055\u3044\u307e\u3059\u7b11<\/p>\n<p>\u5358\u7d14\u306a\u30af\u30e9\u30b9\u306e\u8a71\u3060\u3051\u3092\u3057\u3066\u3082 <code>TemplateRef<\/code> \u3068 <code>ViewContainerRef<\/code> \u3067\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u540d\u524d\u306e\u901a\u308a <code>ng-template<\/code> \u306f\u305f\u3060\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u3057\u3066\u306e\u6a5f\u80fd\u3067\u3059\u3002<br \/>\n<strong>ngIf\/then\/else \u69cb\u6587<\/strong> \u306e\u8aac\u660e\u306e\u3068\u304d\u306b\u3001then \u307e\u305f\u306f else \u306b\u6307\u5b9a\u3057\u305f\u306e\u306f\u3001\u307e\u3055\u306b\u3053\u306e <code>ng-template<\/code> \u306e <code>TepmlateRef<\/code> \u305d\u306e\u3082\u306e\u3060\u3063\u305f\u306e\u3067\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001 <code>ng-container<\/code> \u306f then\/else \u306b\u306f\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002\u30d9\u30fc\u30b9\u306e\u30af\u30e9\u30b9\u304c\u9055\u3046\u304b\u3089\u3068\u8a00\u3046\u306e\u304c\u4e00\u756a\u306e\u7406\u7531\u3067\u3059\u304c\u3001\u4f7f\u3044\u307f\u3061\u304c\u3084\u306f\u308a\u9055\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u3002<br \/>\n\u3061\u306a\u307f\u306b\u3001<code>ng-template<\/code> \u3067\u5b9a\u7fa9\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092 <code>ng-container<\/code> \u306e view \u3068\u3057\u3066\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b3\u30fc\u30c9\u3067\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>\n<p>ng-contaier \u306e\u4e2d\u8eab\u3092 ng-template \u3067\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u3067\u8868\u793a\u3059\u308b<\/p>\n<pre><code>&lt;!-- \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5b9a\u7fa9--&gt;\n&lt;ng-template #sample&gt;\n&lt;div&gt;\n\u30b5\u30f3\u30d7\u30eb\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u3059\u3002    \n&lt;\/div&gt;\n&lt;\/ng-template&gt;\n&lt;ng-container *ngTemplateOutlet=&quot;sample&quot;&gt;&lt;\/ng-container&gt;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u3060\u3051\u3067\u898b\u305f\u3089\u3001ngIf\uff08\u3082\u3057\u304f\u306f ngSwitch \uff09\u306e\u51fa\u3057\u5206\u3051\u3067\u4e8b\u8db3\u308a\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u3053\u306e\u3088\u3046\u306b ng-template \u3067\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u3092\u52d5\u7684\u306b\u51fa\u3057\u5206\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u306a\u306e\u3067\u8907\u96d1\u306a\u30ed\u30b8\u30c3\u30af\u304c\u7d61\u3080\u5834\u5408\u306f\u3046\u307e\u304f\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u826f\u3044\u304b\u3082\u3067\u3059\u306d\u3002<\/p>\n<h2>\u5225\u306e\u89b3\u70b9\u304b<\/h2>\n<p>\u5b9f\u88c5\u306e\u304a\u8a71\u3092\u3082\u3046\u5c11\u3057\u3059\u308b\u3068\u3001<code>ngIf<\/code>, <code>ngFor<\/code> \u306f\u540c\u4e00\u306e\u30bf\u30b0\u306b\u5bfe\u3057\u3066\u306f\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3068\u3044\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p>ngIf, ngFor\u3092\u66f8\u304d\u305f\u3044<\/p>\n<pre><code>&lt;div *ngIf=&quot;\u6761\u4ef6&quot; *ngFor=&quot;\u30eb\u30fc\u30d7&quot;&gt;\n\u30fb\n\u30fb\n\u30fb\n&lt;\/div&gt;<\/code><\/pre>\n<p>\u306a\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u305d\u3046\u3059\u308b\u3068\u3001\u5916\u5074\u306b\u66f8\u3044\u305f div \u30bf\u30b0\u304c\u7121\u99c4\u306b\u51fa\u529b\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>ngIf, ngFor\u3092\u66f8\u304d\u305f\u3044\u306e\u3067\u30bf\u30b0\u5206\u3051\u308b\u30b5\u30f3\u30d7\u30eb<\/p>\n<pre><code>&lt;div *ngIf=&quot;\u6761\u4ef6&quot;&gt;\u2190\u66f8\u3051\u308b\u3051\u3069\u3053\u306ediv\u672c\u5f53\u306f\u4e0d\u8981\n&lt;div *ngFor=&quot;\u30eb\u30fc\u30d7&quot;&gt;\n\u30fb\n\u30fb\n\u30fb\n&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>\u3053\u3053\u3067\u4f7f\u3048\u308b\u306e\u304c ng-container \u3067\u3059\u3002(\u524d\u8ff0\u306e\u901a\u308ang-template\u3067\u3082\u66f8\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304cng-container\u3067\u66f8\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059 )<\/p>\n<ul>\n<li>\n<p>ngIf, ngFor\u3092\u66f8\u304d\u305f\u3044\u306e\u3067\u30bf\u30b0\u5206\u3051\u308b\u30b5\u30f3\u30d7\u30eb( ng-container \u3092\u4f7f\u3046)<\/p>\n<pre><code>&lt;ng-container *ngIf=&quot;\u6761\u4ef6&quot;&gt;\n&lt;div *ngFor=&quot;\u30eb\u30fc\u30d7&quot;&gt;\n\u30fb\n\u30fb\n\u30fb\n&lt;\/div&gt;\n&lt;\/ng-container&gt;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>\u3053\u3046\u66f8\u304f\u3053\u3068\u3067\u51fa\u3057\u5206\u3051\u3092\u3057\u3064\u3064\u3001\u7121\u99c4\u306a\u30bf\u30b0\u304c\u51fa\u529b\u3055\u308c\u308b\u306e\u3092\u9632\u3052\u307e\u3059\u3002<\/p>\n<p><code>*ngFor<\/code> \u306e\u5185\u90e8\u306b <code>*ngIf<\/code> \u306e\u3088\u3046\u306a\u5834\u9762\u3067\u3082\u6d3b\u8e8d\u3057\u307e\u3059\u306d\u3002\uff08\u4e00\u5b9a\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u8868\u793a\u3057\u305f\u3044\u3068\u304d\u306b\u4e00\u90e8\u5206\u3060\u3051\u7279\u5b9a\u306e\u6761\u4ef6\u4e0b\u3067\u8868\u793a\/\u975e\u8868\u793a\u3092\u5207\u308a\u66ff\u3048\u305f\u3044\u6642\u306a\u3069\uff09<\/p>\n<p>\u3042\u3068\u3001\u526f\u6b21\u7684\u306a\u4f5c\u7528\u3068\u3057\u3066\u3001 ngIf\/ngFor \u3092\u4f7f\u3046\u3068\u304d\u306b ng-container \u3092\u4f7f\u3046\u3053\u3068\u3092\u30eb\u30fc\u30eb\u5316\u3059\u308c\u3070\u30b3\u30fc\u30c9\u30ea\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u89b3\u70b9\u304b\u3089\u3082\u898b\u901a\u3057\u304c\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002( ng-container \u304c\u66f8\u3044\u3066\u3042\u308b\u7b87\u6240\u306f\u4f55\u304b\u3057\u3089\u306e\u51fa\u3057\u5206\u3051\u51e6\u7406\u304c\u631f\u307e\u3063\u3066\u3044\u308b\u3068\u30d1\u30c3\u30c8\u898b\u3067\u308f\u304b\u308b)<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306f ngIf, ngFor \u304c div \u3084 ul, li \u30bf\u30b0\u3001\u306f\u305f\u307e\u305f ng-container \u3067\u8272\u3005\u4f7f\u308f\u308c\u3066\u3044\u3066\u306a\u304b\u306a\u304b\u30ab\u30aa\u30b9\u3067\u3059\u306d(^^;<\/p>\n<p>\u8133\u5185\u5909\u63db\u529b\u304c\u8a66\u3055\u308c\u308b\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306f\u306a\u308b\u3079\u304f\u907f\u3051\u307e\u3057\u3087\u3046\u7b11\uff08\u6570\u30ab\u6708\u5f8c\u3001\u81ea\u8eab\u3067\u3059\u3089\u308f\u304b\u3089\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u3042\u308a\uff01\uff01\uff09<\/p>\n<ul>\n<li>\n<p>\u7121\u79e9\u5e8f\u306a ngIf, ngFor \u3092\u4f7f\u3063\u305f\u30b5\u30f3\u30d7\u30eb<\/p>\n<pre><code>&lt;div *ngIf=&quot;\u6761\u4ef6\u305d\u306e1&quot;&gt;\n&lt;ul&gt;\n&lt;li *ngFor=&quot;\u30eb\u30fc\u30d7&quot;&gt;&lt;\/li&gt;    \n&lt;\/ul&gt;\n&lt;\/div&gt;\n&lt;ul *ngIf=&quot;!\u6761\u4ef6\u305d\u306e1&quot;&gt;\n&lt;ng-container *ngIf=&quot;\u6761\u4ef6\u305d\u306e2&quot;&gt;\n&lt;li *ngFor=&quot;\u30eb\u30fc\u30d7&quot;&gt;&lt;\/li&gt;    \n&lt;\/ng-container&gt;\n&lt;\/ul&gt;\n&lt;ng-container *ngIf=&quot;\u6761\u4ef6\u305d\u306e3&quot;&gt;\n\u30fb\n\u30fb\n\u30fb\n&lt;\/ng-container&gt;<\/code><\/pre>\n<\/li>\n<\/ul>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>\u4eca\u56de\u306f ng-template, ng-container \u306b\u95a2\u3057\u3066\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u56de\u306f ng-content \u3092\u4f7f\u3063\u305f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5bfe\u3057\u3066\u5916\u90e8\u304b\u3089\u5b50\u8981\u7d20\u3092\u7a81\u3063\u8fbc\u3080\u3088\u3046\u306a\u51e6\u7406\u3092\u66f8\u3044\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u3067\u306f\u7686\u3055\u3093\u3054\u304d\u3052\u3093\u3088\u3046\u3002<\/p>\n<h1>\u95a2\u9023\u8a18\u4e8b<\/h1>\n<p><a href=\"https:\/\/weseek.co.jp\/tech\/227\/\">Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e1<\/a><\/p>\n<p><a href=\"https:\/\/weseek.co.jp\/tech\/229\/\">Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u8a18\u4e8b\u3067\u306f SEROKU \u306e\u958b\u767a\u3092\u4f8b\u306b Angular Tips \u306e\u7d39\u4ecb\u3092\u3057\u3066\u3044\u307e\u3059\u3002(\u305d\u306e 3 \u304f\u3089\u3044\u307e\u3067\u7d9a\u3044\u3066\u3044\u307e\u3059) \u95a2\u9023\u8a18\u4e8b Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e1 Angular\u958b\u767a\u73fe\u5834\u306eTips-\u305d\u306e3 \u3084<\/p>\n","protected":false},"author":3,"featured_media":2115,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[30,31],"tags":[],"_links":{"self":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/245"}],"collection":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":17,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":4076,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/posts\/245\/revisions\/4076"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media\/2115"}],"wp:attachment":[{"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weseek.co.jp\/tech\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}