Questions tagged as 'angular'

1
answer

What is the best way to integrate Laravel with angular 2?

I know how to create an application using Laravel, and I also know how to create an application using Angular 2/4. But how to integrate the 2? would it be just creating a Laravel API and another Angular application? or do I have to create the An...
asked by 02.05.2017 / 23:37
0
answers

Send email cangularjs 2 + Php

I'm trying to send email but I'm not getting it. My php class require("phpmailer/class.phpmailer.php"); $mail = new PHPMailer(); $mail->SetLanguage("br", "libs/"); // ajusto a lingua a ser utilizadda $mail->SMTP_PORT = "587"; // ajus...
asked by 20.04.2017 / 20:29
1
answer

The oauth_consumer_key parameter is missing

I did the local installation of wordpress I have my api running locally. I'mhavingtheerror:polyfills.js:3GEThttp://localhost/wordpress/wc-api/v3/products?page=2&oauth_nonce=8eGbEK9Mr8…rsion=1.0&oauth_signature=gV6ZTiZ5kWpcHTgaIfSrDXJ...
asked by 11.05.2017 / 02:47
0
answers

How to work with sensitive variable in the angle

I'm in big trouble, I have several computers where each of them consumes a variable but their data is different, for example:    I have app.js file where there is a route to access my api, in development I have a link and in production anothe...
asked by 25.04.2017 / 16:58
1
answer

Angular Error 2 Router (Can not find primary outlet to load 'WelcomeComponent')

Good morning, I have the following error in my application ANGULAR-2         EXCEPTION: Uncaught (in promise): Error: Can not find primary outlet to load 'WelcomeComponent'     getOutlet @ link [angular]     ActivateRoutes.prototype.activat...
asked by 05.04.2017 / 15:35
0
answers

I emulated my IONIC 2 project on android and it's ERROR

I emulated my IONIC 2 project on android and the white screen appeared and the following ERROR appeared: EXCEPTION: Error in ./MyApp class MyApp - inline template:16:2 caused by: Connection is not defined What can it be? below is the code...
asked by 30.03.2017 / 19:32
1
answer

ion-toggle how to trigger event when dialing

I have following code: <ion-item *ngFor="let dispositivo of dispositivos"> <ion-label>{{dispositivo.Nome}}</ion-label> <ion-toggle toggle-class="toggle-positive" [(ngModel)]="dispositivo.Status" data-ng-change="acao(dispos...
asked by 21.03.2017 / 03:24
0
answers

Access to the http-headers of the Wordpress API using Angular 2

I have a very simple question on Angular 2 . I have an application that connects to Wordpress API Rest and I have a problem that I think is very simple, but I can not find a solution on the web. I need to retrieve the data that comes in...
asked by 13.03.2017 / 15:56
2
answers

Routing problem after final build in angular 2

After generating a final build in angular 2 ng build --prod I was able to put it on any server (nginx / tomcat / others ...) normally, the problem happens that the routing does not work using the <router-outlet> tag and the a...
asked by 13.03.2017 / 19:07
0
answers

How to use components exported from other modules in Angular 2

I'm starting to use Angular 2 and I'm having trouble accessing an existing component in a module I've created. When opening the application, route root should be directed to the module IndexModule where its boostrap is...
asked by 07.03.2017 / 21:54