almost got angular working