added Dealer to index.html. Changed Dealer to a service and deleted from factory folder