update to use angular-elm instead of plain javascript