Create myNoteCtrl.js

Created myNoteCtrl.js that was used in the application