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.

learn more… | top users | synonyms (2)

0
votes
0answers
10 views

AngularJs and Jquery error in loaded div content

I'm working in a web, I need to load my div content using this jQuery function: $('#mainPage').load($(this).attr('mainContent')); In my index.php I have configured the directive ng-app=".MyApp" and ...
-2
votes
0answers
13 views

conditionally call a function in angular from html

In my chat application I want to call a audio play function from html, which will play only when user received msg from another users. <div ng-bind-html="m.msg"> </div> So, what I'm ...
0
votes
0answers
13 views

AngularJs - Injecting child module into other child module

I have a scenario which might sound stupid but I'm stuck and trying to understanding what might be causing it to not work. I have an angular app which has three modules for now var app = ...
0
votes
0answers
7 views

Set image in mobile angular ui website

I am implement mobile website. I am using mobileangularui framework for mobile website. I want to set image in home.html, But i could not set image from image folder.If i put URL of image which is ...
1
vote
0answers
9 views

How to crate custom drag and drop web components for a web app

I am trying to do some R&D work around for my web app. In the preceding image i have described my requirement.let say i have some custom web components like components 1,components 2 etc in the ...
0
votes
0answers
11 views

How can i refresh a view in ionic and angularjs to display the updated data

I have made a simple app using ionic and angularjs which takes values from one view, stores data into sqlite database and then displays the added values in another view.. I have made use of ion-tabs ...
-1
votes
1answer
16 views

Using sql query inside angularjs

I want to use the result of this query inside angular and render the result in the browser. The query is: SELECT Student.Name, Student.Surname,Student.Major,Subject.Name,Grades.Grade FROM Grades ...
0
votes
0answers
11 views

feature carousel on image click using jquery

I have created a list of my work (photographs) that are displayed as a div relative to each other using AngularJS like so-: <div ng-repeat="photo in photos"> <div id="photo-block" > ...
-1
votes
0answers
12 views

Load HTML outside of ng-view in AngularJs App

Exam is coming up, and i am finishing up my project, but have run into a problem. I am working on a MEAN stack app, a simple website that has a simple admin panel connected to it, allowing the owner ...
0
votes
0answers
14 views

Why is my ui-router state doesn't work?

