Questions tagged as 'angularjs-2.0'

2
answers

Complex component as a modal. Angular 2

How to use a complex form component (with services, injections, etc) as a modal without having to put your html in the parent component? My structure is as follows: src ----- app.component.ts ----- app.component.html ----- modals/ ---------...
asked by 28.02.2017 / 20:19
2
answers

Assign the http data in ionic 2 when loading the view

I can not understand why you do not assign the value to the variable this.userProfile I tried with promises and also do not assign any ideas? Code: import { Component, OnInit } from '@angular/core'; import { NavController, NavParams,...
asked by 07.11.2016 / 19:32
1
answer

How to change the search criteria in a call $ angular JS $

I have a JSON link where I have to do searches: http://www.liverpool.com.mx/tienda?s=xbox&d3106047a194921c01969dfdec083925=json but I need to change the search criteria, for example to search xbox or something else would change t...
asked by 18.09.2016 / 22:09
1
answer

transpilar angular 2

If Angular 2 use typescript how do I transpile my project to ecmascript 5 ? I am using angular cli generated by a folder structure I have seen that there is a dist folder that is generated with the command ng build b...
asked by 16.09.2016 / 00:38
0
answers

Communication between components Angular

I am new to Angular, I am trying to pass a value from one screen to another. The thing goes like this: On the first screen I select a "select" value (it's the id of a client), then I click on a button and it redirects me to another page where I...
asked by 30.01.2018 / 07:41
2
answers

error when running ng serve --open

Because I get this error when I run ng serve --open :    C: \ wamp64 \ www \ my-app & nt serve --open You seem to not be depending on   "@ angular / core". This is an error. I do not understand maybe I did something wrong when insta...
asked by 09.01.2018 / 19:35
0
answers

Change to local time at Highcharts

Good, I'm using Highstock of Highcharts in angular 2 , and the axis of x is of type datetime , the data I charge is a value and a specific time for each value. The time in my region is not the UTC , and when the graph is displ...
asked by 27.12.2017 / 15:53
1
answer

Ionic-android: how to get date and time by GPS? (not of the system)

The real problem that I still do not solve is how to prevent the app I am developing from saving me an hour that is not the official one of the country / town where I am the timestamp that returns ionic-native / geolocation is the one in the...
asked by 13.12.2017 / 17:48
1
answer

Http request inside a loop Angular2 Typescript

I'm doing some exercises with Angular2 +, I do not have much experience with this version so I do not know how to achieve the idea that I have. I want to invoke a service that returns the 10 most popular songs of the moment, when that answer...
asked by 05.11.2017 / 03:14
1
answer

How to select an element of the DOM with ionic 2?

I am developing an application with ionic and I need to capture an information that exists in an external web page, I have tried to embed the web with a <iframe> tag and I try to select the html element that contains the data...
asked by 26.10.2017 / 17:58