Thankyou, for the reply and help. Nope both of the code don’t work.
The code stated that, “Identifier ‘allItemRef’ is not defined. The component declaration, template variable declarations, and element references do not contain such a member”.
So I added the dollar sign it became
“Identifier ‘anArray’ is not defined. ‘FirebaseListObservable’ does not contain such a member”
For the 2) I do feel that my code is array in array. However, nothing appear.
export class HomePage {
users: any;
constructor(public navCtrl: NavController, public navParams: NavParams, private http: Http) {
}
ionViewDidLoad() {
var headers = new Headers();
headers.append('Content-Type', 'application/x-www-form-urlencoded');
this.http.get("url")
.subscribe((res:Response)=>{
let dataTemp = res.json(); //dataTemp is the json object you showed me
this.users = dataTemp.GetAllUsers; //contains a [] object with all yours users
})
};