Currently, I am in the process of developing an AngularJS directive. However, I have encountered an issue where a scope variable appears to be undefined
when attempting to access it. Interestingly, upon printing out the scope
, it is evident that the variable does indeed contain a value.
To further investigate this matter, please refer to your JavaScript console as that is where I have displayed this information.
For demonstration purposes, you can view a Plunker example here: http://plnkr.co/edit/1cSVZJgtlUazOqTuCNOK