Remove $cookies and localStorage from dependency

injection where not needed