Adding Search functionality from UI through AngularJs