Angular - Firebase Library system