Just random pieces of angular related code