The cause is to implement the MVVM pattern in the Angular app.
There are steps to run the app below
- Clone the asp-net-rest-api-sample repository.
- Configure and run the API as it described in readme.md.
- Update variable apiServer with the URL of the API.
- Run the app with command
ng serve -o
.
There are steps to run the tests.
- Karma is configure to run the tests in Firefox. If you want to run the tests in another browser, update the launcher with a proper one in the karma.conf.js.
- Run the tests with commang
ng test
.