Questions tagged as 'angular'

0
answers

Rendering Error with Angle Router 2

I'm studying angular 2 and I came across a problem in the application I'm doing as I study. I decided to create a CoreModule and create a SideBar component (menu) with the links for application navigation, however it did not work as expected....
asked by 20.10.2016 / 13:52
1
answer

Ionic 2 - Any type variables

I'm having trouble migrating from ionic beta.11 to RC0. Every time I put a constructor expecting the type "any" I get the following error.    ngc error: Error: Error at   /Project/.tmp/app/app.module.ngfactory.ts:456:134: Property 'any' does...
asked by 04.10.2016 / 20:15
0
answers

What is the best practice to share code between angular 2 projects? [closed]

What is the best practice to share code between angular 2 projects? How can I share components between projects? Below dashboard example should be use components of the eye project, and nose project. In this case, using this seed link . I...
asked by 11.08.2016 / 19:23
0
answers

Failed to receive native Push notifications from Ionic 2

I'm developing an application using Ionic 2 / Angular 2 / Typescript. This application uses the native push notifications plugin of Ionic 2 and Google Cloud Message (GCM) in conjunction with Amazon SNS. The on notification event is often n...
asked by 14.07.2016 / 16:34
1
answer

error in http post

I would like to have the save method in the class itself, and I'm not getting it, I'm a beginner in the typeScript language. import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; @Injectable()...
asked by 10.08.2016 / 17:04
0
answers

Keep routes (URL) Angular2 valid

I'm starting the Angular 2 studies and found a possible limitation that does not seem interesting for my application use case, because it seems that it's not possible to rebuild the page's state through the route URL. The example I'm going to...
asked by 18.03.2016 / 22:00
0
answers

NodeJs for real-time applications

Recently, with the arrival of Angular2 beta, I have been looking for more information regarding real-time applications. I currently work with AngularJs (1.x) on front-end with apache server on MySql & Php to...
asked by 21.03.2016 / 00:36
0
answers

Mask or format value in input on angular2

How can I do to format or use masks on inputs with angle2, for example for money In this input: <input type="text" class="form-control input-sm text-right" id="representPercDiagnostico" placeholder="DIAGNÓSTICO"...
asked by 06.04.2016 / 21:34
0
answers

Error with http.post and http.get with angular2

Good problem with sending and fetching data with angle2 Auth.ts import {Observable} from 'rxjs/Observable'; import {Injectable} from "angular2/core"; import {Http, Response} from "angular2/http"; if (!localStorage.getItem('token')) { local...
asked by 21.02.2016 / 22:41
2
answers

Sensitive and global ionic 3 and angular 4

I have some sensitive variables, and it would be ideal to leave all the variables in one environment, when it is necessary to change, for example from production to development, this task becomes easy. Ex: @Injectable() export class Restaur...
asked by 05.06.2017 / 21:27