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
5 views
RangeError: Maximum call stack size exceeded at new Number (<anonymous>) at Number.toString (native)
RangeError: Maximum call stack size exceeded
at new Number ()
at Number.toString (native)
Here is my code i am geeting this error continusly
js=jQuery.noConflict();
...
0
votes
0answers
8 views
How do bind inner query results from service.js to outer variable in Angular.js directive?
Using angular-seed project:
In directives.js
var names = [];
Animals.query(function(data){ // Animals.query() from service.js
console.log(data.Names); // output > [Object, Object..., ...
0
votes
0answers
9 views
Can I wrap an AngularJS directive around another directive?
How can I do something like this?
<scrollable-directive>
<fun-content-directive>
</fun-content-directive>
</scrollable-directive>
e.g I want to build out a custom ...
0
votes
1answer
23 views
How the method passed into a angularjs event-directive works?
I'm new in angularjs and I'm trying to write some directives which will works on some events like 'blur'. But I'm really confused about the back-end process of a event-directive. How does it work? ...
1
vote
0answers
19 views
Angularjs issues with compiler attribute in directive
I'm learning angularjs and I'm training how to build a reusable directive.
The problem is that it works with an array with 1 element but not with 2 or more.
The html tag is just: ...
0
votes
1answer
25 views
Set Model to a specific object from array
I am trying to set the model of a DOM element to a specific child object given a specific attribute. in this specific example, the "Employees" object is structured in this fashion:
var Employees = [
...
0
votes
1answer
8 views
Format / filter an output with regular expression in Angular.js
Given this:
<span ng-repeat="extra in extras">
<br>
<input type="checkbox" ng-click="addExtra()" value="{{extra.id}}" >{{extra.name}} - ...
0
votes
0answers
14 views
Angular UI Datepicker not functioning
No errors in the Javascript console, all resources seem to be loading, but the datepicker doesn't pop up when the input text field is clicked.
app.js
var app = angular.module('appform', ...
0
votes
2answers
27 views
save $location parameters state AngularJS
How do I save URL parameters state throughout lifecycle of application using pushState?
Page load.
Go to "/search" via href
submitSearch() through filter fields where $location.search(fields)
Go to ...
1
vote
0answers
14 views
AngularJS (Blueimp Jquery-file-uploader) with Rails + Devise - Completed 401 Unauthorized
I have an AngularJS app running in a node server against a Rails 3.2 backend. I am using a CSRF token in a cookie/HTTP Header (not <%= csrf_token %>). Angular can GET and POST to Rails with no ...
1
vote
2answers
53 views
As an AngularJS developer, should I focus in learning jQuery? [on hold]
I have been slinging AngularJS for a while and have noticed that every once in a while I find myself thinking the following: I could make this EVEN MORE dynamic by using jQuery. My thing is, many ...
0
votes
1answer
15 views
angular routeprovider not executing
I am currently ramping up with angular, and trying to make dynamic routing work.
Note: I have looked at the question: How to defer routes definition in Angular.js?, and I believe I am doing ...
0
votes
2answers
21 views
Angularjs - using $routing - when I manually put “#/section/ + myId” , it resets my page
So I am trying to implement routing in my app. Here is a sample jsFiddle of what I am trying to do: http://jsfiddle.net/GeorgiAngelov/9yN3Z/114/
So far everything is working fine and as I am moving ...
2
votes
2answers
29 views
angularjs - $http reading json and wait for callback
I am trying to read data from json and wait until data will be fetched into $scope.urls.content. So I write code:
$scope.urls = { content:null};
...
0
votes
2answers
17 views
how to set scope of controller after socket.io message event in angularjs
this is my main.js
var app = angular.module('app', []);
app.config(function ($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true); // enable pushState
...