0
votes
0answers
2 views

Mongoose-like schema definition in the browser

I would like to declare objects schemas (that can instantiate variables with default values, having validation rules, etc.) like it can be done in mongoose, but in the browser. Haven't found any ...
0
votes
1answer
20 views

how to make a specific option selected angular

so I've just started converting an old site in progress to use angular instead of jquery, because of the seamless data binding. now I have this select that is being populated with a dataSet; ...
0
votes
1answer
17 views

Use angular filter outside the angular application

I want to format dates on the client-side using angular date filter. I'd like to do that way, because I use angular in some places of my application and I'd like my dates to be formatted uniformly in ...
0
votes
1answer
19 views

Delete JSON content before presenting data to the user / remove JavaScript object properties

I have a problem and I'm not quite sure why I can't resolve my issue. I have a SPA that is built using AngularJS, Node.JS and MongoDB (Mongoose). Now on the client I have a form to register a new ...
0
votes
0answers
20 views

Angularjs how to allow $ in json of $http requests

Angularjs trims all the $ in the json of $http requests. In the code below, instead of {"s": {"id": {"$oid": "11" }}} only {"s": {"id":{}}} is sent to the server. var p={"s": {"id": {"$oid": ...
0
votes
0answers
10 views

Integrate paper.js into angular.js

I have this problem with integrating paper.js into angular.js. My issue is that I simply doesn't know where to load the paperscript part. I have a view and a controller and I can't really place the ...
1
vote
0answers
28 views

JavaScript framework and architecture for server side rendered html

I'm looking for a model centric JavaScript MV-Whatever Framework like AngularJS. I like AngularJS, especially the data binding, but it seems not to be the best fit for my needs. I want to render a ...
0
votes
0answers
44 views

AngularJs conditional display for ng-options

I've been searching for a few hours now and I can't seem to find the answer for my problem anywhere. I remember that I was able to implement it before but for some reason I lost the code and I can't ...
0
votes
0answers
32 views

Updating view from service in angular?

Maybe I am designing this incorrectly ( new to angular ). Currently I have something like this: [TVController] depends on [TVService] [TVService] depends on [GameShowChannel] #could possibly have ...
0
votes
1answer
17 views

Angular custom directive for positive integers

I have text field in my application which should accept only positive integers only.(no decimal, no negatives). Basically I want to restrict the user to enter only between 1 to 9999 only. <input ...
2
votes
0answers
33 views

Evaluating an expression in an attribute of a directive in AngularJS

I did a lot of workaround, searched and researched, but I can't figure how to achieve my goal. - The problem: I have a the following situation, I want to avoid the user can overlap commissions ...
0
votes
1answer
30 views

Trying to convert jquery plugin to Angular Directive

Within a loop, I have: <div class="barcode" class="thumbnail"> <canvas class="ean" barcode-generator barcode-value="9002236311036"> </canvas> </div> Which loops out a ...
0
votes
1answer
15 views

AngularJS ng-Grid starts minimized?

I'm using ng-Grid v2.0.7, and the problem is that the first time that ng-grid shows, it is minimized. Here is a picture of what I mean: Only after clicking on the minimized table (the top picture), ...
0
votes
3answers
39 views

Access another controller in Angular.js

My basic code so far: function UsersCtrl($scope) { $scope.users = [ { "id": 1, "usersName": "Matt Dance", "favorites": { "id":1, ...
0
votes
3answers
19 views

Ng-src doesn't update in AngularJS view

I'm using the following code in my Angular app to display an image: <img ng-src="{{planet.image_url}}" class="planet-img"/> And I'm using $watch to change the image_url attribute when other ...

15 30 50 per page