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
answers64
viewsChange Request Headers to WS protocol
I have an app Ionic using an API Ruby on Rails. To authenticate, I am using Gems Devise and tiddle where I pass via the Angularjs X-USER-EMAIL and X-USER-TOKEN in the Request Header Have a part of…
-
1
votes1
answer582
viewsComparing Angularjs arrays
I’m creating a device for Cell... only I had the following problem: I need to compare if an account has not been paid, and send a warning... q accounts must be paid every month.. if you do not find…
-
1
votes1
answer3920
views1 decimal formatted value in ngModel
I have the following object: dadosAnv = { horas_cel: 1950.0 } It turns out that when I edit this value, it appears in the input only 1950. I’d like to keep the .0 value, but I have no idea how to…
angularjsasked 8 years, 9 months ago Dannicléo Teles 60 -
1
votes1
answer456
viewsProblem with simple validation messages directive
I have the following directive: //diretiva responsavel por facilitar a passagem de campos para a validação App.directive("validateMsgFor", function(){ return{ templateUrl :…
-
1
votes0
answers617
viewsPrint Bluetooth Ionic Printer
Someone actually managed to print to bluetooth printer using Ionic, Ordova, phonegap some method that was not native? My project was written in Ionic, soon arose this need :(
-
1
votes1
answer74
viewsHow to slideup/slidedown without a click event?
Hello, I’m starting at Angularjs and I’m having some doubts... One of them is this. I have the following code: angular.module('ValueSelling.controllers', []).controller('startController',…
-
1
votes1
answer462
viewsReplace in Angularjs
<br><br>This powerful creation - forged in the image of a gargoyle - the kept<br><br> safe on his journeys, allowing him perform their important work without fear of…
-
1
votes2
answers4909
viewsLimit texts by placing reticence at the end, use of Angularjs
I have a text that describes a certain product, this description will serve as a preview, the ellipsis mark that the text continues, I am using angular <p ng-bind-html="service.description |…
-
1
votes0
answers125
viewsng-repeat in JSON file
I’m putting together a menu with ng-repeat="espaco in espacos". Until then quiet. <ul class="nav nav-pills nav-stacked"> <li role="presentation" ng-repeat="espaco in espacos"><a…
-
1
votes0
answers52
viewsSort UI GRID record from filter
Hello, This image showed only the data that have "S", however, in addition to displaying them, I need to sort this from the search filter, IE, in this case, the result would be something like:…
-
1
votes2
answers1307
viewsUse Angularjs to pass parameter to Jquery
I need to change my web system’s Alerts template. For this I am using a Jquery plugin, however, I need to pass a parameter to my Jquery function that this, would be my model that is already used in…
-
1
votes1
answer91
viewsHow to perform the Submit of a form with Onsenui and Angularjs?
How to proceed to perform a Submit with Onsen UI + Angularjs? I got the following ons-page: <ons-page ng-controller="LoginController"> <ons-toolbar> <div class="center">Acesso ao…
-
1
votes1
answer50
viewsReceive correct $index after filter use
Hello, I have an image gallery that contains a search box, basically when the user clicks on an image opens a lightbox with that image. I’m basically passing the $index for a function that opens the…
-
1
votes3
answers476
viewsUndefined error while reading 'post' property in Angularjs
I have the following code: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script> </head> <body> <form…
-
1
votes1
answer139
viewsHow to Rescue JSON External Data
I’m learning Angularjs from Apigility. I’m having some doubts and I think I can only understand by asking... I have this code here: App.controller('ListaCtrl', ['$scope', function($scope){ $scope.id…
angularjsasked 8 years, 8 months ago Diego Souza 16,524 -
1
votes1
answer515
viewsAccess more object-specific data
I made a GET in a table in my database $scope.corretor = {}; $scope.getData = function (){ $http.get("http://.php") .success(function(data){ $scope.corretor = data; console.log($scope.corretor); })…
angularjsasked 9 years, 3 months ago Luiz Fábio 333 -
1
votes2
answers332
viewsMultiple Views with Angularjs and Ionic
I’m trying to add some States in my code to navigate between them, but I can’t, the only ones that work are the views that come from the sidebar. Follows code: app js.:…
-
1
votes1
answer136
viewsCall Laravel 4 method using Angularjs
I have the following heading structure at the angle: .when('/', { redirectTo: '/pages/signin' }) .when('/:page', { // we can enable ngAnimate and implement the fix here, but it's a bit laggy…
-
1
votes1
answer4085
viewsLogin Screen with Angularjs
Good evening, I’m having trouble making the login screen in my application Index.html <body> <div ng-include"'dashboard.html'"></div> <div ng-view></div> </body>…
angularjsasked 9 years, 3 months ago Luiz Fábio 333 -
1
votes0
answers77
viewsRoute conflict in Angularjs and Wordpress
I’m having a problem with routing in Angularjs and Wordpress. Before I didn’t use the html5Mode(true) and my route was /#/dashboad and the route /blog worked normally. But, when I started using…
-
1
votes1
answer40
viewsEmailcomposer Cordova no Angularjs
I was reading a project in the email plugin github of Cordova and did not understand how to install. It gives you the option to download the files, and then asks you to put this line in xml.…
-
1
votes1
answer917
viewsHow to set an initial date in this countdown done in Angularjs
I created a module in Angular JS that takes the current date of the clock and starts counting to the end, but I need to be able to set an initial date to start counting that is not based on the…
javascript angularjs angularjs-directives jsfiddle angular-moduleasked 9 years, 2 months ago Ivan Ferrer 12,096 -
1
votes0
answers117
viewsWhere the file is: I am developing with Ionic/Angularjs and Sqlite
I’m trying to open the database in Sqlitebrowser, but I can’t find the file created. I used the command : window.openDatabase The alias I gave is "my.db" but I can’t find it anywhere. Where…
-
1
votes1
answer1538
viewsUTF-8 code does not work
I’m having a problem that seems simple but has given me work here. I’m developing a single page application using Angularjs, on the page index.html i have the tag <meta charset="UTF-8"/>, and…
-
1
votes1
answer198
viewsModal W3.CSS conflicts with Angularjs
I’m experiencing the W3.CSS in an application Angularjs which until then used Bootstrap CSS. But the modal of W3.CSS uses anchor to open, already the Angularjs interprets the anchors as routes and…
-
1
votes1
answer67
viewstags saved in bd being printed as text
Hello, I am printing a value saved in a mysql text field, which contains 'p' tags in its composition, the problem is that it is printing these tags as text and not as html, does anyone know what…
-
1
votes2
answers7485
viewsDatepicker with Angularjs
Good evening, I’m using a directive for a Datepicker DIRECTIVE angular.module('app').directive('datepicker', function() { return { restrict: 'A', require : 'ngModel', link: function(scope, element,…
angularjsasked 9 years, 2 months ago Luiz Fábio 333 -
1
votes1
answer231
viewsApp Cordova does not work as expected
I made a simple application using Apache Cordova in the Visual Studio 2015, and added the Angulajs. When I test on Riple emulator works as expected: So I’m going to APK to test on the physical…
-
1
votes1
answer284
viewsProblem with Datepicker Angularjs
Good night. I’m wearing a directive for a datepicker and I’m getting the following error. TypeError: Cannot read property 'split' of undefined at Object.DPGlobal.parseDate…
-
1
votes1
answer607
viewsCreate IOS directories and files using IONIC framework
I need to run a kind of CRUD in directories and files through an IOS application. This application is based on the IONIC framework, which in turn uses Cordova and Angularjs resources. Doubts are:…
-
1
votes1
answer950
viewsRun function after loading page with Angularjs
I am trying to execute a function that gives an alert on the screen after the however is loaded, however, I am not having success with ng-init because using ng-init it gives the alert and the screen…
-
1
votes4
answers1748
viewsReturn php data to Angularjs
Good evening, everyone. I’m doing a CRUD with angular and php. I’ve been able to register data in the database, but I’m not able to take this data and display it in html. I think it’s the file,…
-
1
votes2
answers135
viewsHow to check in an Angular directive if the parent Node is a link?
I need to make a check if my directive xx-chip is within a link. I cannot use jQuery in this application, only Angular. <a href> <xx-chip></xx-chip> </a> Thank you.…
-
1
votes2
answers211
viewsHow to create an abstract route with global controller for your children in Angularjs
I am creating an application where I will create something similar to a "Wizzard" windows Forms and for this I am using a routing as follows: .state("vendaOrcamento", { url: "/vendaOrcamento",…
-
1
votes1
answer1066
viewsFormat date in Angular for Java.util.Date
I have the following date generated in Angularjs: 2015-09-14T18:38:03.637Z when I try to give a POST the following error happens in the backend: Caused by: java.text.Parseexception: Unparseable…
-
1
votes1
answer716
viewsInclude angular.js using Maven in Java Spring project
I’m studying the Spring Framework with Maven, in the part of inserting dependencies I’m having a little difficulty when trying to insert the angular.js in the html of the page, in the pom.xml file,…
-
1
votes2
answers615
viewsError page in Angularjs
Well, I’m new to Angularjs. I have a project, a single page with routes configured with a controller. Views are loaded into the element of the index.html page. Inside the controller I am making an…
-
1
votes1
answer334
viewsPerform function in ng-Bank Angularjs
I am trying to set up a project where a client makes his registration to have access in the system, this registration can only be performed if the client’s CPF exists in the database. I have two…
-
1
votes2
answers178
viewsProblem at angular 1.5 running with minified files
I have a project with Angularjs 1.5 running on my machine debug mode, I went to generate a release so I ran Gulp to minify the files and started the problems I made several adjustments and now I…
angularjsasked 8 years, 5 months ago Diogo Soares 158 -
1
votes1
answer42
viewsUsing stateparams is not returning json to display in detail
Guys, I have the following problem: I have a json file, and I’m making his call like this: $http.get("../templates/teste.json").success(function (response) { $scope.x = response; }); On my route,…
-
1
votes1
answer944
viewsUpdate table after entering data in the Angularjs database
I have a modal with a form, fill that form and I click the save button and the data is saved in the database, but I have to give a F5 to update the table. How can I update the table after entering…
-
1
votes0
answers43
viewsCSS effects do not work after being imported into ng-view
Good morning. I have an html page with some animation effects. It works perfectly mind. However when importing the body from the page with ng-view (Angularjs) animations are no longer executed. If I…
angularjsasked 8 years, 5 months ago Antônio F. Fontoura Júnior 11 -
1
votes0
answers176
viewsProblem installing ngcordova on Ionic
I have a mobile app installed the ngcordova to use plugins from it but when I try to install it never adds me lib/ngCordova in the project folder, I would like to know how to correct it. To install…
-
1
votes2
answers1346
viewsEditing data with Angular and php
Does anyone know how to select a die and go to an editing screen, using html, Angularjs and php? Example: I have a list of contacts. I want to make a button that saves the id of this contact and…
-
1
votes1
answer169
viewsFunction does not run without setTimeout
I’m having a problem executing a function by clicking on icheck. In case, the function is only called if I give a setTimeout 1 millisecond, less than that or without timeout the function is not…
-
1
votes1
answer471
viewsVraptor + Angularjs authentication
I’m trying to authenticate users on my system, but I’m a bit lost. How do I return the logged user from the pro server front-end ? Currently I can check if the user exists in my database as follows:…
-
1
votes2
answers149
viewsHow to pass an Angular Js and Ionic dependency
I’m trying to pass a dependency on my module to use a Unique filter, I need to filter names in mine Views. What happens is this: when I do it this way, in my controller, without creating routes in…
-
1
votes1
answer151
viewsArray receiving two objects
I have two objects and wanted to create an array this way => [{"loj_codigo":2,"loj_fantasia":"teste 1"},{"loj_codigo":1,"loj_fantasia":"teste 2";}]} I am receiving the following objects =>…
-
1
votes1
answer207
viewsTop element animation - ngShow/ngHide
I wonder if anyone knows a method to animate the top element when using Angularjs ngShow/ngHide directives. Explaining better: I have an encapsulating element, and within it two elements, one below…
-
1
votes2
answers222
viewsHow to add a search bar to my home header (Ionic + Angularjs)
I intend to create a Serach Bar in my home I’m struggling someone can help me ? I will leave here my Controller and my Views a Home .…