Luis Liz
Luis Liz

Reputation: 1959

How to integrate Angular into my current Firebase node.js project?

I have a web app that I have coded in bare javascript for now and has a firebase backend. How can I add Angular to my current project to use it for MVC?

Upvotes: 0

Views: 45

Answers (2)

rjustin
rjustin

Reputation: 1439

There are many ways to do this but the general steps you must take are essentially:

  • Download and import the required angular2 libraries
  • Move html into templates as per angular2 documentation
  • add JS to components, services, directives, etc to fit the required structure of an angular 2 application

Depending on your restrictions I would recommend Angular CLI for generating the boiler plate code for you.

Upvotes: 1

joelbarbosa
joelbarbosa

Reputation: 97

You can use the official library: https://github.com/angular/angularfire2

Upvotes: 2

Related Questions