Tag Archives: services

How it works: Angular Services

Angular services are classes that perform operations, for example you can have AuthService class that will handle the user login making requests to an API.

import { Injectable } from '@angular/core';

@Injectable()
export class AuthService {
  constructor() { }
}

Continue reading

Advertisements