Fixed view error, added angular search function