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
answers3408
viewsCheck if URL exists
I would like to know how to valid (know if there are) URL’s of social networks, I am using the AngularJS, AJAX and http requests but I can get the status of a URL I created in a mock, but I can’t…
-
1
votes0
answers71
viewsphonegap plugin in Angularjs ngCordova
I have a slight difficulty in understanding how to install these plugins, in general they never work for lack of some file I haven’t called or anything like that. For example, this facebook plugin…
-
1
votes1
answer304
viewsSort html with grid Angularjs
I need a hint on how to sort elements in my home without appearing blank spaces. The problem is: I have a page that lists all the registered services, this page is with pagination that lists the…
-
1
votes1
answer715
viewsHow to select field content when receiving Focus?
I have a problem that seems to be simple, but it has taken me a long time looking for possible solutions and so far I have not been able to solve. I need to select the content of an Input in an HTML…
-
1
votes0
answers34
viewsAngular mudulo is not defined
I’m new to programming, but I’m studying. I’m encountering the following problem at the angle: WARNING: Tried to load angular more than Once, Referenceerror: ponto is not defined.…
-
1
votes2
answers1915
viewsHow to use Directive templateUrl with external controller?
I am decommissioning some components and I am in doubt when creating a controller linked to the template. I have for example the Login screen, in my Directive do:…
-
1
votes2
answers480
viewsCheck if Array is empty Ng-Switch
I check a parameter with an array that may have values it or not. I have an Ng-Switch does a check on this array. I wish that when it had no value show a Message. I got to do the…
angularjsasked 8 years, 7 months ago Yehudi Mikhael 75 -
1
votes4
answers578
viewsProblems with Input Angularjs
I have a problem with my application. When I use the ng-repeat of angularJS to create a table, and in this table there is a input, and in that field input, comes filled with a value. There is also a…
-
1
votes1
answer71
viewsUpdate screen data after an asynchronous Angular 1.6 call
I have the following problem! I have a form with an id field. this guy is passed to my GET method which is asynchronous. Data comes back perfectly from the server (line $scope.produto =…
-
1
votes0
answers204
viewsAngularjs - Forcing input field bind
Good afternoon, you guys! I read that by default Angularjs requires the fields to have some user interaction to perform Binding. How do I ignore this and submit what you have in the input field,…
-
1
votes1
answer200
viewsJson defaults when I request via angular http
I’m making an add-on to Firefox and this is powered by json that comes from an ajax request, which I do via http get method. When I print the json by calling the address directly on the screen, it…
-
1
votes1
answer81
viewsAngularjs Element duplicating
I made a chart with Morris.js https://morrisjs.github.io/morris.js/donuts.html and put it inside a return of a query, so far everything right, but when I call this query again to generate other data…
-
1
votes1
answer106
viewsSelect2 Bootstrap Angularjs
Does anyone use the Select2 Bootstrap in Angularjs? I have a problem... when I click on the drop-down list (options) displays the correct value that comes from the bank, but in the view always…
-
1
votes1
answer279
viewsHow to get a Blob Answer with Angularjs?
I was reading in the MDN documentation that it is possible to get an answer Blob through ajax, according to the code below: var oReq = new XMLHttpRequest(); oReq.open("GET", "/myfile.png", true);…
-
1
votes1
answer407
viewsShould we avoid circular dependencies?
When working with Angularjs it is very common to have applications where services contain only HTTP calls to the server that will store the data. However, in an application where we will not have a…
angularjsasked 8 years, 6 months ago Paulo Gustavo 1,319 -
1
votes2
answers69
viewsLock button until Function is completed Angularjs
I’m needing a way to lock a button until the function of the ng-click be completed, to prevent the user from clicking again on the button, thinking that nothing happened or something like. Is there…
-
1
votes3
answers447
viewsHow to make the content appear in the DOM only after clicking - Angularjs
Hello, I am beginner with Angularjs. To insert and delete new fields this is all ok, see fiddle: http://jsfiddle.net/zbdvke2w/4/ It happens that I need that when loading the page there is not all…
-
1
votes0
answers346
viewsAngular overall function
Good morning guys, I don’t work much with front-end and I started using angular with bootstrap a little while ago my doubt is this: I have a div for message presentation, error, success; To change…
angularjsasked 8 years, 6 months ago Nelson Aguiar 710 -
1
votes0
answers28
viewsIonic - item does not bind in Nav-bar
I have an icon in the Nav-bar that should show or not true/false toggle position. Testing in the view works perfectly but the result does not work in the Nav bar. Both pages use the same controller.…
-
1
votes1
answer653
viewsBlock special characters in <input matInput
How do I block special characters in: I tried this way, but it didn’t really work: Pattern=" [a-za-Z0-9]+$" Does anyone have any idea? Thanks in advance !
-
1
votes1
answer241
views$Conditional Room at Angle
Hello! I got these radio Buttons: <div class="row" ng-controller="GetDados"> <div class="col-lg-10 col-lg-offset-5"> <label class="radio-inline"> <input type="radio"…
-
1
votes1
answer169
viewsIs it possible to call/see the android app’s Cordova plugin from an external site that opens inside the app?
I have a simple app using Cordova, inside, I call an external web application developed in Angularjs. I intend to start monetization in the app, and for that I want to make sales through the Google…
-
1
votes2
answers1512
viewsSend data through Angular
Hello! In the form of html I’ll tell you what: <div class="container jumbotron" ng-controller="crudCtrl"> <form role="form"> <div class="form-group"> <label…
-
1
votes1
answer429
viewsChart.js with Angular using ng-include. Charts do not appear
Hello. In my index.html I have this <div ng-include="'graficos.html'"> </div> in graficost.html I have this: <div class="row"> <div class="col-md-6 col-sm-6 col-xs-12">…
-
1
votes0
answers59
viewsAngularjs and Angular in the same project
Currently I have a project that is in Angularjs that we decided to upgrade to Angular 6. However, making this update at once is only impracticable due to the size of the project. Is there a way to…
-
1
votes1
answer377
viewsDifference between $apply() and $evalAsync()
In an application where I have loaded several indicators from a dashboard I am using the $apply() function to update the data of these indicators but in the console it presents the error "Error:…
-
1
votes1
answer422
viewsWhen clicking on link perform Reload in div with Angular. ng-click, ng-include, controller
Hello! I have this link: <ul class="nav child_menu"> <li><a href="graficos.html">Gráficos</a></li> </ul> When clicking on the link you should display the…
-
1
votes2
answers484
viewsGlobal variables do not update in the view with Angularjs
I am creating a test application with Angularjs using the ngRoute route system, the controllers created are working, however, the global variables in them are not being updated in the view. The…
-
1
votes1
answer99
viewsHow to allow an App to send notification
Hello, I am developing an app and before the person login, I ask the user for permission to the location of the same, this is already ok, but I need to put also then a permission to send…
-
1
votes0
answers52
viewsHow to do ng-model in this case, where I have only one input?
I have this code in .pug: div(class="box-group" ng-controller="filter") div(class="panel box box-primary col-sm-12") div(style="text-align:center") h4 Filtro div(class="form-group col-sm-12") label…
-
1
votes1
answer202
views -
1
votes1
answer63
viewsWhy adding an ng-click to the html body does not work?
I have the code: <div ng-show="d.box" class="box-red"> <img src="images/boxred.jpeg"> </div> <div> <i class="button" ng-click="d.box = !d.box"></i> </div>…
-
1
votes1
answer375
viewsHow to finish a loading screen after running Presets in Angular?
Good morning. I have a question, I have a controller that searches some data of a webservice Rest, and persists them in the device database (Ionic), to perform the search of the data, I am using…
-
1
votes1
answer184
viewsSub buttons in Angular dataTables
I’m using the Datatable plugin (https://l-lin.github.io/angular-datatables). And I need to make the export buttons to be sub-keys,where there will be an export icon and clicking this will be listed…
-
1
votes1
answer450
viewsAngular.js - Filter an array in a table based on user input - HTML
I want to make a table in which the td are the name and price of an item. And I want the user to be able to search for an item by its name through a input. This is already working. But the table is…
-
1
votes1
answer103
viewsExit Confirmation Sweetalert 2 - Angular
Boa Tarde Personal, I recently met the Sweet Alert library. I’m trying to use it to leave a page, currently count only with a Function in Typescript. I would like to know how to transfer Sweet Alert…
-
1
votes2
answers918
viewsMVC - pass a php variable to the angular.js controller
I’m making a list and I want to pass the values of a model to the algular script that is in the view. Model: function getAllDisplayable_all() { $this->db->select('id_menu, nome, descricao,…
-
1
votes1
answer34
viewsAngular JS Expressions does not work?? The value 10 does not appear and Work? appears with keys. Help!
<!DOCTYPE html> <html ng-app> <head> <title>Teste</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.8/angular.min.js"></script>…
-
1
votes1
answer395
viewsCheck Angularjs Login and Password
I have the following login function: function login(username, password, callback) { var myResponse; var systemUser; Users.getByLogin(username) .then(function (response) { systemUser = response.data;…
-
1
votes1
answer106
viewsDoubt with angular and checkbox
I have a form with some inputs and some checkbox, when I do the search in the database is returned Json, and input fields are filled in but checkbox are not marked although I have declared the…
-
1
votes3
answers1082
viewsAngularjs does not work properly
Hello, I’m following a codeschool course on Angular and all the examples I do with Angular do not work, are very simple thing. I’m gonna post the code so someone can tell me what I’m doing wrong. //…
-
1
votes1
answer105
viewsGroup JSON using javascript reduce()
I used reduce to group my Json, but I need to group by more than 1 parameter to make the group correctly. Follows the function used: > this.totalSpecific = obj.reduce(function (acumulador, valor)…
-
1
votes1
answer82
viewsQuill editor formatting button event problem
How could fix an event conflict issue on the editor click button Quill: If, for example, I use "control+b", the text bolds and bold, but when I click on the editor button, it seems to have a desired…
-
1
votes1
answer60
viewsMultiple views with uiRouter
Hello, I’m putting together a small project for learning and I’m trying to use uiRouter, but I’m having a hard time reproducing what I have in mind. Structure: meuApp |-css |-img |-js |\-app.js…
-
1
votes1
answer35
viewsWhat are the observables?
I would like you to explain to me what are the observables in the Angular. What are your differences for a?
-
1
votes1
answer122
viewsHow to pass ng-repeat {{$index}} as a mixin parameter? (Angularjs)
I am working with Aquivos . jade and using ng-repeat from Angularjs 1.5.8. I cannot pass a {{$index}} as a parameter in a mixin. This parameter is a string that defines an ng-model within the mixin.…
-
1
votes2
answers698
viewsHow to send form parameters instead of angular JSON?
I’m trying to send a POST Angular way, the same way I did in the JQuery, however, when trying to capture the data via variable $_POST, is not bringing any value. I’m running a code similar to that…
-
1
votes1
answer998
viewsSend Angularjs object to Webapi C#POST
I have a form, I am trying to save the information in the SQL Server database. <html ng-app="Crm"> <body ng-controller="CrmCtrl"> <form name="novoCrmForm"> <div class="row">…
-
1
votes1
answer91
viewsDo not read the backend in View - Ionic + Angularjs:
I’m able to read my backend, but I can’t show the data in my view, which I might be doing wrong? In my controller I did the following, and at first I asked to read my backend:…
-
1
votes0
answers375
viewsHow to configure the ui-Mask clearOnBlur in an inline way?
Is there any way to configure the clearOnBlur of ui-Mask inline? According to the documentation, one of the ways to settar settings of ui-Mask is for Config Provider (or something like that), as in…