1
什麼,我想從我的賬戶火力火力地堡沒有回報angularjs
var myApp = angular.module('myApp',['firebase']);
//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});
myApp.factory("Items", function($firebaseArray) {
var itemsRef = new Firebase("https://tukang-urut-dayang.firebaseio.com/senarai_pelanggan");
return $firebaseArray(itemsRef);
})
function MyCtrl($scope,Items) {
$scope.items = Items;
}
獲取數據。不幸的是Items
回報完全不給任何輸出。我錯過了什麼?
我只是按照本教程
https://www.firebase.com/docs/web/libraries/ionic/guide.html#section-list-view
您是否遵循了本教程中的認證說明? –
它影響了復活嗎? – Nere