$(this) alternative of angularjs
<p>I want to do something similar in AngularJS with this jquery code</p>

<pre><code>x = $(this).next().next().val();
alert(x);
</code></pre>

<p>The HTML code is:</p>

<pre><code>&lt;span ng-click="ajax_update_button()" class="glyphicon glyphicon-pencil" style="cursor: pointer; color: red;"&gt;&lt;/span&gt;
&lt;span ng-click="ajax_delete([[ x.id ]])" style="cursor: pointer; color: red;"&gt;X&lt;/span&gt; ----- 
&lt;span&gt;[[ x.name ]]&lt;/span&gt;
</code></pre>

<p>angular javacript is:</p>

<pre><code>var StudentListSystem = angular.module('StudentListSystem', ['ngRoute']);

StudentListSystem.controller('SectionFormController', function($scope, $http){          
    $scope.ajax_delete = function(id){
        // alert(id);
        $http.delete('http://127.0.0.1:8000/api/v1/section/'+id)
        .then(function(response){
            $scope.Notifications = true;
            $scope.Deleted = response.data;
            // alert(JSON.stringify(response));
            $http.get('http://127.0.0.1:8000/api/v1/section/')
            .then(function(response){
                $scope.Sections = response.data;
            });
        }, function(response){
            $scope.Notifications = true;
            $scope.Errors = response.data;
        });
    }
    $scope.ajax_update_button = function(event){
        x = $(this).next().next().text();
        $(this).next().next().html("&lt;input type='text' value='"+x+"'&gt;");
    }
});
</code></pre>

<p>Main question is that I am looking for an alternative of $(this) from jquery to angularjs</p>