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.

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

You can read more about Angular version 5 here

You can find Angular version 5 official documents here

6545 questions
2
votes
0 answers

"EventTarget is not defined" error in angular ssr environment variable on build

angular-cli.json "environmentSource": "environments/environment.ts", "environments": { "dev": "environments/environment.ts", "prod": "environments/environment.prod.ts", "staging": "environments/environment.staging.ts" …
2
votes
1 answer

How to add Validation to multiple Email address to one recipient field comma separated - Angular 5

I have an issue in validating multiple comma separated email address to one recipient field. I have no issue in validating one email. Any pointers are much appreciated. My code is below thanks. html
DJ4186
  • 159
  • 1
  • 3
  • 16
2
votes
1 answer

Angular 5: Dynamic Form Validation inside a table

I am trying to validate input fields inside a table using form group but unable to achieve the same. I am using *ngFor to iterate the data because I have to display that data in the first column of the table and other columns are just input text…
User0706
  • 1,067
  • 1
  • 18
  • 34
2
votes
1 answer

How to add style class to a created ComponentRef in Angular 5?

I am trying to add a CSS class to a component immediately after I create it using ViewContainerRef and ComponentFactoryResolver. I want to be able to set the class based on what other Components have already been added to myViewContainerRef. export…
TMitchell
  • 131
  • 1
  • 5
2
votes
1 answer

Setting default value of HTML select in a child component with data from API call

I have a multi-component form that I want to pre-fill with data from an API call. The data populates correctly for every field except for the selected value for the select tag. The value is correct, it is just not displaying the correct option…
Josh
  • 97
  • 2
  • 11
2
votes
1 answer

Angular 6 Http Interceptor only works on request with same port api request

I am working on a SPA project with client side hosted separately with backend side. My angular project(client-side) is hosted on localhost:4200 and my web api (backend-side) is hosted on localhost:58395. I would like to create a logging/auth…
2
votes
1 answer

How to install angular5 in laravel-5.6

I am new with laravel and angular. I want to make a laravel 5.6 project in which I use angular 5 with the help of npm. But I don't know steps to perform it. I search alot but I don't get any solution.
suleman
  • 65
  • 12
2
votes
2 answers

Logout of MVC Application From Angular 5

We have an angular 5 application built on top of MVC authentication. The application is served up from the Home/Index action, and once the application is loaded, the angular routing takes care of pretty much everything. We are doing this primarily…
Marshall Tigerus
  • 3,675
  • 10
  • 37
  • 67
2
votes
2 answers

How to connect Signal R with Angular 6 and Asp.net MVC api?

I have an auction application where I need to show real time bids by each user. The technology I want to use is Angular 6 for the frontend , Signal R for the real time communication and Asp.net MVC as backend apis. I tried both using @aspnet/signalR…
Shalin Jirawla
  • 489
  • 1
  • 5
  • 24
2
votes
2 answers

How to group mat-radio-button row wise in angular material tabel

Normally angular material table groups radio buttons column wise, How can I achieve row wise grouping?
2
votes
1 answer

Angular 5 material datepicker not working with moment date adapter and target es2015

After switching from target es5 to es2015 (es6), the datepicker is not working anymore when deploying with --prod flag. I also tried adding --aot flag, but it didn't change anything. The outcome looks as follows: Following Error is thrown: Using…
2
votes
2 answers

How to test a datepicker with protractor?

I have been trying to make my protractor test on a datepicker work. I have the following in my html file
Jennifer
  • 25
  • 5
2
votes
1 answer

Azure deployment option with angular 5 application not compile and build in continuous integration

I am using Angular 5 ,bit-bucket ,azure app service and I have setup continuous integration with bit-bucket and Azure deployment option. Please find following details Project structure My package.json { "name": "vaquarkhana-poc-app", …
vaquar khan
  • 10,864
  • 5
  • 72
  • 96
2
votes
1 answer

Getting option and select is undefined from JSON

{ "status":"true", "select":[ { "view_":"select", "Type":"MARKET_WORKING", "Question":"WHICH BRAND COUNTER IS IT?", "options":[ { "option":"USPA" }, …
Sagar Kodte
  • 3,723
  • 4
  • 23
  • 52
2
votes
0 answers

How to use xmpp multi user chat methods in ionic 3 application?

I am new to xmpp server and i have to develope chat communication over xmpp protocol in my ionic 3 application. Currently, I have used this server options: openFire 4.0.4 : easy to installed and working fine but getting error in xmpp muc methods. I…
Binita Doriwala
  • 459
  • 3
  • 16