awesome-lists/angular.md
2022-12-03 23:45:52 +01:00

73 lines
3.4 KiB
Markdown

# Angular awesome list
<!-- TOC -->
- [Concepts](#concepts)
- [Templates and rendering](#templates-and-rendering)
- [Forms](#forms)
- [Auth](#auth)
- [Networking](#networking)
- [Frameworks](#frameworks)
- [Errors](#errors)
- [Testing](#testing)
<!-- /TOC -->
## Concepts
- [Angular Service — Component communication](https://medium.com/@enriqueoriol/angular-service-component-communication-4933782af52c)
- [Component Interaction](https://angular.io/guide/component-interaction)
### Templates and rendering
- [ngIf](https://angular.io/api/common/NgIf)
- [ngx-markdown](https://openbase.com/js/ngx-markdown)
- [ngFor](https://angular.io/api/common/NgFor#description)
- SO [How do I refresh an Angular HTTP call when using a timer?](https://stackoverflow.com/q/50274959/515948)
### Forms
- [FormControl usage notes](https://angular.io/api/forms/FormControl#usage-notes)
- [Radio Buttons in Angular](https://www.delftstack.com/howto/angular/angular-radio-buttons/)
- [Reactive forms - Adding a basic form control](https://angular.io/guide/reactive-forms#adding-a-basic-form-control)
- SO [How to call rest api on button click in Angular](https://stackoverflow.com/q/58896694/515948)
### Auth
- [Angular Authentication with OpenID Connect (OIDC)](https://dev-academy.com/angular-authentication-with-openid-connect/)
### Networking
- [Angular HTTP GET request with parameters example](https://www.angularjswiki.com/httpclient/get-params/#creating-params-using-httpparams-fromobject)
- [Building a REST-Backend for Angular with Node.js & Express](https://malcoded.com/posts/angular-backend-express/)
- [Connect your Angular App with your Backend using the Http-Client](https://malcoded.com/posts/angular-fundamentals-http/)
- SO [Angular 6 http post request with x-www-form-urlencoded data](https://stackoverflow.com/q/51605542/515948)
## Frameworks
- [eUI](https://eui.ecdevops.eu/)
## Errors
- [Reason: Credential is not supported if the CORS header 'Access-Control-Allow-Origin' is '*'](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials)
## Testing
- [How To Test HttpClient Requests in Angular](https://www.digitalocean.com/community/tutorials/angular-testing-httpclient)
- [How To Unit Test Angular Component With Service](https://codehandbook.org/how-to-unit-test-angular-component-with-service/)
- GH [HttpclientTesting - code archive](https://github.com/cironunes/httpclient-testing)
- [Testing with the Angular HttpClient API](https://medium.com/netscape/testing-with-the-angular-httpclient-api-648203820712)
- SO [Angular - unit test for a subscribe function in a component](https://stackoverflow.com/q/45839955/515948)
- SO [Angular Unit Test - Mocked Service is not being used](https://stackoverflow.com/q/54984241/515948)
- SO [Testing error case with observables in services](https://stackoverflow.com/q/39960146/515948)
- SO [Angular 13 TestBed doesn't inject interceptor](https://stackoverflow.com/q/71251261/515948)
- [Component with async service](https://angular.io/guide/testing-components-scenarios#component-with-async-service)
- [Basics of testing components](https://angular.io/guide/testing-components-basics)
- [beforeEach()](https://angular.io/guide/testing-components-basics#beforeeach)
- [Jasmine Spy Matchers: toHaveBeenCalled(), toHaveBeenCalledWith(), toHaveBeenCalledTimes()](https://scriptverse.academy/tutorials/jasmine-spy-matchers.html)