Access $scope angular variable to HTMl JS Code : I have angular code in my controller is 

    <div ng-controller = "myCtrl">
       $scope.name = "Hello";
    </div>

In My HTML file, I have javascript code where I want this $scope.name value :

     <html>
           <script>
              // But this seems not possible with {{ name}}
           </script>
     </html>

Is there any possibilities to access this $scope variable in JS code ?

