firebase init function code example
Example 1: angular install firebase tools
npm install -g firebase-tools
Example 2: firebase deploy only function
firebase deploy --only functions:functionNameHere
npm install -g firebase-tools
firebase deploy --only functions:functionNameHere