Forum Discussion
VikasB
8 years agoBoss
Hi shhouji I do not think so there is any issue with scope function. Make sure your querySelector working fine and getting the required value in cThread.
In case your querySelector working fine then can you please check what is says with unique element id which exist on your page as for example I am using "test" below.
var scope = angular.element(document.getElementById("test")).scope(); console.log(scope);
Related Content
- 4 months ago
- 8 years ago