Reproduced code examples from Los Techies AngularJS guides