{"id":14461,"date":"2014-06-30T23:08:42","date_gmt":"2014-06-30T17:38:42","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=14461"},"modified":"2017-03-06T10:50:24","modified_gmt":"2017-03-06T05:20:24","slug":"notation-symbols-in-isolated-scope","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/","title":{"rendered":"Notation Symbols in Isolated Scope"},"content":{"rendered":"<p>In my <strong>previous blog<\/strong> we studied the <strong>scope<\/strong> in <strong>AngularJS<\/strong>(we read three types of <strong>scope<\/strong> in a <strong>directive<\/strong>, <strong>Parent Scope<\/strong>, <strong>Inherited Scope<\/strong> and <strong>Isolated Scope<\/strong>). <strong>Isolated Scope<\/strong> was completely <strong>Isolated <\/strong>after <strong>AngularJS<\/strong>-1.2 so we can not access <strong>Parent Scope directly<\/strong>. But sometimes we face a requirement where we want to access <strong>Parent Scope<\/strong> property\/methods into <strong>Isolated Scope<\/strong>, then <strong>Notation Symbols<\/strong> get into the role, and they help us to access <strong>parent scope<\/strong> property\/methods. There are three types of <strong>Notations Symbols<\/strong>:<\/p>\n<p>1. <strong>@ (Read Only\/1-way-binding) Notation Symbol<\/strong><br \/>\n2. <strong>= (2-way-binding) Notation Symbol<\/strong><br \/>\n3. <strong>&amp; (Function) Notation Symbol<\/strong><\/p>\n<p>1. <strong>@ (Read Only\/1-way-binding) Notation Symbol<\/strong>: If we bind a property from <strong>Parent Scope<\/strong> to <strong>Child Directive Scope<\/strong> via <strong>@ notation<\/strong>, then, whatever change is made to the <strong>Parent Scope<\/strong> property the same will automatically reflect to <strong>Child Directive Scope<\/strong> property also. But if we make change to <strong>Child Directive Scope<\/strong> property then that change will not be reflected in <strong>Parent Scope<\/strong> property. So we call it a <strong>Read Only Notation<\/strong> or <strong>1-way-binding Notation<\/strong>.<\/p>\n<p>Defining a <strong>Isolated Scope Directive<\/strong> named as <strong>readOnlyNotationSymbol<\/strong> below:<br \/>\n[js]<br \/>\nnotationSymbolsTestApp.directive(&#8216;readOnlyNotationSymbol&#8217;, function () {<br \/>\n    return {<br \/>\n        scope: {<br \/>\n            readOnlyAge: &#8216;@userAge&#8217;<br \/>\n        },<br \/>\n        link: function (scope) {<br \/>\n            scope.increaseAge = function () {<br \/>\n                scope.readOnlyAge++;<br \/>\n            };<br \/>\n        },<br \/>\n        template: &amp;quot;&amp;lt;div&amp;gt;Read Only Age: {{readOnlyAge}}&amp;lt;\/div&amp;gt; &amp;lt;input type=&#8217;button&#8217; value=&#8217;Update Read Only Age&#8217; ng-click=&#8217;increaseAge()&#8217;&amp;gt;&amp;quot;<br \/>\n    };<br \/>\n});<br \/>\n[\/js]<\/p>\n<p>Now we have to use above <strong>readOnlyNotationSymbol<\/strong> <strong>directive<\/strong> as below, and we have to provide age value to user-age attribute which will be assigned to <strong>Isolate Directive Scope<\/strong> property named readOnlyAge with the help of <strong>@ Notation Symbol<\/strong>.<br \/>\n[html]<br \/>\n&amp;lt;div read-only-notation-symbol user-age=&amp;quot;{{age}}&amp;quot;&amp;gt;&amp;lt;\/div&amp;gt;<br \/>\n[\/html]<\/p>\n<p><strong>NOTE: <\/strong>Attribute definition is exactly same as <strong>directive<\/strong>. Defining the first letter small with Camel-Case style and with HTML as all small letters with -\/minus separator.<\/p>\n<p>2. <strong>= (2-way-binding) Notation Symbol<\/strong>: If we bind property from <strong>Parent Scope<\/strong> to <strong>Child Directive Scope<\/strong> via <strong>= Notation<\/strong>, then the changes made to <strong>Parent Scope<\/strong> property will automatically reflect in <strong>Child Directive Scope<\/strong> property. And if changes are made to <strong>Child Directive Scope<\/strong> property, they will automatically reflect in <strong>Parent Scope<\/strong> property as well. So we call it a <strong>2-way-binding Notation<\/strong>.<\/p>\n<p>Defining a <strong>Isolated Scope Directive<\/strong> with <strong>twoWayBindingNotationSymbol<\/strong> named as below:<br \/>\n[js]<br \/>\nnotationSymbolsTestApp.directive(&#8216;twoWayBindingNotationSymbol&#8217;, function () {<br \/>\n    return {<br \/>\n        scope: {<br \/>\n            twoWayBindAge: &#8216;=userAge&#8217;<br \/>\n        },<br \/>\n        link: function (scope) {<br \/>\n            scope.increaseAge = function () {<br \/>\n                scope.twoWayBindAge++;<br \/>\n            };<br \/>\n        },<br \/>\n        template: &amp;quot;&amp;lt;div&amp;gt;Two Way Bind Age: {{twoWayBindAge}}&amp;lt;\/div&amp;gt; &amp;lt;input type=&#8217;button&#8217; value=&#8217;Increase Age&#8217; ng-click=&#8217;increaseAge()&#8217;&amp;gt;&amp;quot;<br \/>\n    };<br \/>\n});<br \/>\n[\/js]<\/p>\n<p>Now we have to use above <strong>twoWayBindingNotationSymbol<\/strong> <strong>directive<\/strong> as below, and we have to provide age value to user-age attribute which will be assigned to <strong>Isolate Directive Scope<\/strong> property named twoWayBindAge with the help of <strong>= Notation Symbol<\/strong>.<br \/>\n[html]<br \/>\n&amp;lt;div two-way-binding-notation-symbol user-age=&amp;quot;age&amp;quot;&amp;gt;&amp;lt;\/div&amp;gt;<br \/>\n[\/html]<\/p>\n<p><strong>NOTE: <\/strong>When we are accessing <strong>Parent Scope<\/strong> property with <strong>@ Notation<\/strong> then we have to pass value of that property with the help of <strong>{{}}\/curly braces<\/strong>, to that attribute and when we are accessing <strong>Parent Scope<\/strong> property with <strong>= Notation <\/strong>then we have to  pass property directly to that attribute.<\/p>\n<p>3. <strong>&amp; (Function) Notation Symbol<\/strong>: If we want to access any method\/function into <strong>Isolated Directive Scope<\/strong> from <strong>Parent Scope<\/strong> then we have to use <strong>&amp; (Function) Notation Symbol<\/strong>. <\/p>\n<p>Defining a <strong>Isolated Scope Directive<\/strong> with <strong>expressionFunctionBindingNotationSymbol<\/strong> named as below:<br \/>\n[js]<br \/>\nnotationSymbolsTestApp.directive(&#8216;expressionFunctionBindingNotationSymbol&#8217;, function () {<br \/>\n    return {<br \/>\n        scope: {<br \/>\n            functionIncreaseAge: &#8216;&amp;amp;increaseAge&#8217;<br \/>\n        },<br \/>\n        template: &amp;quot;&amp;lt;input type=&#8217;button&#8217; value=&#8217;Increase Age&#8217; ng-click=&#8217;functionIncreaseAge()&#8217;&amp;gt;&amp;quot;<br \/>\n    };<br \/>\n});<br \/>\n[\/js]<\/p>\n<p>Now we have to use above <strong>expressionFunctionBindingNotationSymbol<\/strong> <strong>directive<\/strong> as below, and we have to provide increaseAge function to increase-age attribute which will be assigned to <strong>Isolate Directive Scope<\/strong> method named functionIncreaseAge with the help of<strong> &amp; Notation symbol<\/strong>.<br \/>\n[html]<br \/>\n&amp;lt;div expression-function-binding-notation-symbol increase-age=&amp;quot;increaseAge()&amp;quot;&amp;gt;&amp;lt;\/div&amp;gt;<br \/>\n[\/html]<\/p>\n<p><strong>NOTE: <\/strong>Most of the time, for sharing the function\/method between <strong>Parent Scope<\/strong> and <strong>Child Directive Scope<\/strong> we use <strong>controllers<\/strong> in <strong>Directives<\/strong>, which we will discuss in one of my upcoming blog. But <strong>&amp; (Method) Notation<\/strong> can also be used in some cases.<\/p>\n<p><strong>Note: <\/strong>You can checkout full working source code from this <a href=\"https:\/\/github.com\/AmitThakkar\/AngularDemo\" target=\"_blank\">link<\/a>.<\/p>\n<p>Amit Kumar<br \/>\n<a href=\"http:\/\/www.tothenew.com\/blog\/author\/amit.kumar\/\">amit.kumar@intelligrape.com<\/a><br \/>\nin.linkedin.com\/in\/amitthakkar01<br \/>\ntwitter.com\/amit_thakkar01<br \/>\n<strong><a href=\"http:\/\/www.tothenew.com\/blog\/author\/amit-kumar\/\">More Blogs by Me<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[1],"tags":[1189,1457,1460,1300,1461],"class_list":["post-14461","post","type-post","status-publish","format-standard","hentry","category-technology","tag-directive","tag-isolated","tag-notation","tag-scope","tag-symbol"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Amit Kumar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/\" \/>\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=\"Notation Symbols in Isolated Scope | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/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=\"Notation Symbols in Isolated Scope | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/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\\\/notation-symbols-in-isolated-scope\\\/#article\",\"name\":\"Notation Symbols in Isolated Scope | TO THE NEW Blog\",\"headline\":\"Notation Symbols in Isolated Scope\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2014-06-30T23:08:42+05:30\",\"dateModified\":\"2017-03-06T10:50:24+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#webpage\"},\"articleSection\":\"Technology, Directive, isolated, notation, scope, symbol\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#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\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#listItem\",\"name\":\"Notation Symbols in Isolated Scope\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#listItem\",\"position\":3,\"name\":\"Notation Symbols in Isolated Scope\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@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\\\/amit-kumar\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/\",\"name\":\"Amit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/859356966acd3c3879759369c7ac72cfb81228287bfc78e99c3080bee9b6b9ba?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Amit Kumar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/\",\"name\":\"Notation Symbols in Isolated Scope | TO THE NEW Blog\",\"description\":\"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\\\/methods into\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/notation-symbols-in-isolated-scope\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/amit-kumar\\\/#author\"},\"datePublished\":\"2014-06-30T23:08:42+05:30\",\"dateModified\":\"2017-03-06T10:50:24+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":"Notation Symbols in Isolated Scope | TO THE NEW Blog","description":"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into","canonical_url":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#article","name":"Notation Symbols in Isolated Scope | TO THE NEW Blog","headline":"Notation Symbols in Isolated Scope","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/amit-kumar\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2014-06-30T23:08:42+05:30","dateModified":"2017-03-06T10:50:24+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#webpage"},"articleSection":"Technology, Directive, isolated, notation, scope, symbol"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#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\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#listItem","name":"Notation Symbols in Isolated Scope"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#listItem","position":3,"name":"Notation Symbols in Isolated Scope","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@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\/amit-kumar\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/amit-kumar\/","name":"Amit Kumar","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/859356966acd3c3879759369c7ac72cfb81228287bfc78e99c3080bee9b6b9ba?s=96&d=mm&r=g","width":96,"height":96,"caption":"Amit Kumar"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/","name":"Notation Symbols in Isolated Scope | TO THE NEW Blog","description":"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/amit-kumar\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/amit-kumar\/#author"},"datePublished":"2014-06-30T23:08:42+05:30","dateModified":"2017-03-06T10:50:24+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"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Notation Symbols in Isolated Scope | TO THE NEW Blog","og:description":"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into","og:url":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Notation Symbols in Isolated Scope | TO THE NEW Blog","twitter:description":"In my previous blog we studied the scope in AngularJS(we read three types of scope in a directive, Parent Scope, Inherited Scope and Isolated Scope). Isolated Scope was completely Isolated after AngularJS-1.2 so we can not access Parent Scope directly. But sometimes we face a requirement where we want to access Parent Scope property\/methods into","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"14461","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","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":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","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 21:30:41","updated":"2024-02-29 09:32: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:\/\/www.tothenew.com\/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:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNotation Symbols in Isolated Scope\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"Notation Symbols in Isolated Scope","link":"https:\/\/www.tothenew.com\/blog\/notation-symbols-in-isolated-scope\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/14461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=14461"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/14461\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=14461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=14461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=14461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}