All Questions
18 questions
0
votes
1
answer
755
views
Data interpolation not working in Angular html template
I have a service that reads the data from Realtime Database
from product.service.ts:
getAll(){
// Get All Products
return this.db.list("/products").snapshotChanges();
}
Which I ...
0
votes
0
answers
28
views
How to display product details when selecting a product using Realtime Database?
The code that I have at the moment is the same one that I use to show all the products of some category.
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/...
1
vote
2
answers
1k
views
Angular + firebase - can't get the key value in html
I want to navigate to an URL based on the key of an object in my database, but when i acces the p.$key value is always undefined.
service:
getAll(){
return this.db.list('/products').valueChanges()...
1
vote
1
answer
1k
views
Click event of Button in MatTable doesn't works
I'm new to Angular Material and have been implementing the MatTable by fetching the data from the Firebase (Real-time Database). For every Row of the MatTable, I need a button to delete the particular ...
0
votes
1
answer
799
views
How to retrieve single product details from firebase realtime database in angular 9 and print it in html?
product.component.ts
import { AngularFireDatabase } from '@angular/fire/database';
import { ProductService } from './../product.service';
import { ActivatedRoute } from '@angular/router';
import { ...
1
vote
1
answer
482
views
How to create and access array of objects in firebase manually in angular?
I have created list of multiple cards from array of objects stored in user.component.ts
user.component.ts
import { Component, OnInit } from '@angular/core';
import { AuthService } from '../service/...
1
vote
0
answers
222
views
TypeError: Cannot read property 'set' of null at isFirebaseRef in Angular
Im start my first time with firebase and angular.
I following step to step from Angular 6 CRUD Operations With Firebase in YouTube, when I press submit then error popup in Google chrome console and ...
3
votes
2
answers
1k
views
Data not retrieving from Firebase in Angular 7
I want retrieve a data set from firebase database and populate my drop down list. But nothing shows up. I done many research but i am still unable to fix this. I am using Angular 7.
ERROR Error: "...
2
votes
1
answer
221
views
save and fetch on firebase in angular is not working
Why my movie component is not updating after fetching the data. Also not saving the data if I have added a new movie or made changes in existing movies.
It is just saving and fetching the data which ...
0
votes
1
answer
2k
views
Angular: ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'set' of undefined
`
company.ts file
- List item
export class Company{
gstNo:number;
contactNumber:number;
contactName:string;
phoneNo:number;
address:string;
companyName:string;...
6
votes
3
answers
3k
views
Is it good idea to save HTML content to database? [closed]
I am creating a blog-app project in Angular 7. Using firebase cloud functions as a backend and doing CRUD operations by saving html content to firebase using Angular - CKEditor component.
It looks ...
1
vote
1
answer
224
views
File upload in Angular5
I am trying to upload one or more than one files in my web application.
I have tried with the code and error arising from vData.service.ts file
Error: property 'yoursHeadersConfig' does not exist ...
0
votes
1
answer
119
views
Not able to Retrieve data from firebase using keys in angular 2
Hi I want to iterate the data of firebase and need to display it in table.
Below is my firebase structure.I want to display the bill to, email id and po number in the tables.i can see the data in ...
1
vote
1
answer
983
views
Displaying retrieved firebase data from database in HTML file with Ionic 3
How do I go about displaying the data that I've retrieved from my firebase database? I need to be able to display the data and organize it in the HTML file. As a starter, I want to simply show the ...
32
votes
5
answers
56k
views
Keep line breaks in HTML string
Using Angular 5 and Firebase, I am storing and retrieving movie review information. When creating and editing the review, line breaks are kept (I assume using an ngModel has something to do with this)....