login and camera using angular