Questions tagged as 'angular'

0
answers

Save value to a variable

How can I save the value of a calculation made on the front end to a variable in typescript, for example: Typescript: valor:number=0; html: <ion-input type="number" [(ngModel)]="valor"></ion-input> <p>{{valor * valor}...
asked by 05.05.2017 / 03:02
0
answers

Angular2 Update variables between components

I'm starting at angular 2 and would like to know the best way to do this: I have 2 components, toolbar.component and profile.component. When you update the name of the logo and your photo (this already works) I need to update this in the to...
asked by 19.04.2017 / 16:36
0
answers

Json object no ionic 2

I'm starting with Ionic 2 and Node.js and I'm trying to consume the API I created, but I'm having trouble locating the problem when I try to generate a listing with ngFor from a JSON, so I've read the ngFor needs to a JSON object to work, so I c...
asked by 18.04.2017 / 05:27
1
answer

Uncaught (in promise): Error: Can not match any routes. URL Segment:

I'm getting the following error when I try to open a new form via [routerLink]: error_handler.js:54 EXCEPTION: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'usuario-cadastrar-dialog' Error: Cannot match any routes. URL...
asked by 18.04.2017 / 18:54
1
answer

View child from Firebase on Ionic

Hello I have a project on Ionic that I need to show some promotions, however I need to "update" them after the launched app. For this I am using Firebase! I was able to display in the app what I need, however I need to filter the child....
asked by 27.05.2017 / 01:11
0
answers

Ionic 2 Error when generating the build for android in windows 10

$ ionic build android > ionic-hello-world@ ionic:build C:\Users\Gustavo\Documents\Ionic2\like_you > ionic-app-scripts build [20:16:23] ionic-app-scripts 1.3.0 [20:16:23] build dev started ... [20:16:23] clean started ... [20:16:23] cle...
asked by 08.04.2017 / 01:42
1
answer

I'm trying to install Ionic 2 but this is giving error at the time of executing the npm install -g ionic codova

Gustavo@Gustavo-PC MINGW64 ~ $ npm install -g cordova ionic npm WARN deprecated [email protected]: Use uuid module instead npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher...
asked by 07.04.2017 / 07:04
0
answers

Routes - Angular 2

I'll use an example of an admin panel. In angle 1 I had $stateProvider.state() that inside it I could configure an internal name and the url that would be accessed, so I would have, for example: .state('template', { url: '',...
asked by 27.03.2017 / 20:57
0
answers

AngularJS Services API. Do not load TITLE while sharing link

Good afternoon, I need some help to finalize a project. I am having a problem that when sharing links in social networks, the title, description and etc tags do not load with the values returned by the API (Using AngularJS). I believe that th...
asked by 04.04.2017 / 20:14
0
answers

I wanted to call this function inside my anonymous function, how can I do this?

retonaEndereco(myLatlng,adress => { let getDistance = function (origin,destination) { let distance = geolib.getDistance(origin,destination); return geolib.convertUnit('km',distance); } var getAllDistances =...
asked by 22.02.2017 / 19:57