Skip to main content

Questions tagged [angular5]

Questions about Angular version 5, the web framework from Google. Use this tag for Angular questions which are specific to only version 5. Use tag Angular for any Angular questions which are not specific to an individual version.

2,568 questions with no upvoted or accepted answers
22 votes
0 answers
881 views

__WEBPACK_IMPORTED_MODULE_1_firebase_app__.app is not a function

Firebase provider import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database'; @...
Rajpurohit's user avatar
  • 1,981
16 votes
0 answers
9k views

Unhandled Promise rejection: timeout ; Zone: <root> in angular 6

When I use ng-recaptcha component while routing to another route. Error is : Unhandled Promise rejection: timeout ; Zone: ; Task: Promise.then ; Value: timeout undefined Unhandled Promise rejection:...
Bhavya Sanchaniya's user avatar
14 votes
2 answers
1k views

Issue adding third-party (external ) js lib in angular5

I am working on to add jsplumb community js library version with the angular 5 application (Angular CLI: 1.6.1). With the first build without any configuration to tsconfig.json I get the following ...
Ameya's user avatar
  • 1,932
13 votes
1 answer
6k views

Angular 5 services are initialized before APP_INITIALIZER is done

I am converting an AngularJS 1.6 app to Angular 5, and I'm trying to figure out why my services are being initialized before the APP_INITIALIZER is done. Context: I need to fetch the app config ...
justinledouxweb's user avatar
10 votes
0 answers
4k views

APP_INITIALIZER is not working in angular 5

I need to load configuration from service at the Angular initial level. So, For demo I have created boot module, boot class and load APP_INITIALIZER from the Angular core into the boot module. Check ...
ranjit redekar's user avatar
9 votes
1 answer
4k views

Choose only year and month in Datepicker Material for Angular 5

I use material (https://material.angular.io/components/datepicker/overview) for angular 5. Can we choose in the DatePicker only year and month (I do not want to choose day, day must be choose by ...
Alex's user avatar
  • 651
7 votes
0 answers
1k views

How to use Captured phase of @HostListener

I want to use captured phase of @HostListener. @HostListener('document:keydown.escape', ['$event']) onKeydownHandler(event: KeyboardEvent) { console.log("key pressed"); } Above code use ...
Sandeep's user avatar
  • 1,479
7 votes
0 answers
2k views

How to get street view in angular-maps (agm-map)

I am trying to add a street view overlay on agm-map to be accessed on toggle of a custom button. But, I am unable to access and modify the street view for this map element. Can someone help point ...
Vigneshwar S's user avatar
7 votes
0 answers
12k views

valueChanges of FormArray control not triggering

I am trying to capture the valueChanges event of FormArray control in angular 5 reactive form. I have normal form group valueChanges events and same work fine but doesn't work with formArray controls. ...
Raj's user avatar
  • 264
7 votes
0 answers
303 views

Add complete folder to scripts section of angular-cli.json

I have a shared folder (symlink) with typescript files (.ts), which I want to them to be built and added to my dist-folder afterwards. If I put every single file-name to the scripts section in my '...
Eager2Learn's user avatar
6 votes
0 answers
4k views

upload image from CkEditor in Angular 5

i am using ngx-ckeditor: "0.4.0" in angular 5. i want to upload image to my Amazon S3 server from CkEditor, so how can i add this functionality? below is my html code <ck-editor name="...
Apurv Chaudhary's user avatar
6 votes
0 answers
2k views

Angular 5 how to preload and minify the styles.scss

I am using Angular 5 in my web application and wants to preload the styles.scss file into the project. The project is having the angular-cli.json file also. The rendered index.html file contains the ...
Karan's user avatar
  • 3,328
6 votes
1 answer
194 views

ViewDestroyedError when click closing Angular2-notification in Angular 5

I'm getting this error when I click the notification for close.it seems to occur randomly. zone.js:196 Uncaught Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges ...
Ravi Sapariya's user avatar
6 votes
2 answers
4k views

Internationalization of datepickers

I try to force datepicker in Angular 5 project generated by jHipster to use polish locale, for days of week and months. As I understand regarding to documentation: https://ng-bootstrap.github.io/#/...
Dawid Mazuruk's user avatar
6 votes
1 answer
2k views

Angular dynamic component creation NOT working when PRODUCTION

I am having problem with dynamic component rendering with 'ViewContainerRef' in a gridster item. I have implemented a component which takes component reference, inputs and outputs as input and ...
oktykrk's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
172