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 applications are also frequently known as single-page ...

learn more… | top users | synonyms (2)

0
votes
0answers
2 views

How to pass data to ng-include

I have an recursive template to display hierarchy table. How my code looks like: <script type="text/ng-template" id="tree_item.html"> <table class="table table-striped"> ...
1
vote
0answers
11 views

Angular expression in ng-repeat and ng-click

I am trying to call a function using ng-click which is dynamically generated by ng-repeat the problem is that i am not able to get the parameter value passed in ng-click function. My html code is <...
0
votes
1answer
7 views

(Improper Response NodeJS + Socket IO) NodeJS is writing data multiple times on socket on page refresh

NodeJS is writing data multiple times on socket on every page refresh. When I am refreshing the pages the count of writing into socket by nodejs server increases, on multiple page refresh writing ...
-1
votes
0answers
4 views

Google pagination with dots like 1 2 3… 9 10

refering to the link: http://jasonwatmore.com/post/2016/01/31/AngularJS-Pagination-Example-with-Logic-like-Google.aspx#comment-2801718065 I have implemented pagination like Goolge but i want some ...
-1
votes
0answers
5 views

Is there a way to detect when the user has changed the clock time on their device in Chrome App using AngularJS?

I'm building a Chrome app that tracks time when the user logs in and out. However, the time should not be changed. But when the user tries to change the time of his PC the app needs to detect that ...
1
vote
0answers
7 views

Tabs shifting in angular bootstrap ui

I am new to angular bootstrap ui. Here i am using two uib-tabset. Based on shifting the main menu tag index value the sub menu tag index value changing. This is my code link [plnkr attached]. <uib-...
1
vote
0answers
5 views

AngularJS / Jasmine undefined is not a constructor

I got error message like below. I cannot find a solution. Similar service mock is passed. But I don't know why it causes error. PhantomJS 2.1.1 (Mac OS X 0.0.0) AppBarCtrl $scope.signOut should call ...
0
votes
0answers
21 views

how to get value of age field after its gets calculated from jquery

i have used a jquery to calculate the age from date picker now i want to pass the value to controller in angular js . I am able to pass all the form values except the dob and age field .can some tell ...
0
votes
0answers
6 views

Angular Google Maps Uncaught ReferenceError: _ is not defined

I am using Maven + npm to use Angular Google Maps. It was working fine until I upgraded all my dependencies to latest version including Angular to 1.5.8 I even tried including underscore as a ...
0
votes
1answer
11 views

Extending input by using my own service

I want to extend input of type text in angular in such a way that after user enters some text, the text value is passed through a custom filter that do some purification on entering input, here is ...
0
votes
1answer
9 views

How to call function using MEAN technology

I am working with MEAN technology and I want to call the function Using the Controller.js of the client side, I am define the anchor tag on the header and call the link Which is define into the ...
0
votes
2answers
22 views

ng-repeat in other ng-repeat is not working

