Moved the localStorage wrapper from utils to an Angular service. Deleted utils.js as it's not needed now.