I am loading JSON file from S3. File is loading successfully but problem is, I cannot access AnglarJS modules($scope, services and etc) in my callback function because it is written outside angularJS. Is there a way to access **$scope** in my callback?

**AngularJS code**

```
var url = "http://my_s3_url/abc/v1/klm/my.json"

$http.jsonp(url);

```

**my.json**

```
jsonp_callback({name:"xyz",age:2})

```

**callback**

```
<script>
   function jsonp_callback(data) {
      console.log(data.name);
      // cannot access $scope here :(
   }
</script>

```