<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script> <script> var myAngApp = angular.module('SPAngGetWeb', []); myAngApp.controller('SPAngGetWebController', function ($scope, $http) { $http({ method: 'GET', url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/webs?$orderby=Title", headers: { "Accept": "application/json;odata=verbose" } }).success(function (data, status, headers, config) { $scope.customers = data.d.results; }).error(function (data, status, headers, config) { }); }); </script> <div ng-app="SPAngGetWeb"> <div ng-controller="SPAngGetWebController" >