Questions tagged as 'angularjs'

1
answer

How to insert an Angular directive in HTML using an external script?

I need to insert a directive inside the code of a calendar that is already implemented in a site I'm creating, but I've encountered a problem: In HTML, the policy is printed normally, but Angular does not process it and replaces its content. In...
asked by 30.03.2016 / 23:24
1
answer

Site AngularJS accessing API, authentication question

I have an API written in PHP + Slim, which is being used by an administrative panel, and authentication is via token, which is returned when the panel user logs in. However, I'm doing a site with Angular and would like to reuse the API, but I...
asked by 09.03.2016 / 21:29
1
answer

How to pass list of a picklist (bootstrap) via POST (ajax)

Good morning, I do not know how to pass data from this component to my controller java. See picture: Forexample,IhavethesefieldsthatIpassbyrequestPOSTtomycontrollerandtheyworkOK,itarrivesatcontrollerjava:BoxApp.controller("Cadastro...
asked by 14.01.2016 / 12:16
1
answer

md-slider, how do you know when it was finalized?

I have this slider : <md-slider step="5" min="15" max="120" ng-model="tempo" aria-label="red" id="red-slider" class=""> </md-slider> I did not get a legal way to know when the user changes the slider, I worked like th...
asked by 08.12.2015 / 10:36
1
answer

Error with duplicate values in AngularJS

I have a duplicate values problem in AngularJS, in my JSON will always have repeated categories, in ng-repeat I used track by $index but the error persisted. My controller code: angular.module('starter').controller('Guia', fun...
asked by 27.07.2016 / 23:32
2
answers

How to retrieve the value of the return boolean of a REST service in Angularjs?

I have a Java / Jersey service that returns a Boolean pro for AngularJs. In my controller, I get the value of the return from the promise, but it returns me an Object. In other cases, as a return from a User entity, for example, it works fine, b...
asked by 06.11.2015 / 02:00
1
answer

User Authentication in AngularJs with API Rest in Java / Jersey

I'm developing the user authentication module in my application and I'm having some trouble accessing the API, getting a 403 error. In the old way I was doing, when I sent the request to the service, it correctly returned the data I needed wi...
asked by 08.11.2015 / 14:58
3
answers

Help with QR Code reader in Cordova

I'm trying to make the app (cordova + onsen) read a QR code and when reading open the link contained in the QR, but instead of opening the link it tries to open a page in the root of the application (file: // android_asset / www / barcode.result...
asked by 13.11.2015 / 01:31
2
answers

AngularJS - Two functions in one file only

I'd like to put the two functions below in the same file, but when I do this, the second function ( notebooks ) stops responding. File App.js : (function () { 'use strict'; var module = angular.module('app', ['onsen']); module....
asked by 11.11.2015 / 01:11
1
answer

Testing app locally in browser?

I am trying to develop a hybrid application using ionic and angularjs and for this I am testing in the browser. When I do ionic serve it creates a local server with the address localhost:8100/#/main and my webservice is also in...
asked by 13.11.2015 / 03:15