Hello

This is my para 1


var name = "bala"
z.angularBind("name",name)

This is my para2

%angular
<script type="text/javascript">
    var controllerElement = document.querySelector('[ng-app]');
    var scope = angular.element(controllerElement).scope().compiledScope;
    console.log(scope.name);
</script>


I ran para 1 and then para 2. Expected to see "bala" as output but this did
not print anything. what could be the issue here? I do not see any error
log as well in my browser console.

regards
Bala

Reply via email to