Changed names of directives
Added auto save feature to note via 'focusout' on a note directive that triggers a save action on firebase