reading / tutorial on angular factories 

Tidy up your angular with factories