AngularJS (a.k.a. AngularJS 1) 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 applications are also frequently known as ...

learn more… | top users | synonyms (2) | angularjs jobs

0
votes
0answers
2 views

Script files does not load in angularjs-web api application

I have built and application in angularjs (using angular routing feature) which calls web api services for CRUD operations. Everything works fine when i run the application from visual studio. When I ...
0
votes
0answers
8 views

Highcharts error 13 in dynamic id

I have a DIV with id defined in a variable, in this DIV should be loaded a Highcharts graphic, however, when I define a variable ID it does not load but when I put a fixed ID it loads, when it does ...
0
votes
0answers
5 views

FileSaver.js saveAs(Xlsx)

I am using filesaver.js to export my div (with multiple tables) to excel, I am able to export as XLS using below code var blob = new Blob([document.getElementById('exportable').innerHTML], { ...
-4
votes
0answers
14 views

ng-repeat in array nested in AngularJS

you can help me please. i do not know how to make angular ng-repeat with this kind of array. var obj = [{ "idmodulo":"1", "descripcion":"PRESTAMOS", "hijos":[ ...
0
votes
0answers
12 views

how correctly set up checklist-model directive in my angular js app?

I'm a noob with node.js/grunt world, so i am sorry if the question is pretty dumb... I have an angular.js project that works with yeoman/grunt, now what i want to do is to include a directive, ...
0
votes
1answer
12 views

Switch between displayed data

I've started looking at AngularJS a few hours ago so I'm settling into how things work. As part of a basic example, I'm trying to figure out how I switch between displayed data in a table. At the ...
0
votes
0answers
16 views

scope passed to service is not updating the view

This is an app that I took over from another developer. I have a controller that calls a function inside a service and it passes in the $scope of the controller as a parameter. THis exact same thing ...
0
votes
0answers
8 views

AngularJs-Google-Maps Markers not displaying

I'm confused because the AngularJs and HTML code is near exact to a project where this works, but this is also my first time using LAMP instead of MEAN/MERN so maybe it's something to do with that? ...
0
votes
2answers
10 views

Ionic Factory Returning Empty Object

I might be trying out something that's not supposed. Still have not wrapped my head around the whole "Singleton" thing. The thing is, I have a factory that is support to get some json data from an ...
0
votes
1answer
29 views

How to create list with recursive function

This is the sample data (array of MenuModel); this.menuItems = [ {Id:1, itemName:'test-item1'}, {Id:2, itemName:'test-item2'}, {Id:3, itemName:'test-item3'}, {Id:4, itemName:'test-...
0
votes
0answers
9 views

Angular 2 BrowserXhr DI issue while tracking file upload progress

I need to show a progress-bar when uploading files. After much plagiarising the net, started with the following: tl;dr ProgressSerice is not being injected in CustomBrowserXhr. The long version: ...
0
votes
1answer
15 views

How to fix: Error in app/app.component.html:15:1 caused by: No provider for RouterOutletMap

I found these answers here, but they did not help me. I guess Angular 2 is still in flux? No provider for RouterOutletMap Getting Angular2 error 'No provider for Router! (RouterOutlet -> ...
0
votes
0answers
13 views

$http get request always returns 401 unauthorized - doesnt send auth header

im using the following controller in angularjs app.controller('download-posts-controller', function($scope, $http) { $http.get('http://localhost:8090/posts', { headers: { ...
0
votes
0answers
10 views

How to alternate ng-class?

I am integrating a chat in my ionic app and I would like to display the messages following their message.userId in the database. I have two persons refered as myId (me) and otherId (the other person)....
0
votes
0answers
9 views

Angular2 404 Not Found for URL: http://localhost/WebApi2/api/hero

I have tried the http Angular 2 and TypeScript example on https://angular.io/docs/ts/latest/tutorial/toh-pt6.html it works. https://embed.plnkr.co/?show=preview Updated code to use external Web Api ...
0
votes
1answer
26 views

$http Service Not Invoking and No Error in Browser

I am new to AngularJS and trying to write simple POC application, I am trying to load messages for a user but the $http service is not invoking even the controller is not loading. No errors in console....
0
votes
2answers
20 views

Angularjs Updated table after clicking a link with parameters

I am making an Single Page Application My config: var app = angular.module('menuCardMaker', ['ngRoute']); app.config(function ($routeProvider, $locationProvider) { $routeProvider .when('/...
-2
votes
0answers
9 views

How to implement Website Analytics using Flask(python)/ Angularjs?

I started planning to implement an 'website analytics system' for our Angularjs, Flask(python Framework) based web-reporting portal which is used to view the invoice reports. When a user visits a ...
0
votes
1answer
11 views

Module 'mainApp' is not available

This is my HTML: <!DOCTYPE html> <html ng-app="mainApp"> <head> <title></title> <link href="/Content/ui-grid.css" rel="stylesheet"/> </head> <body ...
0
votes
1answer
27 views

adding @ symbol in angular expression

My API is returning something like @something : 'value' when I add <li class="air-con" ng-if="{{c.Somthing['@something']}}">Air Con</li> I get a $parse:syntax error, it seems like ...
0
votes
1answer
11 views

md-select and md-option with if

Hello I am trying get value from md-option for example: <md-select name="state" ng-model="currentUser.state" ng-change="selectChanged()" required> <md-option value="...
0
votes
2answers
33 views

Select multiple display names instead of IDs using AngularJS

I have a multiple select like this : <select ng-model="listProds" multiple> <option value="10">product 1</option> <option value="25">product 2</option> <option ...
0
votes
1answer
9 views

Unit testing a scoped function used as a filter

I need to write a scoped function within my controller that acts as a filter. $scope.filterR = function(s) { return function(c) { for (var prop in c) { if (c[prop]....
0
votes
1answer
16 views

Getting 403 Forbidden on direct access to page

I have a website that has 3 basic pages: Home, About and Contact. The website is built using AngularJS and I am using ui.router for the routing. Everything is working OK if you click on the ...
1
vote
1answer
23 views

Private Values on Angular Factory

I have private values on my Factory service, but when I update a private value in one instance, all instances are updated as well. Whats the best way to accomplish that without Updating all ...
0
votes
0answers
30 views

Uncaught syntax error: Unexpected token :

I keep running into this syntax error while trying to reach this API. The weird part is that it puts a ":1" at the end of my key which is apparently throwing an error. I blanked out the key for ...
0
votes
2answers
15 views

ng-repeat doesn't update its elements on array change

Why doesn't the following code update list-group every second with a new element? index.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="style.css"> &...
0
votes
1answer
17 views

angularjs get another property of the selected ng-repeat option to pass into another model

I have a list of users, and I do an ng-repeat on the list as seen below. I pass the id of the user to the model, however, I am trying to pass the same selected user's email to another model like: &...
0
votes
0answers
7 views

How to setup authentication/authorization for the asp.net mvc + angular SPA application consuming asp.net webapi 2

I have to create a asp.net mvc spa application with Angular/OWIN/Identity/Ninject. Application has to serve just views/templates. Actual data has to be downloaded from SEPARATE asp.net webapi2 ...
0
votes
1answer
16 views

404 Not Found in AngularJS

I just started AngularJS. When I try to implemt following example, I am getting 404 Not Found This is my main.html <!DOCTYPE html> <html ng-app="demoApp"> <script src="angular.min....
0
votes
0answers
16 views

Angular components and & binding

My code: <html ng-app="myApp"> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js"></script> <script src="js/components/...
0
votes
1answer
12 views

$uibmodal loading main page not template

bootstrap for angular and have this problem with $uibmodal it seems to load whole page not an template here is my code. $uibModal.open({ template: [ '<div class="modal-content">', ...
0
votes
0answers
10 views

angular nvd3 bullet chart with multiple objects

I am trying to populate the nvd3 bullet chart with multiple objects but the data is not being displayed. Is it not possible to do this with the nvd3 wrapper? With the d3.js original this can be done, ...
-1
votes
0answers
15 views

Where to deploy my webpages connected to database? [on hold]

I have been using github to deploy static web pages for sometime now. I would now like to deploy web pages that have database (MySQL) backend and AngularJS frontend. I am not sure whether this stack ...
0
votes
1answer
14 views

angular js use checkbox model to store array

In Angular one checkbox is linked with one model. But in practice i want one model to store array of checked values from several checkboxes. There is someone who got this problem and have a solution?...
0
votes
0answers
20 views

Uncaught Error: [$injector:modulerr] while injecting another module [on hold]

I have a module like below; var Menu=angular.module("menu",[]); Menu.service("Data", function(){ var obj={}; obj.server="http://localhost:8080"; obj.transformations=null; obj....
0
votes
0answers
16 views

get download url from multiple file upload firebase storage

I am new in firebase and angularjs and i am having difficulties in getting download url from firebase storage and store them in firebase realtime database. I was able to upload multiple files to ...
0
votes
0answers
7 views

Payfort integration with Cordova app

I am wrking on Apache Cordova mobile app wit Ionic framework for UI and AngularJs for core development. I am trying to integrate with Payfort payment gateway. it works greatly on the web but after ...
1
vote
1answer
22 views

How to Get last inserted record from database using angularjs and php?

I have created two pages. One page is BookTicket which contains form. It has two buttons. one buttons submits form and stores value in database. other button will navigate to payment page. other page ...
0
votes
1answer
19 views

Get height of div element in angularjs and set it to another element's attribute

Is it possible to get the height of element with angularjs and put it onto attribute of another div? I have a bootstrap webpage which has affix sidebar and in order for it to correctly stop before ...
1
vote
0answers
22 views

How to insert values from checkbox using angularjs and php to mysql database?

My Ionic app Code is following: <label class="item item-input item-floating-label light"> <span class="input-label">Date</span> <input type="date" ...
0
votes
1answer
18 views

how to load images according to the value coming using if condition in anguilarjs

im trying to show occupied and vacant images according the value . if value more than 3.50 it should display image1 if its equal or less than 3.50 show image 2. i tried this code but im unble to find ...
1
vote
0answers
8 views

Can't read the result of a Firebase Promise with the ng-if Angular directive

I'm trying to show the categories of a service using AngularJS and firebase with the ng-if directive by testing if the entry exist in a table. The tables are written in a denormalize way as ...
0
votes
0answers
11 views

Extend Umbraco media picker to include link option

In my custom grid editor I have a media picker which selects and image and a content picker which selects a node from the tree. The desired output is this: <a href="@Model.value.linkUrl"> ...
0
votes
2answers
24 views

angular js, passing data as parameter from view to controller

I'm tryng to get data from view that must be passed as parameter in a function to populate an array in the controller. But the objects return me nothing, here what i have done: VIEW <div ...
0
votes
0answers
10 views

angular tree ui, empty placeholder does not appear in a nested tree

I use the angular-ui-tree to create a visual representation of a group-user relationship, including adding/editing groups, group hierarchy and adding/removing/moving users within groups. For this I ...
0
votes
0answers
8 views

Mobile Application Emulator options

we are developing HTML5 Mobile application (with angular + kendo controls). we are looking for emulator options to test our application in different devices (mainly tablets - samsung/ipad/ms surface) ...
0
votes
1answer
8 views

Ionic factory undefined

Newbie in Ionic and Angular. I am trying to develop a test app and trying to use the factory function. I did the design from Ionic Creator and trying to add my coding in to it. Below is my ...
0
votes
0answers
11 views

Bindings in state views VS. bindings in component in Angular 1.5

I've working on a SPA using angular 1.5 and I noticed there's some difference when they use bindings. Sometimes the bindings are put inside the views, like the following case for content component: $...
0
votes
0answers
15 views

Angularjs html5mode in Backand

Im using Backand to host an angularjs application. It worked fine, but now I want to enable html5mode, so that my URL's are SEO friendly. In my angular app config file, I enabled this feature: $...