{ "data": { "name": "NAME", "tests": [ { "testname": "abc", "relatedResource": [ { "accessType": "fttb", }, { "...
-1
votes
0answers
15 views

How print json array to data form db table

["1","4","2","6","3","8"] this are j son array of skills id fetching form db and using repeat here and maintain a separate table skills with id and skill name then how to print data like skill1,skill2,...
0
votes
2answers
11 views

What's the main difference between rootScope and scope in angularJs. How it internally works

I am new bee to angular js and I have been using $scope in my coding. However I understood like scope is to use for global variables to make sure I searched on angularJs docs but then found root scope ...
0
votes
0answers
2 views

Google Places autocomplete tap stops working on phones by Angular-Material

There are multiple posts on SoF about tap not working on phones. e.g.: Cannot select from Google places autocomplete None of the solutions worked for me. And I know, it's angular material to blame. ...
0
votes
0answers
7 views

Can not upload file in Safari using Angular.js

I need some help. I can not upload file using win-7+safari using ng-file-upload in Angular.js. I am explaining my code below. <div ng-repeat="mul in mulImage"> <input type="file" class="...
0
votes
0answers
18 views

cannot get error using angularjs with express.js

I've a file of index.html that has <ui-view></ui-view> in the body and below is my route.js : var app = angular.module('dashboard', ['ui.router']); app.config(['$stateProvider','$...
2
votes
1answer
19 views

ng-repeat directives being pushed down by another directive

So I'm pretty sure this a css issue (I'm using less), but I can't think of a better title. The problem is that one of my directives is being pushed up and is causing the other directives to be pushed ...
0
votes
0answers
6 views

Self updating marker in leaflet using angularjs

I have leaflet angularjs webpage using https://github.com/tombatossals/angular-leaflet-directive. I'm trying to update the marker content by putting a refresh button on the popup but not sure how to ...
0
votes
0answers
20 views

nested view doesn't work using angularjs

I'm using ui-router, but one strange thing happens, the style which i put in 'parent' doesn't get loaded. Here's how my folder and files look like my route.js look like this .state("home", { ...
0
votes
2answers
19 views

Anuglar2 - Image path ASP.NET Core

I was trying to get the path of a local image file, but i cant figure out where the relative paths are located. Normally i would get them out of wwwroot/images but when i try to load them from there ...
1
vote
3answers
24 views

How do I open a link in a new window (and all subsequent links in that same new window)?

I have an AngularJS app which I successfully got to segregate controllers for the hyperlinks to open windows and the target of the hyperlinks was successfully set as a new window. My problem is, how ...
0
votes
2answers
24 views

highlighting a word within a string with angular

I'm displaying a string in the UI, the string is held in a $scope variable. <p>{{stringValue}}</p> I want to highlight a word in that string after I click on a button. I tried: $scope....
0
votes
1answer
22 views

How to add text box runtime and insert its value to db in angularjs

I want to create Curd app using AngularJS & MVC. In that I am able to add, update and delete particular data from grid, but there is one task where I am getting stuck. Here what I need to do is, ...
2
votes
3answers
47 views

angularjs nested routing doesn't load layout

.state('home', { url: '/', templateUrl: 'index.html', abstract:true }) .state('home.dashboard', { url: '/dashboard', templateUrl: 'dashboard/index.html', ...
0
votes
0answers
18 views

ui-view doesn't render parent style and js

I have a folder structure like this dashboard (folder) -- index.html route.js index.html And I my index.html I wrap my ui-view <head> <style type="text/css"> h1{color:red} </...
1
vote
0answers
12 views

Angular: resolve duplicate directive names in libraries?

I've got two Angular libraries (angular-bootstrap and 720kb.datepicker) which both define a directive named datepicker (see also: Angular DatePicker - Multiple directives > [datepicker, datepicker])...
2
votes
0answers
19 views

Sortable divs that slide over each other

I am trying to make a page with scrollable divs that slide away from each other when one of them is being clicked and dragged within a restricted box area. Another requirement is that it is ...
0
votes
1answer
13 views

Why does it take a long time for buttons to respond to ng-mousedown in Ionic?

I have been trying to develop a very basic game using Ionic. Initially, I was using pure JavaScript to listen to clicks and then act on them but the response time was very long. When I asked a ...
0
votes
2answers
17 views

app.min.js:7 Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations

here is the error that the browser throws in each time I npm start my app. and here is my bower.json file: { "name": "myapp", "version": "1.3.0", "authors": "My example", "...
0
votes
1answer
8 views

AngularJS: Create tab links by creating the tab's content in the DOM

I'm new to AngularJS, Sorry if this is a silly question. I googled quite a lot and I can't find existing help online. Basically, I'm trying to generate the tab headers dynamically by creating the ...
0
votes
1answer
12 views

$ionicPlatform.ready() not firing, Android

I'm trying to get push notifications working on an Ionic Android app based entirely of a single WebView, served via cordova-plugin-inappbrowser. The $ionicPlatform.ready() function never calls and ...
1
vote
1answer
14 views

How to include “=” in AngularJs $http.get params?

I am trying to include an equals sign in an AngularJs $http.get params section. Here is the relevant code: let eventsRequest = this.$http.get(EVENTS_ENDPOINT, { params: { type: ...
0
votes
0answers
5 views

ASP.NET URL rewriting issue with AngularJS app

I am trying to build an Angular JS app with URL rewriting. When I go to localhost:50717 I want the page to automatically take me to my route.html file which is at localhost:50717/route.html. Yet when ...
0
votes
1answer
10 views

associated Angular ui-select

I'm trying to make grouped ui-select, in fact each ui-select option depends on the previous one. for example I have a list of levels in the first UI-select, and then depending on the first ui-select ...
0
votes
0answers
6 views

Angular md input container can only have one input or select

Trying to use the following code from the Angular examples page: <md-input-container> <label>Vegetables</label> <md-select ng-model="selectedVegetables" ...
0
votes
0answers
11 views

Validate and process a file with Javascript

Well, this could be a long question but i'll try to be as concise as i can. I have an Angular (1.2.28) app that can receive a .json file that resembles a "configuration template", i mean, when the ...
0
votes
2answers
22 views

Tooltip in angularjs ng-repeat?

I am trying to display a tootltip on the top of each element on the first TD. But since its in the ng-repeat, many tooltips(badly designed) are showing up. How can I show it just on the top of the td ...
1
vote
0answers
11 views

How to lazy load images in angular if data-src attributed is added dynamically?

How to lazy load images in angular app if image's data-src attributed is added dynamically? For instance application first process html document and strip off all src attribute from images and replace ...
0
votes
0answers
14 views

AngularJS: Number input model and $valid function not working when number incremented using stepUp() and stepDown()

I am trying to validate my angular form with a number input. I have styled my number input ( which i have not included in my demo) so that i use stepUp() and stepDown() to increment and decrement ...
0
votes
1answer
12 views

Angular 1.x service with separate file

I have Angular 1.4 service working in app.js but I want to move this service in a separate file. Can anybody advise me a site explaining how to do this? Thanks!
0
votes
0answers
7 views

AngularJS multiple Controllers with one Server: Asynchronous errors

I am getting some asynchronous errors when executing a function on my controllers near-simultaneously. Each controller takes some data, and calls a method in a service for testing. The service returns ...
0
votes
0answers
2 views

Integrate magento with angular

I am trying to find out the best solution for a new application. This application will be built on Magento CE 1.9.2. Due to the front end design which requires lot's of elements such as complex and ...
0
votes
0answers
5 views

Using Protractor to test a MEAN.JS sample application

I'm currently working through Nate Taylor's "Introduction to Protractor" course on Pluralsight (https://app.pluralsight.com/library/courses/protractor-introduction/table-of-contents) Mr. Taylor ...
0
votes
1answer
5 views

ES6 Angularjs directive, passed in function from calling controller has no constructor variables

I am using ES6 but I am not sure this is an ES6 issue I am trying to implement a 'login with google' button using the google api gApi and angular. I have wrapped the gApi call into a directive. ...
0
votes
0answers
14 views

UI-Routing to login page in Angular

I'm building an Angular application. I have a dashboard with several pages, but the dashboard shouldn't be accessible without logging in. It should also be noted that I'm using UI-Router. Most ...
0
votes
1answer
6 views

Issue calling service inside app.config

Having some problems right now calling a service I created that uses LokiJS (http://lokijs.org/#/) inside of my app.config. I know that in Angular you are not really supposed to attempt to use ...
0
votes
0answers
14 views

How to set firebase database to work offline for the web

I am trying to make my firebase app work offline. In the documentation, it talks of disk persistent in android using Firebase.getDefaultConfig().setPersistenceEnabled(true); I was wndering if there ...
3
votes
1answer
18 views

AngularJS + ion-list ng-repeat not Populating List

I am trying to populate an ion-list with ng-repeat from the database in Intel XDK using AngularJS and PHP. I made some tries after reading some questions but nothing has worked. It populates an empty ...
0
votes
1answer
12 views

Angular $http using json file works but using json file with $httpBackend is not working to display data

I can fake getting data from json file with using $http but with $resource/ $httpBackend I don't get any results $http.get (works) $http.get('api/devices.json') .then(function (result) { ...