I have a function in Typescript in which its return is directed to an input in formGroup , but I can not use the same return in another field, only if it has the same name.
I need to use the return in HTML table and I can not put...
Below is the Array I need
[
{
"id":1,
"nome":"LESPAUL",
"validade":1525568400000,
"dataGerada":1525914000000,
"status":true,
"itens":[
{
"cliente":{
"id":1,...
I'm trying to send via POST to my laravel backend, but on the console it points to the error:
POST link 500 (Internal Server Error)! !
Here's my AngularJS code
<!DOCTYPE html>
<html ng-app="myApp">
<head>
&l...
Good afternoon.
I am consuming an api (pokemon),
But it does not work,
PokeListenerComponent.html: 6 ERROR Error: Can not find a supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays....
I need to check if a user already exists before registering.
I have the following methods:
register.component.ts:
import { AlertService } from './../alert.service';
import { Component, OnInit } from '@angular/core';
import { Router } fro...
Error: Can not find a supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays.
I have model:
import { Classroom } from "./classroom.model";
export class Student {
public id...
Good evening
I'm consuming an api of movies on Angular. But I can not display in the template, in the console.log this is appearing right, but I can not pass the value pro template
My component:
import { Component, OnInit } from '@angular/c...
Good morning, I'm trying to access my API by angular through the get
of the http module, my files are in my github repository if someone wants to take a look. I'm following this tutorial here
to make the request, but always gives the...