Questions tagged as 'angularjs-2.0'

1
answer

Angular2 @Input does not reflect changes to the parent component

Good, I have a parent component with a list, when selecting the selected element is passed to the child component (a form) defined with the decorator @ input . The problem When I modify some property in the form, it replicates the change i...
asked by 02.03.2017 / 02:21
1
answer

Elements on top of map google maps (Native) Ionic 2

When placing an HTML element on top of the Google Maps using Ionic 2, I can not click on those elements, it's as if the element is not there and the click is on the map.     
asked by 02.03.2017 / 00:53
1
answer

Angular2: How to create webBuilder (template) with drag and drop?

I am interested in creating a web builder (template) with drag and drop from an admin, do you know any library that can help me? The purpose is to build "drageables" components from said admin and to publish them on the front cover in order t...
asked by 21.08.2016 / 15:26
3
answers

Browse json array object

I have the following json: [{titulo : "Total", balesia : 1, torre:2, CT:3, HF :6}, {titulo : "Total", balesia : 4, torre:2, CT:5, HF :8} ] I need to go through it and add only those that have a numerical value and store it in another object...
asked by 15.11.2016 / 18:50
3
answers

bring information from the database with angular 2

I am new at angle 2, use a little angular 1x for a university project. My question is with angle 2, can you bring information from the database? For example of a database in MySQL but my question is how. In angular 1 I made a php script th...
asked by 24.07.2016 / 07:48
1
answer

Does not recognize ng command

I installed angular-cli and even then this command does not work, which can be or how I can add it.     
asked by 24.05.2017 / 17:56
2
answers

Problem with Http post Angularjs2

I followed the forms tutorial in the Angularjs2 documentation, but I can not send it by the post method I created the class as in the example export class Hero { constructor( public id: number, public name: string, public...
asked by 19.03.2017 / 15:44
2
answers

Change style angular-cli component

How can I change the style to a component, using angular material, I am making the change to the directive directly, but do not take it ...? home.component.html <md-card> <app-home></app-home> </md-card>...
asked by 31.12.2016 / 03:30
3
answers

How to enable the "productio.mode" in angular2 with Angular-cli?

When a new project is created with angular-cli by default it is not enabled to run in productio.mode How can it be enabled? The generated main.ts file is as follows: import { enableProdMode } from '@angular/core'; import { platformBrowserDy...
asked by 18.03.2017 / 23:32
1
answer

Can the component itself be imported into the template?

I need to arm in Angular.io a kind of tree specifically an Organigram where the different areas are defined, for that my question is if you can define a component that calls itself within itself so that it iteratively draws the tree something li...
asked by 26.09.2017 / 17:00