javascript - How to implement search in AngularJS -



javascript - How to implement search in AngularJS -

i have frontend angularjs application connects backend api.

i'd implement search engine in spa can specify

offset - number of elements displayed on each page page - number of current page count - total elements

i want sort results specified attribute , filter them out well.

what patterns implement such search? should done on backend , on frontend? how should api like?

i have lot of issues - if user requested 5th page offset 10, , alter offset 20, page should displayed then? when fetch additional data? if set offset 15 , filter out results, give me 5 elements? should fetch missing current filter?

can provide behaviors of mechanisms?

javascript ruby-on-rails angularjs rails-api

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -