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
votes3
answers1572
viewsCreate directive for mask
I want to wear the mask xx/xx/xxxx in a date field and return in the object with the mask, not only the value. I used a directive ui-mask, but does not return with the mask, already used the…
-
1
votes1
answer528
viewsPossible to create an application with Angularjs without Nodejs?
I am interested in Angularjs, after having seen some examples of its use. I would like to explore this framework. In most of the tutorials I’m following it all starts with the installation of…
-
1
votes0
answers65
viewsRouteparams in Angularjs
I’m using Routeparams in Angularjs $routeProvider.when("/ReciboPagamentoCorretor/:NUMERO_RECIBO", { templateUrl: "view/ReciboPagamentoCorretor.html", controller: "ReciboPagamentoCorretorController"…
angularjsasked 8 years, 10 months ago Luiz Fábio 333 -
1
votes1
answer1704
viewsHow to get the current Browser URL with PHP?
For example, I have the following URL generated with ngRoute of AngularJS: https://www.projeto.com/edit/25, 25 is the ID, I need to get this ID in PHP. In researches, I found the following solution…
-
1
votes1
answer265
viewsSearch with Ionic 3
I need to do a search on Ionic 3 but I’m not getting it. <ion-searchbar [(ngModel)]="searchTerm" (ionInput)="filterItems()" placeholder="Buscar Pedido" > </ion-searchbar> filterItems(){…
-
1
votes2
answers4092
viewsIcon inside the input
How do I put one icon inside of input? input: <input id="password2" class="form-control" placeholder="Enter password" name="Password" type="password" value="" ng-model="user.Password"…
-
1
votes1
answer6234
viewsHow to use Angular onBlur?
I want it to be shown on console the value cep I typed in the field input after the field loses focus. But this code of mine is not doing that. html: <body ng-controller="appController">…
-
1
votes2
answers794
viewsChange page title with angular2
I am developing a site in angular2, as I do not have an in depth knowledge I am having difficulties in SEO, following the documentation I created a simple function public constructor(private…
-
1
votes1
answer115
viewsWhat is this warning on the console using Angularjs?
I’m trying to run a simple code with angular and this warning stop on the console: Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.4.2/$injector/modulerr? P0=app&p…
-
1
votes1
answer734
viewsCalling a dll in Java
I wonder if there is a way to communicate with a dll using Avascript or Angularjs ?
-
1
votes1
answer46
viewsHow do I get a PHP Angularjs URL
I can’t get the current angular URL in PHP, I’ve tried using $_SERVER["HTTP_REFERER"], in addition, comes the original file path ... Original URL: http://link.com.br/ead/moodle2017/#/lessons/39 I…
-
1
votes1
answer161
viewsAngularjs need to create a list-Divider in the middle of a list
Hello! I am doing a project for the college in Ionic using Angularjs and in it I have an arraylist with several words, using the orderby I left them in alphabetical order, but I have a problem, I…
-
1
votes1
answer293
viewsDirective is not being called, Angularjs custom validator
I have the following directive: .directive('validateCPF', function () { return { require: 'ngModel', link: function (scope, element, attrs, ctrl) { ctrl.$validators.cpf = function (modelValue,…
-
1
votes0
answers154
viewsMy data does not go to BD using Ionic and php
I’m developing an Ionic app. When saving, the following message appears on the console: http://localhost:8888/systems/systems_web/Ionic/vcApp/www/php/salvaEndereco.php 500 (Internal Server Error)…
-
1
votes1
answer3664
viewschange classes with Angularjs
I need to change the style of an element when clicked and if you click again it goes back to the color it was (as if it were an "advanced search"). I have the following code: <a href=""…
-
1
votes0
answers17
viewsUsing history in angular js
Is there any way to use browser history in an angular SPA application? I am developing a client search application and I was asked that the user has the possibility to, for example, when a 5…
angularjsasked 7 years, 4 months ago Felipe Coelho 569 -
1
votes0
answers29
viewsWhat are the best practices for using Websocket in a SPA app?
I would like to know the best practices to implement a SPA application with Angular using Websocket.
-
1
votes1
answer112
viewsHow to upload this created data to an edit screen
Next, I have this sign-up screen where clicking the "+" button will add text type inputs (as an attachment code) My problem is that this creation is dynamic, one can add either 1, or 2,3,4.. or N.…
-
1
votes0
answers58
viewsPlace graphic trend line
I have a Graphic in my project and I needed to put a trend line, but I have no idea where the code goes for this or how to do it: (function () {…
-
1
votes1
answer379
viewsDate field not saved in Spring and Angular database
I am doing a small CRUD and na when I save the data the data fields Start and dataFim do not save in the database. PS: I did the debug and the dates are going through the save method. <div…
-
1
votes0
answers46
viewsCkeditor taking time to load
I am using the Angularjs version of Ckeditor to generate my text fields. The problem is that it just calls the plugin when the page is already loaded. Because of this, it waits for all the images…
-
1
votes1
answer327
viewsPick up angular-file-upload return
I’m using the angular file upload, it works very well, but I need the return that the server makes available to me. I am using the following code: $scope.uploader = new FileUploader({ url:…
-
1
votes1
answer962
viewsPassing Javascript Parameters to [Webmethod] C#
I would like to know how to pass parameters of a Javascript call to an ASMX Webservice Method without having to define a name for the parameters. Example: $scope.testar = () =>{ filtros ={ id:1,…
-
1
votes1
answer1218
viewsPrevent typing letters into the angular input
how to prevent letters being typed into a input where only angular numbers should be typed? Only with directives is it possible?
-
1
votes1
answer147
viewsLoading date in millisecond format in Angularjs
I need to press the input type="date" dates that are stored in millisecond format values. Example <label>Data de expiração:</label> <input class="form-control" type="date"…
-
1
votes1
answer880
viewsTreeview with checkbox and Angularjs?
Someone has some example code, of a treeview with checkbox, done in html, angular and json? Observing: I looked at several examples around, but I couldn’t make any of the examples work.…
-
1
votes1
answer1231
viewshow to do ng-bind-html from a directive?
<!-- ng-bind-html de uma diretiva customizado não funciona --> <span ng-bind-html="customDirective"></span> <!-- é renderizado --> <choices-tab></choices-tab>…
-
1
votes1
answer265
viewsView mysql data using Angularjs/codeigniter
I am developing an application in Codeigniter 3 and came across the following problem. I want to import the database table data and display in a php page. In my controller I created the function:…
-
1
votes1
answer344
viewsHow to return the value of a select to an ng-repeat at the angle
I have a select that has 3 options 1,2 and 4, I need to choose one of these numbers a repeat div 1, 2 or 4 times according to the chosen select, as I do with Angular?
-
1
votes0
answers172
viewsSingle Page Application in Webview of Android Studio
It is possible to use the angular Single page application in Webview with Android Studio?
angularjs android-studio webview angular-routes single-page-applicationasked 7 years, 3 months ago Aderbal 119 -
1
votes1
answer534
viewsHow to take the current font size in css and increase
Good morning, can someone help me give me a tip on how to get the current font size so I can enlarge it next? ps: I am using the Angularjs for the functions!
-
1
votes1
answer314
viewsng-maxlength="1" does not work - Angular
Good afternoon, I have an input type "number" and I need to limit the number of characters, but the way I’m doing is not working. <input id="turbidez" type="number" ng-maxlength="7"…
-
1
votes1
answer34
viewsHow to link the Id’s of two API’s to ANGULAR?
Guys, I have a problem, and I’m kind of a layman with Angular.. I have 2 functions that consult two methods of a API.. need to compare the id's of the results and demonstrate only those that the id…
-
1
votes0
answers41
viewsDoubt with Findone in Angularjs using Mongojs error at search time
Hello I am trying to make a search in the bank with this code using the findOne of mongojs, follows code: app.get('/detalhesContato/:id', function(req, res){ var id = req.params.id; console.log(id);…
-
1
votes1
answer1072
viewsCreate a pie chart with html and Angularjs
I would like to know how to create a chart (ex: pizza) from the data of an array with html and Angularjs. An example would help a lot. Thank you very much.
-
1
votes1
answer748
viewsSelect option in select otherwise with Angularjs
I recently found that example in Jsfiddle to select particular option in one element select. I noticed that it is selected as follows: HTML: <div class="listitem" ng-repeat="Choice in…
-
1
votes1
answer1076
viewsInput field is not loading default value "value"
I got the field: <div class="form-group"> <label style="color:white" for="valor">Valor</label> <div class="input-group"> <input type="number" value = "0"…
-
1
votes1
answer235
viewsIonic push notifcation error
I’m doing an Ionic project to receive notifications (android) and I’m using the phonegap-plugin-push plugin. var push = PushNotification.init({ "android": {"senderID": "860498722229", icon :…
-
1
votes1
answer661
viewsError: $injector:modulerr Module Error - I can’t fix
I’ve been fighting with this mistake for a long time and I can’t find a solution, I’m counting on someone to help me please. Unique file. For unsuccessful testing. <html lang="en">…
-
1
votes1
answer153
viewsHow to make a pie chart clickable
My question is how do I leave a pie chart (pie Chart) clickable. Type, invoke a function to filter a list from the click on one part of the chart. I am currently using the Angular-nvd3, but could…
angularjsasked 7 years, 2 months ago Antonio Braz Finizola 391 -
1
votes0
answers20
viewsHow to export the angular web app 2 on the remote server?
Hello, everyone. I made my first web app angular 2 and am now trying to put on a remote server to access via url. I tried using ng build -Prod and passed the dist folder that was generated to my…
-
1
votes0
answers30
viewsBy a defined object is giving the indefinite error in Angularjs
I am getting an error by performing the following test: it('testing if the onStateChangeErrorHandle function is defined', function(){ expect(rootScope.$on).toBeDefined();…
-
1
votes1
answer201
viewsHow to work with the $http service of Angularjs synchronously?
How to work with Angularjs $http service synchronously? In this case I’m using Angularjs + Laravel and 3 tables to save a questionnaire (where an evaluation has several questions, and each question…
-
1
votes1
answer205
viewsError making a GET, Javascript, Angular, Spring, Java request
I have an error opening the screen with the bank search results. error is in image below. Debugging, the data is coming from the database. In the other image, the server log appears My class…
-
1
votes1
answer194
viewsSelect component with ng-model, relationship between tables
I have a select component <div class="form-group col-md-4"> <label>Município:</label> <select ng-model="distrito.entidade.id.municipio.id.nome" class="form-control" >…
-
1
votes1
answer2734
viewsng-value with 2 values and 2 ng-model in the same input-radio
In the ion-radio has the ng-value with 2 values. The ng-model is taking the value of ng-value. The problem here is that I want to display these 2 values of ng-value separate. ex: {{data.nomeOpc}}…
-
1
votes1
answer283
viewsCarousel Multiple passing 1 item at a time
What I need is just that (just not with this plugin, because in this it stops at the end). I believe to be this here, I’m doing some tests. I need to do a Carousel that has a range of 5 slides on…
-
1
votes0
answers36
viewsproblem with header Authorization/angular
Hello, I’m trying to access an external link to our application, which should be opened in a new tab. I need to pass the login and password in the call header, but I’m not getting it. I tried the…
-
1
votes1
answer235
viewsGenerate Ionic Site Publish
Good morning, I need to publish a site with structure of Ionic (I know the main idea of it is to generate app, but we have this app and it has to be a site and an app at the same time), what is the…
-
1
votes1
answer265
viewsSelect more than one item in select or something similar Angularjs
I need to select more than one option in my select or something like it, there is this possibility? <select ng-model="modelcompraevenda.filial" class="form-control" > <option…