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
answer12
viewsAngularjs conferring variable on a conditional can give problem without specifying?
Symbolic example: var num = undefined; // resultado será 3 var num = null; // resultado será 3 var num = 1; // resultado será 2 var num = 0; // resultado será 3 if (num) { resultado = 2; } else {…
angularjsasked 5 years, 4 months ago Ivan Amorim 1 -
0
votes2
answers68
viewsCreate an Angular filter with smart table
I’m starting now with Angular, and I don’t have much knowledge, I wonder if someone with more knowledge can help me make an Angular filter with Smart Table. Ex: I have a text box that will retrieve…
-
0
votes2
answers983
viewsHow to return all elements of the Angular array
why is returning only the last position of the array instead of all ??? showChildModal3(Candidato: Candidato) { this.CandidatoService.getCandidatoById(+Candidato.id) .subscribe( data => { for…
-
0
votes0
answers51
viewsError in JSON object in php
there was some modification when creating or picking up a JSON object in PHP? I have the following code: Angular: $scope.atualizaUsuario = function(usuario) { $window.localStorage.setItem("nome",…
-
0
votes1
answer337
viewsAngularjs value $Scope out of view
I’m having a doubt in the Angularjs that I’m not able to solve, my index.html is as follows: <div ng-show="error" class="alert alert-danger">{{error}}</div> <div ng-show="success"…
-
0
votes1
answer72
viewsAngular doubt - ngrx
Hello I was reading about Ngrx and I came across it: <div>Current Count: {{ count$ | async }}</div> What does this "|" mean?
-
0
votes1
answer168
viewsBower ENOGIT git is not installed or not in the PATH, how to resolve?
I am developing my first application in which I intend to use the Angularjs framework. To download the front-end dependencies I am using Bower, however when I write the command on CMD for me to do…
-
0
votes0
answers275
viewsinserting data into web api
I have a SPA application and it consumes a REST API made in ASP.NET Webapi. When trying to accomplish a Insert in the API, the following error is returned: Response for preflight has invalid HTTP…
-
0
votes1
answer36
viewsProblems with using Angularjs ui-route
I am using SPA utilizo Angularjs and UI-ROUTE I wish to click on a menu item to write the selected item in a bar that is in the header and not in the ui-view. I can assign the value to a…
angularjsasked 8 years, 5 months ago Marcos Silva 73 -
0
votes1
answer503
viewsExample of use - angle mask
I have these two fields, phone and zip code, where I would like to put mask, but as I started using angular a short time, I do not know, and I found nothing explanatory on the internet, that would…
-
0
votes0
answers44
viewsMake a select with options that will be saved and variables!
Good morning, I would like to create a code where I have a select with various options and when one of them is selected and the user gives Submit, the string of this option is passed to a variable,…
-
0
votes1
answer247
viewsExternal filter in ng-table
I’m new to using Angularjs and ng-table and I’m having a little problem. I want to learn how to create filters outside the generated table, but I couldn’t find anything on their website…
-
0
votes2
answers507
viewsCustom registration form with Angularjs + Meteor
i am learning recently Angularjs + Meteor, and am doing this tutorial: http://www.angular-meteor.com/tutorials/socially/angular1/user-accounts-authentication-and-permissions At this exact step, I’m…
-
0
votes1
answer19
viewsHow to search by parameters
I am trying to do a search for parameters, where the user informs 3 parameters and searches this, follows as I am trying to do FindByRdo(numero: number, ano: number, objeto: Objeto) { return…
-
0
votes2
answers580
viewsSend Angularjs object to C#API POST
I am not able to save the data registered in a form in the SQL Server database. The structure is as follows: The class: public partial class EMPRESAS_PARTICIPANTES { public int ID { get; set; }…
-
0
votes0
answers187
viewsHow to read an XML file after an Angular upload?
I am working with uploading XML in Angular 4. I would need to read the contents of this file and turn into a string. Could someone help me ? HTML <input id="uploadXml" type="file" #uploadXml…
-
0
votes0
answers12
viewsHow do I convert angular ng-repeat to Flask?
How can I do the same Angular ng-repeat function in Flask? <tbody ng-repeat="x in oCtrl.ListaProdutosAno | filter:{codigoProduto: produto_estatistica.codigoProduto} track by x.codigoProduto +…
-
0
votes0
answers16
viewsHow to create function to access the previous page
I’m new to the js angular framework and my javascript concepts are still not as good as I create a function for the ng-click event so that when I click the button, it goes back to the previous page?…
-
0
votes1
answer18
viewsApply javascript to ng-include
I’m using "ng-include" to add the menu on a page, it loads the menu, but the javascript stops working. I don’t have much knowledge in Angularjs. It’s like this in html: <script…
angularjsasked 3 years, 10 months ago Kim Hanneman 93 -
0
votes0
answers115
viewsDoubt with an error in Angular - angular.js:13550 Error: Could not resolve
I’m studying how to consume Webapi with Angular by this website. Everything was going well until I made this mistake: angular.js:13550 Error: Could not resolve 'stateOne' from state '' at…
angularjsasked 8 years, 4 months ago Iago Frota 405 -
0
votes0
answers374
viewsProblems with CORS in application using API with Slim framework and Angularjs
Good afternoon friends I’m having trouble solving a problem Requisição cross-origin bloqueada: A política de mesma origem (Same Origin Policy) impede a leitura do recurso remoto em…
-
0
votes0
answers9
viewsI need Help to lock the button with a function in Angular.Js
Good afternoon guys, so I need help to activate/deactivate a button in Angularjs, I’m learning this language now and I’m having some difficulties yet. I used "ngNotify" to display a message on the…
angularjsasked 3 years, 4 months ago Feh Soldati 1 -
0
votes0
answers44
viewsHow to check the change of an Array in JS
I have an object array and want to perform a function when it changes its value (adding or removing the items). I’m using the md-checkbox of Angularjs with the checklist-model to include values…
-
0
votes2
answers737
viewsAngular Controller does not render on my Index
I can’t render a script on my _Layout page. I put in _Layout, together with the Bundles declarations and Chrome debug, in the Network Tab comes with 304 status. I put it at the top of the…
-
0
votes1
answer399
viewsHow to recover an angled Base64 image on the server
I have an application where the user chooses an image and saves as Base64 in the bank. The problem is when I return the image it is not loaded correctly. Controller:…
angularjsasked 8 years, 4 months ago Al Unser Albuquerque 965 -
0
votes2
answers449
viewsphp cadastre with angular js
Hello! I have the following controller at the angle: myApp.controller('cadastrarClienteController', function($scope, $http){ $scope.cadastrarCliente = function () { $cliente = { CliNome:…
-
0
votes2
answers7717
viewsExecute a function when loading the page, Javascript and Angular
I am making a registration page, and I need to relate a collaborator to a company, but for that I need when the page load I already have a companies in a list> I’m already getting the companies…
-
0
votes1
answer238
viewsParallax Component - Materializecss and Angularjs
I am using in a page, Angularjs and materializecss. I am doing the angular SPA scheme, in my index.html I have a menu and a footer and among them have the tag <div ng-view></div> I use…
angularjs materialize single-page-application parallaxasked 8 years, 4 months ago William Manesco 70 -
0
votes1
answer226
viewsProblems with uib-tooltip-html Angularjs
I’m having a problem returning a value using the angular-ui-bootstrap. I have a function to return the result of each tooltip dynamically in a table the problem is that whenever I return the…
-
0
votes1
answer85
viewsTag SELECT is duplicating with Materializecss and Angularjs
Then, I have in a view a select, as the code below: <select ng-model="Dashboard.FiltroChamadas.grupoSelecionado"> <option value="" disabled selected>Selecione um grupo</option>…
-
0
votes2
answers481
viewsXmlhttprequest (Ionic + Laravel) error
Good morning! I am developing a hybrid application using Ionic, when I try to send a post to my server (Windows) error occurs below: Xmlhttprequest cannot load…
-
0
votes0
answers313
viewsTextarea Editable lines - Thymeleaf and Angularjs
I am building a basic document model, taking advantage of the same idea of colleague (Paulo Henrique), only that I enter the data by fields external to the form, in a previous moment of customer…
-
0
votes1
answer191
viewsTryout with Prior, how to catch an Md-button?
I am using Protractor to test a system made in Angularjs and Material, I am having problems with the Locator when I want to take a specific Md-button in a form and run the click(). The button hmtl…
-
0
votes2
answers916
viewsHide widget with Angularjs
Hello. I have a routine that checks the elements of a form-group and adds the class has error in the form-validate. Below var allElements = element.find("input"); for(var i = 0; i <…
angularjsasked 8 years, 4 months ago Edinho Rodrigues 384 -
0
votes1
answer526
viewsPick specific field in JSON and store in a variable in the Controller
I have the following code, and I would like the categories that are in the json array to come from an external JSON file, only I couldn’t just take the category names and do like this example:…
-
0
votes1
answer127
viewsOtherwise with redirectTo to another url that is not part of the Single page application
For example, on the routes below: app.config(function($routeProvider){ $routeProvider.when('/dashboard', { templateUrl: "../views/dashboard.html", controller : "dashboardCtrl" }).when('/cadastro', {…
-
0
votes0
answers42
views -
0
votes2
answers1320
viewsHow to load scripts within a partial in Angular.js SPA
Hello, I’m starting in Angular Js, and I’m doing a project in Single Page Application, in my index, I load some scripts and my ng-view, but in one of my partials, I need to load a script in it, it…
-
0
votes2
answers405
viewsAngular $routeProvider using <div ng-view></div>
Galley, I am following the book ng-book of angular, and to make a SPA, I am using the following structure: - app - controller controller.js - js main.js - node_modules (com os arquivos de jquery,…
-
0
votes1
answer49
viewsError while trying to connect application database also in browser
I’m trying to test the database sqlite of an app also in the browser, only using web sql, I got to search and test some things, but so far nothing worked. My file controller.js is like this and when…
-
0
votes1
answer117
viewsConfigure Kcfinder in Tinymce
Hello, I am using Tinymce as a text field and I need it to be possible to upload images on it, and for that I am using Kcfinder, only the problem is that when I click to upload images, it appears…
-
0
votes1
answer38
viewsSwitching from partial to script without reloading the Angular application
Hello, I was doing some tests. And in case I want to make a conditional for a single send button to a Partial passing a parameter, or not. And I made a button calling this function: Controller…
-
0
votes1
answer820
viewsIs there a difference in performance between ng-bind and {{ }} (Interpolation)?
I realized that in Angular we have the two ways to display values in the DOM. One is using the keys {{}}, and others, is using the attribute ng-bind. Keyed example: <div ng-repeat="moderador in…
angularjsasked 8 years, 3 months ago Wallace Maxters 102,340 -
0
votes0
answers229
viewsReload/Refresh template
Hello, I am loading my view with a timer and each time the timer runs it does not clean the screen but adds the same items again. I’ve tried cache=false, window.Reload, state.Reload, state.go, but…
-
0
votes1
answer325
viewsIs it a problem to insert another controller into Angularjs?
I have the following question: I am building a page, where I have a controller called PageController, responsible for rendering the menu and page title. However, within the div where I use…
-
0
votes1
answer48
viewsng-click or jquery alternative
I need, when clicking on the Thumb image, write the image clicked on the div . currentImage Script .directive('galeria',function() { return { templateUrl:'scripts/directives/galeria/galeria.html',…
-
0
votes1
answer103
viewsHow to add item in API
I’m doing a basic forum just for testing, I’m using the mongo and postman to add some things for testing. However, now, I want from the page, I send such data. Use of…
-
0
votes1
answer595
viewsKeep an angle combobox selected
I am using Angularjs to fill out the data of a form within a modal. have a function editarSolicitacao(solicitacao) which runs from the button click event. When the modal opens the field is selected…
angularjsasked 8 years, 3 months ago Miguel Batista 2,812 -
0
votes1
answer6265
viewsWhat is this net::ERR_NAME_NOT_RESOLVED error in php?
Hello, I am trying to pass parameters to a php file, email and password, for login use by the following url:"http://www.vigilantescomunitarios.com/php/[email protected]&sen=12345" and…
-
0
votes1
answer35
viewsproblem with Submit
I have the following code on my form: <div class="uk-grid"> <div class="uk-width-1-1"> <button type="submit" class="md-btn md-btn-primary" ng-submit="frm.$valid &&…