I created project in ionic with blank template after that i added 2 pages and 1 provider. Provider is for calling my api from pages but provider gives some simple error but i dont know what is happening here.
Means if i have to use any module first i have to include in app.module.ts file after that in service file or other pages. but can you just tell me why we have to write it.
HttpModule i cannot right any word instead of that?
Because otherwise the build system doesn’t know to include the code needed to make http requests. Apps that don’t make http requests don’t want to include that code needlessly.
Ok. Thanks i thought ionic is did that automatically because i use command line for generator provider but that is need to do manually. Thanks for your quick answer.