Questions tagged as 'angular'

0
answers

Problem obtaining a pdf in Angular 4

I am developing a module where a report is generated and obtained, when I use the method the report is generated correctly in pdf and it appears in the corresponding folder, but when I get it in the angular application it shows me the following...
asked by 22.04.2018 / 09:46
0
answers

To use "useExisting" in providers?

Seeing how dependency injection is done in angular 4. On entering to see more deeply the documentation of angular.io there is a "useExisting" option instead of the traditional "useClass": // Forma tradicional [ NewLogger, // Not aliased! Creat...
asked by 19.04.2018 / 20:10
0
answers

Array in the Angular template

I have the following code in ts, where it shows a code, which is that, every time I click on a button; I will decrease an array and when there is only one array, do not erase it; but to show it for more than click on the button. removeCostCent...
asked by 30.04.2018 / 21:19
1
answer

ERROR when I start npm start

It turns out that I do everything as they say in every blog to start angular and I get this error.    fernando @ fernando-PCM10: ~ / Documents / Project raffle / other shop / quickstart $ npm start   > [email protected] prestart /...
asked by 30.04.2018 / 19:33
0
answers

Check elements html spec Angular2

I want to check that I have 4 li > inside an ul > , besides the li, there are other labels, but they do not interest me. it('checked four elements <li>', async(() => { const ul: HTMLElement = fixture.debugElement.nativeEleme...
asked by 19.04.2018 / 13:55
1
answer

Error when importing Ionic page

The page that I want to import works very well in a page that calls it in a previous event (Login) but now I can not import any, it is as if it were truncated in project When I want to import a page into another predefined page in app.module...
asked by 17.04.2018 / 14:45
0
answers

Angular 5: Configure Protractor to use Jasmine after having integrated Cucumber

How can Protractor and Cucumber be configured to work with Jasmine and Chai respectively? I have read that Cucumber and Jasmine are mutually exclusive. I currently have the following configuration in protractor.conf.ts // Protractor configur...
asked by 16.04.2018 / 22:05
0
answers

Go through the list with the keyboard

<mat-list> <div *ngFor="let days of detailedTime"> <div id="days" ><mat-list-item>{{days.day}}</mat-list-item></div> <mat-list role="list" > <div *ngFor="let hour of days.hours">...
asked by 13.04.2018 / 19:34
0
answers

Whitelabel Error Page

I have a Whitelabel Error Page I only run the first @RequestMaping (value="/ get", ...) the truth I do not understand the problem when consuming the service of the backend, only the first method works, the others give me back "Whitelabel Error P...
asked by 10.04.2018 / 02:58
2
answers

Do not load the data the first time in Angular5

When I click on a button I should get the data, but I have to press it twice. Here I call getPeople () to get an array with the data and then I call getPerson () in the service connection-person-service; export class DetailUserComponent imp...
asked by 11.04.2018 / 10:45