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
2 views

Editable field component for “select”?

I'm creating a generic editable field following the example on offical angular website https://docs.angularjs.org/guide/component. I want the component be able to handle any select options, Be able ...
0
votes
0answers
3 views

Display client side people picker on modal dialog

I am trying to display client side people picker on modal dialog HTML Code <div data-ng-model="vm.ex.siteOwner" id="peoplePickerDiv" ></div> in the controller (function(){ 'use ...
0
votes
0answers
5 views

uibootstrap carousel with ngRoute not showing

I am trying to make a single page web site with angular, bootstrap. I was trying to include a carousel in the first page and with ngRouting does not work. I have read somewhere here that i need to use ...
0
votes
0answers
3 views

how to import angularjs submodules in typescript

i'm trying to build structure of angularjs (angular 1.) project using typescript. I'm using webpack to compile typescript & ES6 to javascript. In my project i configured webpack to compile only ...
0
votes
0answers
5 views

UI Grid dropdown empty space item display

In UI Grid when i use "'ui-grid/dropdownEditor" editableCellTemplate for display the dropdown by default it shows an extra empty space item as first index along with actual itemsource. I want to load ...
-1
votes
0answers
4 views

What's the difference between angular 2 and ionic frameworks and which is better?

Why are there so many frameworks in the wild? Which is better than the other! What should a beginner use? If he want's to develop kickass mobile and web apps.?
-1
votes
0answers
7 views

How to develop an Angular Login Service for SSO(windows credentials)

I want to develop a Login Service which will fetch the windows credentials like sso and authenticate a user. Thanks in advance.
0
votes
0answers
7 views

Unable to get xpath for Angular JS application

I am writing automation script for a Angular application. I am finding it very difficult is getting Xpath for the elements, i am stuck at getting the xpath for a toaster message that comes on the ...
0
votes
0answers
15 views

How pass json from angularjs to d3?

in my application controller I make a request to my api. It looks like this : .state('state1', { url: '/datas/:id', templateUrl: 'myurl.com', title: 'title', controller: ...
0
votes
0answers
11 views

JQuery delegate 'on' click does not work on newly added content with angular

Basic HTML page with an angular app that loops through my controller scope's array and with the help of ng-repeat prints the array content as navigation. <div ng-app="FilterApp"> ...
0
votes
1answer
9 views

How to connect MySQL database to frontend like Angular 1?

I have been using MongoDB for my database and I'm learning MySQL on the side. How would you connect it to your frontend in something like AngularJS 1 using https? For mongo it is mongodb//...
0
votes
0answers
16 views

Add Class to Input element of ng input tag

I am playing with ng-input-tag and wanted to add bootstrap class to the input element of html so as to get its particular bootstrap class styles, but its not working as expected. Below is the code: ...
0
votes
0answers
12 views

Upload file with angular $http

I am trying to upload form with image file with angular $http function and using multer at background to receive. I know how to submit the form directly(without angular), I can successfully upload it ...
0
votes
0answers
13 views

Angular Service Get Synchronous XMLHttpRequest on the main thread is deprecated

I have a angular service in clientside get data from server: this.getPath = function (device) { var deferred = $q.defer(); return $http.post('/api/path',device) .then( ...
-2
votes
1answer
13 views

How to add input box and submit button to add option dynamically for select box dropdown angularjs and bootstrap?

How to add option dynamically to a select box? suppose if there is nod related data to be select in selectbox there should be an option to add new option using input box.
0
votes
0answers
6 views

angular 1.5.8 component 2-way binding to child not updating

The scenario: there's a listing of items (page list component), when selected for editing, a call is made to get another property of the object using a key. This is the method called when the user ...
1
vote
1answer
19 views

Angular popover UIBotstrap event before open popover

I have a grid with a few rows and when clicking on each row Angular popover UIBotstrap is opened. My problem is that I want the popover to be filled with some data of the row (like row id) and some ...
0
votes
0answers
21 views

Angular MVC ajax calls 404 not found

I'm new to angular and trying to make a call to perform crud operations from angular to a newly created mvc webapi controller... cannot get around the 404 not found on the get right now. Looking for ...
-1
votes
1answer
25 views

Converting angular js theme into normal html theme

I am about to develop a Web Application. I will use this theme- http://startangular.com/product/flatlogic-angular-material-dashboard/ for admin panel. I already installed it on my local machine ...
-2
votes
0answers
16 views

Data is being passed to the page but isn't showing (Angular JS)

I can't seem to get my form data to show on my html page after submitting the form. The data seems to be passing, as I see it in my console.log as well as the unique ID gets passed in the url. What is ...
0
votes
0answers
10 views

Firebase , Storing snapshot datas to an array variable

can i use ref.child('user').on('child_added',function()) to store what's inside a user to an array variable. So this is my example, $scope.samplearray=[]; ref.child('user').on("child_added", ...
0
votes
0answers
22 views

Can't figure out how to properly upload file with Angular

I'm new to Angular and I'm trying to create an app in which the landing page allows a user to upload a .txt file. I'm running into a problem where the data isn't being loaded properly because of how I ...
0
votes
0answers
43 views

How to send a realtime notification badge for a particular client using socket io in angular js app?

Purpose : I'm implementing send realtime notification badge module When user 1 comment on question of user 3 then user 3 will be received new notification badge such as the image above. My way I'm ...
0
votes
1answer
17 views

If I use routeTemplate “api/{controller}” and don't specify routeParameter in Routes how do I call specific method from value controller?

My routes config look like this config.Routes.MapHttpRoute( name: "ActiontApi", routeTemplate: "api/{controller}" ); How can I call method with parameter in my ...
1
vote
3answers
17 views

ng-show doesn't show the Div even when my Array length evaluates to Zero

<div class="emptyMessage" ng-show="{{ToBuy.Items.length}}==0" > Everything is bought! {{ToBuy.Items.length}} </div> I wanted the above Div tag to not show when my ToBuy.Items array has ...
0
votes
0answers
11 views

Using Angular, Trying to Save An Array to the Rails Backend

I tried several methods I found online but none worked and they weren't specifically targeting the problems I'm having. Basically I have a recipes Rails app, and using Angular, I have to: (1) Allow ...
1
vote
1answer
13 views

Protractor isSelected giving false reading after re-enabling checkboxes

I have a list of checkboxes and at the top a all checkbox. When toggling the all checkbox, all checkboxes will get deselected or selected. By default/initially, all checkbox is enabled with all ...
0
votes
1answer
12 views

ReferenceError: fblogin is not defined at new LoginController - Angular

I'm trying to add a simple login via facebook but I'm having some trouble. .js file: (function () { 'use strict'; angular .module('app') .controller('LoginController', ...
-1
votes
2answers
34 views

Uncaught Error: [$injector:modulerr]

I am getting an Uncaught Error: [$injector:modulerr] jquery.js:3855 It seems i have included almost all the dependencies but still i am getting an error app.js angular.module('app', ['ui....
0
votes
0answers
9 views

How to prevent reload on -nested- named view, when state changes?

A very similar question has been asked before here: How do I prevent reload on named view, when state changes? AngularJS UI-Router But mine is slightly different because I have a named view inside a ...
0
votes
1answer
27 views

How to automatically load a script on an Angular Partial

Right now, I have all of Typewriter scripts on my Index.html - however, the onload function doesn't automatically load when I click to my partials; the current way to trigger the script is to have a ...
0
votes
4answers
16 views

How to perform calculation on AngularJS with Percentage value

Can you help me in doing calculation on AngularJS during data binding? There is one more issue here, as the discount value is not numeric. It's a string with '%' appended. My current output: Actual: ...
1
vote
2answers
18 views

How can I pass my current_user.id to AngularJs Controller

I'm getting my current_user.id from Ruby on Rails and trying to pass it to my angular controller through HTML hidden input> <input type="hidden" ng-model="user_id" value="<%= current_user.id%&...
0
votes
0answers
15 views

Unit testing Karma - Uncaught ReferenceError angular is not defined

I am progressing through AngularJS by following unit testing examples from a book. I have installed karma through npm and configuring my karma.conf.js file but when I run Karma start I am getting ...
-1
votes
0answers
9 views

AngularJS site and PHP forms

I'm learning AngularJS. And in the course i take they have an AngularJS site up and running and now i'm gonna make a registration form. I make the form (Bootstrap form) Nothing fancy. And at the top ...
0
votes
1answer
19 views

How to change the stylesheet of this ui-select element? (angular)

I wrote a little program in angular using an ui-select element. The problem is that the search bar is really too long and I didn't find how to reduce it. Usually, we have some "width" properties that ...
0
votes
0answers
15 views

Data lost on form submit with md-chips in Django

I am writing an HTML form using angularjs and material design for my django application. Here is the html for my form: <form name="transactionForm" action="add/" method="post"> {% csrf_token %...
1
vote
1answer
25 views

Apply Angular date filter to 'MMMM' in ng-options select box

Here is my question. I've written a drop-down select that shows months by numbers. I would like to apply a filter to the drop-down so that it displays the numbers as full month names. Here is the ...
0
votes
1answer
18 views

What's the meaning of sortBy in ng-click?

I'm pretty new in AgularJS, and when I tried to do the practice: JS file: function CustomersController() { this.sortBy = 'name'; this.reverse = false; this.customers= [{joined: '2000-...
0
votes
2answers
16 views

Detect JS effect title

thank for your attention to this post. If you visit this site you will notice an effect which completes location input: http://awn.pw/inspee-new/ I could call it like a clock effect on the railway ...
0
votes
1answer
23 views

ng-class with function call that generate random string

I am using Materialize Library for my Angular app. The problem is i am trying to add random class name so that the background would be different for each tag. <ul class="inline-list" ng-repeat="...
1
vote
1answer
14 views

Can not click checkbox with element from by.repeater

For some reason I can not click a checkbox with by.repeater. There are no errors. When viewing the browser, the checkbox is simply not getting checked. Any ideas? I would like to stay with by.repeater ...
0
votes
0answers
11 views

how image is displayed in AngularJS whose source url contains special symbols

I am calling a REST API that gives me a list of items, each item having image and name. Something like this { "items": [{ "name": "Mouse", "image": "https:\/\/customapi\/api\/img?...
0
votes
1answer
27 views

Show/Hide SELECT options?

Let say I have the following : <select class="form-control" name="blah" ng-model="$ctrl.form.blah" ng-options="item.id as item.name group by item.etype | uppercase for item in $ctrl.opts">&...
0
votes
0answers
6 views

Highlight any combination of words from the input box in the return data from a SpringBoot server

I'm trying to highlight the data returned from a SpringBoot/Tomcat server based on the contents of an input box. More specifically, I would like to highlight all the expressions in the returned data ...
0
votes
0answers
27 views

How to load a view in angular directly through a URL

I want to access a view in my Angular app. It does work when I go there through a button however when I want to access that view via a link (e.g. by clicking on one) or when I am refreshing the page, ...
0
votes
0answers
32 views

which section of controller is handling the click

I was trying to understand the plunker_www project source. I am interested to know,how plunker compiles the code, and sends back the response. I understand that plunker-run-plugin is the one acting as ...
-3
votes
1answer
24 views

Syntax to insert a for loop as an object in array

This is an example of the data I have: $scope.allmovies[ {title:"Harry Potter", time:130}, {title:"Star Wars", time:155}, {title:"Lord of the Rings", time:250}, {title:"Goonies", time:125}, {title:"...
0
votes
0answers
15 views

Angular daterangepicker not working inside a modal

I am using angular-daterangepicker which depends on bootstrap-daterangepicker: <input date-range-picker class="form-control date-picker" type="text" ng-model="ctrl.schedule.date" /> It is ...
1
vote
0answers
10 views

Protractor - working with rows from by.repeater… can't get column() to work

Why does this work... this.modelChoices = function(rowNumber) { return element.all(by.repeater('model in vehicleCheckboxes.models')).get(0).isSelected(); } it('all models should be ...