updated to pass note
updating working
Added state
Added ng-show