Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [angularjs]

Use for questions about AngularJS (1.x), the open-source JavaScript framework. Do NOT use this tag for Angular 2 or later versions; instead, use the [angular] tag.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Protractor test - Failed: javascript error: [$injector:modulerr]

I am trying to execute protractor test but without success. I get below error message. Any idea why I am getting this error? I have installed nodejs, npm and protractor correctly. C:\...
0
votes
0answers
5 views

How to append ellipse for the data dispalyed using ng-material-multilevel-menu

I am using ng-material-multilevel-menu for displaying the contents of the side menu as shown below Here for the item Compatibility with Installed CS license is truncated and shown as Compatibility ...
0
votes
0answers
10 views

Bootstrap Navbar Collapse Not Working After Resize (But Works in Plunker)

I am pulling my hair out over this... So I'm developing in Brackets loading an AngularJS page with Bootstrap 3.3.7... And the Navbar works if the page is loaded small, but if you resize the page the ...
0
votes
0answers
21 views

Protractor test - Cannot convert undefined or null to object

When I try to launch protractor test using following command, I get below error message. C:\protractor\test>protractor conf.js C:\Users\username\AppData\Roaming\npm\node_modules\protractor\...
0
votes
0answers
7 views

tinymce integrate with angularjs module

How this thing get done how to integrate tinymce to my project . tinymce works fine in outside of anularjs for me coming to here getting stopped me below is the tinymce angularjs code for ...
0
votes
0answers
6 views

Find the Quantity of a Property value from a filtered nested array

I would like to find the quantity of characters that are in the group Marvel or DC Comics http://plnkr.co/edit/8YbRTd?p=preview this Plunker works perfectly However my Firebase Data is in a ...
0
votes
1answer
19 views

nginx web app and api to work with aws load balancer and aws ssl certificate

We are using web app(angular) and api(node.js) running on nginx. I need to use the AWS Load balancer , domain name (route 53), SSL Certificate (ACM). I have obtained the SSL from ACM. I have ...
0
votes
0answers
19 views

How to pass through AngularJS Form Validation with selenium in python

I was using selenium with python to fill textarea in webpage. Now, web-page has input validation as You cannot click Submit button until the textarea has text in it. Problem is that I am sending text ...
0
votes
0answers
7 views

Angular Calendar get current week, previous weeks, and next weeks

I am trying to implement mattlewis92's angular calendar (https://github.com/mattlewis92/angular-calendar) in my angular application. I am trying to retrieve the current days in the week. eg: start ...
0
votes
0answers
16 views

How to call d3 pie chart on button click in angularjs?

I am trying to display pie chart using d3.js charts in angularjs . As far as the examples i have seen so far implements pie chart on load . But here i want to display pie chart based on the response ...
0
votes
0answers
7 views

AngularJS : Show more & Show less functionality with HTML OR with ng-bind-html & $sce.trustAsHtml()

I've ng-repeat on div which show contents. The content is sanitized using $sce.trustAsHtml() hence it shows links. I want to implement show more & show less feature on that data. I've tried using ...
0
votes
0answers
16 views

Dropdown list both left and right align

I am using select2 plugin for dropdown list on angularjs application. I want to show text both left and right. <select ng-model="selEmployee" id='selUser' name="selEmp" ng-disabled="currentmode ==...
0
votes
0answers
17 views

Popover have issues when created inside a modal page

I used following plunker code in my application(HTML & angularJS) for popover & it doesn't seem to work. Is there a problem in using popover in modal pages. I checked DOM & looks like ...
0
votes
0answers
22 views

Sensitivity of http.get to input variable

