Added angular and rearranged
Added an angular controller for the search