AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–Controller (MVC) capability, reduce the amount of JavaScript needed to make web applications functional. These type of apps are also known as Single-Page Applications

learn more… | top users | synonyms (1)

0
votes
1answer
5 views

angularjs: UI not updating inside directive

In the following directive, I do a pretty long running operation, so I want to display a loading spin during that time. I've used ng-show and a isLoading variable on the scope of the directive. ...
0
votes
0answers
5 views

Storing Data in AngluarJS on Mobile Devices

I'm currently working on a Mobile WebApp built with AngularJS. The basic functionality is similar to a simple ToDo's app: Create a list of items (with ng-repeat) and mark those items as checked or ...
0
votes
0answers
6 views

Bind scope from service in angular

Trying to bind scope to directive from service. I'm doing this like so: $compile(template)({ title: 'demo title' }); Than in directive i've logged scope and there was object: app.directive('book', ...
1
vote
1answer
17 views

Angular Js data comparison

How to Compare value while printing with AngularJS. Like {{campaignOverview.TotalMailSent | number} > 0 } Al i want to do is to compare the Total mail sent with 0 and the print "N/A" if 0 else ...
0
votes
0answers
9 views

Display list of items and edit them via AngularJS

I try to solve a classic problem using AngularJS: I need to display list of some entities and provide ability to add, edit and view details of this entities. I implement two controllers: ...
0
votes
0answers
6 views

Graphing with data from Firebase, using AngularFire

So I'm trying to create a graph using d3.js and rickshaw with data from Firebase. I'm using Angularjs / AngularFire. I can't figure out how to get the data into the graph. Ideally the graph would ...
0
votes
0answers
12 views

$watch in a link function of my directive is not updated

I have this directive which tries to watch for changes in a json object on scope. The JSON object is retrieved using a restangular based service, but somehow the $watch seems to be executed only once, ...
0
votes
2answers
18 views

how to change post['Content-Type'] in angularjs

i want to change post['Content-Type'] in angularjs so i use app.config(function($locationProvider,$httpProvider) { $locationProvider.html5Mode(false); $httpProvider.defaults.useXDomain = true; ...
0
votes
0answers
17 views

How to autocompile data received via jQuery ajax using AngularJS?

I have a page, all the real-time interactions with the server is done using jQuery ajax. Now I'm porting the functionality step by step to AngularJS. My problem is, that page content which is being ...
2
votes
2answers
29 views

AngularJS | How to Send the Data of Json to database in Codeigniter

I am trying to use Angular. I am trying to Post Form of Angular, which have been done successfully, it is posting in JSON, But Problem is it only Post the input fields which have values, if i have ...
3
votes
0answers
28 views

Weird Behavior Of Angular With TextBox Required

I have 2 textboxes, one which is required and the other one which is not required. If we add text in the required text box, say "ABC", then remove the content, the ng-model is set to undefined If ...
0
votes
0answers
16 views

Select all box similar to GMail in AngularJS [duplicate]

I'm trying to create a select_all checkbox similar to Gmail where there's 3 states: Checked Unchecked Indeterminate However, I have a few problems: When you check all, check off another ...
0
votes
1answer
28 views

How can I access multiple parameters that have been passed to a function?

I have something like the following that allows me to successfully access a functions parameter: HTML: Angular: $scope.showContent = function(attrs){ $http({ url: attrs, ...
4
votes
2answers
39 views

AngularJS: dot in ng-model

In the video AngularJS MTV Meetup: Best Practices (2012/12/11), Miško explains "..if you use ng-model there has to be a dot somewhere. If you don't have a dot, you're doing it wrong.." However, the ...
0
votes
1answer
40 views

How can I call a jQuery function after my model data has been updated?

I have a simple function that loads data into {{my_content}}. The problem is that I want to execute a jQuery script myJqueryFunction() after {{my_content}} has been updated. The code below works ...

1 2 3 4 5 558
15 30 50 per page