Questions tagged as 'angular6'

0
answers

Use the result of an angular service

I am working on the Backend with Symfony and the Frontend with Angular and I am being presented with the following. I have an affiliated class and another beneficiary, the beneficiary depends on an affiliate previously created, therefore, it has...
asked by 15.10.2018 / 17:24
2
answers

Do not load view in Angular 6

Create two components inside Angular so I have two modules files the app.module file I call the pages.module file that has the rest of the modules. app.module.ts import { NgModule } from '@angular/core'; import { BrowserModule } from '@a...
asked by 26.09.2018 / 21:48
2
answers

How to modify the messages of an input validation? in Angular

I take this as an example: The html <div class="md-form"> <input mdbInputDirective type="text" id="nombre" class="form-control" formControlName="nombre"> <label for="nombre">Nombre</label> </div>...
asked by 26.09.2018 / 22:53
1
answer

Hide database records instead of deleting them [closed]

Recently I had the need to do a car crud, using Rest, Java EE, Angular v.6 and the database in SQL server, but with the difference that instead of deleting the records, they only they are hidden from the user and kept in the database. I want to...
asked by 14.11.2018 / 20:16
1
answer

Accordion on Angular

I have to implement an Accordion in Angular6 and I want to know which link I clicked to add a class or remove it with Typescrypt since I can not use Jquery. Any Idea.    (click)="acoordionFuntion (this); "     
asked by 18.10.2018 / 17:29
1
answer

Display a random word, from a JSON object stored in MongoDB, every 5 seconds

I have an Ajax request that extracts data from a JSON object created in MongoDB and shows them to me on the screen. But what I'm stuck in is showing a word, from that array, randomly every 5 seconds. I have made the setInterval and it works, but...
asked by 20.11.2018 / 13:12
2
answers

Error compiling my project for production in Angula Cli 6

I have an error compiling my project to go up to production: src\app\landing\landing.component.html(185,71): : Property 'textoland' does not exist on type 'LandingComponent'. Contact.ts export class Contact { public $key: string;...
asked by 02.11.2018 / 20:31
1
answer

Because when changing components, multiply the objects of * ngForm?

Hello, how are you? I'm creating a test project to learn how to handle angle 6 since I come from angularjs and I'm having a problem with the ngFof or with the variable that the ngFor traverses, I'm not sure but when I move from one component to...
asked by 28.10.2018 / 23:08
1
answer

Upload an angular project to a production server

I want to upload my angular project to a production server, but when I run >> ng build --prod It does not generate any errors Your global Angular CLI version (7.0.3) is greater than your local version (6.1.3). The local Angular CLI...
asked by 01.11.2018 / 17:41
1
answer

Add div with Angular 6

Dear I am looking for forums but I can not find the answer, someone can help me how to add a div with angle 6. I have created the component, but I can not create the element in the sun. I want to develop a button that adds a row in an accordion,...
asked by 24.10.2018 / 23:20