This repository can be used as starter app for angular. The folder structure and other things are already there in the repository. following things are already setup in the repository modules config servies api service lodash rxjs loader toaster messages Auth guard
Clone the repository. Run npm install
You should have basic understanding of angular 2+ version and typescripts
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
It contains the following basic example
- Template driven forms - /templateDrivenForms use the above route to understand the template driven forms