Open History to see the last commit
1@if (query.isPending()) {
2 <div>Loading...</div>
3}
4@if (query.isError()) {
5 <div>An error has occurred: {{ query.error().message }}</div>
6}
7@if (query.data(); as data) {
8 <h1>{{ data.name }}</h1>
9 <p>{{ data.description }}</p>
10 <strong>π {{ data.subscribers_count }}</strong>
11 <strong>β¨ {{ data.stargazers_count }}</strong>
12 <strong>π΄ {{ data.forks_count }}</strong>
13}
14β
15<angular-query-devtools initialIsOpen />