migrate from firebase js function to angularfire

add service authentication;
add status control check;
add js try out files;