ecommerce website in angular js and core php as data model for fetching database