Keep JS order when injecting in the layout.
Add a service to manipulate localStorage in order to save last targets.

+ setup a typeahead Bootstrap directive for that (autocomplete).