Firebase in Angular Applications | Mosh

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 142

  • @garikmelqonyan6011
    @garikmelqonyan6011 7 років тому +2

    Dear Mosh, thank you very much for your tutorials.They are really great, especially for beginners.

  • @Artificial_Intelligence_AI
    @Artificial_Intelligence_AI 7 років тому +3

    English is not my mother tongue but man you made a fantastic explanation. I was searching during days with tons of videos regarding to this topic but any of them were so good like this. After this, All I can do is give you a like and subscribe to your channel. You truly deserve it.

  • @tiiagocorreiia
    @tiiagocorreiia 6 років тому +2

    Hey greetings from Brazil.
    I love how you explain the details.
    Today you won a new follower.

  • @lucisetumbrae
    @lucisetumbrae 7 років тому

    Great little video that is a very clear walkthrough of getting Firebase up and running in Angular 2. Worked for me!

  • @DOLiWOODFilmsVeneto
    @DOLiWOODFilmsVeneto 7 років тому

    I saw many tutorials. Yours are the best explained...no way

  • @srikanthambaldhage2268
    @srikanthambaldhage2268 2 роки тому +1

    Thankyou Mosh

  • @praveenrajsr2112
    @praveenrajsr2112 7 років тому +2

    Your Angular tutorials are awesome! Please do more :)

  • @ranjithuk2805
    @ranjithuk2805 6 років тому +2

    Dear Mosh, could you please share the second video of the firebase tutorial.

  • @AntonioRiga
    @AntonioRiga 6 років тому +1

    This is the best explanation I have found! Thank you!

  • @iLoveTurtlesHaha
    @iLoveTurtlesHaha 5 років тому +8

    Anyone else loves the say Mosh says "so"? Ok, I'll let myself out now. XD

    • @christiankomodo
      @christiankomodo 4 роки тому +1

      I know what you mean - and that's one reason I like online courses with someone other than a normal American accent. The interesting way the words are spoken helps keep me tuned in for some reason, and keeps me from getting distracted during parts I already know. All the online courses I take are with instructors with accents! I specifically enjoy how Mosh speaks.

  • @MrSvitS1337
    @MrSvitS1337 3 роки тому

    не зря английский учил! super thx for tutorial

  • @yooscripts5947
    @yooscripts5947 5 років тому

    very easy to undersand, thanks Mr Mosh

  • @habibbellia2607
    @habibbellia2607 7 років тому

    simple explanation ... greate understanding .... WOW tanks Mr MOSH

  • @ThaSaltyDawg
    @ThaSaltyDawg 6 років тому

    love all your tutorials, you are a very good instructor

  • @muhammadbilalnoor6003
    @muhammadbilalnoor6003 2 роки тому

    Sir Love You (Blessings)

  • @immerification
    @immerification 7 років тому

    I would note that even with observables coming from http (even they emit single value) we should care about unsubscribe on component destroy hook because the ajax call could take some time, and if the component is destroyed before the call completes, the subscription will still be in play (you can try it with rxjs .delay in angular 4)

  • @pg0812
    @pg0812 2 роки тому

    Perfect, really helpful.

  • @stevenhenry746
    @stevenhenry746 5 років тому +3

    Google Firebase has now changed a lot. Confused! :O

  • @troinux1174
    @troinux1174 7 років тому

    man you're good, i need more firebase tuts.... can you please do a (zero to pro firebase series)

  • @anjaniravinuthala2381
    @anjaniravinuthala2381 6 років тому

    Fantastic, Awesome teaching By Most Hamedani.

  • @ganeshveeravelli1079
    @ganeshveeravelli1079 6 років тому

    thank you sir for your brief explanation on firebase

  • @gunasekaranpalanisami6182
    @gunasekaranpalanisami6182 4 роки тому

    step by step .. super

  • @o1techacademy
    @o1techacademy 2 роки тому

    Very informative

  • @murthy900
    @murthy900 6 років тому

    good info about memory leaks !

  • @EMonzon
    @EMonzon 3 роки тому +4

    I'm doing this course now and I'm totally stuck because it seems that all these firebase modules have changed. If someone knows how all of this has changed and what to do, please tell me! thanks

    • @whocares611
      @whocares611 3 роки тому +1

      i have the same problem, i wish i could refund the course but there is not possible, so a big let down...

    • @Don_ron666
      @Don_ron666 3 роки тому +1

      @@whocares611 I have the same problem as well trying to work through them but it's very hard

    • @whocares611
      @whocares611 3 роки тому

      @@Don_ron666 thx ruben for your comment. Im really dissapointed with the course, it is really out of date and not support at all from the teacher and no way to refund it...

  • @danielubanan5503
    @danielubanan5503 5 років тому +6

    I need help. I'm having troubles around 16:51. Somehow "db.list" doesn't have the subscribe property anymore.
    Here is the error: "Property 'subscribe' does not exist on type 'AngularFireList'."
    It also says that the return type of "db.list" is "AngularFireList".
    So I'm guessing that it is no longer returning an observable which why the subscribe property is no longer available.
    Angular CLI: 7.1.4
    Node: 10.15.0
    @angular/fire: 5.1.1
    Please help. Thanks.
    EDIT:
    So I found the answer.
    db.list('/courses')
    .valueChanges()
    .subscribe(courses=> {
    this.courses= courses;
    console.log(this.courses);
    });

    • @pierre-yvesd3551
      @pierre-yvesd3551 5 років тому

      I was having the same issue, thanks for the tip :)

    • @sergioalvarenga9059
      @sergioalvarenga9059 5 років тому

      Thank you, I was having the same issue

    • @topsilog2236
      @topsilog2236 5 років тому

      nakita ko to sa stackoverflow ...dapat pala naghanap nalang muna ako sa comments haha

    • @FinanzMinimalist
      @FinanzMinimalist 4 роки тому

      thanks a lot!

  • @codingdost4782
    @codingdost4782 4 роки тому

    Awesome dear Sir Mosh :)

  • @aniketkamthe2091
    @aniketkamthe2091 6 років тому

    I think you forgot to mention, npm install angularfire2 ... btw great tutorial. Thanks for sharing.

  • @ajithanandan5823
    @ajithanandan5823 4 роки тому

    good teaching thank you sir

  • @andrewlawton9993
    @andrewlawton9993 2 роки тому +3

    Course is out of date

  • @vrajendramandloi5917
    @vrajendramandloi5917 5 років тому

    hi Mosh.. seriously you did a very good job ... can you plz do me a favour .. i need to link for build enterprise apps with angular course .. can you plz paste it here.. i cannot find it on your website.

  • @aomo5293
    @aomo5293 7 років тому

    Really Fantastic. Thank you
    AYOUB MOROCCO

  • @GJihed
    @GJihed 6 років тому +2

    I like a lot your way of teaching !!
    I'm having some difficulties in displaying data from fire-base. I'm using NG 6, and since a lot have been changed and deprecated i struggled a bit to get the same result as a beginner with NG 6. I couldn't manage to display data like your '' Adding object lecture " exactly when i pushed an object and tried to display it using {{ course || course.name }}. I get as a return the list but with [object object] instead of course5.
    If anyone had the same problem, it would be great to share your solutions. Thanks in advance !

    • @andrewlawton9993
      @andrewlawton9993 2 роки тому

      this sections of this.courses = courses is producing an error. I've copied the code line for line

  • @omarAhmed-wt8kx
    @omarAhmed-wt8kx 6 років тому

    very good job

  • @cardflopper3307
    @cardflopper3307 7 років тому +5

    i have a slight difference (nov 13 2017). When i go to the console, I don't have objects, rather the data received from Firebase is a normal array. Later, in the view snippet, to get it to work i used {{ course }} rather than {{ course.$value }} . Does anyone else have this difference?

    • @blvnktek
      @blvnktek 6 років тому

      yeah the newer version of angular just makes it simpler I think

    • @rekhakrish4980
      @rekhakrish4980 6 років тому

      yes. {{course}} worked for me too

  • @whocares611
    @whocares611 3 роки тому +1

    im doing his angular course and im really stuck in the project, it seems to be that all the firebase configuration has changed and the course has not been updated. not recommended his angular course!!!

  • @cardflopper3307
    @cardflopper3307 7 років тому

    thanks for your great videos! q: how do we "unsubscribe" from observing changes to the Firebase data?

  • @liberty_duck
    @liberty_duck 5 років тому

    It works!! Cool :)

    • @moutazsh5343
      @moutazsh5343 5 років тому

      what angular version you use ?

  • @ruwantharatnayake5004
    @ruwantharatnayake5004 6 років тому

    CAn you share the video tutorial on handling memory leaks in angular firebase.

  • @sukumarm8698
    @sukumarm8698 7 років тому

    Hey Mosh we got an latest update on Firebase ie FireStore. what do you say about that i mean any course update and demo video's on this would be great.

  • @darya1394
    @darya1394 6 років тому +1

    I have type error in Adding Object section in html file (let course of courses$ | async): Error: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe' How can I fix it? It seems I have different types and *ngFor doesn't iterate courses$
    But adding new course to the database works correctly. The issue is that it isn't displaying on the page.

  • @randomdude301
    @randomdude301 6 років тому +1

    When doing npm install it says angularfire2 is depreciated and to user @angular/fire instead. Please help me with this.

  • @anandojha5857
    @anandojha5857 5 років тому

    sir i am having problem for adding firebase as am using angular 6 with new version of firebase... these methods are somehow not working... i am very greatful to you if you will make a video on it ..its very much needed

  • @devkumaruk
    @devkumaruk 7 років тому

    very useful

  • @shawkisukkar7922
    @shawkisukkar7922 7 років тому

    I am waiting for a MEAN stack course
    good luck

  • @nirmalab7194
    @nirmalab7194 5 років тому

    Tq Sooo much

  • @veselin4504
    @veselin4504 5 років тому +1

    This guide is not working with AngularFire 5.0. Please be aware.

  • @sas10x39
    @sas10x39 6 років тому

    mosh..i don't know if you read comments but can you make a tutorial on infinite scroll angular + asp.net core?

  • @MichalRutz
    @MichalRutz 5 років тому +4

    keep getting error Property 'subscribe' does not exist on type 'AngularFireList'.
    :/

    • @kumarkanhaiya376
      @kumarkanhaiya376 5 років тому

      I am facing the same problem

    • @ОлегАлбаут
      @ОлегАлбаут 5 років тому +8

      StackOverflow says that it should work:
      db.list('/courses')
      .valueChanges()
      .subscribe(courses=> {
      this.courses= courses;
      console.log(this.courses);
      });

    • @leo7438
      @leo7438 5 років тому

      Array create with firebase doesn’t exist in my localhost (in console section). At 19:47 in this video. Solutions?

  • @girishg8066
    @girishg8066 6 років тому

    hi sir i want full back end angular latest course is it available ?

  • @tamannagoyal8953
    @tamannagoyal8953 6 років тому

    Which editor or IDE are you using sir ?

  • @akshays9002
    @akshays9002 6 років тому

    hey Mosh its old version of Firebase, currently V5 have several changes , can you redo the video with latest

  • @hahahakami7935
    @hahahakami7935 5 років тому

    Please show me how to get one object value from firebase to angular, plz

  • @cwcfunclock2709
    @cwcfunclock2709 6 років тому +2

    Bro!! You always impress me a lot and a lot feed our knowledge ;)

  • @omkarkothavale9395
    @omkarkothavale9395 6 років тому

    I dont have environment folder inside src? As I have created project using yeoman and not ng app.How do I add now?

  • @caglarkutluyigit3238
    @caglarkutluyigit3238 4 роки тому

    I LOVE YOU !

  • @muhammadmehdi1304
    @muhammadmehdi1304 4 роки тому +1

    i get this error
    ERROR in node_modules/@angular/fire/firebase.app.module.d.ts:2:10 - error TS2614: Module '"../../firebase"' has no exported member 'analytics'. Did you mean to use 'import analytics from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:21 - error TS2614: Module '"../../firebase"' has no exported member 'app'. Did you mean to use 'import app from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:26 - error TS2614: Module '"../../firebase"' has no exported member 'auth'. Did you mean to use 'import
    auth from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:32 - error TS2614: Module '"../../firebase"' has no exported member 'database'. Did you mean to use 'import database from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:42 - error TS2614: Module '"../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:53 - error TS2614: Module '"../../firebase"' has no exported member 'functions'. Did you mean to use 'import functions from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:64 - error TS2614: Module '"../../firebase"' has no exported member 'messaging'. Did you mean to use 'import messaging from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:75 - error TS2614: Module '"../../firebase"' has no exported member 'performance'. Did you mean to use 'import performance from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:88 - error TS2614: Module '"../../firebase"' has no exported member 'remoteConfig'. Did you mean to use
    'import remoteConfig from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~~~~~~
    node_modules/@angular/fire/firebase.app.module.d.ts:2:102 - error TS2614: Module '"../../firebase"' has no exported member 'storage'. Did you mean to use 'import storage from "../../firebase"' instead?
    2 import { analytics, app, auth, database, firestore, functions, messaging, performance, remoteConfig, storage } from 'firebase/app';
    ~~~~~~~
    node_modules/@angular/fire/firestore/interfaces.d.ts:2:10 - error TS2614: Module '"../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../firebase"' instead?
    2 import { firestore } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firestore/collection/collection.d.ts:2:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead?
    2 import { firestore } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firestore/document/document.d.ts:5:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead?
    5 import { firestore } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firestore/collection-group/collection-group.d.ts:2:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../../../firebase"' instead?
    2 import { firestore } from 'firebase/app';
    ~~~~~~~~~
    node_modules/@angular/fire/firestore/firestore.d.ts:8:10 - error TS2614: Module '"../../../firebase"' has no exported member 'firestore'. Did you mean to use
    'import firestore from "../../../firebase"' instead?
    8 import { firestore } from 'firebase/app';

    • @izrekeicitaticom
      @izrekeicitaticom 3 роки тому

      @Muhammad Mehdi this tutorial is too old... that is the reason why does not work....

  • @caglarkutluyigit3238
    @caglarkutluyigit3238 4 роки тому

    i can get data at localhost but i didnt get when i download content of dist file via filezilla on my website. what can i do for?

  • @tahirmehmood9369
    @tahirmehmood9369 5 років тому

    mosh i am getting some error while running the command
    npm install firebase angularfire2 --save
    if somehow i manage to pass i am getting some more errors in console regarding
    function and some fire* is not exported from '@angular/modul....blablabla'
    please do help me

  • @garikmelqonyan6011
    @garikmelqonyan6011 7 років тому +1

    Though I have a problem with fetching data from firebase in form of objects.
    courses: any[];
    constructor(db: AngularFireDatabase) {
    db.list('/courses').valueChanges().subscribe(courses => {this.courses = courses; console.log(this.courses); });
    }
    This is the way, how I fetch data from firebase, because I am working with the latest version of Angular.
    So it returns data not in form of objects-key: value pairs, but I get an array like: (3) ["course 1", "course 2", "course 3"].
    Do you have any suggestions how can I fix that?
    Thank you in advance.

    • @NikhilMahirrao
      @NikhilMahirrao 7 років тому

      I am also facing same problem

    • @NikhilMahirrao
      @NikhilMahirrao 7 років тому

      constructor(db: AngularFireDatabase) {
      db.list('/courses').snapshotChanges().subscribe(courses => {this.courses = courses; console.log(this.courses); });
      }

  • @fasilbabukdy
    @fasilbabukdy 7 років тому

    Sir... Please Help me...
    can't read this...
    import { AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database';

  • @leo7438
    @leo7438 5 років тому

    Array create with firebase doesn’t exist in my localhost (in console section). At 19:47 in this video. Solutions?

  • @gazdagergo
    @gazdagergo 7 років тому +1

    17:00 Fix to : `db.list('/courses')
    .valueChanges().subscribe(courses => { ...`

    • @NikhilMahirrao
      @NikhilMahirrao 7 років тому

      Yes, but still not giving u the key. And if u take snapshotChanges then it gives some messy jason

  • @jameshetfield4144
    @jameshetfield4144 4 роки тому

    Go to fireship
    for this kind of stuff

  • @anthonyangatia7193
    @anthonyangatia7193 5 років тому

    What is the difference between angularfire2 and @angular/fire

  • @strange6092
    @strange6092 4 роки тому

    In console.log it does not print the object it just print the values
    db.list('/courses').valueChanges().subscribe(courses =>{ this.course = courses;
    console.log(this.course);
    });
    Output in console
    0: "course1"
    1: "course2"
    2:
    author: "name"
    price: 150

  • @JamesJohnAgar
    @JamesJohnAgar 7 років тому

    Why did you put db into imports surely that is a service provider ?

  • @ianpan0102
    @ianpan0102 6 років тому

    Could you plz do a video on Firbase + React.js? I believe lots of ppl would appreciate it very much!

  • @adithigurunath9232
    @adithigurunath9232 4 роки тому

    Hi great course! But i am retrieving an empty array though i have stored data in firebase. Can anyone resolve the problem?
    Thanks in advance.

    • @sandeshrimal121
      @sandeshrimal121 4 роки тому

      same, you fixed it ?if so please let me know how

  • @rahmanmahmoodi8573
    @rahmanmahmoodi8573 7 років тому

    This doesn't work anymore with angularfire2 5?

  • @guidocardona65
    @guidocardona65 6 років тому

    Can Firebase used for electronic Patient record Management appps eficienttly

  • @Deepakkumar-eb3us
    @Deepakkumar-eb3us 5 років тому

    i have subcribe error by your code.. how to solve it. i am using angular 8

  • @unlimitedtoxicity54
    @unlimitedtoxicity54 6 років тому

    I am watching this now but seems like they have changed the UI display style of database in firebase.

  • @contenidosmultimedios764
    @contenidosmultimedios764 6 років тому

    Mongo is a NOSQL

  • @anonyuser1008
    @anonyuser1008 6 років тому +1

    Getting this error while "ng serve", can anybody help me out
    /node_modules/angularfire2/database/list/audit-trail.d.ts (7,133): Cannot find namespace 'database'

  • @sarah-th9is
    @sarah-th9is 5 років тому

    mosh aziz in cours ro update kon plssss.

  • @ashishsinghrajwar64
    @ashishsinghrajwar64 5 років тому

    at 17:28 on saving i get error "ERROR in src/app/app.component.ts(13,8): error TS2339: Property 'subscribe' does not exist on type 'AngularFireList'."

  • @sanjibanichoudhury7517
    @sanjibanichoudhury7517 6 років тому

    how to to add operation in firebase

  • @MyMateus666
    @MyMateus666 7 років тому

    how can i filter my data ?

  • @prasad3673
    @prasad3673 5 років тому

    how to get reference id in return insert

  • @eqdatshit8406
    @eqdatshit8406 6 років тому +2

    Anyone getting error 'cannot find namespace firebase' ?

    • @ck_ink
      @ck_ink 6 років тому +2

      that is because of a breaking change in firebase package in 4.8.1, try changing the version of firebase: ^4.8.1 to firebase: 4.8.0 in package.json, and then hit npm update in the project folder.

    • @eqdatshit8406
      @eqdatshit8406 6 років тому

      Yeah i've done that and it worked ! thanks .

  • @Deepa0811
    @Deepa0811 3 роки тому

    I was able to able to display on data on the client side by adding the following

    {{ course || course.name }}

  • @giribabunagipogu6356
    @giribabunagipogu6356 7 років тому

    i am getting error "TypeError: db.list(...).subscribe is not a function" can you help me please

    • @dhruvangg
      @dhruvangg 6 років тому

      Try this one..
      db.list('/Users').valueChanges().subscribe(console.log(this.users)});

  • @chicku975
    @chicku975 6 років тому

    Getting runtime error as :
    "Uncaught (in promise): Error: StaticInjectorError(AppModule)[AngularFireDatabase -> InjectionToken angularfire2.app.options]: StaticInjectorError(Platform: core)[AngularFireDatabase -> InjectionToken angularfire2.app.options]: NullInjectorError: No provider for InjectionToken angularfire2.app.options!

  • @sivasumanth
    @sivasumanth 6 років тому

    How add bootstrap to angular 5

  • @dacoolino
    @dacoolino 7 років тому

    Thanks for this very nice tutorial! I have a small problem, when I want to call the "subscribe" on db.list('courses'), I get the following message: Property 'subscribe' does not exist on type 'AngularFireList'. Is that changed over time, or ..?

    • @MrTheanu
      @MrTheanu 7 років тому +3

      I had the same problem have a look to the code below
      db.list('/courses').valueChanges().subscribe(result=>{
      this.courses=result;
      console.log(this.courses);
      })

    • @BLACKLIST-RIP
      @BLACKLIST-RIP 7 років тому

      Do AQ Khan's solution, and then change your "component.html" to
      {{ course }}

    • @vipulsingh120
      @vipulsingh120 7 років тому

      ngOnInit()
      // tslint:disable-next-line:one-line
      {
      this._db.list('/courses')
      .valueChanges()
      .subscribe(product => {
      this.products = product;
      console.log(this.products);
      } );
      }
      use this one happy coding :)

    • @SaiPrakash16
      @SaiPrakash16 7 років тому +1

      thanks Vipul, how did u figure it out?

    • @tuRistst
      @tuRistst 6 років тому

      Yes, your code works! Thanks man!

  • @prbnrjl
    @prbnrjl 7 років тому

    "No provider for InjectionToken FirebaseAppConfigToken!" I got this runtime error

  • @fasilbabukdy
    @fasilbabukdy 7 років тому

    import { AngularFire } from 'angularfire2'; not found ???

    • @BHmauro
      @BHmauro 6 років тому

      had the same problem, can you fix it?

  • @fasilbabukdy
    @fasilbabukdy 7 років тому +1

    Sir, Please Help...
    Property 'subscribe' does not exist on type 'AngularFireList'.

    • @vipulsingh120
      @vipulsingh120 7 років тому +2

      Fasil use this code
      ngOnInit()
      // tslint:disable-next-line:one-line
      {
      this._db.list('/courses')
      .valueChanges()
      .subscribe(product => {
      this.products = product;
      console.log(this.products);
      } );
      }
      Happy Coding

    • @fasilbabukdy
      @fasilbabukdy 7 років тому

      Vipul Singh: thanks...

  • @amangoel8724
    @amangoel8724 4 роки тому

    it is not working

  • @johncarter4091
    @johncarter4091 5 років тому

    pretty old code of firebase

  • @Sijinrajk
    @Sijinrajk 7 років тому

    What happens to ER model

    • @Sijinrajk
      @Sijinrajk 7 років тому

      hi mosh I completed your ap.net mvc course few weeks before ,razor views or angular which should I choose

  • @prachijain8152
    @prachijain8152 5 років тому

    very helpful