0
votes
2answers
20 views

Loop to Add JSON Value to Array

I have a JSON object like so: $scope.object = { 'thing1': { 'content': 'blah blah', 'order': '1', }, 'thing2': { 'content': 'blah blah blah', 'order': '2', ...
0
votes
0answers
5 views

In angularjs how can I log exception and stacktrace, users gets in production?

I have try to override: .factory('$exceptionHandler', function ($log, logger) { return function (exception, cause, more) { aLoggerServiceIDefined.error(exception, cause); }; }) ...
0
votes
0answers
55 views

Using AngularJS with innerHTML

I have some AngularJS stuff that holds a bunch of arrays and data. Once a user uploads a file, the file gets parsed up and saved into the scope with its different arrays. However, after all of this ...
0
votes
0answers
21 views

ng-model does not recalculate length of array on single keypress for a textfilter

I've got a table which uses a filtered textarea to construct a filtered table and list a count. The DOM is as follows. <div filter-input></div> <table> <tr ng-repeat='item ...
0
votes
0answers
17 views

How to use Angular directives ng-click and ng-class inside Leaflet marker popup

I'm using Angular.JS and Leaflet.JS for a map in my location that has map markers with popups binded to them. I need to use a span with two different icons (one shown in code below) that you can click ...
0
votes
1answer
12 views

How to exclude an element from ng-click action

I have an element inside a container with ng-click, that should not execute this click action. It has the structure similar to this: <div class="container" ng-click="takeSomeAction()> ...
1
vote
0answers
16 views

angularjs bound value changes from inside directives are not reflected outside

I'm testing out the behavior of bound variables from inside directives and I can't seem to get the view to be refreshed. The model is being updated according to the console log, and I call $appy(), ...
1
vote
0answers
14 views

How to create AngularJS directive to get jquery Dialog with submit on press of enter button

In my AngularJS app, I need to create something similar to jQuery modal form Dialog to get username from user. I have used twitter-bootstrap modal and AngularUI dialog . Both of which fall short on ...
2
votes
1answer
13 views

Angular.js - callback needed using service

I have a setup with a service to fetch a list of items, a controller to do something to that list, and a view to iterate through and display each item. Thing is, my items are links to RSS feeds and ...
0
votes
1answer
37 views

AngularJS not updating?

I'm not sure why this is not changing when its bound object changes: My HTML: <div id="account-info" ng-controller="AuthenticateCtrl"> <h5>Account: </h5> {{account}} ...
1
vote
1answer
19 views

Angular data in dropdown not set the second time

I've something weird going on here with Angular. I have a details view with an edit button. When I press the edit button, I pass the object to the edit view. On the edit form there are a few dropdown ...
0
votes
1answer
36 views

Why doesn't the dblclick handler cancel the click handler?

JS angular.module('my-app', []).controller('Ctrl', function ($scope, $timeout) { var t; $scope.click = function () { t = $timeout(function () { alert('click'); }, ...
3
votes
2answers
29 views

How to change AngularJS data outside the scope?

After hours of frustrating searches I feel I need to submit my question here. I apologize in advance if this question is somehow answered before but none of my searches has helped so far. So here's my ...
0
votes
1answer
35 views

AngularJS - Unknown Provider

I'm trying to create a small note-taking application using AngularJS, but I stumbled at the very beginning. Here's my .js file: var app = angular.module("app", ['ngResource']); app.factory("note", ...
1
vote
0answers
23 views

Angular.js - does form validation emit any events?

The problem is, I'm using ui-router and I have two views, one is kind of a toolbar, second is content with a form. Now I'd like to have a save button in the toolbar, which would be disabled if form ...

1 2 3 4 5 194
15 30 50 per page