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
-
3
votes2
answers228
viewsWhere to store the information?
I have an application in angular, basic with forms that stores the data in arrays and receives the dado in dados in div's. Now how can I store this data? What options have I been using Angularjs?…
-
3
votes1
answer85
viewsHow to change the value of the variable in Factory?
Inside Factory has a variable countF value 1: Factory app.factory('testFactory', function(){ var countF = 1; return { getCount : function () { return countF; }, incrementCount:function(){ countF++;…
-
3
votes1
answer416
viewsSecurity when sending and taking data from a URL
Hello, I’m learning development and I don’t know much about security. I’m making a web application using Nodejs + Expressjs + AngularJs + MongoDB. I did it this way, Mongodb data is sent to a URL…
-
3
votes1
answer192
viewsAuthenticate to Sharepoint online via Rest api + Angularjs
I’m trying to create an application using Visual Studio 2015, Cordova + Angularjs. My need today is to authenticate in Sharepoint and consume Web Services. I’ve tried several authentication…
-
3
votes2
answers192
viewsRemove value "json header"
I have a problem to generate a json in php, after the query it returns me this {"37":{"codigo":"37","firstname":"Aluno","lastname":"Toledo","atividade":"A","checklist":null},…
-
3
votes1
answer1664
viewsDisplay Alert according to an Ionic condition
I have a user registration page where I have a code field where I would like to validate it according to a condition ($Scope.error) coming from my controller, I already have some alerts but they…
-
3
votes1
answer4402
viewsHow to use Angular input Mask
I use Angularjs and Ionic and am trying to use this Input Mask, but I don’t quite know how to do it. I follow the steps and yet this error appears: Angular Error. References in index.html:…
-
3
votes2
answers1052
viewsHow to set a timeout for a request?
I’m making a requisition JSONP for a webservice. But sometimes the request takes too long. As I am showing the user a loading status, I would like to abort the request if it is more than 10 seconds.…
-
3
votes1
answer65
viewsHow Abstract States works at the angular
I’m working on an APP and I’m still getting to know the features of angular. I have a route file and I was suggested to add the parameter abstract: true to prevent browsing by url. However I have…
-
3
votes4
answers5749
viewsInput type NUMBER does not consider maxlength
I have the following HTML: <input ng-model="idade" type="number" maxlength="3" placeholder="Informe a idade"> When I go to test, the input ignores the maxlength and lets you type as many…
-
3
votes2
answers1114
viewsPut Dollar " R$ " in angular
I need to put a R$ in Angularjs. The Code is this, someone could help me and is returning a value in value. $scope.addValue = function(el) { var element =…
-
3
votes2
answers286
viewsJavascript for the Angular
I’m kind of new at Angular, could someone help me convert this code into Javascript for angular. window.onload = function(){ var campo1 = document.getElementById("campo1").value; if(campo1 == 0.00){…
-
3
votes1
answer703
viewsGraphic overlay
I have a problem when creating a chart with Chart.js and then do to generate another chart from the menu that is on the same page. It creates the graph, but when I move the cursor across the graph…
-
3
votes1
answer1123
viewsAdd value with Angularjs no ng-repeat
I have the following code: <li ng-repeat="gasto in gastos"> R${{ gasto.valor }} - {{ gasto.descricao }} </li> This prints on the screen the expenses and the description, but I would like…
-
3
votes2
answers260
viewsAngular - delete $Scope.categoria_nova;
My delete does not work when registering a new category: The aphorist doesn’t clear the fields, which can be? JS: app.controller('categoriasCtrl', function ($scope, $http) { $scope.categorias = […
-
3
votes1
answer188
viewstextContent Material Designer Angular JS
I’m using the Angularjs Material Dialog and it’s okay, but when I put the textContent it returns the following error: CONSOLE ERROR $mdDialog.confirm(...).title(...).textContent is not a function JS…
-
3
votes1
answer1120
viewsValidate input size with Angularjs
I have a field in a form that I need to validate with angular. The field should have up to 11 characters. If you have less than 5 should be displayed an error message requiring the user a correct…
-
3
votes1
answer87
viewsHTTPS on Rest architecture
I have a web service written using Springboot that runs on Tomcat and a client application written in Angularjs that runs on Apache2. I would like to know how the SSL issue works for this case.…
-
3
votes1
answer475
viewsJSON array with Angularjs checkbox
I am trying to form a JSON with what is selected by checkbox, but when I select it inserts, but when I try to remove the check in, it inserts again. The correct would be to work in that way, but…
-
3
votes0
answers1080
viewsData and parameters between views
Hello, I am creating an App with the IONIC Framework. The front is complete. I made the screen transitions using $stateProvider quietly. But I need to do the features of the APP and in general I…
angularjsasked 9 years, 3 months ago Rafael de Castro 131 -
3
votes1
answer226
views5th step using jquery.smartWizard.js
I have the following form menu using jquery.smartWizard.js I need to insert the 5th step and I’m not getting it. How do I insert? Follow below the code of my screen. <!-- Tabs --> <div…
-
3
votes1
answer2253
viewsHow to clear form with Angularjs?
I’m creating an application with Ionic, I have a company registration and after registering the company I want to clean the form but I’m not getting. How to do this ? form <form…
-
3
votes2
answers3254
viewsAngular.js, is it MVC, MVVM or MVP?
I know that in angular projects has model, view and controller but many say that angular.js is MVVM and others say it is MVP
-
3
votes1
answer281
viewsDifficulty updating data with angular and php
Good afternoon I’m trying to update the database and I can’t. If I use mysqli, the following warning appears on the console:…
-
3
votes1
answer775
viewsHow to convert latin1_swedish_ci data to utf8_bin in php?
I got an SQL script that "mounts" 3 tables, one with country, one with states and one with Brazilian cities. The script makes the collection, of the names, in latin1_swedish_ci and I needed it to be…
-
3
votes1
answer116
viewsSending new value to all users via signIR
I need to make all users receive the updated values on their screens as soon as the function AutonavHub.client.printPackageInfoFloat(objeto) is called within $scope.adicionar = function (objeto)…
-
3
votes2
answers1182
viewscall an . exe in Java or html
I am migrating a desktop system to web , with we have already largely ready, I would like to climb it and call what is not ready of the application by the browser , I would like a help, in the…
-
3
votes2
answers64
viewsHow to return function correctly? (Variable Scope)
I have the following function that performs a request to an API using Angular and I would like the function to return the data, but I am experiencing variable scope problems: var…
-
3
votes1
answer1318
viewsWhat is $Parent in Angularjs?
I’m reviewing a colleague’s PR and came across the use of $parent, I read a little in the documentation of angular, but I can’t understand what it does. It is used within a dialog created within…
-
3
votes3
answers332
viewsHow to make the data appear in the fields in Angularjs
I’m coming in with a zip code and a search is made and brings me the other data... However, I want the data to be displayed, each in its own field, as they will be entered in the database. How to…
-
3
votes2
answers766
viewsHow to create a regular expression to validate only cell phone number?
I made that expression, but I don’t know if it’s in today’s standards "/^[1-9]{2}\s?9\s?\d{8}$/"
-
3
votes2
answers123
viewsFilter example in Angular 1
I’m trying to apply a filter with angle 1 But I’m only getting one field. How can I make a filter that can search for more fields? In my case will have a filter with 5 types of fields.
-
3
votes1
answer62
viewsItem class in list always initializes active
I used as a reference for solving the problem: angular ng-repeat Skip an item if it Matches Expression. Next, we know that Bootstrap has the class active to mark with a different color of the…
-
3
votes1
answer8263
viewsAngularjs - When should I use ng-show and when should I use ng-Hide?
I am seeing a tutorial, and at a certain point it presents the code saying that the most correct is to use ng-Hide in the DIV tag and further down in the BUTTON tag the same used ng-show. When…
-
3
votes1
answer528
viewsValue attribute of options in select are not set correctly
I need to go through an element select on a page HTML placing the elements option within it. I can already do that, the problem is that in the attribute value of those option should receive the…
-
3
votes2
answers2116
viewsFormat Angularjs date
I have a problem to format the time that appears in the View, it is coming in the following way: However, I would like it to be displayed in the "hh:mm:ss" format. The html code is as follows::…
-
3
votes1
answer332
viewsdata bind with arrays - Angularjs
Well, I’m having a little trouble figuring out the best way to solve this: I have several Skills and need to save each Skill with its score and id(from Skill) for each candidate. have an ng-repeat…
-
3
votes1
answer654
viewsAccess-Control-Allow-Origin: * does not work for all my domains
I have four applications that use the same API, and the Access-Control-Allow-Origin: * not all of them, the only application that doesn’t work is the one that I’m using Zend Framework 2 and Symfony,…
-
3
votes1
answer44
viewsAngular function does not load in time?
When I try to use the following code in a website template: <img src="{{getImage(estabelecimento)}}"> The image loads correctly, but before loading this error appears on the console: GET…
-
3
votes1
answer4025
viewsWhat is the difference between the types of Binding in Angular?
In Angular (not Angularjs) there are some ways to Binding Component properties to View. <img src="{{ boundProperty }}"> <img bind-src="boundProperty"> <img [src]="boundProperty">…
-
3
votes2
answers139
viewsDoubt Angularjs with array
How do I catch just the id and key? { "type": "champion", "version": "6.3.1", "data": { "1": { "id": 1, "key": "Annie", "name": "Annie", "title": "a Criança Sombria", "info": { "attack": 2,…
-
3
votes1
answer64
viewsHow to identify exactly which record has changed from one list to another? By ID
Hello. I have 2 lists being mounted in javascript, based on the rule: Do you have flag queries Then stay in the Array: clientesDownloadTrue Do you have flag queries Then it stays in the Array:…
-
3
votes2
answers344
views$Http Which one should I use?
The $http has two examples. I would like you to help me because I don’t know which is the most useful There is the : var chamada = function () { return $http.get('https:url/exemplo.json')…
-
3
votes1
answer3848
viewsHow to disable field and button in Angularjs?
I have a text field and button to send this text. You’re having a little delay, after I click the send button until the message is sent. Then, I need to disable the text field and button, until the…
-
3
votes0
answers909
viewsTypeerror: Undefined is not an Object (evaluating 'self.data.ID')
I’m trying to apply unit testing to my function onPersistSuccess, but this error appears Typeerror: Undefined is not an Object (evaluating 'self.data.ID') I have tried to define it in several ways…
-
3
votes1
answer785
viewsAngularjs-Material how to change language to Md-datepicker English
I’m trying to change the language from Md-datepicker to Portuguese because the days of the week and the months are in English, so it gets confusing for the user... Is there any way to exchange this…
-
3
votes1
answer80
viewsApp quiz Angularjs does not appear when the page is online
I have this app in Angularjs is a Quiz only when I put it online, I go up to the server, the application does not appear. Can anyone help me? Thank you. HTML <!DOCTYPE html> <html…
angularjsasked 9 years ago Maria Rachel Barbosa 31 -
3
votes0
answers192
viewsHow do I control tabs open by my software with Javascript and localStorage?
My question is how to do a tabbed control, open from browsing my software, with Javascript and localStorage? For several reasons that do not come to the case my web software works with the opening…
-
3
votes1
answer287
viewsAngularjs - page does not find the controller
I’m starting to test applications using Angularjs and Spring Boot. My problem is this: All scripts are normally imported into the browser, but IF I tag "ng-controller="Headcontroller"" on any tag on…
-
3
votes1
answer391
viewsHow to change the text of the Bootstrap Pagination UI pagination buttons?
I’m working with the UI Bootstrap Pagination, but by default the language is in English. Would it be possible to change without having to modify Javascript directly? If so, could you give me a…