Lots of refactoring around module usage. Put the navbar directive in it's own directives module and added a habit service. This will isolate usage of the local storage service and make it easier to swap out.