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
votes0
answers82
viewsDisplay items of a particular ID using angular GET
I’m making a very basic forum where the user type the title, subject and theme description, and this is sent to Mongo (I’m also using Postman), with the help of the people from here on another…
-
0
votes1
answer91
viewsFlexslider - Loading with still images
I’m using Flexslider, but while the images load and the function is not executed, it plays one image under the other, generating a huge scroll bar and, after the execution and loading of the images,…
-
0
votes0
answers63
viewsIonic + Angularjs customize function with $Location
Good morning, everyone, I would like to know how to leave this code below more performatic. I have two functions that the only difference between them is $Location.path How can I turn this into a…
-
0
votes1
answer34
viewsVector gets values wrong way
Hello, I’m using angular and pouchdb to insert value into an array. but currently with the code below when using the command console.log(vetorPrincipal); he returns like this The right thing would…
-
0
votes1
answer56
viewsInfiniti Scroll with firebase and Ionic
Guys I’m here in a pinch, I’m using firebase v3.2.1 and I’m trying to implement an Infinity Scroll with Ionic, the point is that I don’t know how to do, I googled and found a firebaseUtils library…
-
0
votes0
answers29
viewsFormat Number with Globalization plugin
I’m trying to use the plugin cordova.plugin-globalization but I’m bumping into my little Javascript experience. xhtml: <div>{{ item.valor | formataValor }}</div> filter js.:…
-
0
votes1
answer452
viewsStore user data after login Angularjs
I am logging in through an AJAX request normally using $http, right after logging in, my webservice returns the ID of the logged-in user, so I make another request to pick up this user. With this…
-
0
votes1
answer182
viewsView results from a search in the same View Angularjs
I’m developing an app to be able to study and, I was assembling everything in the controller, all the queries and everything. Only then I decided to pass everything to a service(I saw that it is…
-
0
votes1
answer30
viewsWrong route request when placing Ionic-slide-box on home
I have the service in this file www/app/home/home.service.js: angular.module('app.home') .service('services', ['$http',services]); function services($http) { var service = {}; var self = this;…
-
0
votes1
answer30
viewsPlaceholder does not identify characters
I’m having a problem with a placeholder and a login page, <div class="group"> @Html.TextBoxFor(t => t.Email, new { required = "required" } ) <span…
-
0
votes1
answer41
viewsxeditable Row with 2 forms
I have a main form on the page, and inside it I have an installment tab, where the user can insert as many installments as he wants and they go each, to a row of a table (inside the main form). It…
-
0
votes1
answer91
viewsError sending json via $http
I am trying to send a json via $http.get, but it is returning an error in the console "500 (Internal Server Error)" system.technology.Ws/pedidGravar.Asp:1 Is this error in ASP system or $http…
-
0
votes0
answers53
viewsdoubt with tag select
I have the following tag select: <!--select--> <div class="uk-form-row"> <div class="uk-grid"> <div class="uk-width-medium-1-2"> <div class="uk-input-group"> <span…
-
0
votes1
answer122
viewsView ng-model’s JSON as the selected dropdown option
Hello, I’m having doubts if that’s possible. For example, I have a dropdown with a JSON array of courses on ng-options: <select name="curso" ng-options="curso.cursoId.sigla + ' - ' +…
-
0
votes1
answer529
viewsHow to place a while inside an angular object?
I need all the lines listed in while to be listed also inside the object, but I’m only seeing the last line of the array in the object. $scope.eventos=data; var contar = 0; while (contar < 2){…
-
0
votes1
answer33
viewsHow to correctly add more than one ion-radio to a template?
I’m having trouble adding more than one ion-radio to a template. I have a screen with an ion-radio that is working accordingly. However I need to add a few more and I am finding problems. When I…
-
0
votes2
answers107
viewsHow to use template in directives with restrict M (comments)?
I’m trying to use the option restrict with the value 'M' (for the angular work through comments) to create a directive. However the comment is not incorporating the value I am adding into template.…
-
0
votes0
answers305
viewsHow to create a field dynamically in Ionic and/or Angularjs?
Have a list of products, but my list does not have the quantity field, and nor should have because it would be stock control and that is not it. I want the quantity field so when you click (+) add 1…
-
0
votes1
answer557
viewsHow to insert a data set of an array into the WEBSQL with Ionic?
I want to insert a data set in a local table (WEBSQL). The way I’m doing just inserts the last array set, wanted to store all objects. To create my Websql I created this JS: (function(){ "use…
-
0
votes2
answers178
viewsDestroy Angularjs function
I have a page in my project that contains several categories and in each category, has a Flexslider with images. Each category is displayed once and when clicking another, the previous one is hidden…
-
0
votes1
answer290
viewsMaterial angular datepicker not working
I’m using Angular Material in a project and need to collect the user’s date of birth in the register, I am trying to use the Datepicker of Material, but the field doesn’t even appear on the screen.…
-
0
votes1
answer210
viewsAngular ng-show , does not remove C#/Angular/Javascript code
I have the following code listing categories: <div class="row" ng-show="!TemCategoria"> <div class="container" id="categoria" style="float:right" ng-hide="TemCategoria"> <select…
-
0
votes1
answer198
viewsInsert data from a JSON into a Sqlite database with Angularjs
I’m trying to enter the data I took from my API, in the SQLITE database of my app, I already searched a lot but besides not being able to do also I could not understand how I can do this. Follow the…
-
0
votes1
answer213
views404 when trying to access post url with springboot
Good evening, I have the code below with the implementation of a service Rest /teste123, and when calling this method from the angular-js code, already authenticated with the basic authentication of…
-
0
votes1
answer390
viewsangular ng-click or javascript Event click inside the html prop of sweetalert2
I am trying to make an implementation with Sweetalert2 where I create some buttons within the "html" property. This is within a click function, which in turn is within a controller. I tried to add…
-
0
votes0
answers105
viewsWebsocket angular and php
Hello, I have a websocket in php and an angular Factory. I need to know, when there is, or does not exist, connection with websocket, in the part of the code send, socket.send(JSON.stringify(data));…
-
0
votes1
answer54
viewsProblems with Footer
I’m having problems with my footer on a page that contains a list, which I add to and it grows. The problem is that you are creating two scrollbars on the site and I am not able to solve. Follow the…
-
0
votes1
answer330
viewsRequired html is not working
I am creating a website and I am using angular, and in the only existing input the required is not working, IE, even clicking on the button Submit is sending the empty data to the bank, what can be?…
-
0
votes1
answer151
views"Cannot GET" when deploying to Heroku
Hello, has anyone ever been through anything like that that can help me? When putting my project into operation in Heroku, some features related to "v1/photos" do not work and the console returns me…
angularjsasked 8 years, 1 month ago Thallyson Barbosa 1 -
0
votes1
answer243
viewsException when uploading Multipart from the Angularjs controller to the Spring Boot server
I’m having trouble sending files (images, pdfs) from the client side to the server side of my app. Whenever I try to send a file, Spring returns this exception: status:"Bad Request"…
-
0
votes1
answer67
viewsApplication based on multiple authorization profiles
I have a handful of doubts in an interesting scenario, I hope you can give me a little help. I am using in an angular application the package ng-token-auth for authentication, for permissions…
-
0
votes1
answer190
viewsError with angular intercerptors
I’m trying to implement an authentication system with Angular + json web token, but when I try to make one $http.interceptors.push('nomeDo Interceptor') error in application and browser console…
-
0
votes0
answers433
viewsWhy doesn’t my option keep selected even with the attribute Selected="Selected"?
I am working with angular and have the following select <select ng-change="$ctrl.calculateDescount(partnerIndex,item)" ng-model="item.offerDiscountId" class="form-control"…
angularjsasked 8 years, 1 month ago Miguel Batista 2,812 -
0
votes1
answer27
viewsHow to add dynamic buttons per loaded page?
My controller calls Factory Action and adds buttons on the page I’m loading, see below the controller: class AgenciesListController { /* @ngInject */ constructor(Action) { this.action = Action;…
-
0
votes0
answers78
viewsDatetime Angularjs x Java x Mysql Persistence
I created an application in our company to control the use of certain equipment of our industry. The fact is that there was a need to control the date/time of entry and exit of a product in a…
-
0
votes1
answer146
viewsError injecting $state into controller
I have a problem injecting the $state in my controller. angular.module('myApp', ['ngMaterial']) .controller('LoginController', function($scope, $rootScope,$state){ $scope.userlogin = "";…
-
0
votes1
answer516
viewsProblem passing parameters through the url using Angularjs
Guys I have a template here that uses the Angularjs and his route system is as follows .state('app.produto', { url: '/produto', templateUrl: 'tpl/detProdutos.php', // use resolve to load other…
-
0
votes1
answer451
viewsUpdate div with Javascript or Angularjs - for IONIC
Hello, I have the following problem, I have a select with an onchange method I would like you to update a div. The reason for this is because I have a 3 graphics made in angular-Chart.js and…
-
0
votes0
answers37
viewsError - $dialogs.confirm
I have a problem to use the $dialog angular, before it was working normally, and then started appearing the error below: angular.min.js:118 TypeError: $dialogs.confirm is not a function at…
angularjsasked 8 years ago Marquin Ferreira 362 -
0
votes1
answer91
viewsAngularjs - Object counter does not work within the directive
I have a directive that adds text field on the screen through a templateurl. I need each field created to generate an ID of these fields based on the count of existing objects in a div('#xmain'). I…
-
0
votes1
answer85
viewsAngularjs - directives do not work via ajax
I have a page: index.php and the app.js. in my app I make a load for main.php which is the initial loading of the site. within the main he will bring select, div with ng-repeat, ng-source, etc.. But…
-
0
votes1
answer180
viewsSet object in Angular JS
I have the following listing structure: <div style="position: fixed;z-index: 999;top:20%;margin:0 auto;left:25%;width:50%;padding:5%;background:#FFF;" ng-if="templateForm ==…
angularjsasked 8 years ago Sr. André Baill 6,946 -
0
votes1
answer161
viewsHow to get out of an Angularjs SPA (Single Page Application)
I have following code: var app = angular.module("appSystem", ['ngRoute']); app.config(function ($routeProvider, $locationProvider) { $routeProvider .when("/teste", {templateUrl: './view/teste.html',…
-
0
votes2
answers157
viewsHow to make "data-Binding" of two variables in the same select?
I have this code that is making vm.service.type = serviceType.name : <div class="form-group "> <label for="field_type"><b>Type</b></label> <div class="input-icon…
-
0
votes1
answer60
viewsAngularjs single route Parameters
Good guys, I am trying to create a simple parameter on my route in the Angularjs. What I want is for my job page every time I click on an article to open the information in that article on another…
-
0
votes1
answer672
viewsSelect register in angular pagination
Good afternoon! I have a table with pagination (use dir-paginate). When I click on a record, I invoke ng-class and the record changes color. If I click on another record, automatically the previous…
-
0
votes0
answers533
viewsImage upload using Angularjs
I have this Angularjs: app.controller("templateController", function ($scope, $http, $timeout) { $scope.save = function () { $scope.mensagePage = {class: 'warning', text: 'Processando...'}; var…
-
0
votes1
answer217
viewsHow to get Promise in Service and only send the uploaded data to control?
I have a json file with the following sample structure:…
-
0
votes1
answer53
viewsI installed Bower, Gulp but don’t know which file to edit
I bought a theme from the internet called FUSE ANGULAR JS, in documentation from him, he explains that I must install npm, Bower, Gulp and so on... then he asks me to execute the following command…
-
0
votes1
answer120
viewsHow to use Angular Factory with firebase?
Good afternoon, Guys, I’m trying to create a Factory with firebase, to bring the data from it. My controller: app.controller('ListagemCtrl', function($scope, $location, $firebaseObject, $timeout,…