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
answer102
viewsBest way to read Angularjs in an Ionic app
I’m with a question of apps architecture. I have an IONIC project where the app saves some basic data in Storage location so you don’t have to ask for user login every time it opens. But this data…
-
0
votes2
answers351
viewsChange selected menu according to URL segment in Angular
I’m developing a project and I’m using Angular, I need when accessing the internal page, the menu is selected, until then beauty, but the problem is when the internal page contains Lug or some…
-
0
votes2
answers585
viewsCompare 2 variables in a select with Angular
Hello, I have an array of objects that I am pulling from the database and playing in a Select HTML, only I am also passing another variable and would like to compare this variable with the values of…
-
0
votes1
answer874
viewsRenaming files from a folder sequentially - Javascript
How it would be possible to rename files of the same format but with different names (for example: Images) to a sequential pattern ? Example: Of titulo-capa.jpg | foto-perfil.jpg | background.jpg To…
-
0
votes3
answers169
viewsHow to know if Modal has active scrolling?
I have a modal that scrolls when the content of the window is larger on the screen..., I would like to put a different class when the modal scrolling was active, in the example below it changes the…
-
0
votes1
answer77
viewsDynamic background image
I have a list of products, clicking on some of them, redirects to another page showing only the content of this item. I receive the Image, but I would like it to be in the background, that is, it…
-
0
votes0
answers677
viewsAngular does not update screen
angular.module("manuais", []); angular.module("manuais").controller("manualCtrl", function($scope) { $scope.capitulo_itens = [{ cod: 1, cod_capitulo: 1, tipo: 1, texto: "Titulo de um elemento",…
-
0
votes1
answer357
viewsHow to send data to a modal in Ionic 3 from a Storage?
I have a list and a register. The Register is a modal and works well: The View of the Register: <ion-header> <ion-navbar color="dark"> <ion-title>Adiciona Sessão</ion-title>…
-
0
votes1
answer55
viewsNg-reapeat selects input from all Forms change together
Hello, I’m a beginner with Angularjs, and I’m having trouble with ng-repeat: The user can enter a snippet of a form as many times as he wants but in each one of them it should be possible to select…
-
0
votes0
answers362
viewsangular-scroll-Immature does not work when scrolling the screen
Guys I’m developing a mobile application using angular, and I’m trying to put together a timeline like this: http://rp.js.org/angular-timeline/example/index.html documentation here:…
-
0
votes0
answers33
viewsPass icon and name in ng-options
If anyone can help me, but I appreciate it! This is my code: $scope.Moedas =[ { id: 0, nome: "REAL", icon:"fas fa-dollar-sign" ,ativo: false }, { id: 1, nome: "DOLAR", icon: "fas fa-dollar-sign",…
-
0
votes0
answers61
viewsClick on option in select and appear other fields
I’m trying to do something similar to the figure below: http://jsfiddle.net/zbdvke2w/11/ How do I stop for the fields that are in ICMS and ICMS ST with ng-if appear only after clicking on option 10…
-
0
votes1
answer106
viewsError in function Ordova and Angularjs
Below is the code I’m using. It’s the standard example of the Cordova connection check function. <script> angular.module("contato", []); angular.module("contato").controller("contatoCtrl",…
-
0
votes2
answers363
viewsDirective Angular
I’m having a little problem when creating two buttons using angular Directive only 1 this appearing. How do I solve this problem? <div class="row"> <meu-painel class="col-md-2…
-
0
votes1
answer281
viewsHow do I place a function inside ng-bind-html?
I made a simpler example for my problem: Inside my controller is like this: $rootScope.myAction = function(){ alert('Olá mundo!'); } $scope.setAction = function() { var comp = $compile('<button…
-
0
votes1
answer15
viewsError when trying to assign a new value to a repeat object
I need to assign or even create a new attribute in an object within a loop, but it is giving the following error, that I have no idea what it is: Typeerror: Cannot create Property 'is_content_hide'…
-
0
votes2
answers351
viewsAngular filter with ng-repeat giving strange error
Folks I’m having trouble using a filter in conjunction with ng-repeat. I have a json of events where I want that when selecting an event type in select, the filter returns a new json with only the…
-
0
votes1
answer1056
viewsMinutes, Seconds and Milliseconds with setInterval
Talk guys, I’m trying to make a simple chronometer and I want to display Minutes, seconds and milliseconds, I can display minutes and seconds, but someone can give me a light on the milliseconds?…
-
0
votes1
answer485
viewsHow to disable modal closure via the ESC key in the modal of the UI-Bootstrap?
In the ui-bootstrap, i can disable the modal closure by clicking on the black background through the option {backdrop: 'static'}. But now I also need to turn off the key ESC, because when you press…
-
0
votes1
answer65
viewsHow do I set up Dropzone JS to receive an image just by typing CTRL+ V, so that it accepts text and images together?
I was watching the outlook and the email edit field gets images via CTRL+V, searching found that this would be a Dropzone component. I would like to know how to set up. Below the example of outlook.…
-
0
votes1
answer255
viewsShow factorial output with Angularjs
I’m starting to learn from Angularjs. In a simple function, I need to make the factorial of a number using Angularjs, but I cannot return the result on the screen (HTML page). Could someone help me?…
-
0
votes1
answer153
viewsHow to do two views in one view with Angularjs?
I have a chat app and the problem I’m having is this: When sending a message, it takes a certain amount of time to be sent and appear on the screen, because it goes to a database, via the php…
-
0
votes2
answers514
viewsSum values with Angularjs
I am trying to add two values. Example value 150.00 and value 50.00. I tried to do so {{value + value}} and is returning 150.0050. No way to do the sum this way? ng-repeat value and input field…
angularjsasked 6 years, 1 month ago Ricardo Chomicz 127 -
0
votes0
answers664
viewsHow to save a Base64 to a mysql database?
I am creating an application using Angularjs and using webservlets with mysql database connection. To generate the binary, I use the following code: $scope.adicionarArquivo = function (element) {…
-
0
votes1
answer529
viewsAngularjs Service http
I have a service at the angle and wanted to do a foreach to recover the user value, to authenticate the login My service: .service('usuariosService', function ($rootScope, $location,$http) {…
-
0
votes3
answers635
viewsAdd data from array
I have an array that data comes from the user’s filled form and make a map: dados.map(element=> { var x var number1 = parseInt(element.preco), number2 = parseInt(element.peso) var tota = number1…
-
0
votes1
answer27
viewsPlace the Angularjs switch function inside while php loop
I put the swicth function of angular, inside while in PHP. When executing only the first loop that works the rest of the function does not work. I’ve put the different ng-app and ng-controller names…
-
0
votes2
answers462
viewsHow to implement Angular features?
A little while ago I have studied Angularjs through materials like this; Online Course on YOUTUBE about Angurlajs >>>>> CLICK HERE. So what he teaches shows that we should link the…
-
0
votes1
answer475
viewshorizontal ion-card
Has some form of ion-card grow horizontally and not vertically? It is populated by data that comes from the api <ion-card *ngFor="let filmes of lista_filmes_popular"> <img…
-
0
votes1
answer104
viewsHow to disappear with the Parallax effect with angular?
How can I disappear with the action of Parallax when it is with an attribute? this is the tag that has the attribute: <parallax-image ng-class="{{fixo}}"…
-
0
votes2
answers3264
viewsConvert the timestamp result to the formed Date and Time
I need to convert the timestamp result (eg 121242343543) to the format 2018-11-09T16:36:01. Controller.js: function salvar() { var dataBase = new Date().getTime(); // salva no banco var simulacao =…
-
0
votes0
answers103
viewsHow to handle POST request in the Standard that were sent as parameters?
Set a route this way in the API: $this->router->post('/logo', 'MinhaContaLogoController@adicionarLogo') However, my Client request sends a parameter in the URL under method POST:…
-
0
votes0
answers520
viewsDifficulty displaying data on the angled screen
Good afternoon, everyone I’m making an app, where, when typing a text, the message should appear on the screen. But something strange happens, only the cards (where the text should be displayed)…
-
0
votes1
answer54
viewsCorrect formatting for date
I am formatting the start date of a list according to the code below, and in the database the dates registered in "2018-11-01" and "2018-11-02" are being listed respectively with the dates in…
angularjsasked 5 years, 12 months ago aleestevao 133 -
0
votes2
answers17029
viewsCNPJ validation in Javascript
I have a simple doubt. I want to validate the cnpj of an institution registration. In this input is already placed the mask, in which the mask is in js. However, I cannot validate this field. I took…
-
0
votes1
answer455
viewsOpen facebook page Ionic
Hello! Use this code to open the Facebook application directly on the page on the device. <a href="#" class="link-fb" onclick="window.open('fb://page/0000000000000', '_system'); return…
-
0
votes1
answer79
viewsHow do I use ui-number-Mask dynamically
I’m saving my valuables at a $Cope: $scope.quantidadeCasasDecimais = 4 And trying to use this value, but it doesn’t work: ui-number-mask="{{quantidadeCasasDecimais}}" Remembering that if I set the…
-
0
votes2
answers117
viewsReply POST comes empty
I am making a POST request in my API by my angular project and only empty the result, and by Postman comes the correct data. service ts. : teste(user) { return this.http.post(`api/home`, user) }…
-
0
votes0
answers77
viewsIs it possible to make javascript wait for a given async of android?
Imagine this scenario: I have an application developed in Angularjs that runs in some environments like proprietary hardware and computers. We are currently adding our software to the android…
-
0
votes1
answer129
viewsLogin Firebase only works by double-clicking the ng-click button
I am making a login page with the email and password fields and a button that calls the following function: $scope.login = function(usuario){ $scope.isLoading = true;…
-
0
votes1
answer39
viewsHow not to allow the zoom of the phone in the App?
Good morning, you guys, I need to not let the user’s mobile zoom affect my App. I used the viewreport components: content="width=device-width, height=device-height, minimum-scale=1, maximum-scale=1,…
-
0
votes1
answer198
viewsDoubt - Session with Angularjs + PHP
Guys, I’m racking my brain here, I’ve penetrated the entire Internet, but I haven’t been able to solve a question yet. I am creating a Quiz application using Angularjs, however, I am not able to…
-
0
votes1
answer26
viewsReturning Array[] with Obsevable
I’m developing an Angular 2 application and in my service I’m returning one Observable<Pessoa[]> but when returning http with my get it runs the following error. Type…
-
0
votes3
answers826
viewsCalculate hours worked
I have the standard hours that the employee hits point. Ex: 8:00 - 12:00 - 13:00 - 18:00 And I have the time that he clocked in that day. Ex: 8 - 12:06 - 12:59 - 17:0 I need to calculate how many…
-
0
votes1
answer26
viewsngMaterialDateRangePicker does not update the model
I am trying to use ngMaterial’s date range Picker, but without success.. for some reason it is not updating the model. I made the call on JS: angular.module('events-create', [ 'ngMaterial',…
-
0
votes1
answer382
viewsAngular index variable
Good morning guys, could anyone help me, I need to take the value of the index variable from the angular to a small php block, to do the removal of it in the database. The way it is I can’t, gives…
-
0
votes2
answers123
viewsAngularjs - How to close a modal $uibModal parent through a modal $uibModal daughter?
I use Angularjs in the project. I have a modal that opens from a button of the parent modal. I want to insert a cancel button in the daughter modal, which will close the two modals.
-
0
votes1
answer315
viewsAngular JS - $http.delete "Syntax error on token '.' ,, (comma) expected " on Eclipse
Eclipse keeps telling the error on $http.delete, when other methods (like $http.put, $http.post) are not. What could it be? For example, $http.put: updateUser: function(user, id){ return…
-
0
votes2
answers1475
viewsSend 2 Json objects to $http in Angularjs
I’m using C#/EF/Angular, in my backend I have the following method, which waits for 02 parameters: public dynamic save(Entidades.CheckList json, Entidades.CheckList json1) { master = new…
-
0
votes1
answer741
viewsChanging parameters to Modal
I’m having trouble passing parameters to my Modal, I would like to present the data of the selected tuple, I was able to isolate the value properly (atestei by the console.log), however, this same…