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
answer29
viewsDoubt with ng-repeat Angularjs
I have an array of objects, which within it has another array of objects. Follows:` $scope.menu = [{ titulo: 'Comercial', submenus: [{ nome: 'Clientes', url: 'url/clientes' },{ nome: 'Proposta',…
-
0
votes1
answer30
viewsCluster Problems - WEB Development
I am learning and developing a web report that should be grouped in order of production, but I have the field "Resource Consumed" that prevents me this grouping and repeats the production orders: […
-
0
votes1
answer522
viewsHow to dropdown menu in Angular with Materialize CSS?
I was doing a small project with Angular (V8.2.5) and Materialize (materialize-css v1.0.0), and decided at a certain point to insert a dropdown menu into a header component. Following the…
-
0
votes1
answer433
viewsProblems to pick up input value in modal Angularjs
I’m trying to get the input information and pass it to my controller scope but something is wrong and I couldn’t identify what it might be if someone could help thank you <section…
-
0
votes1
answer43
viewsCapture Touchevent from the device to use it on the screen
I have the following Javascript code, but it does not capture touch commands, anyone knows why? If I’m using some incorrect syntax or something? private capturarEventoTouch(componente:…
-
0
votes1
answer31
viewsOpen DIST Urls
I’m having a problem when I build the project with Electron to call an UPDATE screen of the project in Angular since dist do has index.html, in the development mode managed to call quiet.…
-
0
votes1
answer1281
viewsFormat date in Angular?
I am developing a form in which birth date is required: <div class="form-group"> <label for="name">Data Nascimento</label> <input type="text" placeholder="Insira Data"…
-
0
votes1
answer127
viewsValidation of <input type="text" required name="name" ng-model="warning.name" />
Honestly, it’s been 3 days that I’m trying to validate an input, the business theoretically seems simple, but in practice is not validating anything. The situation is as follows: This is a part of…
-
0
votes1
answer121
viewsMultiselect with search filter
I have a problem where I have a table that has 12,000 type records and I need to do a multi-select where the options appear according to the multiselect search filter. The intention is to facilitate…
-
0
votes0
answers510
viewsOverflow in Material Table
Good morning, I have a table with material table and I need that when the column data exceeds its size, it generates a scroll with overflow. It’s been a while since I’ve been looking and trying and…
-
0
votes1
answer780
viewsPick material table value with angular
Good afternoon, I’m trying to get the value of a selected line from a table(Material Table when you click on a button to edit. I’m researching and I couldn’t find how to capture this, I did…
angularjsasked 4 years, 10 months ago user33105 -
0
votes1
answer327
viewsProblems with angular routes
I’m making an application using angular with/cli, but I find myself in a problem, I finished my home screen in app.Component and I want to redirect to the login screen. But I find where the…
-
0
votes1
answer23
viewsAngularjs + Requirejs + Ngnestable
Talk guys, all right? So I’m working with Requirejs along with Angularjs, today I needed to work with an Ngnestable lib kamilkp/ng-nestable But when I try to load the directive into my app as…
-
0
votes1
answer34
viewsAngularjs / Ionic "Uncaught Typeerror: angular.Moule is not a Function"
I am starting with Ionic / Angularjs and am creating a function to display an alert, in order to check if the "environment" is correct. However, when starting the APP, I check the console that is…
-
0
votes1
answer3239
viewsERROR Nullinjectorerror: R3injectorerror(Appmodule)[ Vendacomponent -> Vendacomponent]No Provider for Vendacomponent!
I am creating a page for sale and when I click to add product is to open a screen with registered products. In the tutorial I was following he added in the constructor a class that has the array…
-
0
votes1
answer47
viewsAdd an object to a arrey
I’m trying to concatenate several objects so that they form a single arrey in my angular design. I’ll show you some code selectFedd(user,feed){ const key = user[0].userQueEuSigo feed.forEach(element…
-
0
votes1
answer37
viewsHow to unify regions with Angularjs no ngrepeat repeating records from a given field
The back-end returns me a json with the records I need to show in the view. A "contract" can have more than one "demand" and when this occurs, it is repeated (in the database by another application)…
-
0
votes1
answer53
viewsPreloader with static delay in JS function
Fala Galera! I can’t seem to get my preloader function correctly, because even declaring in the function the delay via setTimeout is not executed. At the same time, my fadeOut is not respecting the…
-
0
votes2
answers130
viewsWhat is the best way to capture screen resizing in real time?
There is a better way to get real-time resizing of the screen? I need to know if it’s mobile or desktop, as I resize the screen, because the way it is is not 100% effective... (I’ve tried with…
-
0
votes1
answer39
viewsSELECT HTML does not update after receiving data (Angularjs)
I have a select HTML in my project and use Angularjs <div class="form-group col-sm-3"> <label>Natureza Operação:</label> <select…
angularjsasked 4 years, 3 months ago Data Atual 11 -
0
votes2
answers167
viewsPass value to array - angular
I have this formGroup: this.formGroup = this.formBuilder.group({ id: [null], code: [null, Validators.required], description: [null], percent: [null, Validators.required], dueDate: [null,…
-
0
votes2
answers65
viewsHow to convert a separate string into comma and letter "and" at the end to an array from the existing numbers?
How could I extract from a string like this: var texto = '4°, 5° e 6° ano'; A result like this: var array = [ 4, 5, 6 ]; Or even better this way: var array = [ '4° ano', '5° ano', '6° ano' ]; I…
-
0
votes0
answers14
viewsReload Node_modules at Angular
I have a problem loading a JS module that I created for my Angular project, which in this case is a horizontal Timeline. The interesting thing is that if I point out the application via app-routing…
-
0
votes1
answer237
viewsHow to save checkbox status within an angular dropdown?
I’m using a department object to display some checkboxes within a dropdown. When I click on the dropdown, it loads this object and shows the checkboxes. The problem is that I don’t know how to store…
-
0
votes0
answers48
viewsAngular - Form control does not identify field within an object I refer to
How do I make the form control name identify a field that is within a model I refer to? I’m having this error: Cannot find control with name: 'dtInicio' i have this field in the formcontrol…
-
0
votes0
answers23
viewsDelete function in Angularjs
I have the function of adding a theme, and it is working perfectly, however the delete function the theme is not catching. Exclusion function: function _inativarTema(tema) {…
angularjsasked 4 years, 1 month ago lucas-eugenio1990 1 -
0
votes0
answers68
viewsAngularjs compiler does not work with ng-click
I am generating a dynamic div as given below: 0: {id: 19, descricao: "CC 1", centro_custo_pai: 0, ordem_codigo: "", tipo: "Sintético"} 1: {id: 20, descricao: "Filho 1 CC 1", centro_custo_pai: 19,…
-
0
votes0
answers30
viewsSearch only when you click the button
I’m trying to make an advanced search system with Angularjs, but I have a problem when finishing the search. The code is this: <div ng-init="friends = [{name:'John', phone:'555-1276'},…
-
0
votes0
answers23
viewsBrowsing history stuck in loop
I have two links, one is intro and the other reading: /system/intro/1373/ninth-ninth (Introduction booklet) /system/reading/1373/ninth-ninth-ninth (Reading booklet) Navigation would be in this…
-
0
votes2
answers52
viewsHow to remove a style font from a string using DOM manipulation?
I’m getting the following HTML from an API: <body> <div class="container"> <style> .g-aiPstyle0 { font-family: 'Sentinel SSm A', 'Sentinel SSm B', serif; font-size: 16px;…
-
0
votes0
answers70
viewsHow to implement a Swipe event for this carousel?
I’m using that lib: angular-ui-Carousel This plugin has a compiled template, so it does not allow you to use ng-if in the scope, use only ng-show / ng-Hide. It keeps as a rule the key "item" to pick…
-
0
votes1
answer28
viewsError while listing data in Angularjs
Hello! I am listing data and at the same time is pointing me error, but I do not know how to correct. The data being listed comes like this: Follows my code <div id="inputGrupo"> <select…
-
0
votes0
answers22
viewsUpdate of JS global variables
I have the following function: async function openModal() { // função chamada por um botão buscarPessoas(); $('#Mymodal').modal({ backdrop: "static", keyboard: false }) } async function…
-
0
votes0
answers19
viewsHelp Test Controller Angularjs and Jasmine
Good morning guys, I need a help to do the unit test of a controller with Jasmine, my problem is that I need to cover the methods of this controller and I am not able to do the right way to get…
-
0
votes0
answers29
viewsPutting fixed items on a list
Could someone help me? I have the following problem. I have to put two fixed items in a list, I’ve tried to use the position Fixed and Sticky but it didn’t work. I’ll leave the code below. I need to…
-
0
votes1
answer145
viewsGenerate PDF and attach to send email c#
Good afternoon guys, I have a modal, where the user can send an email, in this modal, I loaded a HTML, so that I can generate the PDF and attach to send in the email. But I’ve seen several articles…
-
0
votes1
answer154
views -
0
votes0
answers18
viewsCarousel bootstrap does not work data-touch
I used the bootstrap Carousel to display the images from a list of products. I use Angularjs to retrieve the list from the database. I make use of ng-repeat to assemble the page with the product…
-
0
votes1
answer58
viewsBehaviorsubject does not accept initial value equal to null
I have the following service, however, it is not accepting that I set it to null start pro Subject, keeps returning the error: Argument of type 'null' is not assignable to parameter of type…
-
0
votes1
answer62
viewsHiding another component element in Angular
Good evening person, I’m on a project where I wanted to add that button that hides and shows some information. But the tricky thing is that this button is in one component and the information to be…
-
0
votes0
answers14
viewsHow to start focusing on the first ng-repeat item
I have a ng-repeat and I’d like it to just start with auto focus on the first item. I just wanted the focus to start on the first item, after that I want it to work normally: As I click on the other…
-
0
votes0
answers25
viewsWhy is a POST request redirected to localhost using Angularjs and apache2?
I am making a POST request to use an authentication API. The sample code works perfectly on the original server in this documentation Follow the code used: <!DOCTYPE html> <html>…
angularjsasked 3 years, 8 months ago Paulo Sérgio Duff 1,201 -
0
votes0
answers33
viewsHow to create page numbering using HTML print
I need to print a document that is generated dynamically, with a list of tables that contains some lists of elements. Some of these lists may have literally multiple pages, other lists may have only…
-
0
votes0
answers20
viewsng-model inside an ng-repeat
I tested several answers I found here, but nothing solved. Each dataSample.name generates a line, with a SELECT with other options: Example: dataSample exame sangue ------- select -> tipo_de_tubo…
-
-1
votes2
answers266
viewsAngularjs directives and compatibility
I have the following doubts regarding AngularJS The directives, I am obliged to create them if I want to use a certain plugin? When it’s right to create them? What about compatibility with other…
-
-1
votes1
answer194
viewsError Angularjs
Hello, I am applying the following function in my Angularjs controller: $scope.cancelChanges = function() { $scope.name = $scope.namebackup; $scope.$apply(); }; However, when running $apply(), it…
-
-1
votes1
answer661
viewsCreate menu of a JSON file using Angularjs
I have a JSON file with the following extrusion: "[{\"Menu\":\"General/Register/User\"}, {\"Menu\":\"App/MultiExport/Parameter\"}, {\"Menu\":\"App/MultiExport/CreateFile\"},…
-
-1
votes1
answer878
viewsCreate advanced route in Angular.js
I’m trying to get my router, work a little differently. Today he is like this, for example: $routeProvider. when('/cliente', { templateUrl: '/cliente', }). when('/login', { templateUrl:…
-
-1
votes3
answers763
viewsConfigure angular with php server
I need to configure the angular to send data to php? I noticed in the file: C: wamp www angular bower_components angular.js has server settings, methods, etc.
-
-1
votes2
answers320
viewsPush Notification IONIC
I’m doing a Mobile project in Angular/Cordova/IONIC, but I’m in the phase of push notification, since he’s a project apart. I tested several tutorials on the web, even the own IONIC , but it doesn’t…