Notes on better use of Angular