upload files to firebase storage angular code example
Example: how to store image in realtime firebase using angularfire2 and angular 8
if (file.type.match('image.*')) {
// do something
} else {
alert('invalid format!');
}
if (file.type.match('image.*')) {
// do something
} else {
alert('invalid format!');
}