Questions tagged as 'angularjs'

3
answers

Read json via http by angularjs

I'm trying to read with an AngularJS / Phonegap application an HTTPS address that returns me a JSON ( link ). I'm getting this error:    XMLHttpRequest can not load link . Response to preflight request does not pass access control check: In...
asked by 29.08.2017 / 14:49
1
answer

How to inject a dependency of a service itself, in a certain syntax?

Imagine a traditional service injection in an angular applicationJS <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script><body><divng-app="meuAp...
asked by 30.08.2017 / 21:31
1
answer

Show / hide div when selecting option from a select

I need to make a selection of a select with a div when selecting the option. I'm using angular, how can I do this?     
asked by 09.08.2017 / 16:00
1
answer

Angular Application does not load in browser

I'm having trouble loading my application into my browser. The url works however the screen does not show any content, it does not show the html of the view. Follow the index.html: <!DOCTYPE html> <html lang="pt-br"> <head&g...
asked by 15.08.2017 / 21:52
2
answers

$ injector: unpr Unknown provider

I'm trying to create a service in ionic 1 but I'm getting the following error    Error: [$ injector: unpr] Unknown provider: heartTeamSrvcProvider
asked by 24.08.2017 / 16:30
1
answer

TEF communication

I need to integrate the TEF into my system. Does anyone have any idea how I can start this? Is there any open source software to do this integration? I found some information on the internet that talked about PayGo , would this be a viable opti...
asked by 22.08.2017 / 02:44
2
answers

How to reference the variable within HTML through AngularJS?

Within an ng-controller, I want a variable to appear, and it is not appearing. HTML code: <div class="body" ng-controller="mercadoriaCarrinho as merc"> <span>Total dos produtos: {{merc.listaDoCarrinho.mercadoria.total}}</sp...
asked by 26.09.2017 / 02:27
1
answer

Hide validation message after submission of the form, AngularJS!

I have a form with validations in Angular but when I send it I give%% to delete the inputs, but when I do this the validation alerts appear. How do I send the form, the fields are cleared and the messages do not appear?     
asked by 05.09.2017 / 18:03
1
answer

Uncaught Error: [$ injector: modulerr] for angular-material.js

I'm having a problem using Angular Material JS . I have my index with the references for the Angular-Material project. <head> <!-- AngularJS Material CSS using GitCDN to load directly from 'bower-material/master' -->...
asked by 06.08.2017 / 22:03
1
answer

Failed to load script with angle (ng-view)

I'm doing a design with angular js and using the design lite (mdl) material for the layout. Some features of mdl require a javascript file to work, but this file has some loading, sometimes not. I believe the browser ends up loading the mdl java...
asked by 16.06.2017 / 18:33