Questions tagged as 'angularjs'

1
answer

ionic record audio not back to view

I made an app, to record audio, it opens the native recorder, but does not return the audio to view. .controller('MyCtrl', function ($scope, $cordovaCapture) { $scope.captureAudio = function () { var captureSuccess = function (mediaFiles)...
asked by 14.09.2016 / 20:12
1
answer

Function does not execute without setTimeout

I'm having a problem executing a function when I click on icheck . In case, the function is only called if I give a setTimeout of 1 millisecond, less than that or without timeout the function is not executed. How can I do to...
asked by 06.07.2016 / 23:04
1
answer

Problems passing a list of objects to another list

I need to pass a list of objects from one table to another list of objects in another table, I have been able to fetch the information, but I can not save them. Ex:  I have a table of people, in case I have the fields: Name, Age, Telephone, C...
asked by 10.06.2016 / 15:54
2
answers

The script loads before ng-view has loaded (AngularJS)

I'm having trouble with the following situation: I have a ng-view on my page, but I need two scripts that I implement at the bottom of the page wait for my ng-view load so they interact with the element classes within my ng-view. These are...
asked by 30.07.2016 / 02:06
1
answer

AngularJS does not read input of type hidden?

On one occasion, we were developing a form here in the company where, when selecting a product through an Autocomplete, the ID of that product was stored in a input hidden . I noticed that AngularJS was not capturing the value of this i...
asked by 04.08.2016 / 22:06
1
answer

Angularjs - multiple tabs in same browser

I'm using angularJS in my Node application. When I try to open another tab also with my application in the same browser (or open another instance of the same browser) I get this error: s:1 Uncaught SyntaxError: Unexpected token u in JSON at po...
asked by 06.07.2016 / 17:02
1
answer

AngularJS Error: [$ injector: unpr] Unknown provider:

I have the following error for dependency injection in my controller:    Error: [$ injector: unpr] Unknown provider: $ routeProviderProvider
asked by 19.09.2016 / 20:20
2
answers

How to import the current $ scope into $ uibModal?

I have the following modal in my controller: angular .module('app', ['ui.bootstrap']) .controller('AlunosController', function ($uibModal, $scope, MyPaginator) { $scope.alunos = new MyPaginator('/alunos'); $scope.open = function (a...
asked by 21.09.2016 / 18:30
1
answer

Play! Framework - How to load public files (js, css, img) only once?

Hello, I started using Play! Framework with little time AngularJS, and I'm having problems to use AngularJS services, therefore I'm a variable on a page and when I go to check this variable on another page the value is null. I noticed that th...
asked by 16.06.2016 / 21:30
1
answer

AngularJS ui-router application has / #! / in the URL

I have an application with ui.router running normally, but a second application has a "!" after / p> Ex: http://localhost:8090/dev/#!/home Why does this happen? The normal should be: http://localhost:8090/dev/#/home  ...
asked by 28.12.2016 / 17:16