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
votes2
answers265
viewsCreate Directive Attribute for Date Month/Year in Angular JS
How to create a date formatting Month/A I developed as code below, and it is not going through the console menus, IE, is not entering the link: Note: there is no error in the console. <div…
-
0
votes2
answers661
viewsAngular/js select option
Guys I have an angle and an html: I have a id that is in a variable (input hidden). How can I compare the id of this select/option with the id what is in the contents of this variable? The list…
-
0
votes1
answer585
viewsAngular 4.html Component problem
I have a small problem, I started my studies in Angular, I’m still understanding the functioning of modules, components and services. But when I put an html structure in Component.html, it simply…
-
0
votes0
answers273
viewsHow to work with Angular Primeng Slidebar?
Look at the two components: Sidebar Menu - Panelmenu First I’ll show you how the application is behaving, then I’ll show you what I’m trying to implement. The system is behaving like this; The…
-
0
votes0
answers71
viewsHow to work with interchangeable menu?
I’m trying to implement an interchangeable menu, see below: When you click on the three chopsticks it opened a vertical menu on the right side of the screen: When you click on the three chopsticks,…
-
0
votes1
answer523
viewsAngular error message
i installed the bootstrap at the angle with this command: npm install bootstrap@next -save and then include the path in the file .angular-cli.json "styles": [ "styles.css",…
-
0
votes2
answers59
viewsDoubts how to create a layout for editing information
I am developing an internal tool to control travel expenses of employees, however I am with a great doubt. I will explain the steps I followed to the moment. --> first the person enters the…
-
0
votes0
answers46
viewsFiles giving error 404
My application is simple, I did with Angularjs, just to study, works quietly locally but when I go up to my server from Locaweb, the files keep returning 404, have some configuration that I need to…
-
0
votes0
answers59
viewsQuestions about installation modes in Angular
Let’s assume I want to install a specific version of bootstrap in my angular design, the command would be this: npm install [email protected] --save This command is required to be included in…
-
0
votes1
answer1194
viewsHow to access an image that went to my uploads folder via Fileupload
I have a form what makes uploads of images , when I upload , the path is saved in the database by the field path , I recover from the bench this image and play in a array image this.image = data;…
-
0
votes0
answers77
viewsCalling a page via ajax Angularjs
My code ajax: $scope.CarregaMenuPrincipal = function (data) { var req = $http({ method: 'POST', url: '/Home/Index',data:{usuario: data.usuario },}) .then(function (response) { response; }, function…
-
0
votes2
answers67
viewsAngular: Controller does not find Model
On my main page shows me the error: Uncaught ReferenceError: Insidetv is not defined, i.e., the Controller is not finding the file of Model. But if I put the two in the same file works perfectly. On…
-
0
votes1
answer163
viewsMount check box with values 1 and 0 angular
I have a screen that there is a check box.. let’s see; <div class="form-group col-md-9 pull-right"> <label>Ativo:</label> <label class="checkbox-inline"><input…
-
0
votes2
answers897
viewsDownload Zip Files via blob array
I have a rest in java where I return a byte[] of a ZIP file. If I access the URL of the API by the browser, the file is downloaded normally without error. But if I try to download the file through…
-
0
votes1
answer644
viewsAngularjs: Picking input value in keypress
I’m already detecting when the user presses enter in the input, but how can I capture the text he typed? HTML <div ng-app="Insidetv" ng-controller="ListaController"> @foreach($listas as…
-
0
votes2
answers34
viewsHow to capture the status rendering (pending) for svg not loaded on the screen?
I have an avatar that mounts with SVG files, the problem is that it gets disassembled before status 200. How could I capture the status (pending) for only after it load show the avatar? Example of…
-
0
votes1
answer253
viewsChart.js is not displayed on Android
App developed in Ionic. cli packages: (/usr/lib/node_modules) @ionic/cli-utils : 1.19.1 ionic (Ionic CLI) : 3.19.1 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts :…
-
0
votes0
answers36
viewsInsert in table - strange value
I am trying to insert a value into a table from a select option. html: <select class="form-control" name="chaveCadastro" ng-options="cadastro.cadastroId for cadastro in (cadastro | orderBy:'id' |…
-
0
votes1
answer128
viewsRemove login menu? (Angularjs and UI router)
Good afternoon, I am participating in a project and I am using Angularjs and UI-router, much of it is already done, but I do not know how to remove the login menu, I would like it to appear only…
-
0
votes1
answer128
viewsHow to call a C# service using Angularjs
Good afternoon, so I’m doubting how to call a service in C#, I’ve tried several ways but failed. (function () { 'use strict'; function Service($http, $q) { const url =…
-
0
votes1
answer33
viewsProblem with angular js inject
It’s been a while since I’ve been learning Angular and having some problems. I try to include a service (httpService), but an error occurs. My code: Controller.js: 'use strict'; var app =…
-
0
votes1
answer90
viewsHow to use Unload with angular JS?
Unload should be called when leaving the page and hit any url from another site. In an old version, without Angular JS, doing this, works normal, it calls the request, when I turn on the debug the…
-
0
votes0
answers263
viewsAngular forwarding NULL data
I already checked here on this link Request problem with jQuery ($. ajax) and Angular ($http) however I am not consequent sending in json format my data of a form in html , dry error Possibly…
-
0
votes0
answers36
viewsAdjust graphics at header ends
I need help adjusting two pie Chart charts at the left and right ends of a header. Every time I zoom in (Ctrl and +) they mismatch. I set the css to look adjusted, but as soon as I zoom in,…
-
0
votes1
answer199
viewsangular 2 - Problem when calling directive
Good afternoon, you guys.... angular I would like your help if possible. I’m having trouble using a directive. We created a directive in a directive directory, (app> Directive) but within my form…
-
0
votes1
answer320
viewsIonic / Onesignal - Error changing the default notification icon
I’ve been trying for some time to change the standard Onesignal notifications icon using Ionic, but so far, unsuccessful. I followed the suggested steps in the official Ionic documentation, created…
javascript angularjs ionic push-notification onesignalasked 6 years, 9 months ago Cleiton Pereira 1 -
0
votes1
answer110
viewsdifferent items for each ng repeat Angularjs
I have a contact form that is possible to add more than one contact, but it comes by an ng-repeat I would like to know how I can add several contacts in a new div equal to ng repeat first but…
-
0
votes1
answer230
viewsSelect2 database
I have a Select2 that is populated from the database of everything working, receives the data of the bank and etc. however if I want to edit it does not bring the saved option on the screen only on…
-
0
votes0
answers41
viewsError: in ng-options [orderby:notarray]
There’s an error in the console that I can’t figure out Error: [orderby:notarray] Expected array but Received The list is coming right on the combobox, but gives the error I mentioned. Follow HTML…
-
0
votes1
answer868
viewsRequest Application/PDF generating file with wrong information[Angularjs+Nodejs]
I have an Angularjs+Node(Express) application totally Restless. The back end only serves to validate requests and route to other applications, holders of business rules. At some point, my front…
-
0
votes1
answer354
viewsSolved - Angularjs + Pagseguro - The list does not update via callback
I’m trying to list the types of payments available in the Secure Pay Api. To do this I use a function js of the call pagseguro PagSeguroDirectPayment.getPaymentMethods() The problem is that in the…
-
0
votes1
answer115
viewsIonic 3 - Admob has Error when placing it in APP
When I put Admob in my Ionic application it looks like the picture below: What would be the mistake to n be showing the ads ?? Code I use: displayBanner() { if (this.platform.is('cordova')) { const…
-
0
votes1
answer72
viewsConvert value of a select options component to number
I have a component select and would like to convert the value for the format Number 'cause when I go save I need a value 2 and not like this "2" the ideal would be to convert all tag <option>…
-
0
votes0
answers321
viewsHow to use Ngrok correctly with Angular-cli?
Is there any right way to use Ngrok with Angular? I’m trying to tunnel to my application that runs on localhost, creating a random web (URL) to make available on the internet, so I can perform the…
-
0
votes1
answer652
viewsHow to use a Webhook in Angular?
I have never used any communication with Webhook, at the moment I am receiving communication from API Moip Signatures, when a new subscriber is registered I receive a JSON with the event and…
-
0
votes1
answer169
viewsConvert Blob to String in Anglican
Hello, I have a code in Angularjs but it only works when I am in the browser debug. $scope.upload=function(){ var newFiles = []; $scope.carregando = true; angular.forEach($scope.files, function…
-
0
votes1
answer451
viewsView Angular + Json Ionic 3
I’m trying to display the json of a search in my app,. here is in the app displaying on the console, but wanted to display in the app my html code <ion-header> <ion-navbar> <button…
-
0
votes1
answer296
viewsHow to pick up combobox value at Angular 1.x
I have a combobox in my view and want to take the value of it and print on the screen somewhere else, I am managing to print only the index of the selected item, will someone help me? HTML: <div…
angularjsasked 6 years, 8 months ago Gabriel Becher 193 -
0
votes1
answer37
viewsng-controller not found (not working properly)
I have a modal that has a "userCtrl" controller. I call all the scripts in the page loading (end of body), however, the modals, I load dynamically from the moment the user clicks the button, using…
-
0
votes1
answer555
viewsAssign value to a variable in a controller and do not modify the value of the $Scope variable
I wonder why when I assign the value to a variable within a controller coming from a $Scope variable and change the value of that variable, the value of the $Scope variable is also changed. For…
-
0
votes0
answers172
viewsControl sidebar Angularjs
Good morning guys. I’m new to the forum and the world of web programming. I took some courses of Angularjs I am developing my first application and a question arose as to the code I am using. I need…
-
0
votes1
answer76
viewsAngularjs Referenceerror: $locationProvider is not defined
I’m making the mistake of Referenceerror: $locationProvider is not defined. I’m using angular-ui-router. Can you help me? Obs: I removed the #. var app = angular.module("app", ['ui.router',…
angularjsasked 6 years, 7 months ago Andersson OS 107 -
0
votes1
answer33
viewsOpen google-map info-window with ng-map without alias in ng-controller
I’m using this library (ng-map) / github. Is giving template rejection error in my controller, how could it solve this? Error shown: Possibly unhandled rejection: info-window Working as a template…
-
0
votes1
answer841
viewsHow to read the result of a JSON array using Ionic 3?
I’m doing a GET for login, but I need to get the user ID for the session as well: submit(){ var link = 'http://localhost:1337/usuario?email='+ this.usuario.email + '&senha='+ this.usuario.senha;…
-
0
votes1
answer56
viewsAngular Directives - ng-repeat
I have a project with C# Web and define that would use Angularjs, to recover the data from the Database. The query is made in the database normally the object is recovered in the javascript of the…
-
0
votes1
answer155
viewsHow to remove#from Angularjs URL
The URL of my application is like this 'http://localhost/ssga/#/login'. I’m trying to get '#' out of the URL, I’ve tried several ways but I’m not getting it. I have the following code. config.js:…
-
0
votes1
answer31
views*ngFor client side
I’m implementing a crud where I’m using the ngFor to iterate a list. But I don’t know how to do it on the client side. I think this will only be possible by creating a component in my main.js . But…
-
0
votes0
answers18
viewsng-sortable with bi-directional array
need to traverse a array of array and create separate lists using ng-sortable pro user can change data positions. Array() $scope.teste = [{'julio' : 16, 'emerson' : 14, 'aspas' : 13}, {'fernando' :…
-
0
votes1
answer59
viewsProblems with required no select in Angularjs
Staff I have the following code: <div class="form-group col-lg-6 col-xs-12 " style=" margin-bottom: 0px;"> <label style="padding-top: 4px;margin-bottom: 3px;">Grupo</label>…
-
0
votes1
answer130
viewsProblem when publishing site in iis done in Angularjs
I’m trying to publish a site in Angularjs in iis but after the publication, when I access it, it returns me on the console the following error : In development this error does not occur... My…