Refactored code. Renamed js-files, better AngularJS architecture in modules and controllers. Auth factory will handle user status, now only login. Login unit tests and mocks fixed.
Merge remote-tracking branch 'extendedmind/master'
Fixed unit tests after backend changes into json mock respond files.
Renamed AngularJS modules etc and other files to improve code readability. Search and add new item omnibar into home.html.
Fixed controller names in unit tests. Directive for new item (task/note).
Unit tests' jQuery http json request changed to use AngularJS resource's query method. Module for user items.
Organized controller into separate files. Improved user login and item request workflow.
Included controllers source dir into pom.xml. Mock auth response is fetched using $http instead of $resource.
Improved program architecture. '$locationChangeStart' redirects to login page if user is not authenticated. User authentication is maintained in '$cookieStore'. Changes in user items factory.
Fixed HomeControllerSpec and LoginControllerSpec unit tests.
Moved templates from ../partials/ into ../partials/templates/. A filter to list users tasks/notes from items. Improved omni bar search and new item creation functionality. Directives for new item's task and note settings. Http get request for user items uses angular cache. Lots of minor architecture changes.
Checkbox for tasks.