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
-
2
votes1
answer105
viewsProblem with buttons when clicked on Angularjs
I have a mobile app with the following problem: I have a list of users who each have a "follow" button, which when clicked will have to change to not follow. Return of PHP true or false to know…
-
2
votes1
answer410
viewsCall the USSD IONIC number
I’m trying to call a number USSD of my application IONIC, follows the code I’m using: <ion-item nav-clear menu-close href="tel:*000#">IOD</ion-item> However it appears on the cell phone…
-
2
votes4
answers3995
viewsHow to make a link button in Angularjs
How to make a link/redirect button in Angularjs? html <button class="btn btn-success" href="go('/cadastro.html')">Cadastra-se</button> config app.config(function($routeProvider,…
angularjsasked 8 years ago GustavoSevero 2,567 -
2
votes1
answer1043
viewsDatabase Request API For Angularjs
What API’s to make requests with database (mysql preference) that I have available to work integrated with Angularjs, some that is simpler to use and that runs on any server, I was going to use the…
-
2
votes0
answers102
viewsWhat is the difference between Angularjs and Angular 2?
I’m studying javascript and I’m seeing some frameworks that are very famous, I haven’t chosen any yet, but I’ve read about some, so I was left with doubt: What is the difference between Angularjs…
-
2
votes1
answer1220
viewsBackground Ordova / phonegap
I’m a beginner in the area of creating apps with Cordova , I’ve searched all over the internet but I can’t find any tutorial that explains exactly how to use the plugin for background, in all the…
-
2
votes1
answer6836
viewsI cannot call a function with ng-click
I’m learning Angularjs and I have a problem that I can’t solve. I have a function inside a controller that’s inside a module. This function is responsible for mounting an accordion element with…
-
2
votes2
answers812
viewsHow to recover the value of Boolean from a REST service in Angularjs?
I have a Java/Jersey service that returns a Boolean pro Angularjs. In my controller, I take the value of the return of the Promise, but it returns me an Object. In other cases, such as a return of…
-
2
votes1
answer447
viewsProblems with Angular ngRoute links
I’m trying to link. I’m working with Angularjs and did the route setup part. I have a views folder with html files. Follows the codes: <html ng-app="fluxo"> <head>…
-
2
votes0
answers154
viewsData Field Returning Undefined
I am trying to capture a value of a component using Angularjs 1.X, but of the class that created only a date field is not being filled the same returns Undefined. Follow my controller:…
-
2
votes1
answer422
viewsSeparate login page from other pages that are loaded from ng-view
I have a little app SPA (Single Page Application) with AngularJS where all pages are loaded on index.html through the ng-view. But I added a layout with a sidebar and a few other things on this page…
-
2
votes2
answers416
viewsAngularjs - Two functions in one file
I would like to put in the same file the two functions below, but when I do this, the second function (notebooks) no longer respond. Filing cabinet App.js: (function () { 'use strict'; var module =…
-
2
votes1
answer195
viewsProblem with Google Charts + Angularjs + ng-view
I’m developing a SPA with Angularjs, and I’m doing some tests with Google Charts, however, I’m having a problem that I’m not able to identify why. When logging into the application, the user is…
-
2
votes3
answers791
viewsHelp 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 open the link it tries to open a page at the application root…
-
2
votes1
answer8587
viewsTesting app locally in the browser?
I am trying to develop a hybrid application using Ionic and Angularjs and for that I am testing in the browser. When I do ionic serve it creates a local server with the address localhost:8100/#/main…
-
2
votes1
answer165
viewsAngularjs ui-router application has /#! / in the URL
I have an app with ui.router working normally, but a second application has a "!" after the "#" Ex: http://localhost:8090/dev/#!/home Why does that happen? The normal should be:…
-
2
votes2
answers1074
viewsHow to do for when click on an item from a menu to receive the corresponding view tab in Angularjs?
Good guys I’m starting to study Angularjs, and in my application I wanted to do something similar to the following. I have a dropdown menu and I also have some tabs that I created manually. By…
-
2
votes2
answers93
viewsRandom background images with Angularjs
I am using Angularjs with Ionic to make an application. On a given screen, I need to display a random image. I searched a lot here and on the internet a way to do this, but only managed with normal…
-
2
votes2
answers556
viewsHow to change the value of an input by a Factory?
I have a <input type=file> and I want to add the image path to this input to send the form to my webservice. I can pick up the image path through a Factory and cannot change the value of that…
-
2
votes1
answer186
viewsAngular factory to insert data into the database
How do I create a function, in Factory, to enter data in the database? I have it: .factory('pegaContas', ['$http', function($http) { var _getContasEntrada = function(id_empresa) { return…
-
2
votes2
answers775
viewsHow to save user session by logging in using Java +Angularjs
I was doing a search of how to save the user’s session after he was logged in to the system, I found several examples with cookies, however I am using java + Angularjs, and in the examples I found…
-
2
votes2
answers34
viewsInverval set when $on is set
Guys, I’m getting here to do an interval rsrs. $rootScope.$on("timer", updateApanha()); var arquivoJSON = (JSON.parse(window.sessionStorage.getItem('timeUpdate'))*1000);…
-
2
votes1
answer350
viewsFacebook login with Ionic/Angularjs?
I’m trying to log in to facebook with Ionic/Angularjs. Whenever I try to login returns this error: Object {errorMessage: "User cancelled dialog", errorcode: "4201"} I’m following this example: Login…
-
2
votes1
answer65
viewsAngularjs - Where to put Jquery/Javascript functions
I have some functions in jquery that normally would be in a file . js even, but when I use Angular where should put, following good practices? Example: I have a function that determines whether or…
-
2
votes2
answers343
viewsError passing PHP Array to Angularjs by JSON
I am in doubt in a code that I am developing, I am passing a query in the Mysql database and I need this answer to return in JSON for Angularjs to understand and write in HTML. Follows the code:…
-
2
votes4
answers2773
viewsHow to mount buttons with Angular?
I have to mount three buttons and validate them at the angle, following the schematic:…
-
2
votes1
answer61
viewsMd-slider, how to know when it was finished?
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 could not find a legal way to know when the user…
-
2
votes1
answer89
viewsTake only what was changed on an object
I implemented a PATCH function to update the data of a resource, but I need to only take the updated data of an already loaded object on the screen to send in the request. What would be the most…
-
2
votes0
answers112
viewsIs there an angle limit to request post?
I’m making a post request via $http at the angle, and when my back-end returns a very large json string it doesn’t load, it makes me wonder if there are any settings that limit a request that…
-
2
votes1
answer920
viewsDownload a PDF received from an API with Angularjs
I have an API that returns me a PDF file. I want to make the angle hit this route and force the download of the PDF file. Today I do so: var blob = new Blob([arquivo], {type: "application/pdf"});…
-
2
votes1
answer333
viewsInsert colored markers into datepick using Angularjs, ui-bootstrap
How do I insert colored markers into datepick using AngularJS and ui-bootstrap? Page: <!doctype html> <html ng-app="app"> <head> <meta charset="UTF-8"> <script…
-
2
votes2
answers835
viewsHow not to repeat random numbers?
I am creating a rotary banner, and for this I use the javascript rule that draws a position in the array and displays, this already works well, the problem is that sometimes draws the same number in…
-
2
votes1
answer201
viewsHow to find values and apply attributes using Angularjs?
I need to scroll through two specific columns of a table, locate the subtraction (-) and sum (+) symbol to apply one of the following rules: For the subtraction symbol (-) color the text red; For…
angularjsasked 7 years, 9 months ago Fábio Jânio 3,407 -
2
votes1
answer389
viewsIon-footer-bar on top of the ion-list?
I’m creating an endless list on Ionic. I have a ion-footer-bar in the index and after that list bring all the information of Webservice in the last record the ion-footer-bar is on the record. I’m…
-
2
votes1
answer573
viewsColumn Junction: HTML5 and Angular
Guys, I’m wondering how I can make this junction with the Angularjs? I saw that has the ng-repeat-start and the end, but I couldn’t implement.…
-
2
votes3
answers1104
viewsHow to create a property of an object dynamically?
I’m currently doing it this way, but it occurs error in giving build in the project: function AddSelectOption(name, item) { vm.item = { name: item["name"], [name]: item[name] //Erro nessa linha };…
-
2
votes2
answers301
viewsAjax request data with Angularjs is not getting to the action method
I know this is very basic, but I’m starting now. I’m creating a neighborhood register, using Angularjs, my back-end is in C# with ASP.NET MVC. My method is called by view, but does not receive JSON:…
-
2
votes4
answers529
viewsForm Angularjs with ng-repeat
This is guys Blz?! I’m new to Angularjs. I’m developing a form but I can’t do ng-model abstraction. Follow the code below for better understanding. <- JS -> /* CONFIGURAÇÃO DO FORM */…
angularjsasked 8 years, 11 months ago Rick Batera 31 -
2
votes2
answers261
viewsDo not show 1 row of empty array using Angularjs Asp.net mvc?
I have the following code: <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--inserindo a meta tag de keywords onde definimos as palavras…
-
2
votes3
answers310
viewsdoubt with ajax and angular
I have my back-end, in my controller I have a way salvarBairro(string dados) I’m using angular, this guy here calls my way to salvaBairro from the back $scope.AddBairro = function (bairro) {…
-
2
votes2
answers2846
viewsAngular-Animate error: angular.module(...). info is not a Function
I’m trying to use angular Animate, ms to taking the error on the console just by importing angular-Animate.js Uncaught Typeerror: angular.module(...). info is not a Function at…
-
2
votes3
answers867
viewsDoes not parse the bootstrap datepicker for dd/mm/yyyy - 400 Bad Request (POST)
I have a web application, basically pure wheel with JSP + Angularjs. The template that I use bootstrap, didn’t have datepicker with Angularjs, so I’m using with jQuery. I have on my screen, a modal…
java angularjs twitter-bootstrap spring-mvc datepickerasked 8 years, 10 months ago Leonardo Leonardo 283 -
2
votes1
answer334
viewsHow to pass a picklist (bootstrap) via POST (ajax)
Good morning, I don’t know how to pass the data of this component to my controller java. See image: For example, I have these fields that I pass by request POST to my controller and they work OK,…
-
2
votes2
answers1588
viewsHow to pass input value with POST method using Angular
I’m trying to pass certain values of a input through the POST method using Angular, but I’m not able to pass these values in the URL and not even pick them up on the server. Could someone help me…
-
2
votes2
answers1768
viewsHow to take angular typed data and save to an object array?
Using Angular, how could I get the typed data from a input and then save the data into an array of objects?
-
2
votes1
answer2247
viewsDynamic table with angular
I’m trying to make a dynamic table, where it will work as follows: - they will have 2 input fields type text, one for the text value of the row and one for the column, each with an "add" button; -…
-
2
votes1
answer236
viewsHow to get data Object in php?
I am passing an object from angular to php, but php insisted and "say" that the data that is coming is not an Object, what should I do? How can I get this data in php? Just follow my codes angular:…
-
2
votes1
answer166
viewsHow to initiate a method when the user presses the delete or Return (delete) key?
In my form I have a client field. I need that when the user presses the delete or Return (delete) key, a method that I have in my controller is triggered, how can I capture if one of these keys was…
-
2
votes2
answers846
viewsReading json file via Angularjs service
I am trying to read a Json file via a service I created: Service: App.factory('service', function($http) { var promise; get: function() { if (!promise) { promise =…
-
2
votes1
answer126
viewsProblems $Scope mdDialog Angularjs
Good morning guys! I’m having trouble passing an array to an Md-dialog. Clicking an edit button sends the array in $Scope via locals to the Md-dialog controller, so I can change the data and save…