AngularJS入門(四)

AngularJS XMLHttpRequest 1.  $http是AngularJS的一個核心服務,用於讀取遠程服務器或數據庫的數據。php 好比有文件:點擊查看json內容,則可使用$http.get(url) 來讀取服務器數據。html 示例以下:angularjs <div ng-app="" ng-controller="customersController"> <ul> <l
相關文章
相關標籤/搜索