| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.
You must be logged in to block users.
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abuseimport { Injectable } from '@angular/core';
import { ApiService } from './api.service.ts';
// Will automaticaly link RandomService.apiService to the instance of imported ApiService
@Injectable()
<div>
<button (click)="toggle()">Toggle</button>
<div [class.expanded]="expandedChange | async" [@bodyExpansion]="getExpandedState()">
Hidden content
import { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { Observable } from 'rxjs';
import { AuthService } from './auth.service';
import { Cache } from 'RandomCacheLibrary';
// Define a function with one parameter: the key under which the data will be cached
export function CacheReturnValue(key: string) {
// Return our high-order function
| Back | FazBrowse Home | New Git URL |