Prototype of some angular controllers