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
-
0
votes2
answers84
viewsHow to work with Angularjs without the API being ready?
I want to do the front-end of my application with Angularjs only that my Restful API is not yet ready to be consumed, it has some tool that helps me to work the returns in JSON?…
-
0
votes1
answer148
viewsSprint boot + angular application in WAR, where to start?
People need to do an application in Spring boot for college and like where I can start, some tutorial tip...
-
0
votes1
answer1568
viewsUpload and Recover an Image with Angular
Let’s assume I have a user registration form where I want to save a photo of it. Send this data by POST to the server (Java) where I include in the database. What is the best (practical) way to send…
-
0
votes0
answers350
viewsAngularjs and JSTL Master-Detail
Good afternoon, you guys. Next, I’m using Angularjs to add the details of a sale, but on the server side I’m using Spring MVC with JSTL foreach the details to add on the server. HTML that rescues…
-
0
votes1
answer391
viewsRender delay with Angular + jQuery
Some jQuery functions or Angular directives are not loaded or rendered on page loading. At various points of the APP I had to apply the timeout to work everything normally. I’m currently loading the…
-
0
votes2
answers1179
viewsController does not see ng-model of Angular JS
The Create ctrl controller is not seeing the ng-model input of my form. I can pass values from the controller to the view but I’m not getting the reverse. Where am I going wrong? Controller:…
-
0
votes2
answers4914
viewsHow to get value from a form with Angularjs?
I’m starting with Angularjs and a question has arisen that seems to me to be simple. I’m making a shopping cart (just for learning) with the little I’ve learned (ng-controller, ng-repeat, ng-model,…
-
0
votes2
answers564
viewsWhy function is returning Undefined
I am trying to get a return json of the function and associate it to a variable, because so I take the need to structure the received data with page from within this function and I can work in…
-
0
votes4
answers541
viewsNavigate through screens carrying information
I’m working with Angularjs and Ionic, creating a mobile application. I would like to know how best to navigate between the screens taking information from one screen to another. For example: In a…
-
0
votes1
answer132
viewsBasic Auth with Ionic and Angularjs?
I am a native Android/iOS developer and am now starting to study Ionic for hybrid development. I need to make a connection with a webservice that uses Basic Auth and I’m not finding how to do this,…
-
0
votes1
answer1008
viewsTreating error when no data is returned (Angularjs)
From the question: /a/97757/761 how do I treat the error when it does not find the zip code? See the error that it returns, I wanted you to return an alert when you give this error: XMLHttpRequest…
-
0
votes1
answer2187
viewsAngularjs - Unknown Provider
I am trying to create a Service in Angularjs but the error is occurring: Error: [$injector:unpr] Unknown Provider: $scopeProvider <- $Scope <- Orderservice I tried everything to fix, I stopped…
-
0
votes1
answer151
viewsInsert controller into the application from the requested template
I am creating an angular application where, on the home page I last a controller to do some validations before proceeding with the application login. My question is, do I have to "instantiate" the…
-
0
votes1
answer893
viewsHow to validate session with Angularjs and PHP?
After the login is done, how can I validate the user when it goes from one page to another, within the system, using Angularjs and PHP? Because when I worked, only with html and php I did it this…
-
0
votes1
answer786
viewsI need to change the onclick button to angular.js
Good evening. I’m using Bootstrap paging with Angular.js . I can get the database data and list it, it was beautiful, etc... the way I needed it. However, I need to open a modal window and it worked…
-
0
votes2
answers61
viewsDoubt $http Angularjs
I have a form where some inputs will be used to make a filter, but as there are many, not need to pass the fields via GET this way: Ex: ? filtro1=teste&filter 2=teste2 ..., can I use the…
angularjsasked 9 years ago Guilherme Menezes Ferreira 17 -
0
votes1
answer465
viewsCheck Real-time API Connection Angularjs
I know it is possible to verify the existence of internet connection, but it would be possible to check if my application is connected to the API where both are on the local network. For example, in…
-
0
votes2
answers813
views$http works on browser and not android device
I have an application developed using Ionic Framework, is a hybridized application and we tested done in the browser worked perfectly when I generated the file . apk and tested both in emulator and…
-
0
votes2
answers2417
viewsAngularjs $http.get
Friends, I am new to Angularjs and I need your help. Here’s the thing, I’m doing a request via $http Angularjs, I can get the data all right, but I need to do the post with the data I requested on…
-
0
votes1
answer1462
viewsHow to search an Ionic Framework Angularjs list
Guys I have an application of Ionic, however I need to do a search or filter on the contacts that appear on the screen but I’m not getting and the worst that does not return any error: My control:…
-
0
votes0
answers373
viewsAngularjs validation does not work very well
I have a form where it is shown inside a modal, used by the Bootstrap framework, and because of that, the angular validation does not work right. Only some fields are validated and still yes…
-
0
votes0
answers22
viewsDuplicate Md-chips Angularjs
I have 2 input elements with autocomplete where through these I select the items that come from the bank and are transformed into chips. Both fields provide the same information that comes from the…
-
0
votes1
answer1611
viewsComponent Select2 with Angularjs
Good afternoon Someone uses the Select2 component (https://github.com/select2/select2) to create dropdown components? I am going through the following problem, I have two components in a javascript…
javascript html twitter-bootstrap angularjs jquery-select2asked 9 years, 5 months ago Giancarlo Abel Giulian 3,999 -
0
votes0
answers99
views$Scope upgrade problem with Cordova and Angularjs
Hello. I am developing an app using Cordova, Ionic and Angularjs. And I have a problem updating an input. I have the following function that runs on an ng-click: $scope.buscarContato = function(){…
-
0
votes0
answers244
viewslogin with php and Angularjs
I created a login form. I’m almost done authenticating and all that’s left is to be able to redirect the user to the right page. Angularjs: app.controller("LoginController", function ($scope, $http,…
angularjsasked 8 years, 10 months ago GustavoSevero 2,567 -
0
votes0
answers730
viewsProblem loading a Json file - Angularjs
I am doing some tests to read a Json file via Angularjs, but I was not successful loading the data contained in the file. I tried to change the version of the minified and normal angular, but I was…
-
0
votes2
answers1403
viewsdirective to put input fields in uppercase with Angularjs
I created the following directive, so when a user type in the input is converted to uppercase, however, when I need to edit this field to insert a word in the middle of what I had already typed it…
angularjsasked 9 years, 4 months ago Felipe j.lemos 11 -
0
votes2
answers80
views<ion-spinner> only works once, how to correct it?
Setting: The directive <ion-spinner> is used on screen A, but when it is used on the next screen, screen B, a problem occurs, in which it appears, but does not have the animation. Someone has…
-
0
votes1
answer455
viewsDefinition of Ionicframework Routes
I use the tabs to display the contents of an HTML. <ion-view> <ion-nav-title align="left">{{cliente}}</ion-nav-title> <ion-content> <ion-tabs class="tabs-striped…
-
0
votes1
answer89
viewsProblems with parse of JSON in Angularjs
I have a controller that returns a JSON object in the following format : [ {"idCliente":1, "nomeFantasia":"Flores", "razaoSocial":"Transportes Flores Ltda.", "contatosClientes": […
-
0
votes1
answer1444
viewsHandle cache with Angularjs
I have an app with AngularJs, application when I make any changes and then the deploy the browser does not recognize these changes. It only works when I change the URL of that application. I…
-
0
votes1
answer108
viewsProblem with get data at angular js
Good night, I’m trying to get php data through Angular.js but it’s not working. When I click on the category does not open the next page where the data will be shown. PHP <?php…
-
0
votes1
answer1230
viewsHow to know what the current $Location is
How do I validate when there is a change on the screen and the user clicks another hyperlink to exit the screen, the same can not allow. Is there any ready angular function that performs this check?…
-
0
votes1
answer111
viewsTo create a new empty list by clicking on "new list"
Good afternoon, I have an array of objects and display them in a list, in the list there is an input to insert new objects. I want to make a button where I would create a new zeroed list with the…
angularjsasked 8 years, 9 months ago Jean Felipe 73 -
0
votes1
answer99
views2 Controllers with the same API
my knowledge in angular is little yet and I have doubts even a little dizzy, but come on hehe. I need a controller that shows recent records (8 last) and another with a general list (of 20 items).…
angularjsasked 9 years, 4 months ago Fábio Duarte 341 -
0
votes2
answers471
viewsExtract certain data from a Json array
I have taken a Json from an API that returns this result: [ { "marca_id": 4, "modelo_id": 2708, "versao_id": 65344, "cor": "Azul", "opcionais": [ { "opcional_id": 6, "opcional_nome": "Airbags" }, {…
-
0
votes1
answer652
viewsAngular Search Result in another view
I have a search form with 2 selects and 1 Submit: <select ng-model="marca" ng-options="marca.nome_marca for marca in marcas" ng-change="changeMarca()"> <option value="">Selecione uma…
-
0
votes0
answers884
viewsHow to validate zip code with Angularjs?
I have an application where I use zip code to be part of the registry. Only the CEP is enough and would need to be validated the CEP and at the end of the validation trigger a function. How can I do…
angularjsasked 8 years, 9 months ago GustavoSevero 2,567 -
0
votes1
answer66
viewsModifying Material Angularjs Start by creating new module/controller
I took the code of Material Angularjs Start to see how it works, I removed the User controller and I am trying to program my own Controller, but this giving a huge error and the layout does not…
angularjsasked 9 years, 4 months ago user2831852 339 -
0
votes1
answer332
viewsRecover value Angularjs POST
How to recover the value in php file when I use this Angularjs post method? $http({ method : 'POST', url : 'xxxxxxx.com/consulta.php', data : JSON.stringify($scope.newName), headers : {…
-
0
votes1
answer268
viewsAngular request $http is not returning data
Javascript code $http({ url: "http://app.calculadoradesementes.com.br", method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded" }, data: { nome: "Rafael", email:…
-
0
votes0
answers178
viewsAngular bind in directive to run after "change" event
I am working with a framework that uses Jquery to make your animations, and for data processing I use Angularjs. So I can update my $Scope, I created a directive that will give a bind to the element…
-
0
votes1
answer347
viewsError calling REST with Angularjs
I’m using the angular $http to make REST calls on my server, but I’m having a problem: No 'Access-Control-Allow-Origin' header is present on the requested Resource. Origin 'null' is therefore not…
-
0
votes1
answer110
viewsDropdown Asp.net MVC
I would like to do two dropdown in a view, I don’t want to dropdown through the model in the view because each dropdown is a different class. I made the dropdowns with angular.js only that I failed…
-
0
votes1
answer545
viewscontrol forward and back from browser
I need to make the system not allow moving forward or backward when pressed to Backspace, someone can help me please? Look forward to!
-
0
votes1
answer304
viewsDo not allow e-mail registration and or user in Angularjs duplicity
Please, I can’t finish this simple code... Should return the error "User already registered" or "Email already registered", please help me fix the Function below, I’m a little layman, more I’m…
-
0
votes1
answer107
viewsAngularjs with Guid in Asp.NET MVC
I am using Angularjs for the first time and I would like to know why this is not possible, I notice that during the debug, there are several errors of Parse inside the angular min.js, I believe it…
-
0
votes1
answer240
viewsUncaught Referenceerror: Ionic is not defined
I’m trying to perform a "Android Push Notification" with the Ionic.io. I’m caught in a mistake I can’t fix: "Uncaught Referenceerror: Ionic is not defined" I’ve tried everything and I can’t fix it.…
-
0
votes2
answers1114
viewsAnchor in Angularjs
Hello, I need to create an anchor where when I click on a link it arrow display block in a hidden div and scroll down the page to that div. The part about display block I’ve done, what I need is the…
-
0
votes1
answer182
viewsUpload image without extension in webapp
I have a webapp made in Angularjs and Ionic. At a given moment I load images of a webservice, however these images have no extension, being something like,…