Questions tagged as 'angular5'

1
answer

Variable This.router undefined within a function

I'm working on Angular with TypeScript. insert a table with DataTables and in the button configuration I have an indefined error, you can support me to tell me how to use the This object within a function. I show my example code: import { Comp...
asked by 14.05.2018 / 13:56
1
answer

Can not bind to 'ngModel' since it is not a known property of 'input'

I know there are many questions on this topic. I have navigated a lot and at the moment I did not find something to solve it. The problem is that even though FormsModule has been imported, it still marks the same error. AppModule.t...
asked by 27.06.2018 / 23:09
3
answers

TypeError: Can not read property 'name' of undefined

I have the following code in a service and it sends me the following error by console:    Error: Uncaught (in promise): TypeError: Can not read property 'name'   of undefined TypeError: Can not read property 'name' of undefined Apparently...
asked by 27.06.2018 / 23:45
0
answers

Problems capturing values of a multiple select in Angular 5

                              Add User <div> <div class="row"> <div class="input-field col s12"> <i class="material-icons prefix">account_circle&...
asked by 05.04.2018 / 22:10
0
answers

how to upload r files (images) with angle 5 and a backend in laravel 5

I am developing a sales system with angular 5 in the forntend and the backend with angular 5, and I need to send to the backend an image that I upload with angular 5 but apparently nothing comes in the code. This is my productComponet where I...
asked by 02.05.2018 / 18:55
1
answer

publish only one folder on gitHub in a parallel branch

I need to make my master branch of git publish only the contents of a folder called dist in a parallel branch I'm calling SRC I'm working with angle 5 and basically what I want is that my project (source) is on one page and my ghPage (resu...
asked by 31.03.2018 / 15:57
0
answers

carousel shows all slides Angular 5

I'm trying to put a carousel in angle 5 and it's hell (for me). I have created a component to show the carousel, but it shows me all the slides (one under the other and superimposed by the bottom) and all the text in the lower part superimposed...
asked by 03.04.2018 / 21:38
0
answers

How can a PROGRESS BAR of seconds in ionic 3 and angular 5 be done?

The main problem is that it does not show me the dynamically progressPercent variable of the online-game.ts. Hello my problem is that it does not show me the variable in the html as it decreases as I have a setInterval of 60 seconds ... so ev...
asked by 18.03.2018 / 20:25
1
answer

selected does not work in multiple select in angular 4

the selected property does not work on angular 4. for example if I cycle <select multiple > <option *ngFor="let opt of model" selected> opt.name </option> and there is 10 option only going to select the last element. Th...
asked by 23.03.2018 / 03:35
3
answers

Call API with Angular credentials

I have an application in Angular, which I want to make a call to a secure (endpoint) API with credentials (user & password). I can do it with Ajax, but not with Angular. AJAX / JQUERY Code: jQuery.ajax('https://www.ENDPOINT.com/api/F...
asked by 04.12.2018 / 09:47