Questions tagged as 'angular'

1
answer

How to populate a SQLite database through a .sql file?

I have a .sql file and I need to run all the rows, insert all the records that are in it, into a table inside SQLite. Content of file mydb.sql : CREATE TABLE tblVeiculo (VeiculoId INT, Codigo [TEXT(9)], Fabricante [TEXT(255)],...
asked by 21.02.2017 / 16:07
0
answers

Laravel does not decrypt the refresh_token by sending the request with angular 2

When I perform the request to retrieve the token it works, but when I send the grant type request refresh_token laravel can not decrypt the refresh token. Angular 2 let params = { client_id: this.params['client_id'], client_...
asked by 06.03.2017 / 13:31
0
answers

How to generate several modalities in Angular 2 for the same view in Ionic?

Sorry for the ignorance you may not have asked the question correctly, a week ago I started to see a little about Ionic and Angular 2, I came doing some tests and I came across the following problem. <ion-view title="Teste modais" id="p...
asked by 15.01.2017 / 17:08
1
answer

Page does not load elements when updating in Ionic 2

Well I have a side menu app where the first page is home, and it loads elements as soon as the user enters the app. I'm using Ionic 2 and the communication is being done via socket. One detail is that the elements do not load when I update, but...
asked by 19.01.2017 / 01:08
1
answer

Equivalent to setOnItemLongClickListener in Ionic 2

I created a function in which when the user gives a simple click in the item, it shows a Toast , an alert, on the screen with the name of this item: Function in my file .ts : itemSelected(item: string) { this.toastCtrl.show...
asked by 14.02.2017 / 17:06
0
answers

Ag-grid with Angular2 using angular-cli

I'm trying to run ag-grid with angular2, the examples you have on the ag-grid site are using SystemJS as builder, and the new angular-cli uses webpack. Below I'll put the way I managed to run, but in the way below I'm not using ag-grid-ng2. I...
asked by 14.12.2016 / 14:56
1
answer

Use Angular 2 without NodeJS after build

I'm developing an Angular 2 application using Webpack . My doubts are, once you build for production: Can I run this app without the NodeJS ? Can I run the Angular 2 app without any server, right in the browser? If you need to u...
asked by 21.12.2016 / 13:23
1
answer

How to show "loading" screen

Good afternoon, I am a beginner in the angular and I have the following doubt: Can I have a handy selector on all my components? I bring my component as follows: import { CarregandoComponent } from '../carregando/carregando.component'; @...
asked by 08.01.2017 / 17:15
0
answers

Searchbar Ionic 2

I was able to implement searchbar as IONIC 2 documentation. The problem is that I am bringing information from a remote database and I can not implement this database data in searchbar . It's a matter of passing the vari...
asked by 16.02.2017 / 20:23
1
answer

Angular2 ngFor help with loop

I have a file 'nvi.json' which looks like this: [ { "abbrev": "gn", "book": "Gênesis", "chapters": [ { "1": { "1": "...", "2": "..." } }, { "2": { "1": "...", "2": "..." } }, { "3": {...
asked by 22.11.2016 / 20:14