put deferred.resolve in getAllrests Func
make simple for uniq models array
Changed function arguemnt
apply changed function to UI class
wait to display restaurants on googlemap until getting alldata
restaurantsOnGoogleMapBy function changed to restaurantsOnGoogleMap
make displayrestaurants and redisplayrestaurants functions in ui