Posts by Rodrigo Alves Mesquita • 199 points
9 posts
-
1
votes4
answers259
viewsA: Error While Consuming Api at Angular
the return of the api being used returns an object and the ngFor supports only whole objects like arrays Below is an example of the url return http://pokeapi.salestock.net/api/v2/pokemon { "count":…
-
-1
votes1
answer40
viewsA: How to make the variable come out
try to use async and await anggota: any; ida: number; async ionViewWillEnter() { this.anggota = await this.storage.get('session_storage'); this.username = this.anggota.username; this.ida =…
angularanswered Rodrigo Alves Mesquita 199 -
2
votes1
answer458
viewsA: How to catch the length of a *ngFor?
The ngFor directive has the local variables below: index: number; // returns the index of the current item in the array. first: Boolean; // returns true if the item is first in the array. last:…
angularanswered Rodrigo Alves Mesquita 199 -
1
votes1
answer66
viewsA: How to return a Promise from an Angularfireobject using @angular/fire in Angular(V6+)
Try to use async await in your service import { Injectable } from '@angular/core'; import { AngularFireDatabase } from '@angular/fire/database'; @Injectable({ providedIn: 'root' }) export class…
-
1
votes2
answers198
viewsA: Problems with QR Code Ionic reader
Probably this plugin does not support Cordova version 9.0.0. Try to use Phonegap Plugin Barcodescanner ionic cordova plugin add phonegap-plugin-barcodescanner npm install…
-
1
votes1
answer378
viewsA: value the angular input 2
try to do with [ngValue] instead of [value]
-
0
votes1
answer208
viewsA: Error 404 when loading resources from node_modules folder with Angular2
To insert third party libraries as font awesome and bootstrap you must modify your file .angular-cli.json in your project for when the build project files are included. "styles": [ "styles.css",…
angularanswered Rodrigo Alves Mesquita 199 -
7
votes3
answers13703
viewsA: How do I publish an Angular CLI (Angular 4) project to my server?
As you discovered it is necessary to build the application, by doing this the generated files can be used on any web server. Ex: in wampserve you can copy the folder /dist from its angular design to…
-
1
votes1
answer786
viewsA: Ng build -Prod Angular 2 - How to publish the application
When building an angular 2 application the generated files can be used on any web server. Ex: in Wampserve you can copy the folder /dist from its angular design to the folder /www wampserve and…