Questions tagged as 'angular5'

2
answers

How to insert "ngx-input-file" with "formControlName"?

With the library ngx-input-file I insert a field of type files for several images, this works correctly, the problem is when I add the formControlName tag, the option to insert images disappears. My HTML : <input-file fileAccept...
asked by 06.10.2018 / 21:52
1
answer

Can you declare a component within another component?

I have several components in a folder called category , the main component is index.component , the others are create.component , > edit.component and remove.component , I would like to call them within the index.component component, so...
asked by 21.09.2018 / 17:15
1
answer

Use material library with angular

I'm trying to use angular-material <mat-menu #menu="matMenu"> <button mat-menu-item> <mat-icon>dialpad</mat-icon> <span>Redial</span> </button> <button mat-menu-item disabled>...
asked by 05.02.2018 / 17:33
1
answer

Error sending my project to Angular production

I'm having a small problem when trying to send my project to production with the ng build --prod command. After executing said command, it performs an exhaustive compilation (AOT) compared to the execution of the ng serve command t...
asked by 17.07.2018 / 18:21
1
answer

Pass an object with queryParams in the Router

I have an array of objects that I reccure with an ngFor. Later down I have a navigation bar in which I redirect to one or another component and I need to pass the selected object above. However, the most I get is to receive a literal "[Object ob...
asked by 04.05.2018 / 11:31
2
answers

How do I install angle 4?

I need to create a project in angle 4 but when I create it it does it with angle 5. How can I create the project in angle 4?     
asked by 25.04.2018 / 04:45
1
answer

Pass objects from a Service to Components

At first I want to tell you to try several ways but they did not work. It is an application that uses the Spotify backend, and for this I have a service which handles requests so you can use in my component and extract data from the artist, whic...
asked by 25.04.2018 / 06:16
0
answers

Upload Files with Angular 5

Hi, I have a form in angular but I would like to send a file to the api as basically just the sending of that file is done? <ma-header></ma-header> <mat-card *ngIf="event"> <mat-card-title>{{h1Text}}</mat-card-ti...
asked by 25.03.2018 / 04:07
0
answers

Angular 5 common.js: 263 Uncaught ReferenceError: $ st is not defined [closed]

I have a problem with Angular 5, the project works normally but after a while this error comes out And I do not know the reason for this error, I have not touched that file, although the error does not interfere with the operation of...
asked by 24.07.2018 / 15:32
3
answers

Union of two array in Javascript

I need to join two arrays, from the server I get the next json. an array that says "data" that has 2 objects and another that is called "Doc" which is made up of 4 objects.    I want to create a matrix that contains 8 elements equal to the fo...
asked by 31.03.2018 / 07:16