Questions tagged as 'angular5'

0
answers

How to use the Urlserialize

I create a class.ts with this code import {UrlSerializer, UrlTree, DefaultUrlSerializer} from '@angular/router'; export class CustomUrlSerializer implements UrlSerializer { parse(url: any): UrlTree { let dus = new DefaultUrlSerializer(...
asked by 20.10.2018 / 21:31
1
answer

How to differentiate elements when animating in Angular 6?

the question is like this: I have three images placed in the html part of the Angular component <img class="img" [@Esc]='escala' (mouseover)="escalar()" (mouseout)="desescalar()" src="./assets/1.jpg" > <img class="img" [@Esc]='escala'...
asked by 17.10.2018 / 23:36
1
answer

Ionic Undefined after doing get

Hello I have problems with IONIC, every time I print console.log (this.items) it prints undefined, however console.log (data) prints without problems. Ionic App Scripts: 3.2.0 Angular Core: 5.2.11 Angular Compiler CLI: 5.2.11 Node: 8.1...
asked by 01.10.2018 / 08:17
1
answer

How to package doc files that are in root

In angular 5 or 6, how can I add doc files in the root that are then included when generating 'dist'?     
asked by 24.09.2018 / 01:07
0
answers

Error trying to install "Alert / Toast Notifications" in Angular 6

Using this guide my html : <button class="btn btn-default" (click)="showSuccess()">Show Success</button> <button class="btn btn-danger" (click)="showError()">Show Error</button> My ts : i...
asked by 28.09.2018 / 21:48
0
answers

It does not show the results in my datatables in angular

Following this example : categoria.component.html <blockquote>Please click on a row</blockquote> <p class="text-danger">You clicked on: <strong>{{ message }}</strong></p> <br /> <tab...
asked by 20.09.2018 / 18:12
0
answers

Problems showing a date captured with datapicker on a smartgrid

I am new in angular and I have the following problem of the invoices form where I capture by means of the component datapicker 5 different dates to calculate the days that pass between two dates, I am thinking of using for that fun...
asked by 09.10.2018 / 18:14
0
answers

access a sub-array of a json in angular 5

Hello my question is how to show the elements of a json that in turn has another internal subarray this is the response of web api { "urgente": 0, "detalle": "Personal sin datos de preparación académica " }, { "urgente": 0,...
asked by 14.09.2018 / 01:40
0
answers

Problems between components

I am developing an app in angle 5. I have two modules module1.ts , module2.ts are both included in app.module.ts . Example: Module1.ts @NgModule({ imports: […], exports: [componente1Component,…], declarations: [componen...
asked by 11.09.2018 / 19:55
1
answer

see menu after angular login 4

I currently have an angular project 5 with a login and other components, my problem is that I would like the login to be independent, so I was out of the "router-outlet", so the application would start with the login and once logged into the oth...
asked by 12.09.2018 / 03:43