Javascript – Does the Angular resource API support adding an initial value for the resource?
Suppose we first check whether a resource is not loading like this: @if (!countriesResource.isLoading()) { <ul> @for ( country of countriesResource.value(); track country.name.official ) { <li>{{ country.name.official }}</li> } </ul> If the resource is not loading, however has not initiated…