Questions tagged as 'angularjs-2.0'

2
answers

AngularJS-2 change the delimiters {{}}

I'm trying to use something similar to interpolateProvider in AngularJS 2 but I can not find something similar to this: AngularJS 1.x $ interpolateProvider $interpolateProvider.startSymbol('//'); $interpolateProvider.endSymb...
asked by 08.02.2016 / 22:32
0
answers

Pass data to a component of the Router [closed]

I am trying to make a simple application, which consists of 3 components: SearchComponent , ListComponent and DetailComponent , the scheme would be such that so: Being the SearchComponent visible in all views, and the other 2 rout...
asked by 23.08.2016 / 09:18
1
answer

Difference between the constructor and ngOnInit in Angular2

I have been looking at the documentation of angular 2 about the Lifecycle but it is not clear to me. What is the difference between the constructor and ngOnInit?     
asked by 13.10.2016 / 09:47
2
answers

How to fix Angular 2 error in Eclipse?

When trying to create an Angular project in eclipse, this error comes out and does not allow the project to be opened. Why is it being generated? How can it be solved?     
asked by 06.10.2017 / 07:10
1
answer

Capture all JavaScript errors in Angular2

As the title says, I'm needing to capture all the errors generated in JavaScript but by angular. The idea is to raise a service that sends the errors that will happen on the client's side to have a log of errors in the server, to later correc...
asked by 07.04.2017 / 15:49
1
answer

Show response from an Http.get in Angular2

I am trying to learn Typescript and Angular2 . What I do is consult a public service when I click and print the note, but I'm getting the following error: Cannot read property 'quotes' of undefined in [{{quote.contents.quotes.quot...
asked by 31.01.2016 / 16:43
3
answers

Use of routelink in the base html

I'm trying to use the routerLink property of the "tag to" in the html that loads when the page starts. This works well within the template of a component, but in this case it is not necessary to render a component, since the menu is s...
asked by 27.10.2016 / 00:37
1
answer

How to create a reactive form in Angular

I have to implement some test in ionic, the questions for these test I collect them from the database and I show them. I have the problem when collecting the data. To start I keep the data of the questions in a array of objects...
asked by 13.02.2018 / 12:20
2
answers

Objecto undefined

I am printing an object dateImagen.boolean and I get an error that the Cannot read property 'boolean' of undefined , I do console.log(dateImagen) , but if I get the information that is this: Object {boolean: true, result: Ar...
asked by 07.04.2017 / 18:33
1
answer

Doubts with the prefix of the selector in Angular

The prefix of the selectors in Angular by default is 'app'. Most of the examples and tutorials I have seen do not follow the prefix rule. It is not a major problem because although the prefix is not used the application works, although I underst...
asked by 06.09.2017 / 11:15