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
0
votes
0answers
3 views
Updating Disqus SSO config on the fly?
My site is a single page ajax site.
So when I login there is no postback to the server.
In order to become logged on with Disqus I should use this code:
var disqus_config = function () {
...
0
votes
0answers
6 views
Angular controllers and laravel views - scope issue
I am trying to combine AngularJS and Laravel 3. I want to use a angular controller for each view that needs certain javascript functionality like this:
<div ng-controller="newSnippet" ...
0
votes
1answer
22 views
How to refresh local data fetched using $resource service in AngularJS
I have AngularJS application that use $resource service to retrieve data using query() method and create new data using model.$save() method. This works fine exactly as the docs say it should.
My ...
0
votes
0answers
10 views
How to call a function from a route in AngularJS
I'm developing an AngularJS project and I was wondering if it's possible to create a route that just calls a function, and then redirects.
I want to use this for having a /logout route that calls the ...
-9
votes
0answers
20 views
How to make file uploading in Angular Js? [on hold]
I want single file uploading in angular js and spring controller.
Please let me know how can i do it?
1
vote
1answer
14 views
ng-model on select in AngularJS + JQM works partly
For app based on AngularJS, JQuery Mobile and JQuery Mobile Angular Adapter.
When i set ng-controller on tag with data-role="page", ng-model on select tag works perfectly:
<body ng-app>
...
0
votes
0answers
12 views
simulating HTTP POST handling using Angular Tutorial web-server script
I'm trying to develop AngularJS applicatino using the Angular tutorial web-server script.
Is it possible or smart to use it for development only scenario ?
I want to be able to develop and test my ...
0
votes
0answers
21 views
Custom Sorting / Filtering in AngularJS
I have a group of users & a group of groups as $Scope elements of 2 controllers in my app. Now, I want to implement display of users of one particular group to be displayed on clicking the group. ...
1
vote
0answers
5 views
AngularJS $resource parameter programming for CRUD application
I want to do a simple CRUD application with AngularJS and Arrest REST API in PHP as backend.
GET and DELETE are working just fine. But PUT and POST gives me troubles. I need to give the data not in ...
0
votes
0answers
20 views
Should every “component” on a page be a directive in angularJS
When creating angularJS applications is it best practice to create almost all of your "components" into directives? when i say components i mean things any grouping of HTML elemnts that perform a ...
0
votes
0answers
7 views
angularjs iterate over array works in browser but not on android emulator webview
This code works fine in firefox and chrome, but when I try to get it to work in the android studio 2.0 emulator, it just shows the {{questionTable[count].question}} not the binded data. I can make a ...
4
votes
0answers
27 views
AngularJs Directive Template with ng-transclude cannot be compiled
I am trying to create two directives. The first directive appends other predefined angular directives (ng-click and ng-class) to the element and then compiles it so that they work.
The second ...
0
votes
0answers
10 views
$routeProvider: templateUrl requests with X-Requested-With header
jQuery.ajax() normally sends an X-Requested-With header with XMLHttpRequest set as the content. On the server (in PHP), I usually detect this by testing:
$is_ajax = $_SERVER['HTTP_X_REQUESTED_WITH'] ...
0
votes
1answer
14 views
Compare dates fields in angularjs datepicker
I am trying to compare two input text fields , having datepicker angular ui attached.
The two fields are start date and end date at http://jsfiddle.net/iamkhush/8Rezs/23/.
I tried to attach this ...
0
votes
1answer
19 views
How do I print $rootScope variable?
This code is not working:
<td><img src="{{$rootScope.s3BucketUrl}}"/></td>
and this is where it's defined:
var appCtrl = app.controller('AppCtrl', function($scope, $resource, ...