{"id":2166,"date":"2022-08-30T15:22:36","date_gmt":"2022-08-30T15:22:36","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/04\/angularjs-understanding-mark-and-services-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:22:36","modified_gmt":"2022-08-30T15:22:36","slug":"angularjs-understanding-mark-and-services-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/angularjs-understanding-mark-and-services-collection-of-common-programming-errors\/","title":{"rendered":"angularjs &#8211; understanding $ mark and services-Collection of common programming errors"},"content":{"rendered":"<blockquote>\n<p>&#8216;$&#8217; Prefix Naming Convention You can create your own services, and in fact we will do exactly that in step 11. As a naming convention, angular&#8217;s built-in services, Scope methods and a few other angular APIs have a &#8216;$&#8217; prefix in front of the name. Don&#8217;t use a &#8216;$&#8217; prefix when naming your services and models, in order to avoid any possible naming collisions.<\/p>\n<\/blockquote>\n<p id=\"rop\"><small>Originally posted 2014-01-04 02:50:31. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>&#8216;$&#8217; Prefix Naming Convention You can create your own services, and in fact we will do exactly that in step 11. As a naming convention, angular&#8217;s built-in services, Scope methods and a few other angular APIs have a &#8216;$&#8217; prefix in front of the name. Don&#8217;t use a &#8216;$&#8217; prefix when naming your services and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2166","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2166"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2166\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}