[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-198016-105":53,"doc-detail-198016-en":126},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","angularjs-api-documentation","AngularJS API Documentation","","This document provides an overview of key AngularJS API components, including $evalAsync, $new, $on, and $watch functions for scope management and event handling. It also details properties of NgModelController such as $pristine, $dirty, $valid, $invalid, and $error, along with methods like $render(), $setValidity(), and $setViewValue(). The document includes links to the official AngularJS documentation for further reference on form controllers and NgModelController.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/angularjs-api-documentation/198016/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/angularjs-api-documentation/198016.png","ImageObject",442,249,{"name":88,"@type":89},"Aditya","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-09-26","2026-09-03",true,{"@type":98,"interactionType":99,"userInteractionCount":79},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What is the purpose of $evalAsync in AngularJS?","Question",{"text":108,"@type":109},"$evalAsync executes an expression on the current scope at a later point in time, allowing for asynchronous evaluation of expressions.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"What are the key properties of NgModelController?",{"text":113,"@type":109},"Key properties include $pristine, $dirty, $valid, $invalid, and $error, which indicate the state and validity of a model binding.",{"name":115,"@type":106,"acceptedAnswer":116},"How can you update the view with NgModelController?",{"text":117,"@type":109},"The $setViewValue(value) method is used to set the view value of the model, potentially triggering updates to the view.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},198016,1788473088,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":79,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":79,"language":135,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":136,"faqs":137,"seo_title":138,"seo_description":61,"update_tm":125,"read_time":73},962085564549,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","| $evalAsync(expression)\u003Cbr>Executes the expression on the current scope at a later point in time |\n| --- |\n| $new(isolate)\u003Cbr>Creates a new child scope |\n| $on(name, listener)\u003Cbr>Listens on events of a given type |\n| $watch(watchExp, listener(newVal, oldVal, scope), objectEquality)\u003Cbr>Watch a model (exp) for changes and fires the listener callback. Pass true as a third argument to watch an object's properties too. |\n\n| \u003Cbr>$pristine\u003Cbr>$dirty\u003Cbr>\u003Cbr>$valid\u003Cbr>$invalid\u003Cbr>\u003Cbr>$error |\n| --- |\n| [http://docs.angularjs.org/api/ng.directive:form.For](http://docs.angularjs.org/api/ng.directive:form.For)mController |\n| NgModelController |\n| \u003Cbr>$render() Called when the view needs tobe updated. It is expected that the user of the ng-model directive will implement this method.\u003Cbr>$setValidity(validationErrorKey , isValid)\u003Cbr>$setViewValue(value) $viewValue mixed $modelValue mixed $parsers array of function after reading val from DOM to sanitize / convert / validate the value $formatters array of functions to convert / validate the value $error object $pristine boolean $dirty boolean $valid boolean $invalid boolean |\n| \u003Cbr>[http://docs.angularjs.org/api/ng.directive:ngModel](http://docs.angularjs.org/api/ng.directive:ngModel)[ ](http://docs.angularjs.org/api/ng.directive:ngModel)NgModelController |","cbCaikZ6VhRWuCEQ","https://ap.wps.com/l/cbCaikZ6VhRWuCEQ","pdf",112189,"English","# Scope API\n## $evalAsync\n## $new\n## $on\n## $watch\n\n# NgModelController Properties and Methods\n## Properties\n## $render()\n## $setValidity()\n## $setViewValue()","[{\"question\":\"What is the purpose of $evalAsync in AngularJS?\",\"answer\":\"$evalAsync executes an expression on the current scope at a later point in time, allowing for asynchronous evaluation of expressions.\"},{\"question\":\"What are the key properties of NgModelController?\",\"answer\":\"Key properties include $pristine, $dirty, $valid, $invalid, and $error, which indicate the state and validity of a model binding.\"},{\"question\":\"How can you update the view with NgModelController?\",\"answer\":\"The $setViewValue(value) method is used to set the view value of the model, potentially triggering updates to the view.\"}]","AngularJS API Documentation | PDF"]