{"id":10226,"date":"2013-04-25T17:06:57","date_gmt":"2013-04-25T11:36:57","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=10226"},"modified":"2017-08-03T16:04:05","modified_gmt":"2017-08-03T10:34:05","slug":"angularjs-getting-started-with-directives","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/","title":{"rendered":"AngularJS : Getting started with Directives"},"content":{"rendered":"<p style=\"text-align: justify;\">In this post we will go through an important aspect of <a title=\"AngularJS Development Company\" href=\"https:\/\/2thenew.online\/front-end-angularjs-development\">AngularJS<\/a> i.e., <strong>Directives<\/strong>.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/\">Directives<\/a> helps us do things in a better and cleaner way. Lets get into the code rather going into\u00a0theoretical\u00a0explanations, which will make it more clear what actually directives do.<\/p>\n<p style=\"text-align: justify;\">We have written a simple directive below which shows some HTML when the element being created is encountered.<\/p>\n<p>[html]<\/p>\n<p>&lt;script src=&quot;https:\/\/ajax.googleapis.com\/ajax\/libs\/angularjs\/1.0.1\/angular.min.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;<\/p>\n<p>&lt;\/pre&gt;<br \/>\n&lt;div&gt;&lt;\/div&gt;<br \/>\n&lt;pre&gt;<br \/>\n&lt;script&gt;\/\/ &lt;![CDATA[<\/p>\n<p>myApp = angular.module(&quot;FirstDirective&quot;,[]);<\/p>\n<p>myApp.directive(&#8216;mytag&#8217;,function(){<br \/>\n    return {<br \/>\n        restrict: &quot;E&quot;,<br \/>\n        template: &quot;&lt;strong&gt;This is a great First Directive&lt;\/strong&gt;&quot;,<br \/>\n        replace: true,<br \/>\n    }<br \/>\n})<\/p>\n<p>\/\/ ]]&gt;&lt;\/script&gt;<\/p>\n<p>[\/html]<\/p>\n<p style=\"text-align: justify;\">In the above code, we have &#8220;mytag&#8221; element which when encountered in HTML renders the corresponding template. \u00a0Lets see what the code does,<\/p>\n<p style=\"text-align: justify;\"><strong>myApp.directive()<\/strong> is another syntax that we have to remember. The first argument in this is the name of the tag that you want, in our case its <strong>&#8220;mytag&#8221;<\/strong>. Second thing is a factory function which returns an object that defines the directive properties.<\/p>\n<p style=\"text-align: justify;\">In this object we have set <strong>&#8220;restrict&#8221;<\/strong> as E which makes it an Element that can be used like any of HTML tags. The second option <strong>&#8220;template&#8221;<\/strong> defines the HTML template to be loaded and the third option <strong>&#8220;replace&#8221;<\/strong> if set to true replaces the current element with the template.<\/p>\n<p style=\"text-align: justify;\">We will learn more about other options available to us in the next post.<\/p>\n<p style=\"text-align: justify;\">Hope it Helps! Feel free to ask if you have any queries.<\/p>\n<p>Read Further on AngularJS Series<\/p>\n<ul>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-a-write-less-do-more-javascript-framework\/\">AngularJS :\u00a0A \u201cWrite Less Do More\u201d JavaScript Framework<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-updating-a-label-dynamically-with-user-input\/\">AngularJS :\u00a0Updating a Label Dynamically with User Input<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-adding-items-to-a-javascript-list-and-updating-corresponding-dom-dynamically\/\">AngularJS :\u00a0Adding Items to a JavaScript List and updating corresponding DOM Dynamically<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-text-suggestions\/\">AngularJS :\u00a0Text Suggestions<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-sorting-objects-on-various-attributes\/\">AngularJS :\u00a0Sorting objects on various attributes<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-fetching-data-from-the-server\/\">AngularJS :\u00a0Fetching data from the server<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-multiple-views-layout-template-and-routing\/\">AngularJS :\u00a0Multiple Views, Layout\u00a0Template\u00a0and Routing<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/angularjs-implementing-routes-and-multiple-views\/\">AngularJS :\u00a0Implementing Routes And Multiple Views<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.online\/blog\/building-intuitive-frontend-interfaces-with-angularjs\/\">Building Intuitive Frontend Interfaces with AngularJS<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into\u00a0theoretical\u00a0explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when [&hellip;]<\/p>\n","protected":false},"author":63,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":3,"footnotes":""},"categories":[1439,3429],"tags":[3955,955,4697,1155],"class_list":["post-10226","post","type-post","status-publish","format-standard","hentry","category-angular","category-front-end-development","tag-angular-development","tag-angularjs","tag-angularjs-development-company","tag-directives"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Suroor Wijdan\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"AngularJS : Getting started with Directives | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"AngularJS : Getting started with Directives | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#article\",\"name\":\"AngularJS : Getting started with Directives | TO THE NEW Blog\",\"headline\":\"AngularJS : Getting started with Directives\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/suroor\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2013-04-25T17:06:57+05:30\",\"dateModified\":\"2017-08-03T16:04:05+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#webpage\"},\"articleSection\":\"AngularJS, Front End Development, angular development, AngularJS, AngularJS Development Company, directives\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/angular\\\/#listItem\",\"name\":\"AngularJS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/angular\\\/#listItem\",\"position\":2,\"name\":\"AngularJS\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/angular\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#listItem\",\"name\":\"AngularJS : Getting started with Directives\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#listItem\",\"position\":3,\"name\":\"AngularJS : Getting started with Directives\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/angular\\\/#listItem\",\"name\":\"AngularJS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/suroor\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/suroor\\\/\",\"name\":\"Suroor Wijdan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be5119c6186fc861966771aedc6388b9ed629f481b1944673d6d861ae88f7d3b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Suroor Wijdan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/\",\"name\":\"AngularJS : Getting started with Directives | TO THE NEW Blog\",\"description\":\"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/angularjs-getting-started-with-directives\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/suroor\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/suroor\\\/#author\"},\"datePublished\":\"2013-04-25T17:06:57+05:30\",\"dateModified\":\"2017-08-03T16:04:05+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"AngularJS : Getting started with Directives | TO THE NEW Blog","description":"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when","canonical_url":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#article","name":"AngularJS : Getting started with Directives | TO THE NEW Blog","headline":"AngularJS : Getting started with Directives","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/suroor\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2013-04-25T17:06:57+05:30","dateModified":"2017-08-03T16:04:05+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#webpage"},"articleSection":"AngularJS, Front End Development, angular development, AngularJS, AngularJS Development Company, directives"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/angular\/#listItem","name":"AngularJS"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/angular\/#listItem","position":2,"name":"AngularJS","item":"https:\/\/2thenew.online\/blog\/category\/angular\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#listItem","name":"AngularJS : Getting started with Directives"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#listItem","position":3,"name":"AngularJS : Getting started with Directives","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/angular\/#listItem","name":"AngularJS"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/suroor\/#author","url":"https:\/\/2thenew.online\/blog\/author\/suroor\/","name":"Suroor Wijdan","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be5119c6186fc861966771aedc6388b9ed629f481b1944673d6d861ae88f7d3b?s=96&d=mm&r=g","width":96,"height":96,"caption":"Suroor Wijdan"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#webpage","url":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/","name":"AngularJS : Getting started with Directives | TO THE NEW Blog","description":"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/suroor\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/suroor\/#author"},"datePublished":"2013-04-25T17:06:57+05:30","dateModified":"2017-08-03T16:04:05+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"AngularJS : Getting started with Directives | TO THE NEW Blog","og:description":"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when","og:url":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"AngularJS : Getting started with Directives | TO THE NEW Blog","twitter:description":"In this post we will go through an important aspect of AngularJS i.e., Directives. Directives helps us do things in a better and cleaner way. Lets get into the code rather going into theoretical explanations, which will make it more clear what actually directives do. We have written a simple directive below which shows some HTML when","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"10226","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 08:08:02","updated":"2024-02-29 08:51:49","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/angular\/\" title=\"AngularJS\">AngularJS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAngularJS : Getting started with Directives\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"AngularJS","link":"https:\/\/2thenew.online\/blog\/category\/angular\/"},{"label":"AngularJS : Getting started with Directives","link":"https:\/\/2thenew.online\/blog\/angularjs-getting-started-with-directives\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/10226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=10226"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/10226\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=10226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=10226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=10226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}