fixes #899 using ng-change to watch for text and search
Merge pull request #985 from shubhendusaurabh/bugbounty-2-coding-area-search-text-clear

fixes #899 using ng-change to watch for text and search