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
votes1
answer72
viewsTrouble with Nan
Someone can help me with this site. The front part displays the prices only that just below displays again with Nan. When you enter any product, Nan disappears. Any hint how I can fix this? Any…
-
0
votes2
answers4144
viewsHow to clear input field with angular?
I’m trying to clear the text field after Ubmit, but I’m not getting it. Follow my own codes html: Here in html, I changed from ng-model="msg" to.msg message Send angular: $scope.mensagem = { msg:""…
angularjsasked 8 years, 9 months ago GustavoSevero 2,567 -
0
votes1
answer263
viewsError in file upload to Java Controller using Angular
Opa, I am implementing a file upload, in a form, I can already select the file, pass to Angularjs that recognizes it (even without ng-model) and when I pass to my java controller gives the following…
-
0
votes1
answer36
viewsElement not Visible - Protractor
Failed: element not Visible I am trying to access a menu item, but it is returning as not visible. I tried it in two ways: var formalizationLink = element(by.id('menu7'));…
angularjsasked 7 years, 2 months ago Gustavo Santos 1 -
0
votes1
answer313
viewsAngular + Angular Material even without error looks nothing
When startar my application no error occurs but nothing appears on the screen. <!DOCTYPE html> <html> <base href="/"> </base> <head> <meta name="viewport"…
-
0
votes1
answer404
viewsDynamic variable in Angularjs
I want to generate a variable dynamically in the Angularjs being an ng-repeat inside the other as below: <tr ng-repeat="data in vm.data.data track by $index"> <td class="center"…
angularjsasked 8 years, 9 months ago Lucas Henrique 1,056 -
0
votes1
answer121
viewsParceling js
Well created a system of installment of accounts... would like to know how to filter... [{"tipo":0,"classe":"Saída","nome":"a…
-
0
votes1
answer57
viewsHow to do a URL validation with Angularjs
I am working on a project.. but I need to do a validation taking the current url.. Ex: If(url('/questions/ask')){ // Aqui vem minha lógica } How do I do this with Angularjs('I’m new at angular..') ?…
-
0
votes1
answer897
viewsHow can I get the date and time in angular and send it to the comic book?
I found that code: angular function to pick up date and time I tested it and it works great. But I need to take this date and send it to the bank, along with other data. How can I do this? My code…
angularjsasked 8 years, 9 months ago GustavoSevero 2,567 -
0
votes2
answers1014
viewsHow to execute a function after Angularjs perform all get/post requests?
I need to call a Function after all get/post requests are completed. Note: I cannot call this function several times! angular .module('app.services') .config(InterceptorConfig)…
-
0
votes1
answer109
viewsIonic + Angularjs error list item
I made a list in Ionic that returns some values, but when I click on the list to show these values completely, I am not able to recover... my controller: app.factory('services', ['$http',…
-
0
votes2
answers1762
viewsmascara Angularjs
I’m using AngularJS and in my form I have some fields that need masks, so far I have managed to do, I used the ui.mask. var app =…
-
0
votes1
answer76
viewsData array reorganization for display
I’m creating an application using AngularJs and skeleton, I have the layout set up, now I’m on the part of making it dynamic, but I’m facing a basic little problem. I have the following array coming…
-
0
votes3
answers350
viewsData of an Array
I’m having a little bit of a problem here, the logic I should use for this kind of procedure is a bit complicated. Well, here’s the thing: I have an array with the following data: var dados = […
-
0
votes0
answers111
viewsIonic-datepicker - How to render after $http?
Good afternoon. Next...I don’t know for sure if my doubt is about Ionic or about Angularjs. I am implementing the code below $scope.datepickerObject = { titleLabel: 'Escolha a Data', //Optional…
-
0
votes1
answer149
viewsHide Ion-tabs Ionic 1
Guys, I have a problem with the tabs on the app. The application I’m developing has a chat screen and on this screen I want to hide tabs. I’ve tried using $ionicTabsDelegate.showBar(false); a tabs…
-
0
votes1
answer357
viewsHow to leave minimum table column size in css
I need to leave a minimum size in the description column so that very large descriptions break a few lines, I only know how to put the fixed size, but not the least that it can get ps: she is…
-
0
votes1
answer1995
viewsTypeerror: Cannot read Property of Undefined
I am trying to remove an item from a table, but it returns me this error: Typeerror: Cannot read Property 'endGoal' of Undefined at $$childScopeClass. $Scope.removeGoal follows the part of the angle…
-
0
votes1
answer310
viewsProgress bar Angular js
Use the $http from Angular JS to work with web-services, someone knows how to tell me how to create a progressibar using this method? $http.get( "json.php?action=3" + "&id=" + id + "&val=" +…
-
0
votes1
answer101
viewsHow to maintain a "checked" checkbox after filtering
<div ng-repeat="post in posts | filter:{components:component} | filter:{classification:class}:true"> <ul> <div class="selected-{{'{{charter.selected}}'}}"…
-
0
votes2
answers869
viewsPassing a controller variable to a service
angular.module('myApp').controller('paginasCtrl', function($scope, CarregaItens) { function carregaPaginas () { CarregaItens.getPaginas() .success(function (data) { $scope.paginas = data; }) };…
-
0
votes0
answers183
viewsdoubt with passwords
I am creating an application using MVC. On the server side, I am using c#/Asp.net MVC, on the client side I am using html/angular. On the server I have a method called Authenticate, which receives…
-
0
votes1
answer900
viewsCompare Angular Data Js
I would like to compare two dates at angular js, the two dates are like this: Sat Oct 14 2017 11:43:46 GMT-0300 (Hora oficial do Brasil) Sat Oct 14 2017 17:53:51 GMT-0300 (Hora oficial do Brasil)…
-
0
votes0
answers70
viewsAngularjs new value does not arrive in directive
I have the following directive that builds a modal. Arquivo: login.component.js (function() { 'use strict'; var app = angular.module('myapp'); app.directive('loginComponent', ['loginService',…
-
0
votes1
answer371
viewsView videos in <video> tag using Angularjs
View: <div class="list card" ng-repeat="x in content.spells"> .... <video width="320" height="240" ng-src="{{(getIdVideo(content.id) | trusted )}}" controls> Seu navegador não suporta o…
-
0
votes1
answer256
viewsDisable Filter Case Sensitive in Angular
Guys I have a field on the page that serves to filter a table, but the filter is differentiating capital letters from minuscule letters, and I wish that didn’t happen, follow the code: <tr…
-
0
votes3
answers204
viewsGet function in service.js returns null
I have a Json of categories with an array of products within it. Browse all categories and all products according to the category, you are searching. Now the problem is that I want to return the…
-
0
votes0
answers27
viewsHow to save add and save item to angular file?
I’m trying to use this example: But I’m not getting that record. That is, I enter data is saved, but when I update the page undoes the changes, and in the file does not add new items. All the…
angularjsasked 7 years, 1 month ago Vìtor Oliveira 1 -
0
votes2
answers118
viewsProblems with ng-repeat
I have a problem in ng-repeat, can help me please? Php code public function listar_extras() { $data = json_decode(file_get_contents("php://input")); $tamanho = $data->tamanho; $sPizza =…
-
0
votes1
answer43
viewsIs it possible to visually display another value for a certain value in the bank?
I’m doing a Todo and I need to set priority (urgent, high, medium and low). But I am only able to define through integer (1 is urgent, 2 is high etc) The question is: is it possible to show another…
-
0
votes1
answer460
viewsMessage appears in modal and page at the same time
I created a "message center" in Angularjs that injects messages on the screen. The message always appears when an error occurs in REST operations or success. This is done by an Interceptor that…
javascript angularjs angularjs-directives angularjs-servicesasked 8 years, 8 months ago adelmo00 1,904 -
0
votes0
answers359
viewsCreate routes to a single point google maps API
I have a problem, the problem is the following, I made a request via HTTP I took the data from JSON and I loaded inside one so I was able to load all the points of JSON into the map: var get =…
-
0
votes1
answer512
viewsAngularjs project base with Codeigniter
Hello, I’m having trouble creating a folder base using Angularjs and codeigniter. Some examples I searched on the internet left all the files of the angular inside a folder called "app" at the root,…
-
0
votes1
answer391
viewsProblem with Angular ui.bootstrap.modal
Starting a modal with ui.bootstrap.modal $uibModal, setei controller and controllerAs, in the console.log I see that the instance controller was started and the object loaded when clicked, but…
-
0
votes0
answers458
viewsCalendar in Angular 4
I have a problem... I need you to have a very simple calendar on my application. I was able to find only those who need an input, as the example below. <input class="teste"> and…
-
0
votes1
answer318
viewsDropdown already selected
I dropdown with Angularjs in the following way <ui-select ng-model="SelectedItem.LegalEntity" theme="bootstrap" reset-search-input="false" style="width: 100%" id="legalEntityId"…
-
0
votes1
answer151
viewsController error in another file - Angularjs
I have a web project that I’m trying to take the data from the database and put, through the angle, into a table. The way I found it was to use a jsp file and put the data through java. It was…
-
0
votes2
answers80
viewsHow do I put email in the login form?
I made a web and mobile app. After the user’s registration, I am taking the email and saving it in the Torage locale. How can I place this email in the login form email field? <ion-view…
-
0
votes1
answer88
views<Md-dialog> - Angular
I use this component to open modals. I use the flex parameter to set the width. How to set the height ? <md-dialog aria-label="Detalhe do bem" flex="90" >…
-
0
votes1
answer316
viewsHow to deploy Angular and Java in Heroku?
I have a web application in Angularjs that communicates with a backend in Java. I would like a hosting and I ended up seeing about Heroku. Is it possible for me to buy a single plan (for example,…
-
0
votes2
answers67
viewsProblems with navigation bar
Good morning. I have a canvas with angular material in which I simulate the flexnav of the material design. and when I go down the scroll is: However, only the moment the screen is loaded is this…
-
0
votes1
answer1327
viewsFormat monetary value with Angularjs
I’m getting the following values <h3 id="valor">Valor Mensalidade: R${{curso_se.preco_curso}}</h3> <h1…
-
0
votes2
answers1219
viewsExecute function when arriving in Div
There is how to perform a function only when a div is on the user screen? Example, I have a div that is in the middle of the site and when user scrolls up to it, or get to it, I want a function to…
-
0
votes1
answer256
viewsCreate HTML Tag with Angular 5?
With Angularjs I created a directive, and only imported using the tag and it was already available to use in any HTML file. I used this to centralize some visual objects that repeated themselves in…
angularjsasked 6 years, 10 months ago Angular Man 47 -
0
votes1
answer222
viewsI cannot load my Grid at Angular
Watch my Angular Front-end project Brewer-ui Now watch my Back-end Java project with Spring Boot Brewer Don’t worry about my Back-end project, it’s working well, the problem is my Angular Front-end…
-
0
votes0
answers17
viewsDoubt Angularjs
I wonder why in angular js has this kind of statement: (example) ab.setType = setType; ab.getType = getType; ab.getTitle = getTitle; ab.calculateTimeOfWork = calculateTime;…
-
0
votes0
answers97
viewsFilter data from different controllers in Angular
I’m having a hard time filtering the client systems within the select. I’ll explain: I have a client To that has the system 1 and 2, have the client B that has the system 3. When selecting the…
-
0
votes0
answers220
viewsCSS not loading right, but give F5 and load normally - Angular 5 with Material
Hello, I am creating a system with Angular 5 together with Material (CSS), but I have the following problem in my project: When soon in the system, CSS is loaded poorly (see image below). But when I…
-
0
votes2
answers717
viewsPass Hidden input value to label
Staff need to pass the content of a Hidden input to a label: <div class="form" ng-init="rodar()"> <input type="hidden" ng-model="cadastro" name="cad" id="cad"> <label…
-
0
votes1
answer75
viewsIs it possible to create a hybrid application with Angularjs as front, and java as backend?
I am new to front programming, mainly in Angularjs. So I come to ask you if it’s possible to create an app, either with Ionic or phonegap, with the angular being front-end and the java back-end…