{"id":17478,"date":"2015-02-19T16:42:53","date_gmt":"2015-02-19T11:12:53","guid":{"rendered":"https:\/\/2thenew.today\/blog\/?p=17478"},"modified":"2017-08-03T15:58:28","modified_gmt":"2017-08-03T10:28:28","slug":"form-validations-using-angularjs","status":"publish","type":"post","link":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/","title":{"rendered":"Form Validations using AngularJs"},"content":{"rendered":"<p>There are lots of ways to validate a web page like HTML5 validations, but why not do it in a better interactive way by\u00a0using AngularJS. <a title=\"Building Intuitive Frontend Interfaces with AngularJS\" href=\"https:\/\/2thenew.today\/blog\/building-intuitive-frontend-interfaces-with-angularjs\/\">AngularJS provides us with several form properties<\/a> for validation, which helps in providing instant feedback in case validation is violated.<\/p>\n<p><strong>\u00a0 \u00a0 $valid:<\/strong> return true when input field is valid<strong>.<\/strong><\/p>\n<p><strong>\u00a0 \u00a0 $invalid:<\/strong> return true when input field is invalid.<\/p>\n<p><strong>\u00a0 \u00a0 $pristine:<\/strong> return true if input field has not been used yet.<\/p>\n<p><strong>\u00a0 \u00a0 $dirty:<\/strong> return true if input field has been used.<\/p>\n<p><strong>\u00a0 \u00a0 $error:<\/strong> Another useful property is the $error object that contains all of the validations \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0on a particular form whether they are valid or invalid.<\/p>\n<p><strong>NOTE :<\/strong> The form must have a name associated with it to validate.<\/p>\n<p>Before using angular validations, we need to disable default validations provided by HTML5. For this, add <strong>novalidate<\/strong>\u00a0attribute in our form tag.<\/p>\n<p>[js]<br \/>\n&lt;form name=&quot;userForm&quot; novalidate&gt;<br \/>\n&#8230;<br \/>\n&lt;\/form<br \/>\n[\/js]<\/p>\n<p>Some Angular directives also provides validation (i.e ngRequired, ngMaxlength, ngPattern, ngTrim, ngMinlength, etc).<\/p>\n<p>Lets use\u00a0<strong>ngClass<\/strong> directive to set CSS dynamically\u00a0on invalid input field :<\/p>\n<p>[js]<br \/>\n&lt;div class=&quot;form-group&quot;&gt;<br \/>\n &lt;label for=&quot;uMobile&quot;&gt;Mobile&lt;\/label&gt;<br \/>\n &lt;input type=&quot;text&quot; ng-model=&quot;uMobile&quot; required ng-class=&quot;{ &#8216;has-error&#8217; : userForm.uMobile.$invalid &amp;&amp; !userForm.uMobile.$pristine }&quot; class=&quot;form-control&quot; id=&quot;uMobile&quot; name=&quot;uMobile&quot; ng-pattern=&quot;\/^[0-9]+$\/&quot; ng-minlength=&quot;10&quot; ng-maxlength=&quot;10&quot; placeholder=&quot;Mobile Number&quot;&gt;<br \/>\n &#8230;<br \/>\n&lt;\/div&gt;<\/p>\n<p>[\/js]<\/p>\n<p>Then, we\u00a0can also show the error message for each of our\u00a0inputs if they are invalid or\u00a0have already been used with<strong> ng-show<\/strong> directive.<\/p>\n<p>[js]<\/p>\n<p>&lt;p ng-show=&quot;userForm.uMobile.$error.minlength&quot; class=&quot;error&quot;&gt;Mobile number is too short.&lt;\/p&gt;<br \/>\n&lt;p ng-show=&quot;userForm.uMobile.$error.maxlength&quot; class=&quot;error&quot;&gt;Mobile number is too long.&lt;\/p&gt;<br \/>\n&lt;p ng-show=&quot;userForm.uMobile.$error.pattern&quot; class=&quot;error&quot;&gt;Enter a numeric value&lt;\/p&gt;<\/p>\n<p>[\/js]<\/p>\n<p><strong>\u00a0<\/strong>Atlast to disable submit button if our form is $invalid,<strong>\u00a0ng-disabled <\/strong>is used\u00a0.<\/p>\n<p>[js]<\/p>\n<p>&lt;button type=&quot;submit&quot; class=&quot;btn btn-info btn-primary&quot; ng-disabled=&quot;userForm.$invalid&quot;&gt; Submit&lt;\/button&gt;<\/p>\n<p>[\/js]<\/p>\n<p>So in this way we can make use of <a title=\"Angular Development\" href=\"https:\/\/2thenew.today\/front-end-angularjs-development\">Angular validations<\/a> for validating our webpages easily. For demo please visit my github page <a title=\"Angular Validations\" href=\"https:\/\/github.com\/sandeepchhapola\/angular-validations\">link<\/a>\u00a0.<\/p>\n<p><span style=\"font-size: 20px; color: blue;\">Read Further on AngularJS Series<\/span><\/p>\n<ul>\n<li><a href=\"https:\/\/2thenew.today\/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.today\/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.today\/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.today\/blog\/angularjs-text-suggestions\/\">AngularJS :\u00a0Text Suggestions<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.today\/blog\/angularjs-sorting-objects-on-various-attributes\/\">AngularJS :\u00a0Sorting objects on various attributes<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.today\/blog\/angularjs-fetching-data-from-the-server\/\">AngularJS :\u00a0Fetching data from the server<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.today\/blog\/angularjs-multiple-views-layout-template-and-routing\/\">AngularJS :\u00a0Multiple Views, Layout\u00a0Template\u00a0and Routing<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.today\/blog\/angularjs-implementing-routes-and-multiple-views\/\">AngularJS :\u00a0Implementing Routes And Multiple Views<\/a><\/li>\n<li><a href=\"https:\/\/2thenew.today\/blog\/building-intuitive-frontend-interfaces-with-angularjs\/\">Building Intuitive Frontend Interfaces with AngularJS<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>There are lots of ways to validate a web page like HTML5 validations, but why not do it in a better interactive way by\u00a0using AngularJS. AngularJS provides us with several form properties for validation, which helps in providing instant feedback in case validation is violated. \u00a0 \u00a0 $valid: return true when input field is valid. [&hellip;]<\/p>\n","protected":false},"author":137,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":10,"footnotes":""},"categories":[1185],"tags":[3955,1186,4697,55,1647],"class_list":["post-17478","post","type-post","status-publish","format-standard","hentry","category-node-js-2","tag-angular-development","tag-angular-js","tag-angularjs-development-company","tag-javascript","tag-validations"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sandeep Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/\" \/>\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=\"Form Validations using AngularJs | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.today\/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=\"Form Validations using AngularJs | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.today\/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\\\/form-validations-using-angularjs\\\/#article\",\"name\":\"Form Validations using AngularJs | TO THE NEW Blog\",\"headline\":\"Form Validations using AngularJs\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sandeep-kumar\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-02-19T16:42:53+05:30\",\"dateModified\":\"2017-08-03T15:58:28+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#webpage\"},\"articleSection\":\"Node.js, angular development, Angular.js, AngularJS Development Company, javascript, validations\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#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\\\/node-js-2\\\/#listItem\",\"name\":\"Node.js\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/#listItem\",\"position\":2,\"name\":\"Node.js\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#listItem\",\"name\":\"Form Validations using AngularJs\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#listItem\",\"position\":3,\"name\":\"Form Validations using AngularJs\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/#listItem\",\"name\":\"Node.js\"}}]},{\"@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\\\/sandeep-kumar\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sandeep-kumar\\\/\",\"name\":\"Sandeep Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2037ba78dae91bb486e31ae9232a9cc38d448b628649a56415692a329bf6c59?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sandeep Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/\",\"name\":\"Form Validations using AngularJs | TO THE NEW Blog\",\"description\":\"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/form-validations-using-angularjs\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sandeep-kumar\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sandeep-kumar\\\/#author\"},\"datePublished\":\"2015-02-19T16:42:53+05:30\",\"dateModified\":\"2017-08-03T15:58:28+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":"Form Validations using AngularJs | TO THE NEW Blog","description":"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.","canonical_url":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#article","name":"Form Validations using AngularJs | TO THE NEW Blog","headline":"Form Validations using AngularJs","author":{"@id":"https:\/\/2thenew.today\/blog\/author\/sandeep-kumar\/#author"},"publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"},"datePublished":"2015-02-19T16:42:53+05:30","dateModified":"2017-08-03T15:58:28+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#webpage"},"articleSection":"Node.js, angular development, Angular.js, AngularJS Development Company, javascript, validations"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.today\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/node-js-2\/#listItem","name":"Node.js"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/node-js-2\/#listItem","position":2,"name":"Node.js","item":"https:\/\/2thenew.today\/blog\/category\/node-js-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#listItem","name":"Form Validations using AngularJs"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#listItem","position":3,"name":"Form Validations using AngularJs","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/node-js-2\/#listItem","name":"Node.js"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.today\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.today\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.today\/blog\/author\/sandeep-kumar\/#author","url":"https:\/\/2thenew.today\/blog\/author\/sandeep-kumar\/","name":"Sandeep Kumar","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c2037ba78dae91bb486e31ae9232a9cc38d448b628649a56415692a329bf6c59?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sandeep Kumar"}},{"@type":"WebPage","@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#webpage","url":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/","name":"Form Validations using AngularJs | TO THE NEW Blog","description":"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.today\/blog\/author\/sandeep-kumar\/#author"},"creator":{"@id":"https:\/\/2thenew.today\/blog\/author\/sandeep-kumar\/#author"},"datePublished":"2015-02-19T16:42:53+05:30","dateModified":"2017-08-03T15:58:28+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.today\/blog\/#website","url":"https:\/\/2thenew.today\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Form Validations using AngularJs | TO THE NEW Blog","og:description":"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.","og:url":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/","og:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Form Validations using AngularJs | TO THE NEW Blog","twitter:description":"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.","twitter:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"17478","title":"Form Validations using AngularJs | #site_title","description":"AngularJS provide us with several form properties for validation, which helps in providing instant feedback in case validation is violated.","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-29 17:32:50","updated":"2024-02-29 09:28:21","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.today\/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.today\/blog\/category\/node-js-2\/\" title=\"Node.js\">Node.js<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tForm Validations using AngularJs\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.today\/blog"},{"label":"Node.js","link":"https:\/\/2thenew.today\/blog\/category\/node-js-2\/"},{"label":"Form Validations using AngularJs","link":"https:\/\/2thenew.today\/blog\/form-validations-using-angularjs\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/17478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/users\/137"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/comments?post=17478"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/17478\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/media?parent=17478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/categories?post=17478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/tags?post=17478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}