Top "Angular6" questions

Questions about Angular version 6, the web framework from Google.

Building angular application and putting on the server

I'm developing an angular6 application and I want to generate a build to test on my server, currently I use …

angular build angular6 ng-build
Angular 6: Property 'of' does not exist on type 'typeof Observable'

I am using Angular 6 using "rxjs": "^6.0.0", ERROR : Property 'of' does not exist on type 'typeof Observable'. import { Injectable } from '@…

rxjs angular6 rxjs6
How to specify environment via `ng build` in Angular 6 app

In Angular 5, we could generate build for different environments using ng build --prod --env=uat After migration to Angular 6 the …

angular angular-cli angular6
How do you sort an Observable<Item[]> in Angular 6 with rxjs 6?

I just want to sort data on an observable of my class type 'Category'. So Observable < Category[] > I …

typescript angular6 rxjs6
How to create a Dictionary with Key/Value pairs in angular?

Using the concept Dictionary I want to do the following task. 1. Closed 2. Open 3. Cancelled 4. Rejected 5. Saved 6. Draft 7. Pending Approval This …

angular angular6 angular7
Angular 6: Can't bind to 'FormGroup' since it isn't a known property of 'form'

I am new to Angular 6 and working on ReactiveForms. Getting this error and unable to compile. I have seen the …

angular angular6 angular4-forms
Expression has changed after it was checked. Previous value: 'ng-valid: true'. Current value: 'ng-valid: false'

I have angular reactive form in parent component and sections inside childrens component. Inside the child component I have a …

angular validation angular6 angular-reactive-forms
Angular 6 building a library with assets

Upon building & packaging an Angular 6 library, I can't seem to be able to instruct the Angular CLI to copy …

angular-cli angular6 ng-packagr
NullInjectorError: No provider for AnimationBuilder in Angular 6

Hello I working with the Angular 6 And also with the material design I have included all the dependency of the …

angular angular6 angular-animations
How to add external js file in angular 6 library

I am creating an angular library (version 6) which is based on angular material for which I need to include the …

angular angular-cli angular6