$scope.$watch(function() { return $scope.data.aw.itemId }, function(n, o) {
            $scope.getRights();
        });