template code, added angular framework