Questions tagged as 'angular'

1
answer

Non-Angular Class 2

This is my angle class 2 export class LinhaModel { _id: string; Cidade: { id: string; CidadeNome: string; } Operador: { id: string, OperadorNome: string, } DiaOperacional: { id...
asked by 04.03.2017 / 15:36
2
answers

ionic2 - upload photo via server

Next Galley. I have an application in ionic 2. The action is simple: take a photo or select a photo from the gallery. So far so good. however, at the time of upload, it goes on the server, but the photo does not go, that is, $ _FILES is empty...
asked by 11.01.2017 / 17:19
1
answer

Materialize and Slider in Angular2

Alright? Now the doubt is for those who are used to using materialize, more precisely the Slider component that has in the Javascript / Media menu. It does not start. I installed the angular2-materialize following all the steps for the installat...
asked by 01.12.2016 / 00:34
1
answer

Firebase and Angular2

Alright? I do not know what's missing to get the Firebase response using Angular2. I followed a tutorial that worked, but when trying on my project, I get 'null'. I do not know if I use FirebaseObjectObservable or FirebaseListObservable. Well...
asked by 26.11.2016 / 23:33
1
answer

Problem with ngModel in Angular 2

I'm trying to get the values of 3 inputs that are in a modal of Ionic 2 but it gives this error: Error in ./ModalPage class ModalPage - caused by: Cannot read property 'name' of undefined My input code looks like this: <input type...
asked by 29.12.2016 / 01:49
1
answer

Angular 2 in Visual Studio 2015

I have been working on a project that uses Ionic Framework and AngularJS for mobile and I use Visual Studio 2015 "Tools for Cordova" to build and debug the project. Recently, Angular 2 and Ionic 2 came out in a stable release and I decided to...
asked by 12.10.2016 / 12:12
1
answer

Can not find module 'reflect-metadata'

When I install angle 2 using: ng new angular-teste I get the error:    Can not find module 'reflect-metadata' What can it be?     
asked by 03.10.2016 / 15:58
1
answer

How to use two * ngFor at the same time in the Ionic2-framework

I'm trying to use 2 * ngFor in the same ion-row. First I tried the following: <ion-row *ngFor="let mes of meses" *ngFor="let por of arrayPorc"> <ion-col width-25>{{mes}}</ion-col> <ion-col width-25>{{por}}</ion-c...
asked by 29.06.2016 / 15:31
1
answer

Service variable comes as UNDEFINED in the Angular component 2

I can not get a variable from a non-angular service. I have the companies-index.component.ts and the companies-crud.service.ts. I would like to get a service variable in the component but it always comes as UNDEFINED, but if I run within the ser...
asked by 24.11.2016 / 12:41
1
answer

How to update the view after changing the database with IONIC 2

I'm developing an application with IONIC 2 where I use a webservice REST, of an application that is running online. In the page opening, I make the request and display information correctly on the screen, however, when an item is inserted or cha...
asked by 27.05.2016 / 19:18