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
votes2
answers1001
viewsData in ng-Model with input date shows error in Angularjs
Good evening, I’m trying to accomplish the CRUD in my application, using AngularJS and WEBService, when I will change a certain driver’s data, I send the JSON from the same to the SessionStorage, on…
angularjsasked 7 years, 8 months ago Matheus Minguini 173 -
1
votes1
answer137
viewsng-model with undefined value in the controller
I have a very strange problem. I have some filters that are like this. <div ng-show="filtroReduzido" class="col-md-2"> <div class="form-group"> <label>Codigo Reduzido</label>…
-
1
votes0
answers276
viewsProblem with modal screen opening using bootstrap
I’m new to web programming, and I’m having a problem opening a modal screen using bootstrap. Basically I have a grid controlled by ng_repeat in which I have buttons when clicking the edit button I…
-
1
votes1
answer553
viewsTransition effect in angular menu
I ask for a transition effect in the menu when giving an ng show or ng Hide (click on the open button). <a class="sandwich panel" ng-class="{'open' : isOpen}" ng-click="isOpen=!isOpen;…
-
1
votes1
answer79
viewsHow to detect the selected dataset in a Charts
I am using the following code to detect the dataset, however INDEX comes wrong, where the value would be the Charts index and not the dataset. I need to retrieve the label of the dataset…
-
1
votes1
answer276
viewsAngularjs 1.6 with asynchronous content loading jQuery Steps plugin
I have a problem that after loading a HTML content dynamically asynchronously with the plugin jQuery Steps: <section data-mode="async" data-url="test.html"></section> the AngularJS does…
-
1
votes1
answer231
viewsHow to clear a service at the end of your use Ionic / Angularjs
I have a service that is so: angular.module('nhaac.services', []) .factory('sharedCartService', ['$ionicPopup',function($ionicPopup){ // OKAY, MAS ONDE ELE ESTÁ PEGANDO? // DECLARA AS VARIÁVEIS var…
-
1
votes0
answers130
viewsAngularjs - Create a single list taking data in more than one class
Ladies and gentlemen, good afternoon! I’m trying to create a list to be displayed in a view, to fill the list part of the information I pick up in a certain class (Escalation) and other information…
-
1
votes2
answers1517
viewsString count in textarea Angularjs
I need to create a way to show the amount of remaining characters in a textearea registration of a description for a particular profile. That part is the entry of the data: <textarea…
angularjsasked 7 years, 7 months ago Philip Developer 329 -
1
votes1
answer358
viewsngRoute does not work
I was trying to use ngRoute, but I enter the link '/new', an error appears that there is that URL and when I enter the normal '/', it shows nothing. The index.html: <html ng-app="starter">…
-
1
votes1
answer601
viewsHow can I set my Controller values for an Ionic / Angularjs form?
I have data in my controller that I want to play in my form. How can I play this data for my form? I will illustrate: My controller data is these variables: $scope.endereco_gps =…
-
1
votes2
answers434
viewsRoutes at Angular 1.6
I’m an angled beginner. My routes don’t load in ng-view. When I click on the link my url looks like this http://localhost:56845/Index.html#Add and nothing happens. No error is displayed on console.…
-
1
votes1
answer109
viewsError When Listing Object Data in PHP
How to list these data from Sponse, mainly IMG, follows the data BELOW: $data = file_get_contents("php://input"); $objData = json_decode($data); $categoria =…
-
1
votes1
answer34
viewsDate format
I need to format date to present on the grid, but I don’t know the best way to do this. I’m doing it this way: $scope.formato[x].dataFormatada = formatDate($scope.consultas[x].data); function…
-
1
votes2
answers544
viewsSend an array of objects in an ng-click?
I have the following doubt in this code. <table class="table table-bordered table-hover"> <thead> <tr class="bg-info table-responsive table-bordered table-striped">…
-
1
votes1
answer168
viewsAngularjs is clearing the Url parameters
I have a system with Angular and Java. On the initial route I read the url parameters (some user information such as code, etc.) and saved in $rootScope to access throughout the application. If I…
-
1
votes1
answer726
viewsHow to pass parameters and catch them with angular $state.go?
I have the following code in the controller app.controller('loginCtrl', ['$scope', '$stateParams', '$http', '$cordovaSQLite', '$window', '$state', function ($scope, $stateParams, $http,…
angularjsasked 7 years, 6 months ago GustavoSevero 2,567 -
1
votes0
answers20
viewsHow to test Coffeescript Web Server application using Windows cmd?
I’m trying to test this angular made design. I have already accomplished the installation of Angular, Power, Grunt and Coffescript. I was able to reach the Web Server startup stage where the author…
-
1
votes2
answers1485
viewsLoading with Angularjs
I have an object that indicates that the page is being loaded. However, it is not working properly, it follows code: HTML: <div class="fundo_login"> <div class="carregando_inicio"…
-
1
votes1
answer1014
viewsWhy can’t I use $window.localStorage.setItem() with angular?
After registering, I want to temporarily put some data in localStorage, but I’m not getting. Follows my code: app.controller('cadastroCtrl', ['$scope', '$stateParams', '$http', '$cordovaSQLite',…
angularjsasked 7 years, 6 months ago GustavoSevero 2,567 -
1
votes0
answers58
viewsHow to inject a Factory when creating a unit test with Angularjs?
good afternoon! I am creating a unit test for my controller and the same is giving the following error: Typeerror: Cannot read Property 'saveUser' of Undefined At Scope.UserFormCtrl.$Scope.save I…
-
1
votes1
answer57
viewsFilter for a multidimensional matrix
How could I do to bring everything in the view and filter in a combobox by the class option? $scope.dadosUserAndTurma = [ { idUser:20, nome: "Carlos", turmas: [ {turma: "Turma 1", value: 1}, {turma:…
-
1
votes0
answers327
viewsMaintain Session with Angularjs Authentication
I’m wearing the one project to authenticate with Angularjs. I’m using Angularjs 1.6.4 with Wildfly 10 with Java 8 and SQL Server 2014. I can log in correctly, but when I update the page the session…
-
1
votes1
answer40
viewsAngular Bind with Canvas
Good morning I would like to know if it is possible to bind and/or force angular bind with canvas. My problem is this: I am using canvas to give a graphical representation to my client and for UI I…
-
1
votes0
answers261
viewsAccess-Control-Allow-Origin in different environments
I have a very strange problem: the same code works locally and in Prod, but does not work in Homolog. Basically, the problem is Homolog (logo on login) is this: Xmlhttprequest cannot load…
-
1
votes2
answers719
viewsHow to pass data from a selected ng-repeat item to another view
Good morning Gentlemen., How can I pass data from an item that has been selected within an ng-repeat list to another view? Here is an excerpt from the first view: <div ng-repeat="jogador in…
-
1
votes0
answers387
viewsError: $http:baddata Bad JSON Data
I am finishing developing a web application but I have a problem. All my application was developed in Python, Restful, Angularjs and Chartjs. I am importing information from the database via python…
-
1
votes1
answer29
viewsData editing problem - Angularjs
I have a grid with the data and also has an edit button. Problem: When I click on change and start modifying the data, there on the grid the data is being changed too, even without having saved. My…
-
1
votes1
answer1048
viewshow to load a select with data coming from an Angularjs API
Good night, I’m not able to carry a select in the Angularjs! It does not load, it is blank. I’ll post the code, if anyone can help me thank you!! Controller: <script>…
angularjsasked 7 years, 5 months ago leonardo barussi 35 -
1
votes0
answers86
viewsError to open application
Good afternoon, I cloned a repository that uses Angularjs and Node.js. I would like to rotate it, but by clicking on "index.html" the site appears incomplete. In the terminal, inside the repository…
-
1
votes0
answers126
viewsSubtract
I have a question in Angularjs. To add the values in memory this all ok, but I’m having difficulty subtracting one or more values that are in memory. $scope.adicionaratividade = function (atividade)…
angularjsasked 7 years, 5 months ago Marathonasp 11 -
1
votes2
answers798
viewsTake value of variable in function return
$scope.fetchData = function (param) { var url = param; var thumb; var imgid = get_numbers(url); var hash = ("http://vimeo.com/api/v2/video/" + imgid + ".json"); $http({ method: 'GET', url: hash…
-
1
votes0
answers137
viewsPost storage for nodejs server with Ionic error Xmlhttprequest
I’m using the ionic 3 to effect a requisition http post to a local server developed in node js but the error is occurring: VM1515 ? ionicplatform=android:1 Xmlhttprequest cannot load…
-
1
votes1
answer318
viewsHow to create editable form using "Popover"
How should I modify the code below to work with the class popover-wrapper angular-xeditable Demo. var app = angular.module("app", ["xeditable"]) .run(function(editableOptions) {…
angularjsasked 7 years, 4 months ago lucasbento 856 -
1
votes0
answers71
viewsuibModal Angular
I’m not getting through $ctrl.close(data) to the controller who wears that component: uibModal that I’m using: angular.module('sisApcd').component('buscaPessFis', { templateUrl:…
-
1
votes1
answer960
viewsHow to redirect view in a controller with Angularjs
I have a department consultation page and I have the sign-up button on it. This page is a "view" that has been set to route and is called within my index.html. Gosaria to know how it is possible to…
-
1
votes2
answers1554
viewsDate mask with time
How do I Mask a text input with the format xx/xx/xxxx xx:xx:xx using angular? It would be the day, month, year, hour, minute and seconds. <div class="form-group filtro"> <label class=""…
-
1
votes1
answer1050
viewsLogin Spring Boot + Spring Secutrity + Angular
What structure is used for the Spring Boot, Spring Security and Angular Js combination to manage login and the Spring application will be in Rest. Will the login controller be in the Rest format as…
-
1
votes2
answers58
viewsScope of a service
I have a problem in a service of AngularJS, after a consultation REST using RestAngular in return 401, need to be able to call a method of the service in which it is inserted. The problem is that…
-
1
votes1
answer1181
viewsHow popular dropdown 2 based on dropdown 1 with angular
I want to use two dropdowns in my HTML5 As I select in dropdown 1, it displays the respective data in dropdown 2, as in this link I searched the documentation of the angle that that you’ve come very…
-
1
votes3
answers62
viewsClick for more than one item
People need to click on each BTN open a content with information, in the example each click open the 3 contents, how to make dynamic this click and each button open its content, open one at a time,…
angularjsasked 7 years, 4 months ago Samuel Souza 468 -
1
votes0
answers70
viewsRequest $http does not return values
I’m trying to set up a Factory for various requests, but the result is always undefined, what could be wrong? My Angularjs: (function(){ angular .module("store", ['ui.bootstrap', "ngAnimate",…
angularjsasked 7 years, 4 months ago Rodnei Leal 11 -
1
votes1
answer277
viewsWidfly 9.0.2 is not initializing in debug mode
In the controller of my application, I have a method with a POST request, before it was a void method, with no return, but I changed so that it already returned the generated records, after this…
-
1
votes1
answer828
viewsAngular parameters not mandatory on the route
I have a screen where I need to pass a parameter according to your call, IE, have calls that are not necessary to pass the parameter and have calls that are direct queries that are necessary to pass…
-
1
votes1
answer25
viewsChange class when changing view
I’m using bootstrap and angular I have a Nav: <ul class="nav nav-tabs nav-justified" ng-model="activeVar" style="margin-top:50px;"> <li role="presentation"><a value="overview"…
-
1
votes1
answer601
viewsHow to do not allow to type repeated numbers with angular
How do I not allow repeated numbers to be entered in the validation? In my current validation, I can make it mandatory to fill in the fields to enable the save button and in this input…
-
1
votes0
answers119
viewsAngularjs query data Sending object to filter
I have a WS written in Spring that takes an object as a filter and returns a data list. in my Java Service: @ResponseBody @RequestMapping(value="/{filtro}",method=RequestMethod.GET) public Datatable…
-
1
votes1
answer93
viewsAngular 1 reading JSON cross-Domain
Guys having a small problem with angular and wanted to know if someone can help me, I was asked the following task to make a shelf from products of an external JSON (where has all the info of each…
-
1
votes1
answer1278
viewsAngular application does not load in browser
I am having trouble loading my application in the browser. The url works but the screen does not show any content, does not show the view html. Follow the index.html: <!DOCTYPE html> <html…
-
1
votes1
answer548
viewsHow to mount an ng-repeat using "track by"?
I have the following HTML <div class="col-md-4"> <div class="exibeUnidades"> <table width="400"> <thead> <tr> <td…