This project is of fooddetails with price and description and images storing and fetching details from localstorage using Angular.
In this project we have four components, as listed below.
1.addfood
2.listfood
3.fooddetails
This component has the form details form NAME, PRICE, IMAGEURL,DESCRIPTION , SELECT YOUR OPTION.
In this component we are initializing and truncating the text for description in this component.
in this fooddetails we get the data from localstorage and display the details of the food on the details projected.
In service is where we are storing the data in the localstorage and injecting to the components.
in directives we get the click functions and event functions in the food directives.