Report
Question
I have all of my AngularJS controllers in one file, controllers.js. This file is structured as follows: angular.module('myApp.controllers', []) .controller('Ctrl1', ['$scope', '$http', function($scope, $http) { }]) .controller('Ctrl2', ['$scope', '$http', function($scope, $http) } ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
7 Answer 4155 views

Report
Question
Could anyone tell me why the following statement does not send the post data to the designated url? The url is called but on the server when I print $_POST – I get an empty array. If I print message ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
30 Answer 57 views

Report
Question
Do any of you know how to nicely handle anchor hash linking in AngularJS? I have the following markup for a simple FAQ-page <a href="#faq-1">Question 1</a> <a href="#faq-2">Question 2</a> <a href="#faq-3">Question 3</a> <h3 id="faq-1">Question 1</h3> <h3 id="faq-2">Question 2</h3> <h3 id="fa1-3">Question 3</h3> When clicking on any of the above ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
26 Answer 54 views

Report
Question
Currently I have an Angular.js page that allows searching and displays results. User clicks on a search result, then clicks back button. I want the search results to be displayed again but I can’t work out how to trigger the ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
13 Answer 19 views

Report
Question
I need to pass and recieve two parameters to the state I want to transit to using ui-sref of ui-router. Something like using the link below for transitioning the state to home with foo and bar parameters: <a ui-sref="home({foo: 'fooVal', bar: 'barVal'})">Go ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
3 Answer 21 views

Report
Question
How to sort by using multiple fields at same time in angular? fist by group and then by sub-group for Example $scope.divisions = [{'group':1,'sub':1}, {'group':2,'sub':10}, {'group':1,'sub':2},{'group':1,'sub':20},{'group':2,'sub':1}, {'group':2,'sub':11}]; I wanted to display this as group : Sub-group 1 – 1 1 – 2 1 ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
6 Answer 26 views

Report
Question
When I load the page and check chrome console i find these errors: what exactly are map files in angular? I did reference the angular.min.js but not the angular.min.js.map. I am using the angular 1.2 ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 24 views

Report
Question
I have a problem where i’m initialising a variable on the scope in a controller. Then it gets changed in another controller when a user logs in. This variable is used to control things such as the navigation bar and ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
9 Answer 33 views

Report
Question
In this particular case, what options do I have to make these inputs call a function when I press Enter? // HTML view // <form> <input type="text" ng-model="name" <!-- Press ENTER and call myFunc --> /> ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
10 Answer 23 views