Top "Angular-providers" questions

The service providers are constructor functions.

Possibly unhandled rejection in Angular 1.6

I have a code with AngularJS: service.doSomething() .then(function(result) { //do something with the result }); In AngularJS 1.5.9 when I …

javascript angularjs angular-promise angular-providers angularjs-1.6
No provider for simple component

Makes no sense it was working until 5 mins ago ... this is the component import { Component, OnInit } from '@angular/core'; …

angular angular-providers
Angular 2 - Error: No provider for FormControl

I writing a library for the community, which needs access to the form control and listens on the value changed. …

angular angular-directive angular-providers angular-validation
Angular Async Factory Provider

I would like to set up a factory that does async work to return a service, and then provide that …

angular angular-providers
Angular: Metadata collected contains an error that will be reported at runtime: Lambda not supported

In my Angular app, I'm trying to use a factory provider in my module: export function getMyFactory(): () => Window { return () =&…

angular typescript angular-providers angular-factory angular-dependency-injection
What does multi:true mean in providers in angular4

I am using HTTP_INTERCEPTORS in angular4. For this, I have created HttpServiceInterceptor class that implements HttpInterceptor interface and provide …

angular angular4-httpclient angular-providers