Home page new desing + cart in angular js

Dont iterate the loop for searching item. Apply logic such that no need to iterate the array