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
answer254
viewsProblem With Internet Explorer I don’t have in Chrome and Firefox
In Internet Explorer appears to me: Access denied in this Scope: $scope.login = { "user": window.localStorage.getItem("username"), "check": window.localStorage.getItem("valor"), "lingua":…
-
0
votes1
answer241
viewsPHP Rest Application with Logged in User
I am developing an application in PHP Rest API. This application will be accessed via Web and Mobile. It happens that users must log in to be able to consume the Rest service. My question - How do I…
-
0
votes1
answer606
views$modal.open(), problem with "controller" parameter declaration
I am trying to open a modal through the view, by the showModal() method, the problem is that I get an error referring to the controller declaration "editCrtl", which is very strange, since it is…
-
0
votes1
answer198
viewsStatus 200 data Undefined Angularjs
I’m building an angular application, where I give http.get in a url, the status comes 200, but the date comes empty. In the api where I built, I return the json array, and in the angular webservice,…
-
0
votes2
answers8227
viewsMask Percentage and Money field using only number?
I have an html page made for mobile, I would like to put 2 types of mask being % Percentage and R$ Money but I need this field to be type="number" to show the cellular numeric keyboard. I’ve…
-
0
votes1
answer929
viewsRoute to Angular home page
I have the following structure in my module https://jsfiddle.net/o0hs0uhw/ When I call the URL http://localhost/emp/dist/boffice/home, it includes the home.html view, so far so ok. The problem is…
-
0
votes1
answer230
viewstimeout to $http request (search for 5 seconds, if not found, returns 'error')
I am setting up a $http request for zip code, it happens that sometimes the API takes too long to return a reply, and the user gets stuck to proceed at checkout. function worked, but when I tried to…
-
0
votes0
answers33
viewsRegistry of controller Angularjs
I have this app and this html: https://jsfiddle.net/2r4w554g/ And I also have this controller and this html: https://jsfiddle.net/oes9vzu8/1/ When I put it to run, it points out an error that the…
-
0
votes1
answer81
viewsBug or Implementation error with ng-if in Ionic?
I created a list where I need to show whether an item has already been read or not, so I check a variable with the ng-if directive. But when the item is opened, and then returns/browses back to the…
-
0
votes1
answer1337
viewsTaking the value of the table with ckeckbox and moving to the controller with Angularjs
Goodnight! I’ve got a problem I haven’t found a solution to First I make a query in the database that returns me some values and I play within a table with ng-repeat Table <tr ng-repeat="contrato…
-
0
votes0
answers40
viewsJavascript - How I assemble a list of inputs using an array that is an array of another object
I have a set to set up a grid on frontend, but I’m not getting to ride. I get from my backend um JSON that contains a list. This list has two fields: Order and Size, and to mount on screen, the…
-
0
votes1
answer47
viewsCordova com Angularjs
I did a lot of research, but I couldn’t find anything concrete. How to open standard mobile email client using Cordova with Angularjs?
-
0
votes1
answer90
viewsHow to print the prefixes together with the array?
I would like a help to print an array with its prefixes. this.prefixo = [ { "E01":[{"name":"Teste01"}], "E02":[{"name":"Teste02"}] } ]; I would like to print the prefixes and the names related to…
-
0
votes0
answers110
viewsInject facebook api into Angularjs controller
This function is called by a ng-click on a button in my view, but is not returning anything on the console. Can someone help me? $scope.shareContent = function(){ window.fbAsyncInit = function(){…
-
0
votes2
answers1538
viewssum of values with ng-repeat
Good night I’m having a problem adding up values with ng-repeat Object 1 COMISSAO_CORRETOR: "5.0" CPF_CONTRATO: "xxx.xxx.xxx-xx" NUMERO_CONTRATO: "1234567" VALOR_BRUTO: "70000.00" VALOR_COMISSAO:…
-
0
votes1
answer144
viewsCannot repeat when adding new item to a list
Hello, I would like your help. I am creating a page with Angularjs to add tasks to a list. And I wish they wouldn’t repeat it, but unfortunately I’m not able to do it and I can’t find any…
-
0
votes2
answers204
viewsMove task - Angularjs
Hello, could someone explain to me how to do when I check the checkbox of the activity "Incomplete" it be sent to the activity list "Complete"? angular.module('TarefApp', []); // Code goes here…
-
0
votes1
answer129
viewsProblem with Ajax request in Javascript
I have a mobile application in development using Cordova, that performs a select on my external BD and checks with mobile data so knowing if there is any change in data. I’m using a request via…
-
0
votes0
answers94
viewsNg-model with Button
Good morning, I loop to pick up "name" in an array and each "name" has variables with information. I need the ng-model to receive the "name" value when I click on the "button" so that I can make a…
angularjsasked 8 years, 7 months ago Yehudi Mikhael 75 -
0
votes2
answers6814
viewsGet current date/time Angularjs
I need to display on the page the current date followed by the current time, It follows what I have done so far, I only need to display the time if it continues as it is, follow code: function…
-
0
votes2
answers207
viewsHow to create multiple vectors dynamically with Javascript?
I get on the input screen a value, and I need to build the amount of arrays according to the number I received. Example: I get 64 in the input, so I need to create 64 vectors (arrays)
-
0
votes0
answers16
viewsPhonegap facebook api in Angularjs
According to this project https://github.com/jeduan/cordova-plugin-facebook4, i installed via git-shell, this plugin in my phonegap, went to the root folder and ran the shell. At least, in this…
-
0
votes1
answer802
viewsHow to use sessions created in php in Angularjs (Ionic)?
Good night, I’m creating an app on ionic and angularjs did the login through an ajax request to php which in turn checks and validates all through the database, the only problem I’m having and how…
-
0
votes1
answer572
views$injector:modulerr
I get the following error: angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module contato due to: Error: [$injector:nomod] Module 'contato' is not available! You either…
-
0
votes2
answers87
viewsCross origin not working with angulasJS and PHP
I am trying to download a file through the generating Angularjs in a php page: PHP page header("Access-Control-Allow-Origin: *"); include('conn.php'); $arquivo = 'Contratos_Pendentes.xls'; $tabela =…
-
0
votes0
answers71
viewsHow to define a simple checkbox?
staff would like to know how to leave the checkbox of this grid with a standard template. example: http://plnkr.co/edit/Z6JRMoKQoirf23q1JlgR?p=preview <!doctype html> <html ng-app="app">…
-
0
votes1
answer335
viewsDynamic links in Ionic, with inAppBrowser
I’m developing an app with Ionic, which consumes an external API (json). To make links that open in the native browser, I added the inAppBrowser plugin and it worked. The point is that some links…
-
0
votes1
answer48
viewsSave selected colors even by going to another page
Any idea how to have 2 (options) arrays with styles to change colors in specific site locations (for example change 3 classes: .header, .footer, .sidebar), but keep the option on which the user…
-
0
votes0
answers68
viewsERROR : POST http:/php/Reportfisico.php net::ERR_CONTENT_LENGTH_MISMATCH
Does anyone know why this error is happening when I go to download a spreadsheet... Being that if I refresh the page the error does not happen again Controller $scope.GerarPlanilha = function (){…
-
0
votes0
answers58
viewsAngularjs + Directive + mfb = Not working
I’m new to angular and I’m testing directives. I have this scenario: angular.module(module) .directive(directive, function () { return { templateUrl:template }; }); <ul class="mfb-component--br…
-
0
votes0
answers593
viewsHow to make a chained list with Javascript that points to an element I want?
Example: I have an array of blocks, each block has a process object that has a state attribute, which can be free or busy. How do I make every free process, point to the next free process even…
-
0
votes1
answer991
viewsPick up Ip and Hostname of visitors who fills in contact form
Good afternoon, gentlemen. I have a web application on Asp.net mvc + Angularjs that has a contact form. I would like to know what the ip of the user and his hostname that is filling this…
-
0
votes0
answers279
viewsHow to test private functions?
I have a controller with some functions: angular.module('teste.controllers') .controller(TestCtrl, function($scope){ var vm = this; vm.funcTest = function(){ return 1 + 1; } function _testSoma2(){…
-
0
votes1
answer851
views -
0
votes0
answers26
viewsError adding Ionic-Platform-web-client
I have a perfectly functioning Ionic project. These are the versions I’m using: Cordova CLI: 5.3.3 Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic CLI Version: 1.7.14 Node:…
-
0
votes1
answer260
viewsProblem loading data from a table with Angularjs and Rails api
The code of my front-end : var listaDeProdutos = function(){ $http.get("http://localhost:3000/produtos").success(function(data,status){ $scope.listaProdutos = data; }).error(function(data,status){…
-
0
votes1
answer810
viewsHow to leave fixed sidenav and Toolbar with angular material
I want to fix the sidenav and the Toolbar of Angular Material, and the content of the application stay on the rest of the page. In my index.html I am using the ng-view directive to render. I have…
-
0
votes0
answers133
views -
0
votes1
answer104
viewsReactjs + Angular + Babel
Good morning I need to use Reactjs in a project that I already use Angularjs. I was able to do the integration, but without using Babel, that is, I was only able to make Angular and Reactjs…
-
0
votes1
answer2375
viewsDynamic Table Paging with Angularjs
I have the following scenario: I recover this data from a Rest API with Vraptor. I would like to display only two items per page, but I don’t know where to start. I implemented this pagination using…
-
0
votes0
answers59
viewsDatatable . Visible() does not work
I’m using this library angular-datatables, but the function visible is not hiding the desired columns while loading the page. Follow the code that should hide the columns: $(document).ready(function…
angularjsasked 8 years, 5 months ago PauloFlesch 102 -
0
votes2
answers393
viewsRoutes with Angularjs and Node.js
I learned a little about Angularjs and now I’m starting with Node.js and some doubts have arisen. With Angular I use $routeProvider to create the routes and navigate between the pages as single page…
-
0
votes1
answer81
viewsWhy doesn’t sharing the agreement work?
I have a mobile app and am using the plugin ngcordova, the cordovaSocialSharing. But when I did like the documentation, when I click to share nothing happens. Controller .controller('ShareCtrl',…
-
0
votes1
answer3779
viewsUpload Angularjs Files
I have a button where I select a file, I would like to upload that file to my server(Java + Vraptor). I can already get the file and also save the name of the file in the database along with the…
-
0
votes1
answer108
viewsCatch value of a li Angularjs Ionic
<div class="list"> <li class="item" ng-click="city()" ng-repeat="seg in segmento">{{seg}}</li> </div> I have this code in my Ionic framework I would like to get the value of…
-
0
votes0
answers98
viewsIONIC application doing automatic server synchronization
I have an application made with IONIC that makes a CRUD and can send and receive data to the server, until then everything is working perfectly. The modifications I make in the application are being…
-
0
votes2
answers543
viewshow to compare hours and tell if the establishment is closed or open and return a Json message
Help me... Thank you. This is the following I have an Api with Php + Sql and returns the data in Json. In my data you have two fields openRestaurante and closeRestaurante, opening hours of an…
-
0
votes2
answers738
viewsPaging with Angularjs and Webapi
I need to make a pagination using AngularJS. Well, I made a controller for a popular one Table HTML. This is now working. My next step is to page this table. I picked up an example on the internet,…
-
0
votes1
answer2878
viewsHow to create a query form with Angular?
Person, as I create a form with some fields for consultation for example: Name and Phone and a Query button to send this data to the backend to query and display in another View the return in a…
-
0
votes1
answer264
viewsHow to change the color of Md-tab when I press?
I started using Angular Material recently and am using tabs. I wish I could change the color of a tab when I’m pressing, but I can’t. Someone could help me?