Questions tagged as 'angularjs'

2
answers

Easiest way to transform request into FormData

this.getArray = function(callback){ $http({ method: "post", url: "index.php?modulo=ClientesOnline&acao=getClientes", headers: {'Content-Type': 'application/x-www-form-urlencoded'}, data: $.param({ajax:1}),...
asked by 23.08.2016 / 20:31
2
answers

Save $ scope scope with angularjs

I have a screen where some functionality is done via ajax on the page, then the user can filter, etc; When checking the result he wants, he can click on a link that will redirect him to a new page, but if he clicks the back of the browser he...
asked by 11.08.2016 / 15:37
1
answer

How to slide the text into an input in the hover?

I have an input with a fixed width, but sometimes the content exceeds the width of this input. Somewhere I saw a solution that by hovering the input the text inside the input slid to the end without changing the width of the field. How do I d...
asked by 12.07.2016 / 16:05
2
answers

Random image background with AngularJS

I'm using AngularJS with Ionic to make an application. On a particular screen, I need to display a random image. I've tried a lot here and on the internet a way to do this, but I only managed with normal JS, without being in Angular and I have s...
asked by 20.01.2017 / 17:53
1
answer

Ui-Routes get the id of the logged in user

I'm using ANGULARJS / UI-ROUTES , and currently my application after login only keeps the email, I need to also have the user ID logged in. The issue of the routes I get, the problem is that he does not see the ID to be able to bring. I think...
asked by 26.05.2016 / 15:54
0
answers

Field Data Returning Undefined

I'm trying to capture a value from a component using angularjs 1.X, but from the class I just created a date field is not being filled the same returns undefined. Follow my controller: angular.module('app').controller('agendacontroller'...
asked by 24.11.2016 / 22:28
2
answers

Help in Deleting and Editing in Angle

Good afternoon! I am not able to create the functionality of editing and removing an object from a vector with angular, could someone help me? below is the controller code and the service: angular.module("appOS").controller("CadastroServic...
asked by 25.11.2016 / 15:51
1
answer

ui-router does not render the view contained in an ng-template

I'm doing an online course of mean and I'm having trouble rendering a view. The view is inserted inside a Script tag and specified as a ng-template and configured within ui-router . Even following the instructions the vie...
asked by 26.04.2016 / 02:40
1
answer

Angularjs: how to avoid the route call on first page load

I need to make the page fully loaded, without calling any route, when the user accesses the direct link. The problem occurs when the page loads, Angular simply reads the URL path and calls the route. Routes can only be called when I click on a b...
asked by 03.11.2016 / 00:29
3
answers

Select list dynamically filled option selected with AngularJs

I need to bring a select option with the selected option being populated dynamically. I have in my controller filling the list like this: $scope.$watch('IdCategoria', function() { $http.get("/api/Categoria/GetList", { })...
asked by 24.03.2016 / 15:21