Refactored note_model_directive and note-controller to use ng-change to detect new text input (e.g. single character) and update firebase