I cannot figure out why my state works first time only from the index but not in the appcontainer: $locationProvider.hashPrefix('!').html5Mode({ enabled: true, requireBase: ...
0
votes
0answers
7 views

Spring Security + Angular JS + Spring MVC Rest

I am trying to build a web application with the following frameworks: Angular JS on the front end REST Web Services in the backend using Spring MVC I want to use Spring Security to authenticate ...
0
votes
0answers
5 views

gulp browser-sync not serving json files

I have an issue where i am not able to serve json files from my sub-folders. Below is the code: var browserSync = require('browser-sync').create(); // Static server gulp.task('connect', function() ...
0
votes
1answer
24 views

How to run jQuery script in Angualrjs

I use Nestable jquery plugin in my project. to render Nestable plugin and serialization I need to run jquery script. my code is: var updateOutput = function(e) { var list = e.length ? e ...
0
votes
0answers
9 views

load script in a page in angular application

In my angular application, there are some html templates loaded using directives and thoses templates contain scripts. I want to separate those scripts and load into that templates when templates are ...
0
votes
1answer
19 views

Error after using ngAnimate: TypeError: Cannot read property 'ng-scope' and 'col-sm-6' of undefined

I've added angular animation to my project. I only placed this to my index.html and app.js. Is there something I've missed? Thanks in advance Index.html <script ...
0
votes
0answers
8 views

Authentication rules with Firebase

I am trying to make a simple test of storing notes objects in Firebase, with user security rules that ensure the notes can be read and write only to the author. Here is what the data stored in ...
0
votes
0answers
21 views

AngularJS - Large watcher count resulting in slow scroll performance

My site has a high watcher count, especially when scrolling further down using infinite scroll. From what I've read in this article, having a high watcher count should only hinder performance when ...
0
votes
0answers
23 views

How to get Parse objectId of clicked item on ion-item

Hi I'm new to this ionic framework and angularJS. I've learnt to use Parse for storing data. I have made code for displaying my items from Parse Query to ion-item using ion-item with ng-repeat. Here ...
0
votes
0answers
15 views

Angular $HTTP returns 404 in PhoneGap (works in browser)

I am trying to do a login in an Angular app packaged as using PhoneGap Build. When I run the app in a browser it all works fine and can login using API call to remote server (so no server CORS ...
1
vote
2answers
20 views

How to prevent “Error: $rootScope:infdig” when different value each time is intended behavior

I'm working on a page using AngularJS(with Aria, Animate, Material, Messages, Sanitize and Route), everyting is working fine but I have a bit of a problem. Angular likes to throw "Error: ...
0
votes
1answer
10 views

AngularJS call function from controller in Drag & Drop directive

I have a directive to natively drag & drop with angularJS and it is working fine: myDesigner.directive('draggable', function() { return function(scope, element) { // this gives us the native ...
0
votes
1answer
27 views

Nested ng-repeat not working

I was trying to loop on li element but somehow it is not showing li elements. Here is my data which I am looping. { "30":{ "data":[ { "id":1, ...
0
votes
0answers
30 views

How to define AngularJS controller in HTML Template

I have the following structure of files: index.html tpl/page.html app.js Description: app.js has definition of main module with routing to page.html index.html defines view for template and ...
0
votes
1answer
11 views

AngularJS not working in Cloud9 Rails app per tutorial

I'm doing a tutorial called "Zero to deployment in less than 10,000 words" to learn incorporating AngularJS into a ROR app. Tutorial: http://angular-rails.com/index.html Currently here: ...
1
vote
1answer
15 views

Show templates from diferent components on same place

I am trying to rewrite the administration of application to Angular2. I have 3 components (AppComponent, SystemComponent and ShopComponent). AppComponent: import {Component} from 'angular2/core'; ...
0
votes
0answers
7 views

Testing Angular Promises From Service - Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL

I know that this error appears in questions a lot but despite my efforts I didn't manage to solve my problem. I have a Service that fetches some categories from Parse. This is done successfully when ...
0
votes
0answers
13 views

On button click create dynamic form, autofill the data and post on url in Angularjs

I am using AngularJS, I am trying to implement payment gateway in my web application and stuck at some step So, at first step I have JSON data , Request method and Url on which I need to post the ...
0
votes
0answers
10 views

How to use $firebaseArray in firebase return data in AngularJS

I want to retrieve data from firbase with a condition like this ref.orderByChild('users').equalTo(userid).on('value', function(snapshot) { // Need to return data as firebaseArray here }); ...
1
vote
1answer
13 views

Passing data to angular function on changing html slider input

I want to pass a value on changing the html slider input in AngularJs. <input type="range" value="30" min="0" max="0" id="set-value" /> Angular function: $scope.passValueHere = ...
1
vote
1answer
17 views

protractor remove custom attribute from dom

I'm new to protractor and my code has a custom attribute and I wanted to remove that as I was not able to test my case with that <input type="text" name="rptdate" input-date ...
0
votes
0answers
12 views

Overriding custom login error messages in laravel 5.2

I've been struggling with laravel 5.2 login function messages. I've override the default sendFailedLoginResponse function in AuthController which works for failed attempts. But I need to override the ...
1
vote
0answers
8 views

Add marker with time validity and near real time

In my asp.net web api application with angularJS frontend I want to display marker on a map (google maps or leaflet) with time validity in near real time. What is that meaning? Each user (client) ...
-3
votes
0answers
15 views

create exapandable datatable using angularjs

I need datatable in angularjs with pagination and sorting options.My requirement is when I click on the cell of table it will expand. Please help
1
vote
2answers
39 views

How to add images in angular JS

I'm new to angular js. I have stumbled into a problem. I am using a json for my data and not sure of how am I supposed to add the images in my code <div ng-controller="myCtrl" ...
-1
votes
3answers
34 views

ReferenceError: $setTimeout is not defined

I'm currently doing a course and ran across and error. I'm making a tinder for producthunt using Ionic and Angular. ionic $ 0 776918 error ReferenceError: $setTimeout is not defined at ...
0
votes
1answer
23 views

How would i create a promise function in this situation with javascript

Im currently building an app using angularjs and using the mediafire javascript SDK to do some tasks. Now i'm in a situation where when an upload happens i will need to create a folder, this function ...
0
votes
0answers
12 views

angular CORS to gist

Hi guys im building an angular app and i have a problem reaching some json that on gist, this is the json When im trying to $http.get on this url im getting: Request header field Authorization is ...
0
votes
2answers
13 views

How can I modify my directive's templateURL based on values within its controller?

I have the following AngularJS directive and its controller. Instead of entering the HTML right into the directive's template field, I would like to set the templateURL based on values of integers aB ...
4
votes
0answers
38 views

AngularJS $scope is not updating in DOM

I have the following codes : The state (lets just make it short for simplicity purposes) .state('foo', { url: '/foo', templateUrl: 'path/to/template.html', controller:'fooCtrl', }) ...
0
votes
1answer
13 views

Calling function synchronizely in angularjs

I'm using pivot grid to show data from database ,So I get data by ajax ,the problem in synchronization ,pivot grid loaded before getting the data from database How can I retrieve data before execute ...
0
votes
0answers
13 views

How can I manage dynamic model with AngularJS and springdata mongodb

I have created a project using AngularJS + Spring-data-mongodb + MongoDb. I'd like to manage CRUD operations with a model that change dynamically according to the concept of object inheritance. The ...
1
vote
1answer
26 views

Function or filter vs computed attribute with css class name

I have a user object and I have a complex logic, that I want to unit test, which takes a user object and decides how it should be displayed - which css class should be used. There are two approach ...
0
votes
2answers
33 views

Angularjs send empty JSON to server (ONLY in IE 9 and greater)

I have a little issue with my angularjs script. I'm trying to post data to server (PHP script which saves values to database). It works correctly in Chrome, Mozilla, Opera and each other but totally ...
0
votes
1answer
30 views

i am getting issue in changing inner html of div

Guys i found a problem in changing html of div please help me document.getElementsByClassName("lab")[0].setAttribute("ng-bind-html", "binds"); $scope.binds="<h1>run</h1>"; I am setting ...
0
votes
0answers
4 views

ngModelCtrl.$render not called after jQuery.spinner's spin function

I'm trying to port jQuery UI's spinner to AngularJS and, while here, I'm trying to implement string values at both ends if needed. So, this is my directive: ...
0
votes
0answers
16 views

How do i cusomtize filter used in angular multiselect dropdown?

I am using AngularJs multi select drop down. enableSearch: true shows you search filter which is fine. How i can customize it? E.g. I would like to instruct to filter on specific property of the ...
-1
votes
1answer
19 views

AngularJS ng-repeat does not render

I am now practicing AngularJS. My Problem is :ng-repeat does not repeat my array. index.html: <!DOCTYPE html> <html ng-app="store"> <head> <link rel="stylesheet" ...
0
votes
1answer
13 views

Angular/ Node.js Website - Automatic mail notification

I want to check every 12hours, if new things are available for my users. If so, an email should be send automatically by the server. I took a look at https://nodemailer.com, but I don't know if thats ...
0
votes
0answers
10 views

Localization and globalization in angularjs how to create a custom angular-local

I have some trouble with globalization of my web application. I'm using tmhDynamicLocaleProvider to load the correct angular-local. But i only can get one angular-local. ...
0
votes
0answers
23 views

Syntax error: Unexpected number at Object.parse, PHP to AngularJS

I have built a contact form using AngularjS for my frontend and PHP for the mail client that sends the email. I want to pass data from PHP to Angular, telling Angular whether or not the email sent. ...