initial version using angular