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
answer267
viewsUpdate attributes of child components
I’m making a very simple accordion component. A list of items where I click on one and it opens; if you already have one, it closes and the other opens. <ns-accordion-item is-show="false">…
-
0
votes1
answer290
viewsHow to inject a dependency of a service of its own into a certain syntax?
Imagine a traditional service injection in an Angularjs application <!DOCTYPE html> <html> <script…
-
0
votes1
answer90
viewsError: cribsFactory.getCribs is not a Function
I have this controller angular .module("ngCribs").controller("cribsController", function ($scope, cribsFactory) { $scope.cribs = cribsFactory.getCribs(); }); and that Factory…
-
0
votes0
answers71
viewsHow to send a multi-column harness on a single button with ng-repeat and angular
I have a form in the format of grid, in it I present the table information Itens from my bank (74 in total). The intention of this form grid is to add two fields: price and bdi price in all these…
-
0
votes1
answer92
viewsCreate Chartjs chart inside another js file controller
I am trying to solve a problem with my web page. Below I put some information about it: The page is to generate graphs in different models (area, line, bar); The user, from a select chooses which…
-
0
votes1
answer22
viewsAngular Directives js2
import { Component } from '@angular/core'; import { AuthDirective } from '../utils/auth.directive'; import { Router } from '@angular/router'; import { HttpClientService } from…
-
0
votes1
answer65
viewsUpdate ng-repeat when receiving Firebase values
Hello! I’m learning to use Angularjs now, but I’m already an experienced programmer on Android. I correctly receive data from firebase, but the ng-repeat does not update when the array is changed.…
-
0
votes2
answers242
viewsHttpget parameter not detected
Good afternoon guys, I don’t know why my parameter is not recognized, can you help me? The value does not arrive in c# but this present in the angle c# [HttpGet] [Route("carregarUsuarioPorId")]…
-
0
votes1
answer65
viewsCombination of javascript function
Hello, I have two functions that work separately very good, but I need to combine them now to organize the result of the other. Function of Organs: $scope.$watch('organ_id', function (newValue,…
-
0
votes1
answer99
viewsFilter list from similar strings
My question is how do I, using the Angularjs filter, filter items from a list from string attributes. These attributes are similar, 'Relevant' and 'non-relevant'. <select class="select input"…
-
0
votes0
answers61
viewsion-select does not reload when I change tab
When I change tab, and go back to the old tab, which contains the ion-select, the field is set null, with nothing marked, even if the page continues loading according to the populated variable.…
-
0
votes2
answers411
viewsHow to display JS objects in view
There’s already a question from our friend Vinicius Scaramel with this problem, however there is no solution, so come on: I’m bringing an object in shape JSON via http.get in the Ionic, (using…
-
0
votes1
answer43
viewsSelect values from another table with more than one row in Websql
I’m using Ionic + Ordova + Websql. I have basically these tables, partners and partiesEnderecos. In the address table can contain more than one row for each partner. How do I return these values? I…
-
0
votes0
answers537
viewsError: [$injector:unpr] Unknown Provider: $scopeProvider <- $Scope
I am getting the following error while running my test: Error: [$injector:unpr] Unknown Provider: $scopeProvider <- $Scope Logincontroller.js (function(){ 'use strict'; angular.module("app")…
-
0
votes1
answer48
viewsPage does not work with Angular - doubt beginner
I’m starting with Angular but it happens to me what always happens to those who are starting in the framework, but I’m not giving account. I can not do it works, I seem to have something…
-
0
votes2
answers904
viewsHow to reference the variable within HTML through Angularjs?
Inside an ng-controller, I want a variable to appear, and it is not appearing. HTML code: <div class="body" ng-controller="mercadoriaCarrinho as merc"> <span>Total dos produtos:…
-
0
votes0
answers53
viewsUnexpected Token
I am making an application with Angularjs and the error "Uncaught Syntaxerror: Unexpected token <" is firing Follow the code js angular.module('alurapic').controller('FotoController', function…
-
0
votes1
answer698
viewsError inserting data in postgree: column "test" does not exist
In a crud basic, I’m getting the following Node error: "Erro na inserção dos dados { error: column "teste" does not exist at Connection.parseE (C:\Users\SUPORTE\Desktop\NodeFINAL\appFinal\app1\nod…
-
0
votes1
answer45
viewsHow to KEEP only what was filtered in Angularjs?
I have the following Angularjs file: <script> angular.module('meuModulo', []) .controller('mercadoriaCarrinho', function($scope, $http) { var ctrl = this; $scope.listademercadoria = [];…
-
0
votes1
answer200
viewsUpload image base 64 to Firebase
Hello, I am trying to upload Base64 images to firebase, but am getting the following error. I tried to follow the Firebase tutorial on the official website and one found here on the stack itself,…
-
0
votes1
answer1410
viewsI need an item from my select to be selected, Angular
I have a select component <div class="form-group col-md-4"> <label>Entidade:</label> <select ng-model="distrito.entidade.idEntidade" class="form-control"> <option…
-
0
votes1
answer44
viewsFirebase Deploy displays 'waiting for Apis' message to enable
Talk guys, I’m doing my first deployment on Firebase, and I came across this beautiful. Unfortunately I found nothing on the interwebs about, and I turn to you as always, there is something I can do…
-
0
votes1
answer232
viewssort with Angualrjs / orderby by a field that will be created later
I am using Ionic 1 with Angularjs. I need to sort a result by a field that should be created later, the field is the distance from the first company address, in orderby do not know what to put, and…
-
0
votes1
answer58
viewsHow to validate defaultPrevented = false in my Angularjs test?
I have the following function: (function () { 'use strict'; angular.module("app") .service('EventHandler', EventHandler); EventHandler.$inject = ['$rootScope', '$location', '$animate', '$state',…
-
0
votes0
answers48
viewsng-click is not triggered inside a <label> (Angular1)
Good afternoon, In my project, I have a component that is shared by other different components. This component is called toggle-switch-input. This component serves to filter some values from a list,…
-
0
votes1
answer134
viewsSort widgets on screen with CSS
I’m replicating some buttons with the "ng-repeat" with angular, but I’m having trouble sorting these buttons in the way I want. I want 4 buttons shown on the lower left and 4 buttons on the lower…
-
0
votes2
answers611
viewsRemove blank select option Angularjs
Good afternoon, I need to remove the blank line that comes as default in the select of Angularjs, I would like to put a default value in place of the blank line. I researched several forums and…
-
0
votes1
answer39
viewsCreate a Directive that forces the bind of a form
Following a publication by Fernando Mantoan, the thing seems to be quite simple, creates the Directive: myApp.directive('forceBind', function() { return { require: '^form', priority: -1, link:…
-
0
votes0
answers116
viewsAngular and HTML - I cannot show database information in HTML
I would like to show the database information, is pulling the information correctly,and it is shown in the console that there is an array of 35 items to be shown but I am not able to display them in…
-
0
votes1
answer471
viewsAngular - I cannot view table data
I don’t understand why it doesn’t display table data, it’s identical to the page I was using to study. Code: <!DOCTYPE html> <html> <script…
-
0
votes1
answer312
viewsAngular - How to pull a request from another page
I was studying angular and wanted to pull the information out of the main page, but I’m not able to pull the javascript from the outside. repeat page.html: <!DOCTYPE html> <html>…
-
0
votes1
answer367
viewsUnknown Provider: Permpermissionstoreprovider
After installing the package through Bower, it is not recognized in the project. Follows the code: installation command: Bower install angular-permission --save (I have tried installing by npm as…
-
0
votes1
answer297
viewsRecover Firebase Object value
Hello, I’m having trouble recovering the value of an Object in the Firebase Database. I have the following object on the base: I wanted to recover in case the value of lastId(108) for later, when…
-
0
votes1
answer55
viewsHow to get the id of the button clicked on a result listing line by Angular JS?
How to get the id of the button clicked on a result listing line by Angular JS? In the HTML page I can use list.id, but in the code in Angularjs, the codes below return me Undefined: id; $scope.id;…
-
0
votes0
answers247
viewsInsert into Mysql table with Angularjs + PHP
I can not identify what is wrong with my code, I followed several tutorials but I was not successful in how to insert. The moment I press the Insert button just doesn’t happen, nothing is shown on…
-
0
votes0
answers77
viewsI’m unable to access the objects inside the $Scope
I’m trying to validate a form, it only records the data if it passes on if ($scope.frmCliente.$$invalid), but the object frmCliente not being accessible within $Scope. the error that appears in the…
-
0
votes1
answer250
viewsAngularjs - ng-repeat is not working
Good afternoon, I made the following code: http://jsfiddle.net/27du7oaL/5/ . Accessing Jsfiddle, you can see that Angular shows the title that is in the controller, but does not show any data…
-
0
votes3
answers588
viewshiding component input when selecting a value in the select field
I have a component select which brings the countries from the database <div class="form-group col-md-4"> <label>País *:</label> <select required="required" id="selecionaPais"…
-
0
votes2
answers622
views -
0
votes1
answer554
viewsDate and Time Form - Angularjs
I have a form with the option to choose date and Time. I’m using the Datepicker and Timepicker components. <!-- Date --> <div class="col-xs-12 col-md-3 col-lg-3"> <div…
-
0
votes1
answer429
viewsUpload photo with Javascript
I need to take a photo and pressing the button this photo is sent to my server so I save in my database on base 64, I just can’t grab the photo and convert to Buffer. My code: (function() { 'use…
-
0
votes0
answers37
viewsIonic App - Add audio to a video file
I just started developing with Ionic and am currently trying to make an app with multimedia content. I want to add sound effects to an audio recorded by the device (client side) The next step will…
-
0
votes2
answers94
viewsConfiguring Angulasjs Routes with ASP.NET MVC
I’m having trouble routing Angularjs with Asp.net mvc. I set up my routing in the app.js and when I click on my links the pages are not being redirected correctly, the only page that appears…
-
0
votes1
answer4414
viewsCan not deserialize instance of java.util.Arraylist out of START_OBJECT token
Using angular, I am unable to insert an array of genres into the Genero property that is in the Manga object. Using Postman to insert the Generos array into the /sleeve API would look like this. {…
-
0
votes1
answer98
viewsset $Scope inside angular callback
I’m trying to define a variable $scope.plan_id within a callback used in the $http, and always when I check this variable I get undefined. $http({ method: 'get', url: '/api/pricings/get'…
-
0
votes1
answer563
viewsHow to pass bidirectional parameters to an Angularjs directive
I need the attribute parameterID="{{autor.ID}} which in the Directive is parameterID: '@' be updated as soon as it is changed, that is, I need the bind to be bideretional, I saw in several places…
asp.net-mvc angularjs asp.net angularjs-directives bindingasked 6 years, 12 months ago Nicola Bogar 1,149 -
0
votes1
answer113
viewsDownload pdf not working - Angularjs, C#
I need to return a pdf and download in the makeup of it. However when returning the pdf Blob does not recognize it $http.post($rootScope.raiz_ws + "/pdf/PdfCompraVenda", listProdutos) .then(function…
-
0
votes1
answer468
viewsUndefined when passing parameter to a JS and Angular function
I have a function that receives as a parameter a value coming from HTML, however, it is coming undefined. I’m using JS and Angular. My HTML <div class="input-group col-lg-3 col-md-3 col-sm-3…
-
0
votes1
answer143
viewsProblem when paging in jQuery and Angular
I am putting together a pagination and I have the following problem. First my next and previous buttons are not working and shows no error on the console. The second question is that when I select…
-
0
votes1
answer248
viewsQuestions Properties Popover Bootstrap
I’m creating a Popover with bootstrap, it appears as soon as I pass the mouse in the html tag, but when I try to click on the Popover it goes away, it has some property that when I hover over it…