initial version, basic angular working