Questions tagged as 'angular'

0
answers

Get the user id logged in

I'm doing user management where any user can disable any user. But, the logged-in user can not deactivate. How do I get the id of the logged-in user? component.ts: export class AUsuariosComponent { model: any = {}; userObj: User;...
asked by 07.11.2017 / 17:44
0
answers

Problem with Angular and Firebase

I'm trying to create an application with Angular and Firebase, I followed a guide I found on the internet, but the data is not being stored in the database! Follow the component code akael.service.ts import { Injectable } from '@angular/cor...
asked by 03.11.2017 / 21:09
1
answer

Progress bar Angular 2

I need to implement a style a progress of the image, I need to create in the same structure, open below and with this information. Will it be used in an Ionic app, does anyone know some lib or how to make one? Thanks!     
asked by 31.10.2017 / 19:23
0
answers

youtubeplayer non-angular

Hello, I'm trying to implement a youtube player using angular 4, but I'm only able to create it using javascript code. Here is the code: var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; va...
asked by 10.11.2017 / 19:23
0
answers

PrimeNG - Column Toggler - Selected columns [closed]

Hello! I'm using the PrimeNG DataTable column selection feature. Among the 12 column options I have, I would like only 4 to be selected. But all are already selected by default. How to perform this control? I've taken a look at the options of...
asked by 03.11.2017 / 17:51
0
answers

http.post is not working

I'm trying to send a form to an API with the Angle link, but I'm not getting it: Code: save(auditoria):Observable <{}>{ let headers = new Headers(); headers.append('Content-Type', 'application/json'); let options =...
asked by 19.10.2017 / 15:22
1
answer

How to use JQuery in Angular 2

I have a theme in HTML, CSS, JAVASCRIPT and Frameworks like Bootstrap, JQuery, etc. have been used. I intend to implement the theme in an Angular project 2, on certain pages there are animations, DOM manipulations that are made by the manufac...
asked by 19.10.2017 / 11:51
2
answers

setTimeout doing lose value of variable?

I will summarize the code because mine is too big, come on. I have a global variable of type boolean that gets false, when entering an if it has to receive instead of false true, but when it enters the setTimeout the boolean is returning "undefi...
asked by 21.10.2017 / 21:03
0
answers

Angular - capture datapicker value

Hello, I have a problem with an angled application 2, I have 2 Datepicker <input type="text" data-date-format="dd/mm/yyyy" class="form-control pull-right" ng-model="ctrl.campanha.dataInicial" id="datepicker1" ng-init="initDatepicker1()">...
asked by 03.10.2017 / 15:58
1
answer

Ionic 3 - Ion-Clickable Item

By using the ION-ITEM directive inside the ION-LIST, you can not click any element inside, eg a text field when we test with the iOS emulator in Chrome. > <ion-list class="list-form"> <ion-item tappable> <ion-label floating...
asked by 02.10.2017 / 00:03