Most voted "angularjs" questions
This tag should be used when the question refers to some resource, information or problem related to the Angularjs framework. If so, only about Angular, there is a specific tag for this. Angularjs is an open-source Javascript framework. Its purpose is to facilitate the creation of browser-based applications in the Model-View-Controller (MVC) model, reducing the amount of code needed to create functional web applications.
Learn more…2,494 questions
Sort by count of
-
1
votes1
answer467
viewsDynamic Directives with Angularjs
I’m building an application that needs to render a dynamic form. The form data comes from a json, and in it, I have the configuration of the fields. Following example: { "Fields": [ { "title":…
-
1
votes2
answers1562
viewsFilling form dynamics with Angularjs
In the system I’m developing, there will be a field input for the user to search if such CPF already exists registered in the Database, if you have I want to show all the data of this client in an…
-
1
votes2
answers768
viewsChaining of asynchronous requests
I need to do the asynchronous processing of data series (sending data to a REST server) and, only at the end of all requests, I need to perform another function. How can I control this flow if each…
-
1
votes1
answer529
viewsRadio Input with default value
Using Asp.Net MVC 5 with Angularjs want a input radio come checked by default. According to the link: How to select a radio button by default? Assign an initial value to radio button as checked Just…
-
1
votes1
answer730
viewsAngularjs - ng-show directive is not working in java application
Guys I’m trying to use the directive ng-show Angularjs in a Spring MVC application, but I’m not getting it, it’s just not working. Note: I am using Angularjs normally, the other directives, but…
-
1
votes2
answers987
viewsAngularjs | How to define a boot process for a controller?
I have an app full of Ajax that needs to get data via Webservice when the page loads. I’ve already initialized via ng-init but I don’t know how to have the controller "load" and execute the code…
-
1
votes3
answers1312
viewsHow to install Angular JS modules?
I am creating an application in spring + angular , and for reasons I am not able to install the angular modules in the project folder by the command Bower install... I can install this module…
-
1
votes1
answer74
viewsI am trying to change the property value of an object by ng-click:
When you click the button, I want to change the value of the property addButton within the variable gens for true. Could someone help me? Follow the example on Codepen.…
-
1
votes0
answers681
viewsDisplaying value in the field formatted by angular-input-masks
Good morning I’ve successfully used the library: http://assisrafael.github.io/angular-input-masks/ to format value in monetary format. My problem is that when editing the value does not appear in…
-
1
votes1
answer747
viewsHow to trigger share options in Angularjs with Ionic?
Good night I have a mobile app, I have seen in some apps that when I click to share that appears the options of apps installed as facebook on the phone to share would like to know how I can trigger…
-
1
votes1
answer2203
viewsAssign function return to a variable using Angularjs $Promise
I have an angle.Factory that returns data from json. Within a controller I invoke the same to take the data, the point is that by invoking the same within the controller the object exists only if…
angularjsasked 9 years, 8 months ago user2259865 11 -
1
votes1
answer1414
viewsShow/Hide dynamic content-based table rows using Angularjs
Good morning I have several tables within a div, within these tables I show in the columns the days of the week, and in the rows several times. These times I limited to show only 8 at a time. When…
angularjsasked 9 years, 8 months ago Daniel Swater 1,251 -
1
votes1
answer159
viewsHow to get the city name in the ngcordova Geolocation plugin?
I have a mobile app with the plugin ngcodova Geolocation is working only with lat and long what I intend now and that the same instead of giving me the lat and long I gave it the name of the city as…
-
1
votes1
answer2277
viewsCreating dynamic ng-model with angular
I need to create a model name dynamically, but when creating obj the angular does not accept that I try to create the obj name dynamically. Has anyone ever done this or knows how to proceed? The…
-
1
votes2
answers530
viewsAngularjs ng-repeat does not return data, always returns empty
I have a query to an API that theoretically is returning the data, at least in the console shows me the same. But in the View with the ng-repeat is not bringing anything. Below follows the code I’m…
angularjsasked 9 years, 7 months ago Jacson Daner M. Brandão 63 -
1
votes1
answer404
viewsPass Nodejs json to Angularjs
I have a server running on Nodejs using Sequelize for ORM, everything works fine, but I needed to pass the query result to the angular. My server is like this: var express = require('express'); var…
-
1
votes1
answer82
viewsDirective as Function parameter?
Is it possible to set directives as parameters of a Function already on the html page? I tried to do serviceLogin({{login.user}},{{login.pass}})but I don’t think it’s right
-
1
votes1
answer1025
viewsHow to search for files by name
I am trying to search through names, in a folder containing several different JSON files . var app = angular.module('myApp', []); app.controller('customersCtrl', ['$scope','$http',function($scope,…
-
1
votes1
answer1332
viewsGenerating graphics with hightchart, PHP, MYSQL and Angular JS
I’m trying to generate graphs dynamically with technologies (PHP, MYSQL, Angularjs). This is my PHP code: $sql = "SELECT descricao, estoque from `alimentos`"; Transaction::open("mysql"); $conn =…
-
1
votes0
answers377
viewsController does not load Angular + Requirejs
I am developing an architecture to work with Angular in a large application with MVC Aspnet, in this application will not be the Angular that will treat the routes, but rather the Aspnet, so in this…
-
1
votes0
answers379
viewsngTable in a directive does not work
I’m trying to create a directive that uses ngTable to paginate my tables, however, I was not successful. Abstract the angular code that is used to make the pagination, playing it within a directive,…
-
1
votes0
answers81
viewsHelp with $filter Angularjs
I’m doing a screen search modal of a system I’m doing, and I’m finding the following problem when it comes to implementing the filter: I’m filtering an array of objects in an ng-repeat, each object…
-
1
votes0
answers124
viewsChanging ngResource save and using CORS (Cross Domain)
I’m developing an angled application, and I’m having a problem with the ngResource module. I need to call a URL from another system, for that I already added the necessary headers in the other…
-
1
votes1
answer62
viewsRecover Classname using . Css() from Angularjs
I have a page that displays several divs that when clicked retrieves and displays the attributes used to create them: float, border, width and etc. I’d like to retrieve the classname, but I’m not…
-
1
votes1
answer55
viewsCordova + Angular JS initialization vectors
I’m new in development with Angularjs and I’m starting to create an application, where before reaching the user login I need to validate if there is a database Sqlite, if inside the database I have…
-
1
votes0
answers100
viewsCors Api Google
I have the following request in the Google API using $http Angularjs: $http.get('http://maps.googleapis.com/maps/api/distancematrix/json?origins=Porto Alegre&destinations=Sao…
-
1
votes1
answer783
viewsCall ion-view in function
I’m starting in Ionic and Angularjs, already googlei enough and found nothing about this simple doubt. I can navigate well between the ion-view "Page1" and "Page2" using buttons: <ion-view…
-
1
votes1
answer462
viewsProblem when receiving a radio button value
I’m starting to mess with Angularjs and I had a little trouble messing with radio Buttons. My HTML code: <!DOCTYPE html> <html> <head> <title>Temperature…
-
1
votes4
answers1474
viewsservice returning result of a $http
I am creating a service for an application Angularjs where I should query a Ws and return a value to a variable. My problem is that when I use the $http I can’t get that amount back if I use a…
-
1
votes0
answers58
viewscall an http request control on Angularjs
how can I call a control file from an http request (get) $http({ method: 'GET', url: 'dashboard.do' }).then(function successCallback(response) { // this callback will be called asynchronously //…
-
1
votes0
answers1031
viewsCreate a Dynamic Matrix using Angularjs
I need to create a Dynamic Matrix where the user inserts its size. This Matrix needs to be using Div and not Table of HTML, and the content to be shown inside the Matrix is in images and needs to be…
-
1
votes1
answer940
viewsReturn function Angularjs / Javascript
how do I recover the value of this function using this way: var teste = getUser(); function getUser() { userService.getUser(userService.getUserLogged().id).success( function(res) { return res.data;…
-
1
votes1
answer117
viewsTest method of an Angularjs controller using Karma, Mocha, Chai, Sinon
I’m unable to test the code that runs on then of Promise I have the following controller: class Product extends Controller constructor: ($scope, productService) -> $scope.product =…
-
1
votes1
answer188
viewsJSON list in Angularjs not displayed
I’m trying to return a list of a Java webservice, but on the HTML page it is blank, I do not see my error, below the code. @Path("/contatos") public class ContatoResource { static private…
-
1
votes0
answers76
viewsAngularjs + Requirejs [ Error Injection ]
Introducing I’m developing a structure using the Angularjs and Requirejs. I’m starting to study Requirejs and researched a lot about it, but I haven’t gotten anything clear from it using with the…
-
1
votes3
answers1293
viewsHow to use ng-repeat in an object list?
How to use ng-repeat in the Region attribute of the object? Example: ng-repeat="item in objeto.RegioesFilhas Object: var objeto = { "DescricaoRegiaoVaga": "", "IdCidadeCorreios": "1",…
-
1
votes1
answer285
viewsAngular.js configuration not working
I’ve scoured the internet for a solution, but in no way the angular works in my project. In the project in which I want to use it existed many javascript imports not know if this may be the problem,…
angularjsasked 9 years, 5 months ago João Manolo 928 -
1
votes2
answers771
viewsDynamically manipulate an array with multiple Angular.js controllers
Well, I have a feature on my system that has a great interaction with the end user, I soon chose to employ the Angular.js. My goal is popular a array dynamically and when user der Ubmit I send such…
-
1
votes2
answers598
viewsHow to list parents and city in Anglican?
Here’s what I wanna do: Brazil Rio Grade do Sul Brazil Rio de Janeiro ... and so on. It has how to do it in a table? <table width="500" border="1"> <tr> <td width="200"…
-
1
votes0
answers94
viewsMenu link not working with $routeProvider
I’m finding problems to work with $routeProvider of Angular.js, have a link in a menu in which it will be mapped via route of angular, and later will call a action in the Spring, but it doesn’t…
-
1
votes1
answer2869
viewsArray filter inside Angular object
1 I have an array of travel objects 2 each trip has an array of users (travelers) I need to create a filter to list travelers I created a filter for the destinations, but for the users it’s not…
angularjsasked 9 years, 4 months ago Rodrigo Pereira 13 -
1
votes1
answer836
viewsReload an Angularjs table from time to time
My Angularjs page displays a table with data coming from a JSON. What I want is that the table is updated from time to time, because the data is updated according to the second and I show only the…
angularjsasked 9 years, 4 months ago FernandoNomellini 658 -
1
votes1
answer3090
viewsdoubts with Angularjs, input and onblur() method
How do an input call a function? The field is a zip code, I want when the user leaves this field to be called the function getCep(). I know that in the JavaScript has the function onblur, but with…
angularjsasked 8 years, 10 months ago alessandre martins 998 -
1
votes2
answers6143
viewsDisplay float field in currency format using Filters in Angularjs
I am working with Angularjs and to show the user a field using a comma, I am unfortunately obliged to do a replace at the point. I wonder if there are any filter or directive to solve my case. In my…
-
1
votes1
answer104
viewsShow Description instead of angular value
Hello, I am learning Angularjs and in my exercises I came across the following question: How do I show a description instead of a code. For example $scope.aeronaves = [ cod_anv: '1', fabricante: '1'…
angularjsasked 8 years, 10 months ago Dannicléo Teles 60 -
1
votes1
answer60
viewsDoubt in Angularjs! (Factory, Controller, View) Why is 'Identity' not updated in the VIEW?
Guys I’m having a doubt in Angularjs! The source code is in https://plnkr.co/edit/BoIr6nFCa8ST5ekT3DZO In Factory I have a property with the name identity, which is mirrored to the controller and…
javascript angularjs angularjs-services angularjs-factorysasked 8 years, 10 months ago Lucas Boeing Scarduelli 306 -
1
votes1
answer221
viewsCors Api Google Maps
I am developing a system made in Silex/PHP and his frontend is being done in Angularjs, I have a method in it that I am wanting him to do a search in the Google Maps API to return me a certain…
-
1
votes1
answer189
viewsHow to read a return Map<String, String> Java in javascript?
When making a request to a java control that returns a key map and value "String": @ControllerSupport public Map< String, String > teste() { Map< String, String > teste = new HashMap<…
-
1
votes1
answer416
viewsSave Access Token
I’m designing a simple login architecture and I’m in doubt where to save the User Access Token. The system will be developed in SPA using Angularjs and the server will be a REST API not yet defined.…
-
1
votes2
answers309
viewsNG-SHOW in Angularjs after Filter application
Hello, the code below works 99%, I only need to put ng-show on < H5 >, but I’m not getting it. The criterion: is to display the group name only if the group item exists in the list after the…