I have an API method in asp.net web API controller which is supposed to receive a guid and download the corresponding file [HttpGet] public HttpResponseMessage DownLoadFileFromFileInfo(Guid fileId) {...
0
votes
0answers
15 views

How to refer id used in templateURL(HTML file) in the ng view?

<head> <script> window.onload = function () { var chart = new CanvasJS.Chart("chartContainer", { animationEnabled: true, theme: "light2", title:{ text: "Simple Line ...
0
votes
0answers
22 views

Cannot set property $inject of function SomeController which has only a getter

I've faced with the issue when using babel-plugin-angularjs-annotate plugin v.0.10.0. I've received an error: Console Uncaught TypeError: Cannot set property $inject of function SomeController($...
-1
votes
0answers
9 views

Upload excel file content to mysql using Spring boot and UI

I'm trying to upload excel file content to mysql using Spring boot with the help of upload file UI. Need help with that.
0
votes
1answer
20 views

Want to change the format from datetime to date in AngularJS

This is how i am trying but the syntax is wrong $scope.A[index].mydatetime | date: 'd-MMM-y' ; but it happened inside : {{" mydatetime | date: 'd-MMM-y'"}}
0
votes
0answers
11 views

modules in angularjs 1.3 typescript project

I have found this code in an old angularjs project and I do not understand it export function aFilter() { return function(s: string) { // filter code; }; } export ...
0
votes
1answer
12 views

How to use default and a custom sort together in angularjs

I am currently using the on-click sort functionality on my table & is working fine. But now I also need to sort my table in descending order of dateCol on page load. So that, initially the table ...
-1
votes
3answers
44 views

How to change the value of the text or select a dropdown value by using document.getElementById(“id”)

how to select the option with the value we give using document.getElementById("id"): document.getElementById("dropdownlist").selectedValue="apple"; or change the text of a control with the help of ...
0
votes
1answer
19 views

How Can Access Camara And Mic Globally in Agora.io

I am using Angular 7 with Angora.Io, My problem is when I run my Angular project Locally then I successfully get access for my camera and microphone and when I try to run globally like "192.105.2.448" ...
0
votes
2answers
62 views

How to dynamically select the property by which my JSON object has to grouped by in Javascript

I am trying to dynamically change the value of property by which the JSON object has to be grouped by . for example if my search criteria is location i want to display work location of employee as key ...
0
votes
1answer
17 views

Bootstrap4 nav-tab changes page instead of chaging tab content

I'm trying to add a bootstrap nav-tab element to a page on my angular site. I just copied some example code from here https://getbootstrap.com/docs/4.0/components/navs/#javascript-behavior When I ...
0
votes
0answers
12 views

Angular & Webpack Production Build Requiring index.html in URL on GoDaddy

I am working to deploy my application to Go Daddy's servers. I have an Angular frontend (currently Angular 4) with Webpack (3.4.1), and a Java backend. Currently I am only able to get the project's ...
0
votes
0answers
6 views

Front-end for the static generators or full text search engine

Does Any good angular front-end available for the below static website generators? https://github.com/jvilk/BrowserFS https://github.com/Mrinaldo/Fully-frontend-search-engine https://github.com/...
0
votes
0answers
13 views

How can i restrict values that can go into a Kendo Grid column?

If I want to restrict then values that can be entered in the cell of a Kendo Grid using AngularJS, do I have to use a dropdown? Thanks
0
votes
0answers
20 views

Angular ng-options ONLY works when ng-repeat operates on same model

I am working on an ASP.Net MVC page that uses a dropdown which currently uses the ng-repeat tag. I'm working to solve the problem where the dropdown does not correctly select the current model value ...
0
votes
1answer
17 views

How to access CONSTANT value from different js file in AngularJS

constants.js file below 'use strict' angular.module('app').constant('CONSTANT' { "myValues": { "fruit": "apple", "car": "ford suv" } I would like to simply access "...
0
votes
1answer
18 views

TypeError: undefined is not a constructor in jasmine unit test with angularjs

I am having above error in my Jesmine tests. Code has a Controller which calls AppsService service to receive a promise response of array of apps followed by onLoad method - AppsService....
0
votes
0answers
19 views

Sending body fields to server while using angularjs library

My backend has been modified and now requires a field to be sent along with a file. Before it was enough to just upload the file. My frontend is using since before this angularjs library: https://...
0
votes
0answers
8 views

how to manage wrong default month name in jalali- moment calendar?

I am using moment jalali and some of the month name translate wrongly in source code of jalali moment for example The correct form is "Mordad" , but in source code it is "Amordaad" how I can handle ...
0
votes
0answers
13 views

Open file dialog while downloading Excel file

I want to open a file dialog whenever I download an Excel file using spring mvc,angularjs where user has option to download,save as using a different way. Can anyone please advise how to do it in ...
-1
votes
0answers
18 views

Is it just enough to include the twitter library on my website?

Is it just enough to include the twitter library on my website or should I include the twitter consumer key , if yes where do I need to add the keys ? (.netframework angular js)
0
votes
0answers
9 views

File control getting blank when we scroll (horizontal) in ui-grid

This is my grid Option, I browse some file in attachments controls when we use horizontal scroll then Attachment file uploads control getting a blank. $scope.gridOptions = { enableSorting: true, ...
0
votes
0answers
10 views

PM2 Console on production

I got this error "FATAL ERROR: NewSpace::Rebalance Allocation failed - JavaScript heap out of memory" on PM2 running console after 30 or 35 days, why this will come, and how to resolve permanently...
0
votes
0answers
12 views

How to inject the TokenId to server API call on page refresh?

How am I supposed to handle the user token injection into a server API call on page refresh in Angular JS? I'm setting User Authentication (email/password) with Firebase Authentication to ...
0
votes
0answers
34 views

How much does the scrollbar need to scroll if more fields appearing?

Sorry for the drawing, so bearing with me. Currently I have an angular app, and react app is embedded as shadow dom, each diagram represents the state of the app, by following the arrows Diagram 1 ...
0
votes
1answer
24 views

Codeigniter Post data using AngularJS - save in database

I am using Codeigniter and AngularJS. Can someone help me? I would like to save $scope.ListTabel to the database. It is possible for "FOR" to pass in the codeigniter controller - to be executed on ...
0
votes
0answers
11 views

Sorting columns with smart table

I am trying to sort columns by clicking on the header item using smart table. But it does not work for me. What am I doing wrong? This is my HTML: <div class="pane pane--table1" st-table="data....
0
votes
1answer
16 views

Google closure compiler build gives error Unhandled flag: outputManifest'

Trying to implement google closure compiler to existing angularjs project. When i build application i get error java.lang.RuntimeException: Unhandled flag: outputManifest. Here is package.json: "...
1
vote
0answers
26 views

AngularJS Expression breaks with StencilJS

I have a custom select web component created with StencilJS and I am using it in AngularJS like this: <my-select> <my-option ng-repeat="item in items"> {{item.value}} </my-...
-1
votes
0answers
22 views

How to get the code in angular js after getting the api access key token for twitter?

After getting the api keys for twitter, how do I integrate it on my website to track the visitors count?
0
votes
0answers
25 views

how do i put values from second ngrepeat into $filter

im new to angularJs, im trying to get values from second ngrepeat into $filter with no success this is the html : <div ng-repeat="user in users.results"> <div> <span ng-repeat="e ...
0
votes
0answers
13 views

How to save File Data In Angularjs and DJango [duplicate]

I'm new in django and i want to know that how to take file as a input(inside in html) and save the file data in filefield specified in models.py and perform post request(javascript and angular). here ...
0
votes
2answers
29 views

How to display Dynamic Object Arrays into chart using Anychart.js

What i am trying to do is i want to display a chart based on my dynamic data i used Angular ForEach to loop through all my objects array see my code below: var parse = JSON.parse(jsondata); angular....
0
votes
0answers
9 views

browser application mobile back camera not working

I am using angular js in my front end. I need to use my web mobile camera to take a photo and use into my application. But I can able to take a snapshot from my front camera, back is not working I ...
0
votes
1answer
20 views

$cookies.get shows undefined

i'm trying to save data in cookies, but the cookies module doesnt seems to work, the angular i'm working on is 1.7.8 i've added the ngcookies modules and tried different versions of angular var ...
0
votes
0answers
17 views

How to assign values in dictionary from form group through looping?

I am developing a mobile application that send a request to REST api, however, the data needed to pass must be in dictionary format. Thus, I came up with constructing an empty dictionary format like ...
0
votes
0answers
36 views

AngularJS Rebind Directive '='

I'm trying to create a series of reusable controls. I need an elegant solution to rebind the directive to a new reference. scope: { model:'=' } <my-directive data-model="vm.models.invoice">...