Questions tagged as 'angularjs'

0
answers

authentication of html pages

I was working with WebForms in visual studio, but now I'm going to work with HTML, css, javascript, I'm going to consume a webservice with ajax, so all programming will be client side, there will be no programming on the server. My question is h...
asked by 13.04.2017 / 20:04
1
answer

ng-include does not work after using a policy

I needed to make a dynamic controller, but when I use the directive data-ng-dynamic-controller my ng-include does not work does anyone know what it can be?    ng-dynamic-controller directive appModule.directive('ngDynamicController'...
asked by 20.04.2017 / 06:13
0
answers

Form via method PUT is not sending the data to a service restEasy

I'm sending a form via Ajax, my front is done in AngularJS. I capture the form information and send it to a service that is in Java RestReasy. But he arrives Nullo! Could someone help me? In my controller it looks like this: var req = {...
asked by 05.04.2017 / 15:13
1
answer

Ionic1 + input [type = file] does not work; How does it work?

In my project, there is an input of type file that in chrome works correctly, in Ios did not test and in Android the input does not work. Is there a Cordova plugin that will make the input file work or some javascript solution that works?   ...
asked by 18.04.2017 / 22:12
1
answer

Update with Resource AngularJS

Is the Callback method for resource.update on AngularJS ? Type, var instancia = Resource.get({id:1}, function(data){ instancia.$update({id:idModelo}, modeloAtualizado) }); This works, the registry is updated perfe...
asked by 29.03.2017 / 19:21
3
answers

Show data with angularjs according to an input type="select"

Good afternoon, I'm trying to show the data of an input text according to an input select . When selecting an employee in a select , I want to show the employee's job in an input text . See the example: link     
asked by 29.03.2017 / 21:01
1
answer

How to pass the contents of JSON Object to a controller

How do I pass the content of the JSON object from service to controller. I'm currently testing the following codes:    Controller (app.js) example.controller('equipecontrol', ['EquipeService','$scope', function( EquipeService,$scope)...
asked by 27.03.2017 / 23:41
1
answer

How to pick up / drop object in localstorage?

I'm sending a JSON object to localStorage : window.localStorage.setItem('tarefa',aux); And I try to get this object on another controller like this: $scope.tarefa=window.localStorage.getItem('tarefa') However, when displaying on...
asked by 21.03.2017 / 14:49
1
answer

how to pass parameter to another screen with ionic1 and angular1?

I've created a multi-button screen much like this: link When I click on a button it would have an id and this id I get on its route, I did with list already, but several buttons passing parameter I still can not. My question is how to...
asked by 15.04.2017 / 01:01
1
answer

Error using a view for two controllers

I have a controller to add an object and it uses the view. addObject.html I have another controller that is to edit this object, and when accessing it it fills the whole view addObject.html . What would be different would be just the s...
asked by 22.03.2017 / 16:46