Questions tagged as 'angular'

1
answer

Parallelism with Angular 2

I need to insert 30,000 records in the device (in SQLite) through a file. But at the time of insertion, the application hangs. So I thought of creating an asynchronous service, but I do not know how to do this using Angular 2. Code: this....
asked by 24.02.2017 / 15:39
1
answer

Dynamic routes with angle 2

I'm developing an angular application2 and wanted to create dynamic routes, which were generated from a .json file. Searching the following code: import { Routes ,RouterModule } from '@angular/router'; export const routes: Routes = getScreens...
asked by 06.02.2017 / 19:22
1
answer

How to ensure that a function that depends on ngOnInit runs after it?

I have a class that when initialized retrieves data from a service and popular one of its attributes, which is an array . This class has a function that sorts this array , filters and returns the result. When instantiating an object of this...
asked by 06.02.2017 / 19:15
0
answers

Ionic2 - Download Images and Save to Gallery

How do I download an image to be in a server and then save it to the device's Gallery (IOS and Android). PS: I'm using ionic 2 Thanks in advance for all     
asked by 13.01.2017 / 11:15
0
answers

Ionic 2 - How do I go back to the home page of a given tab

My APP works with tabs , inside these tabs I have buttons that open other pages using push , when I click on tab 2 , and click a button, it opens the normal page, there I click on tab 1 , and then I click again on...
asked by 02.02.2017 / 14:42
1
answer

Forms angular 2 [closed]

I have a screen called login on the same screen I have two forms one with user and password and another only with email field. In the first form I have this snippet of code: <a href="#" class=""> clique aqui When I click: click here,...
asked by 09.01.2017 / 19:59
0
answers

Direct from one view to another using ng-click on Ionic

Good morning, I would like to know how to redirect this view when I click to go to each of the menu options.              Custom Notes                          {{note.title}}                 
asked by 11.01.2017 / 17:01
0
answers

Pipe error: Type PaginatePipe is part of the declarations of 2 modules

I have the following error in my template:    Type PaginatePipe is part of the declarations of 2 modules: I'm doing the import of the PaginatePipe pipe into 2 modules, which I thought would work normally but did not work. Exam...
asked by 14.12.2016 / 18:17
1
answer

Is it worth starting medium and large projects with angular 2? [closed]

How is the experience with using Angular 2 for slightly larger projects? Any negative or positive points found regarding its use? I want to balance if it's worth switching to.     
asked by 05.12.2016 / 14:45
1
answer

Request HTTP ionic 2 GET

Good afternoon guys, I use ionic 2 and how can I make a request get (without provider nd only in class ts)? I just need you to take what is written on the page and display it on an alert. How can I do this?     
asked by 14.11.2016 / 16:19