cleaning up working with the modal for adding course
making jshint happy
renamed indexdb to indexeddb and updated modal directive test