AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Whatever(MV*) capability and reduce the amount of JavaScript needed to make web applications functional. These types of apps are also frequently known as Single-Page Applications. The ...

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

Call angular function from angualr grid column defination

I am working on angularJs application where I need to call angular function from hyperlink click. here is my code vm.gridOptions = { data: [], enableHorizontalScrollbar: 0, ...
1
vote
1answer
21 views

Parse a floated number with parseFloat()

Hi I've got follow code: keys = [ { label: '1', key: '1' }, { label: '2', key: '2' }, { label: '3', key: '3' }, { label: '4', key: '4' }, { label: '5', key: '5' }, { label: '6'...
0
votes
0answers
4 views

Unable to enter Unicode data, MySql, Express, M*EAN

I can insert english data no problem, but when I inserted Khmer Language, this error logs appears: info: Session: { id: 1, username: john } verbose: Executing (default): INSERT INTO `Articles` (`id`,`...
-1
votes
1answer
9 views

get the expression value in ng-model

My code is <input type="text" class="form-control" name="tot" ng-model="myModel.tot" ng-init="myModel.tot = {{myModel.date1 | amDifference : myModel.date2 :'years'}} years" required="required"...
0
votes
0answers
3 views

AngularJS not working with PHP Slim

I have simple page using AngularJS, it loads some data, fills select boxes and should react on choosing values in these select boxes. It works perfectly with direct link: http://warcry.ru/codiad/...
0
votes
1answer
7 views

Angular: What is the better way to optimize speed (ng-directives or $watch)?

I have a several input fields and I have to do different calculating manipulations. I'm wondering what is the better way to implement this using $watch or standard angular directives. Example: $...
0
votes
0answers
5 views

Column Search in ag-grid

Following search for ag-grid is possible which i'm aware of. I need to have filter for each column, and the filters needs to be appear on the first row of the table as follows. Which is possible in ...
2
votes
0answers
9 views

npm modules wont get installed

I was trying to install dependencies which resulted in this warning : npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN ...
0
votes
2answers
12 views

AngularJS - updating directive's view after broadcasting event

In my angular application (using ES6) I need to make an ajax call after some custom event is fired from other directive with the code below: class GridController { constructor($scope, $rootScope, ...
0
votes
2answers
20 views

Populate a table dynamically in Angular

I am new to Angular. I have created an app that, given the click of a button, should trigger a call that gets a set of json objects and populate a specific table. In the following controller code I ...
0
votes
0answers
3 views

Carousel or Slider with md-card inside Angular Material

I want to build a carousel/slider with md-card inside, not an image or video. The md-card can have an image, video inside it though. The best example I have come across is Google's Snapping Carousel ...
0
votes
0answers
15 views

How to use two ng-repeats in one table row?

I am struggling with some refactoring of a grid to a table. In the current grid I will have two ng-repeats to load the correct data from a controller. See below: <div class="container-fluid"> ...
0
votes
0answers
13 views

Escape ':' in routeProvider in AngularJs

My links are like http://localhost/abc/def/index/sort:views/direction:desc/page:5 I want to escape the ":" such that the routing will be like .when('/abc/def/index/sort:view/direction:desc/page::...
0
votes
0answers
8 views

How to send data to UI Bootstrap Modal window $scope?

I'm trying open modal window, send data from the SQL query there and change form's values, but it doesn't work. I think I should send it to modal scope someway, but I have no idea how to do that. js ...
-1
votes
1answer
10 views

Angular 2 Application with Spring Security and fetching data from Spring REST Service

I am working on an application architecture which will have independent UI Layer(HTML5 and Angular2) and Service Layer(Spring Boot Project) . Both will be hosted on independent servers. The UI layer ...
0
votes
0answers
28 views

AngularJS - Animating ng-repeat enter one by one

I use angular and angilar-animate to animate enter of ng-repeats. Thats my html <div class="container" ng-controller="chatController"> <ul ng-repeat="module in CurrentModules" class=...
1
vote
0answers
13 views

Uri Optional Parameter in Angular js

I am not able to route to this url and also not able to find the reason why it's not working .state('cities', { url: '/cities/?{couponCode}', templateUrl: '/scripts/app/...
1
vote
2answers
28 views

issue:comparing and object with array of objects

I have a scenario where i need to compare object property called 'name' with array of strings with same name and get the length of the compared value based on name i don't understand what i need to ...
3
votes
1answer
30 views

How to bind the tag p in template?

Does not work rendering the tag p. In the doc "5 Min Quickstart" from official documentation: ... template: ` <div> <ul> <li>1</li> ...
2
votes
0answers
14 views

Shopify Buy SDK getElementById().onClick functions not getting products properly

SHOPIFY, I must say, your sdk support is lacking. I'm a bit of a noob but I know enough about js. Not enough for this though, the shopify but sdk support page tells me to use things like var ...
1
vote
0answers
19 views

angular2 obj:boolean not working

for some reason my boolean doesn't seems to be setting to true, it worked in my previous code. Two codes are basically identical therefore the *ngIf should turn to true once the if() statement is met, ...
1
vote
0answers
17 views

Can I render a component in client site when use angular 2 server side rendering

Because I get error with "Call to Node module failed with error: ReferenceError: window is not defined". So I want one of my components render in client site. Is it possible? I 'm use "aspnetcore-spa ...
1
vote
0answers
28 views

$http.post() does not work - (AngularJS)

I am trying to create a form with a dropdown input field and a submit button in AngularJS. Everything works fine except the output is empty xD. I am using <script src="https://ajax.googleapis.com/...
1
vote
1answer
17 views

Select/Deselect checkbox element AngularJS

I have modal with a list of items that can be selected using a checkbox. Now what I want to do is to be able to also deselect an element, such that when I deselect that element it gets removed from ...
1
vote
1answer
14 views

Angular - how to link from one page to another page anchor in ionic

I am developing an ionic app. Which has a listing of articles on my home page, and each article has a comment icon which should serve as a link to comment section in the article page. How can I link ...
2
votes
0answers
17 views

Angular-material-data-table doesn't work

I'm doing a web app and I'm using angular-data-table to display data in infinite scroll. Now, for testing, I'm using a very little table (height: 150px), and I want to retrieve 4 items each time the ...
2
votes
0answers
14 views

Handling selected active tab from navigation bar and view calendar on click using angularjs

<p ng-show="active">Month Selected: <b>{{active}}</b></p> I want to show calendar on click of any menu tab in the centre of my page. How to add functionality on the active ...
1
vote
1answer
23 views

angularjs : ng-view encoding issue

I have an issue with my web application. I'm using AngularJs v1. When I'm wrinting In my index.html I have : <meta charset="utf-8" /> [...] <button class="btn btn-success">Enregister ...
1
vote
1answer
13 views

Can't type in input type text within <a> tag in Edge Browser?

1. <input type="text"/> 2. <a><input type="text"/></a> when i see it in browser, first text box working fine (In all browser including Edge) but i can't type anything in ...
1
vote
0answers
14 views

Angularjs http post Multiple response

I'm using angularjs and asp.net mvc as backend. Im returning the file to client side i set responseType: "arraybuffer" in $http.post it work perfectly. Now along with that file i need to response with ...
1
vote
1answer
14 views

Delete AngularUI Accordion on ng-repeat

So I'm trying to add a delete function to my ng-repeating accordion. The button is displayed and the function is set up, but when the delete button is pressed the page reloads almost and then ...
-2
votes
0answers
16 views

Remove automatic creation of <body> and <html> tag by javascript getElementbyID for loading a template

I'm doing an angular project, and am trying to load html templates into my code. I'm therefore using getElementByID, but when I inspect my console, there is a second body and html tag which is ...
0
votes
1answer
21 views

Reusing controller function + extending it

I have a page that consists of several panels that are very similar in their structure. They use one controller each. But due to their similarity i reuse the controller function like so: function ...
1
vote
0answers
19 views

Is there a way to get around cors not enable server?

Is there a way to download an image into the browser. And then use that data to draw an image using canvas? I saw a lot of post about XHR request and stuff. But I am new. So I don't have much ...
0
votes
0answers
2 views

webpack config for js with ng-annotate-loader & babel-loader

I have tried 2 ways to use ng-annotate and babel loaders same time for my *.js files. { //this worked test: /\.js?$/, loader: 'ng-annotate!babel?presets[]=es2015' } { // this broke down ...
0
votes
0answers
3 views

latitude and longitude in $cordovaGeolocation returning undefined

right now am building an ionic app to get user location and launch them to a particular place an event we be held, but first, i save the user latitude and longitude to firebase and then when the ...
0
votes
0answers
12 views

Donut chart with single element data representation

I have a donut chart with only one element data representation in that , i want to display the student marks progress of one subject in that .if the total marks are 40 fixed ,if student secured 20 ...
0
votes
1answer
14 views

Gradle for AngularJS Application

I´m pretty new to gradle and currently there is question that bugs me. The situation appears as follows: Based on a bower technology stack I implemented an Angular App. The app as it is doesn't ...
0
votes
0answers
7 views

how to set resolve signature in IDialogOptions using typescript in $mddialog service of angular material

currently the IDialogOptions resolve signature is resolve? : ng.IPromise<any> when according to the documentation it can also accept functions that return a promise so i have changed it to ...
0
votes
0answers
9 views

Pass variable into directives on canvas

i want to draw an image in e canvas. I try to make a directive; under my code.. I have two canvas on my application. When i invoke this directive the image parameter is undefined. Plaase can anybody ...
0
votes
0answers
5 views

Avoid reopening of websocket when view change AngularJS

I'm making a AngularJS application that gets it's data through a websocket connection. Every request gets a new handle starting with handle -1 (open connection). Every view in the AngularJS app ...
0
votes
2answers
40 views

Why module 'ui.bootstrap' is not available?

I am trying this simple tutorial to try UI Bootstrap: https://scotch.io/tutorials/how-to-correctly-use-bootstrapjs-and-angularjs-together But I am running into two problems. SyntaxError: ...
0
votes
0answers
3 views

AngularJS - App Engine Set Content Disposition during Upload

How to set Content-Disposition to attachment with a filename during Http upload? GAE console gives an option to change the metadata manually. It would be better if that can be achieved during upload. ...
0
votes
0answers
5 views

Google Place Autocomplete: get colloquial_area for specific location

I'm using Google Autocomplete service to get metadata information about specific location; https://developers.google.com/places/web-service/autocomplete For example, when search for [Palo Alto, CA, ...
0
votes
0answers
13 views

How to assign value dynamically to attributes of Src script tag in angularjs

In ASPX page we can write like this <script id="my_plugin" type="text/javascript" data-encoding="jsonb" data-model="<%= myobj.ModelCode %>" data-object="<%= myobj.GetObject() %>" src="...
0
votes
0answers
9 views

WebUI Running HTTPS(443) and REST API query on HTTP, Can it work?

We have pretty much a medium sized Web application running tomcat and front end (internet) has apache with mod proxy to it. Web UI makes a call to REST API layer which is on another box/vm with ...
0
votes
1answer
16 views

How to add progress bar on AngularJS download?

HTML code: <form id="pdfForm" class="display-inline" method="POST" action="{{document.PdfActionUrl}}"> <button uib-tooltip="Download PDF" type="submit" ng-disabled="document.CaseStudies....
0
votes
2answers
15 views

Download the byte array as a original file in AngularJS from server

I have the below requirement, Java server will send the below details by reading the file from server (it can be pdf, doc or image) Java code: public static byte[] downloadFileAsStream(String ...
3
votes
2answers
23 views

AngularJS + ServiceStack + Node.js as a proxxy?

I have created an application in angularjs. The server side is covered by servicestack, I'd like to process a json file that is provided by the servicestack application. To do it I use following code ...
0
votes
0answers
11 views

Populate nr-src with a redirected (authenticated) URL

I have some trouble trying to load data from an Azure authenticated webservice. I have configured Adal / Adal-Angular to work with the authentication. I can log in, log out as a user, access pages ...