I need to search an array with values of type:
equipamentos = [{marca: 'Nomedamarca1', modelo: 'Modelo1'},
{marca: 'Nomedamarca2', modelo: 'Modelo2'},
{marca: 'AlgumNomeComCase', modelo: 'Modelo3'},...
Good morning !! On a certain page I have a button that takes code and name of a client and I need to pass this information to an input from another page:
Function page that takes code and name
<tr *ngFor="let pesquisas of pesquisa">...
I have a simple application in Angular and I need to call my API to get a token . But I am facing difficulties. I'll try to explain a bit about my flow.
I created a service class where I instantiate it only once to store a Token. This token...
I'm trying to apply lazy loading in my application, however after I removed the module import in the app.module and left only in loadChildren, my application does not recognize one of my component declarations.
My Routing Module app:
//Impo...
Hello everyone, this is my first question and it's about Angular 4 . So I studied the Angular Js 1.x and I could fully understand where the MVC architecture fits into the framework , but did not feel the same in < in> Angular 4 . I know, t...
I'm having a problem creating a custom Pipe.
I created the following module (pipes.module.ts):
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CnpjPipe } from './cnpj.pipe';
@NgModule({...
I need to get the current system date. I use Angular 2.
I tried the following validation, but without success.
var now = new Date;
if(dataInicial > now.getFullYear() + now.getMonth() + now.getDate()){
alert("Data inicial maior que...
I'm using Ng2-Smart-Table, according to the documentation it accepts an array of objects to mount the table:
No HTML:
<ng2-smart-table [settings]="settings" [source]="data"></ng2-smart-table>
In Javascript
import { NgxData...
I want to emulate my ionic 2 application on the tablet but I can not, I already uploaded it to the ionic cloud but it only works on the ionic view application, I also used the ionic emule and the ionic run, but when it opens the emulator of the...