Move setHeight function into new Angular globalServices file, and injected to blogController