Questions tagged as 'angular'

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
1
answer

Error creating an attribute with Angular 6

I want to create an attribute that calls (click) from setAtributte (), but it tells me this error: ERROR DOMException: Failed to execute 'setAttribute' on 'Element': '(click)' is not a valid attribute name. Search all over Google and I'm n...
asked by 13.11.2018 / 00:43
1
answer

Loading screen in Angular 6 [closed]

I have an application in Angular where it brings a lot of information from a database (more than 6000 elements). When the user clicks on a button, all those elements are displayed (they do not have to be paginated), I do that with an * ngFor, th...
asked by 13.11.2018 / 16:46
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

How to delete a record from a table with Laravel?

In my application users logged in through a button register themselves with an activity, when they click on the button, the user and activity information is sent to a table in the database. The above works in the following way: Laravel dri...
asked by 08.10.2018 / 18:22
0
answers

How to refresh component in Angular [in standby]

I have a website where I show different sections in the menu according to the type of user that accesses. All of them are loaded with different calls through API. The problem comes when the user refreshes the screen, when reloading the dat...
asked by 31.10.2018 / 08:59
1
answer

How to install Font Awesome 5 in Angular 6?

Since I do not use yarn search for npm ( link ). In src / app / app.module.ts    Import {FontAwesomeModule} from '@ fortawesome / angular-fontawesome' I add it to imports    FontAwesomeModule And this causes m...
asked by 03.10.2018 / 17:13
2
answers

Move elements clicked from one array to another

What I want to do is move an element from one array to another, but only those that the user selects and without JQuery, I am in Angular 4, I leave my code. Bold text <div class="create-cont-top-left"> <h5 class="clrGr...
asked by 26.09.2018 / 17:50