Questions tagged as 'angularjs-2.0'

1
answer

error to use information from an array obtained from a JSON

I appreciate you can help me with this error; I already bring the array as seen in console, but when I try to link to a <li> I only get it    Response with status: 200 OK for URL:    http://192.168.0.20/tracker/CodeIgnit...
asked by 18.08.2017 / 00:51
1
answer

How to make a pipe filter in Ionic 2?

In the version of Angular 2 they removed the pipe Filter that filtered any coincidence in any property of a list of objects, in the documentation it says that if you need a pipe Filter that we manufacture it, but I do not know how...
asked by 27.06.2017 / 20:09
1
answer

Perform a reload to a datatables

Good afternoon, I need to know how I can apply a reload to a datatable in typescript with Angular 2, options = { dom: "Bfrtip", ajax: (data, callback, settings) => { this.servicioUsuarios.getUsuarios().subscribe(data => {...
asked by 20.06.2017 / 01:31
1
answer

How can I remove and put a class with a toggle using ionic 2?

I want a div to have a specific class when a toggle is in True and you remove it when the toggle is False using ionic 2 . Once I saw in a tutorial that they used a condition with the ng-class directi...
asked by 14.06.2017 / 00:29
1
answer

Angular pass variables between components without inheritance [duplicate]

I have a NavBar component with a dropdown and another component that will display a content depending on what is selected in that dropdown. The problem is that I do not know how to pass that selected from the NavBar component to the compone...
asked by 24.05.2017 / 13:14
1
answer

How to use reset () method CaptchaModule primeng Angular

I ask for your help because I have problems with the CaptchaModule component because I refresh the page and I get the following Recaptcha is not loaded Html <p-captcha [siteKey]="llave (onResponse)="showResponse($event)"> <...
asked by 16.05.2017 / 08:52
2
answers

Angular 2 initialize materialize component after obtaining data

I have a dropdown that I want to initialize with materialize in navbar.component.html <select> <option *ngFor="let survey of surveys" value="{{survey.sid}}"> {{survey.surveyls_title}}</option> </select> I get...
asked by 12.05.2017 / 09:28
1
answer

Scroll Spy in angular 2

Does anyone know how to implement a scrollspy in Angular 2? I have looked for some example of some Plunkr or something but I could not find anything to use.     
asked by 09.05.2017 / 01:08
1
answer

Create a Chat in Angular 4 with Socket.Io

I have created a chat in angular 4 with the help of socket.io, fine until the messages are sent to everyone, I need the connection to be user with user, not of all with all (for now). I read that I use a nickname but I really do not know what th...
asked by 14.09.2017 / 19:15
1
answer

Angular 2, links

I have a web in angular 2, with the routes set so that I can go browsing the web loading my different modules, when I click on a link the module I want is loaded, but the position of the scroll is maintained. And I need that every time someon...
asked by 05.05.2017 / 11:40