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
votes0
answers31
viewsng-include improves site performance?
Good afternoon I wonder if I separate html into parts and use ng-include to add them to the index, improve the performance of the site? making it faster Grateful from now on !!…
-
1
votes2
answers1198
viewsPass object between views
How could I pass a JSON object between views: angular.module('app') .controller('MeuControle', function($scope) { $scope.listaPessoas = [ { nome: "Patrick", idade: 19 }, { nome: "Joao", idade: 17 },…
-
1
votes1
answer1217
viewsFire event by clicking outside element
I have a problem with an Angularjs 1.6 implementation. Need to fire an event by clicking outside a "div" element for example. Note: ng-Lur only works with form fields. <li class="dropdown-toggle"…
-
1
votes2
answers394
viewsHow to put the page title according to a product using JS?
My problem is in trying to put information in the title, in the description or exchange the page image for java script. I am trying to make a shopping page (e-commerce) with angular and on the…
-
1
votes0
answers151
viewsReactive Programming With MEAN stack
I’m thinking about starting to develop a social network similar to Instagram, for learning purposes, using MEAN stack. I thought of my models : User’s: var mongoose = require('mongoose');…
-
1
votes0
answers102
viewsHow to perform a push notification before a certain deadline in Ionic?
Hello, I will try to clarify the maximum of my doubt , we go by parts: My user will schedule a task with date and time set, for example, scheduled a task on October 20, 2017 at 15:00 hours and other…
-
1
votes1
answer1367
viewsFIPE Table API Form using Angular
Personal talk. I’m a beginner in Angular and would like a help with this form. <html ng-app="app"> <head> <title>Teste</title> <script…
-
1
votes1
answer168
viewsSelect component with an Angular request
I have a select component <select class="selectpicker" data-live-search="true"> <option data-tokens="distrito">Distrito</option> <option…
-
1
votes0
answers63
viewsHow to send sms using javascript or angular or Node.js Free of charge
Good morning, I need a method or api that send sms for free, can be my number even tim(I have text plan)I searched and only found some easy-to-use pay... I’m getting ready for a university Ackathon…
-
1
votes0
answers337
viewsCreate dynamically angled checkbox columns
I’m trying to dynamically create checkbox columns in a dropdown using angular. I use bootstrap. Each checkbox item may or may not have related children. The solution I found was to put everything…
-
1
votes2
answers1034
viewsHow to pass an array that is in the controller to a directive
I have a directive where I mount some graphics, but I’m not getting to understand how I can pass a Array of controller for this directive or so how can I catch this Array using $http within the…
angularjsasked 8 years, 8 months ago DiegoAugusto 8,694 -
1
votes1
answer605
viewsHow to make notifications like Facebook? Angularjs or Javascript
I’d like to include notifications in my app. The app will be in Ionic, Angularjs, jQuery, Nodejs... is there a way for the app to run a function every X time? This function would get in Nodejs...…
-
1
votes1
answer1245
viewsProblems with ng-required and ng-disable
I have a web application, where a person can enter their skills but if there’s a bug that allows them to enter blank skills, then I’m trying to use the ng-required in the input and the ng-disable on…
javascript angularjs web-application angularjs-scope scopeasked 8 years, 8 months ago Gustavo Moreira 45 -
1
votes2
answers668
viewsNG-REPEAT inside NG-REPEAT - ANGULARJS
I have a multidimensional array. To demonstrate it in my view I use an ng-repeat in a ul inside another ng-repeat in a li, thus: <ul ng-repeat="section in sections"> <li>…
-
1
votes0
answers85
viewsFriendly URL in Scope
How can I pass: categoryId=101010&subcategoryId=1210101020&priceMin=1000&priceMax=3000 To: /tv/smart-tv/1000/3000 no $scope?…
-
1
votes1
answer98
viewsDoubt, API Restfull x Angular x CSRF
I am developing an application, in the backend I am developing a Restful in PHP, and in the front, Angular. I have a simple question about CSRF protection: It is necessary to protect against CSRF?…
-
1
votes1
answer138
viewsHow to remove the style when the checkbox is unchecked in Angularjs?
I need to change the background color of the page when I check box and return the original color when I uncheck, I only got the first step and I can’t get back the original color, someone help.…
-
1
votes3
answers969
viewsConsulting a JSON via an ANGULAR POST
I have an IONIC app that should consume a JSON via POST , so they passed me through POSTMAN I have a URL, the version and a token defined as I do to pass this via Angular, and return me my JSON. So…
-
1
votes0
answers21
viewsHow do I authenticate the user when they like the page on Facebook?
I wonder if it is possible to make the user have access to the site from the moment he likes the page on Facebook?
-
1
votes0
answers26
viewsng-click and ng-dblclick in the same element
<div ng-click = "clickOne()" ng-dblclick = "clickTwo()">Enter</div> Javascript> $scope.clickOnce = function () { alert("CLick One"); } $scope.clicktwice= function () { alert("CLick…
-
1
votes2
answers412
viewsFilter Images by Category with Angularjs Checkbox
Precise filtrar MAN and FEMALE. In the filter list, 4 items appear, and should appear only 2(man and woman), that is to say, by category. Another problem is that the filter is by…
-
1
votes2
answers3885
viewsExtract JSON object item with Angular.js
I have an Angular application that uses the Google Maps API to search for latitude and longitude, but I’m not getting the latitude and longitude separately. My application works as follows, the user…
-
1
votes1
answer39
viewsAngularjs - Accessing a service variable
How do I access the variable LatLng in the application? $http({ method: 'POST', url: './database/getCep.php' }).then(function successCallback(response) { var LatLng = $scope.get_cep = response.data;…
-
1
votes2
answers673
viewsSum of values in Array returns Nan
I have an array of orders, plus one of them contains an additional value. I made the sum with $watchCollection, plus it is returning Nan result. How do you add these values, when the object does not…
-
1
votes1
answer171
viewsProblems with Promises from Angularjs
I have the following function in Angularjs: $scope.adicionarContato = function(contato) { contato.data = new Date(); $http.post("http://localhost:3412/contatos", contato).then(function…
-
1
votes1
answer314
viewsHow to change the theme of Dashboard nebular NGX-Admin?
Hello, I wonder if you have how to change the theme and color of Dashboard nebular NGX-Admin? Thanks in advance.
-
1
votes1
answer809
viewsChange CSS value according to Scroll
I need that when scrolling the page, apply css to div, example: When the user arrives at half of the site, or at the desired Section, apply a CSS from this point to a div, as the page scrolls down,…
-
1
votes1
answer536
viewspassing Scope value to javascript function
How to pass a $scope.video_url for a javascript function in my view? I have a service that returns the id of a video, and in my view I have a javascript infunction that starts the youtube player…
angularjsasked 8 years, 8 months ago Michel Henriq 647 -
1
votes0
answers97
viewsError passing request attribute to angular directive
I have to pass an array of objects to an angular directive, but I have the error below. How do I resolve ? angular.js:12330 Error: [$parse:ueoe] Unexpected end of expression: [{…
java angularjs spring angularjs-directives attributesasked 8 years, 8 months ago Mayllon Baumer 586 -
1
votes2
answers867
viewsCreate function that simulates typing
I need a function, or some plugin that simulates a typing, IE, that makes you have a cursor and, with which keep typing and deleting words; One example I found was this. (The typing effect on the…
-
1
votes2
answers8025
viewsHow to use variable in more than one controller in Angularjs
I need to use a variable, at the angle, that I can use in more than one controller. Yes controllers are in the same file. How can I do that? .controller('denResCtrl', function($scope, $window,…
angularjsasked 8 years, 8 months ago GustavoSevero 2,567 -
1
votes3
answers417
viewsAccess different objects from a Json with Angularjs
I need to list all the "posts" of this Json, but I’m not sure how to access it. I’m trying like this:ng-repeat="post in posts" but it returns me only one information, because I need to access the…
-
1
votes2
answers931
viewsMaterialize CSS - sticky label at the top
How do I always pin my label to Top? Normal behavior: stays in input, when we click on input (Focus) it sits on top of the input <div class="input-field col s6"> <input…
-
1
votes1
answer55
viewsGet value from input text in javascript
Colleagues, I have the following scenario: I have an input input type="text" id="myField3" name="myField3" ng-model="selected"/> I need to play the content of this input in a variable in…
-
1
votes1
answer258
viewsGet url parameter via Angularjs
Well, I need to get a parameter from mine url as soon as my page is loaded. localhost/123456 The parameter would be: 123456 Using $Location, I got the full url, but I couldn’t get the parameter I…
-
1
votes0
answers53
viewsIonic - build is giving error
when I’m building with the code: ionic cordova build --release android is making that mistake: What is the Solution ??…
-
1
votes1
answer793
viewsVariable inside quotes - Angular
I am building a hybrid APP with Ionic, this uses Angular and I am not very familiar with JS. The point is that I need to insert a Youtube video into the file and ran into the following question: The…
-
1
votes2
answers115
viewsHow to delete data from google maps
I have an Ionic app that makes use of google maps. In this map I display information that the user provides. For example: The user wants to make a complaint that will appear on the map. However, if…
-
1
votes1
answer329
viewsAngularjs controller does not work well
I am giving a basic study on how to create screens using Angularjs and Material, everything going well until I need the controller, it seems that $Scope is not working, I put a console.log at the…
-
1
votes1
answer679
viewsUpload a PDF file
I need to upload pdf files with angular js. I have a field for the user to input a file, but how to send this file to the back end and save it in some folder?
-
1
votes2
answers18714
viewsMax length input type number html
I have an input type number <div class="form-group col-md-3"> <label class="lb">Valor total</label> <input type="number" min="0" id="idValorTotalProdutoP"…
-
1
votes0
answers22
viewsError sending xml data
I have this message: [{erro: "Formato de usuário inválido"}] Typescript code var headers = new Headers(); headers.append('Content-Type', 'application/x-www-form-urlencoded'); let urlSearchParams =…
-
1
votes2
answers295
viewsUpdate page with route without "#" Angularjs
I changed the routes to load the pages without the "#". The problem is when I do F5 it returns error 404. var app = angular.module("app", ['ngRoute']); app.config(function ($routeProvider,…
angularjsasked 6 years, 8 months ago Andersson OS 107 -
1
votes1
answer40
viewsHow to take data from two inputs without using form?
I want to do something like in Excel. I have two inputs and in each I type values. By pressing ENTER I want to capture the entered values, how can I do this? OBS: I’m using Angular 1. <div…
angularjsasked 6 years, 8 months ago GustavoSevero 2,567 -
1
votes2
answers703
viewsshow angular variable in iframe
Hello, I have a youtube iframe and I have to pass to it i video ID, which is saved in the database, for this I am using an angular variable, as follows: <iframe width="100%" height="650px"…
-
1
votes2
answers109
viewsWhat’s wrong with my array in php?
I am trying to assemble an array, in php, that return to my controller, because the return is showing on the 'Undefined' console, why? Controller .controller('usuarioCtrl', function ($scope, $http,…
-
1
votes0
answers110
viewsHow do I use a web.config key in the controller?
On my web.config I have the following key: <appSettings> <add key="teste" value="teste"/> <appSettings> What I need to do to use this key in my controller?…
-
1
votes1
answer213
viewsAngular ng-Pattern - 1 or 2 numbers
In the code below I need to make ng-Pattern receive 1 or two numbers, and the format is in media, that is, minimum node 0 or 00 and maximum 59. <input type="text" step="any" value=""…
-
1
votes2
answers783
viewsHow do I use ng-messages to show $http errors?
I am able to use to perform validations of empty input, min of characters and max of characters,example: <form name="myForm"> <div class="input-group"> <input type="text"…
-
1
votes2
answers226
viewsAngular Datepicker - Prev and Next
I am using the following calendar in my project: https://angular-ui.github.io/bootstrap/#/datepicker I need to customize the back and forward calendar buttons, I disabled these default calendar…