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)

0
votes
0answers
7 views

MEAN stack update view with Node/Express response

I have a MEAN stack dashboard app (server1) that communicates with a nodejs/express server (server2) which makes queries to a mongoDB. For example the user is supposed to select a month via the ...
0
votes
2answers
21 views

How to resize table width based on screen size

I'm working on this page which contains a table inside modal-body. The screen i work on is 22 inch and the table looks perfect on that. But when I see it on my laptop Macbook 13 inch, the table ...
-2
votes
0answers
5 views

May Angular improve performance in google maps api usage? Need to improve in a tracking and geolocation web

I am working on a project for vehicle tracking and geolocation (development site: http://www.numerosyvidas.com/controlcar). It contains several sections navigable from top menu. The link "Historico" ...
0
votes
1answer
13 views

How to remove specific ng-repeat section on button click

I have a bootstrap form that has sections of search fields, I also have a button that you can click to add more sections of search fields, each section has a remove button that should remove that ...
0
votes
0answers
10 views

How can i write data to firebase with angularjs?

I wanna write data to my firebase database and i really done know how. Here is a link on jsfiddle And here is the script: var app = angular.module('angularjs-starter', []); app....
0
votes
1answer
16 views

angularjs orderBy percentages

I have a table with a column such that I am trying to sort these percentages, but they are not being sorted as expected even though I have tried parseFloat and a few other methods of making sure ...
0
votes
0answers
11 views

select nth element from element array jquery

I'm working on my angular e2e test project. I've the following html generated as part of my ng-repeat with out any id, I would like to choose the second element that is with heading Topic - xyz and ...
0
votes
0answers
4 views

angular google map with Polyline between array or locations

I have an angular directive for a google map. I would like to show polylines for an array of locations, but the line is not showing up... any idea or link to a simple example for angular maps with ...
0
votes
1answer
11 views

Which UI Design Framework to use for designing and ERP Web Application

I am actually trying to design an ERP web application, currently working with Angular Material, but seems each input element takes a lot of space(vertical height) on the page, so if I have have 15 ...
0
votes
0answers
8 views

Angular concatenated file gives an "Unexpected token = error

I am trying to run a nodejs project. After I build the project I run npm start from the distribution directory But the concated file throws an "Unexpected token = " Error I am not copying the ...
0
votes
0answers
11 views

modal window does not popup on ng-click

im trying to add a modal popup window to my angular app.. Althought it lists down the names, when i click on the names a modal doest appear. Below is my code HTML <div ng-app="app"> &...
0
votes
1answer
14 views

Access an Angular scope variable outside of Angular

I need help please, and thank you in advance: I have two Javascript files A.js and B.js. A is written in Angular and B is not. Now B needs to change a value of a scope variable inside A's controller. ...
0
votes
0answers
17 views

How to show large image using Bootstrap or Angularjs?

I am using bootstrap and angularjs, I want to show large image on. I clicked image but its not working. How do this? Any built-in library of bootstrap when I show large image. <html> <head&...
0
votes
0answers
13 views

why isn't my component rendering? (angular 1.5)

Why isn't my component rendering? It's just stuck in the DOM as: <ui-view> <disclaimer></disclaimer> </ui-view> It should look like this: <ui-view> <...
0
votes
2answers
13 views

Angular Js:How to pull factory data to the controller

Hi I am trying to pull my angular js factory data to my controller, please have a look if there is any issue. factory.js .factory('History', ['$http', '$q', function ($http, $q) { function ...
0
votes
0answers
7 views

Angular: Unable to bind content of contentEditable div to an object inside of a directive

In my app I present some data inside a template represented by a directive. The data is distributed across divs with a property of contentEditable="true" (this is the requirement), so it's possible to ...
0
votes
0answers
14 views

How to check whether element is already clicked or not in protractor

I need to check whether element is already clicked/selected or not in protractor. My scenario is given below.: I need to check whether the date which i am going to select is already selected in ...
0
votes
1answer
14 views

How to resolve Angular Service directly from an Angular Component

I am currently using Angular 1.5. I am using ui-router as my primary navigation mechanism. I am leveraging Angular components a lot. I understand that I can use .resolve on my states to ...
1
vote
0answers
14 views

Angularjs routeProvider - render ng-view template context w/o base html template

I want to render my 404.html template separately from index.html outside ng-view of index.html as example: I have: app.config(['$locationProvider' ,'$routeProvider', function config($...
0
votes
0answers
20 views

Angular UI-Bootstrap Injector Error

I am trying to use angular ui-bootstrap on my project. After adding the required script dependencies in my layout.cshtml, I get the following error; Error: [$injector:unpr] http://errors.angularjs....
0
votes
0answers
7 views

AutoSave on Angular project with very large forms

I am currently working on a JHipster generated Angular + Spring project. We have very large forms with dozens of fields each, which are not declared with a markup such as <form>, but enclosed ...
0
votes
0answers
11 views

How do we stop the video tag html5?

I want to stop my video when i click the new browser or some other window. I tried this code , its only working for new tab.. document.addEventListener("visibilitychange", onchange); ...
0
votes
2answers
24 views

Want to convert multiple json objects to an array in angular JS

Requirement is : an automation test suite will run. in the teardown activity i am running a java program which will fetch data from excel and generate a JSON file. Json file is being generated ...
0
votes
0answers
8 views

How I can get return from PHP to Ionic Controller?

This is my code. Please help me return id in PHP condition to angular controller. I get undefined in console log. This is my code. Its wrong and bad code? Thanks My Ionic controller .controller('...
0
votes
3answers
32 views

Moment JS - Adds two days

Here is my current MomentJS code: var date = moment($scope.dt); for (var i = 0; i < parseInt($scope.numPagos); i++) { $scope.resultados.push({ 'numerodecuota' : i + 1, 'fechas'...
-4
votes
0answers
12 views

best scenario to use provider in angularjs

i have used services and factory, but why we need to use provider , where we can use the same in service and factory
0
votes
0answers
7 views

In production Webpack 2.2.0.rc-0 will uglify/minify vendor.js and manifest.js but not bundle.js

I'm trying to figure out why my vendor and manifest files are minified and uglified but my bundle is not. Could it be the order of the plugins? Maybe something to do with the CommonsChunkPlugin? ...
0
votes
2answers
12 views

how to add values from array to Bootstrap combobox with search

I am using the bootstrap combobox with search which is working fine when populated with static options as follows: <form role="form"> <div class="form-group"> <label>Select ...
0
votes
3answers
16 views

How to ng-if use when its value is “”?

How to use ng-if? I have below code. If image_path not null show td otherwise not. My code does not work. ng-if="hs.image_path != """ <td ng-if="hs.image_path != """><img id="...
0
votes
0answers
22 views

ng-repat not working in ng-include angular js?

So just to explain, a little bit closer. I have 3 controllers, each has a different purpose, in ng-route. But when I ng-include file in the template file, the second controller's ng-repeat is not ...
0
votes
1answer
8 views

Catching variable set in timeout in Angular/Jasmine test

In this Angular/Jasmine example I have a controller that returns a promise, where in the promise deferred result there's a timeout, with a variable set inside the timeout. The test fails because the ...
-2
votes
0answers
9 views

How to run angular js apps in ubuntu local?

how to run angular js apps like ngVideo-master,ngx-uploader-master in ubuntu local? suggest some good angular js tutorials or where to start?
-11
votes
0answers
77 views

How can I install Angular 4? [on hold]

I've read in this blog that Google is starting to release Angular 4 (although in beta version this far). I got excited and wanted to be in the first wave of developers to try it. However, I can't ...
0
votes
4answers
38 views

How to convert two different array values into string in angularJS or javascript

Given these two arrays: $scope.city= [{id :'NewYork' } , {id : 'Chicago'}]; $scope.color = [{id : 'blue' } , {id : 'Green'}]; I need only the values of both arrays like this: $scope.string = '...
0
votes
0answers
14 views

Angular - replacing filters with ng-show in nested ng-repeat

I've been running into some performance issues with my Angular Material app on IE11 and have been investigating mutliple issues. I've taken some steps to rectify based on the official suggestions, ...
0
votes
1answer
16 views

child state resolve injected in a parent controller

I have this state confg : function routeConfig($stateProvider, $urlRouterProvider) { $stateProvider .state('projects', { url: '/projects', template : '<ui-view ...
0
votes
0answers
40 views

Can i send data from a $scope to an var array?

I have a dynamic add/remove fields that use angularjs and I wanna send that data to my firebase databse. I dont know how i can do that or if it is possible if is not could someone tell me how can i ...
0
votes
1answer
10 views

How do I return a file to the user to be downloaded in umbraco backoffice when it says that System.IO.File is a type but is used like a variable?

public FilePathResult Download() { return File(@"c:\work\report.pdf", "application/pdf", "report.pdf"); } I'm trying to have a download dialog appear for the user to download a file but I'm ...
0
votes
1answer
9 views

How to check if a function is available in instantiated controller for unit testing in Jasmine

I am trying to unittest a controller in AngularJS for the first time. I want to test if the login-function in this controller calls the right service but I get the error, that the function doesn't ...
2
votes
2answers
30 views

How to develop login/registeration in SPA application

My application has single page and implemented ngRoute for all tabs navigations. Now, need to implement login and register. Post to that only, it should navigate to all tabs navigations. I have ...
0
votes
0answers
8 views

Angular input directive for email not firing validation?

Question: My validation works if I insert the directives' html directly, but when loaded in through my directive it does not. Why not? My understanding: When the ngModel is compiled it should ...
0
votes
0answers
23 views

ngBind shrink long text with

Is it possible for ngbind to resize or sobstitute a portion of text with ... if text is too long? <div class="cell-content" ng-bind="order.productName"/> my problem is that the productname is ...
0
votes
0answers
11 views

How to restrict direct access to php file wrapped in Joomla iframe wrapper

I am using Joomla Iframe Wrapper to access a php file (books.php). The link I have create is only accessible to registered users. However, when soneone type www.mysaplesite.com/books.php they are ...
1
vote
1answer
43 views

How to cycle over a loop with click in angularjs

I have been working on a project of angular js, i.e, building a T9 keypad. I am very new to angular and this is my first project that i am working on. I have implemented the code and its working but ...
0
votes
1answer
21 views

UI bootstrap dropdown toggle needs to be clicked twice if closed manually

I am using UI Bootstrap drop-down component to show angular-bootstrap-datetimepicker calendar on click. I have also added a $watch to close the dropdown after date is selected. Plunker <div uib-...
-1
votes
1answer
15 views

Database in ionic ios app?

I have to develop a simple app with ionic for ios and I am not really sure how to implement the model of my app. I need to read some data and the user have to be able to save some data alse. The app ...
0
votes
0answers
8 views

Not receiving SignalR broadcast when logged in

I am completely stuck here. I am using SignalR to send and receive messages. I have an angular client application and a .net web api 2 server side. Receiving messages works when I am not logged in, ...
0
votes
2answers
23 views

initialize a scope variable with angularJs

I'm always using ng-init="controllerFunction()" to get data from the server and display it on a table, chart or anything else and it needs to get called on every page loading. Now using ng-init is ...
3
votes
2answers
29 views

ng-repeat is only showing the last value

I'm new to Angular and method ng-repeat here is my issue: I'm making tests to learn, here is what I want to achieve now: loop through a table of table to display some content My issue is: second ng-...
0
votes
0answers
13 views

Upload file without using Formdata in AngularJs

Is there any way to upload files without using formdata in Angular Js. I have checked the below links, which have not helped: Upload file using jquery without using html5 How to send/ Upload file ...