Questions tagged as 'angular'

0
answers

Validate CPF and CNPJ [closed]

Does anyone know of any CPF and CNPJ validator for Angular 2? I saw a package for Angle 1 as directives, is the implementation the same? package link     
asked by 21.12.2016 / 23:27
2
answers

Remove html table row with typescript

Good morning !! I have a html table and need to delete a row of it with a typescript (angular 2, preferably) function ... The following is the Table Code: <div class="col-md-12"> <div *ngIf="itens.length" class="table-respon...
asked by 26.06.2018 / 14:35
2
answers

How to insert HTML inside an Angular component 4?

Hello! How to insert an HTML code inside a component in Angular? For example: I have the component button: whose code is: <button type="submit"></button> I would like to insert the html in this way: <app-button>...
asked by 21.01.2018 / 02:01
3
answers

TypeError Can not read property 'name' of undefined in Angular 4

My application is working perfectly, the only thing wrong is this error message; MidiaExibirComponent.html:13 ERROR TypeError: Cannot read property 'nome' of undefined at Object.eval [as updateRenderer] (MidiaExibirComponent.html:13) a...
asked by 18.04.2018 / 14:02
3
answers

Observable returning undefined

I'm trying to load a list on screen in my browser using Observable, however I'm not having success, this is a record that exists in my url; This is the service class import { Http } from '@angular/http'; import { environment } from '....
asked by 29.06.2018 / 13:38
3
answers

How to install Jquery in Angular?

What is the correct way to install jquery on an angle project 2 + ? With bootstrap: npm install --save jquery@latest Only it is not available in node_modules so I get the path and put it in angular.json     
asked by 08.06.2018 / 16:56
1
answer

What advantages does Angular 4 have over AngularJs 1.6?

I work with angular JS 1.6 and I am studying angular4, I know that as all language and technology constantly goes through a process of evolution, but does that angular changes have it recommended for all angled projects?     
asked by 27.10.2017 / 23:47
1
answer

How to know the Angular version installed by Angular CLI?

I would like to know how can I find out which version of Angular I'm using?     
asked by 23.11.2017 / 15:59
1
answer

Application startup delay

I created a multiplatform application using Ionic 2 + Angular 2 according to Get started from Ionic documentation . The basic command to create a side menu project is as follows: $ionic start myApp sidemenu There is something that is bot...
asked by 06.12.2017 / 16:38
1
answer

Change attribute of a component in another non-angular component

I have two components: Registration and Login In the RecordComponent I have this anchor: <a id="titleClient">Already have a account? Click here</a> I need when the user clicks the anchor change in the login component the a...
asked by 04.12.2018 / 12:18