Questions tagged as 'angular'

2
answers

Populating a select with Angular2 and Firebase

blz? I was starting at Angular2 and I find Firebase to be a much better backend than Backand, because in a very short time I was able to connect to Firebase. The question now is, I'm trying to popular a select but it's coming without the names....
asked by 21.11.2016 / 00:20
1
answer

IOnic 2 error http request

I need to make a request to a webserver on ionic 2 and I have the following code: constructor(private navController: NavController, public http: Http) { var url = 'http://localhost/APIPortManager/teste.php'; var response =...
asked by 19.11.2016 / 12:18
0
answers

Angular Routing 2 and laravel 5.3

I created an initial system (raw) of laravel 5.3 and managed to implement the angular 2.0 ... I put it to view the app.component in welcome.blade and it worked normal ... I have questions about how to do routing with angle 2 on laravel 5.3 ... I...
asked by 05.11.2016 / 16:03
1
answer

Use variable received via route angle 2 final releasee

I'm starting to learn angle 2 and am having a question about how to use variable within a component ( AppComponent.ts ), received via service. I've sent via the id of a register and I get the distinguished component, so much I can see it i...
asked by 01.11.2016 / 19:12
1
answer

Problems with angular route 2 and laravel 5

I have a system in laravel 5.3, and I'm putting the angular 2 to take care of the front end. I have several modules, ex: companies. The route / companies will lead to the listing of companies getting like this: localhost: 8000 / companies ... Bu...
asked by 07.11.2016 / 23:51
1
answer

Do not display 401 (Unauthorized) error in console

I created a api using passport do laravel 5.3 . It works as follows: angular 2 sends credentials to laravel , verification is performed, laravel returns token . It's all working round. Something that is...
asked by 01.10.2016 / 23:00
1
answer

Problem leaving active link - Angular Routes 2

I'm having trouble adding the class to my active page link. It works on all pages, but the index is always active. For example, if I'm on the application page, both links are active. Menu: <li><a routerLink="/" routerLinkActive="...
asked by 26.09.2016 / 20:46
0
answers

Error while trying to run official quickstart example of Angular2

I'm starting a project to study Angular2, and for this I'm using Debian 8 with node v6.3.1 (npm v3.10.3). Following the Angular2 official quickstart walkthrough : #git clone https://github.com/angular/quickstart my-proj #cd my-proj #rm -...
asked by 28.07.2016 / 16:00
0
answers

My description of the top line is not showing up!

    <md-cardng-repeat="classified in classifieds "flex="30"> <!-- cada cartão ocupará 1/3 da página(33) --> <img ng-src="{{classified.image}}" alt=""> <md-card-content> <div class="cl...
asked by 09.07.2016 / 23:31
1
answer

Whenever I use directives of this error SyntaxError: Unexpected token

car-master.component.tsimport{Component}from'@angular/core';import{Car}from'./car';import{CarDetailComponent}from'./car-detail.Component';@Component({selector:'my-car',templateUrl:'app/view/car-master.html',directives:[CarDetailComponent]})expo...
asked by 02.07.2016 / 20:10