Bug 1100328 - remove $cookies and localStorage from dependency

injection where not needed