Basic search page implementation with AngularJS