Hi all,
I would like to expose a problem that I'm facing sending complex objects as
parameters to ngResource. I'm trying to do the following query with
ngResource:
var Customer = $resource('http://localhost:3000/api/users');
var params =
{
conditions: {
age: { $gt: 30 }
},
options: {
limit:
+1
On Tuesday, February 4, 2014 11:58:03 PM UTC-8, Nick Swenson wrote:
Hello all!
We have run across an issue template rendering and its sucking the soul
out of me (not really, but close). Read on for more!
*CONTEXT:* We are building an angular application that loads as a third
party
No always you should try to NOT use any libs and frameworks wherever
possible. Use just what you really need - if you had time then you should
just use pure javascript with nothing else and write your own everything.
This is seldom going to be the case and is a bit like asking ford to make
I have to disagree here. In my opinion, wherever possible, use existing
libraries. A community reviewed, well tested, often used library will
provide code quality most developers can't reach. It is important to learn
and try by yourself, but for a publicly accessible application I would
You need to minimise dependencies think about a simple javascript function
that validates a form perhaps you don¹t need a lib. Agree that most people
find Jquery a godsend. I was meaning more for ideology and that point was
missed or poorly made by me. Dependencies are never a good thing but
Again, I have to disagree. I'd rather have an additional 50k of libraries
than a slow DOM traversal function, a buggy css selector engine or a
malfunctioning trim-function that does not work well with UTF-8 characters.
It is nice to keep the dependencies small, but it's *not* the primary
So why are you using Angular.js then?
On Wednesday, February 5, 2014 10:09:51 AM UTC+1, calvin crane wrote:
I disagree too isn’t this fun. I do not assume that there will be poor
code by the programmer like you. Its an ideology. And the best practise
should be to start correctly.
From:
I use Angular because it serves me and I don¹t have to worry about the file
size that it brings in my last demo. But I wouldn¹t use it for a simple form
verification if that is all that I am using. Angular comes with a lite
weight version of something similar to Jquery as well and that should be
Hi,
Copy-paste error, I included the doctype element on top of my file indeed:
!doctype html
Actually, the error message disappeared after I removed all the css styles
from the file, it should have come from there.
Thanks for your reply anyway !
Le mardi 4 février 2014 22:40:29 UTC+1, Jeff
I want to put an attribute directive on an input element and I want that
directive to transclude the input element into the directives template as
in:
input ng-model=something myValidationDecorator /
where myValidationDecorator is the directive.
Can't seem to do that. I **can** put the
Good Morning!
I put together an article about a hooking mechanism I have used to
simplify communication between controllers of arbitrary nesting. I
would love to get some feedback from the community on this approach.
http://sonnym.github.io/2014/02/05/hooks-in-angularjs-controllers/
Hi there,
I have just posted this stackoverflow question:
http://stackoverflow.com/questions/21574544/ng-repeat-not-updating-in-chrome
and I thought I'd try my luck here as well. I would usually just look for a
missing $apply, but I have run an additional cycle via the console and it
still
Hi
How do i organize model and view, so that I could display dozens of
dynamical checkboxes, and have their checked state.
E.g. I have model like that:
[id:1, cb1List: [1,2,3,4,5], cb2List: [1,2,7,13,18, 22], cb3List:
[101,102,109,110]}
I'd like to show cblists as list of checkboxes, so user
Yes, that works! Thanks so much.
I was sure I had tried that, but apparently not. After looking at an issue
for too long I really get a bit blind to it. Thanks :) .
Still a bit odd that it recycles the elements differently in firefox.
On Wednesday, February 5, 2014 12:59:31 PM UTC, Sander
Hello All,
I am new to angular.js.
I am developing a large application with angular.js.
I have developed one module till now and for this model I have
created 25 routes in my app.js file as:
var mySmApp = angular.module(smApp, ['ngRoute', 'ngTable']);
AngularJS comes with a trimmed down version of jQuery (called jqLite) but
you can use a full version if needed. The AngularJS way it to put your DOM
manipulation code inside of AngularJS directives. Inside the directive code
it is perfectly acceptable to use jQuery as the means of doing the DOM
A core idea and goal with Angular is to avoid DOM manipulation where
possible, but I can see that being difficult for some things. So for any
part of the DOM that you want manipulated then you will assign a controller
to control it.
Not thought about how if this works with adding DOM elements on
There is no incompatibility between jQuery and Angular, in fact Angular
itself will make use of jQuery if it is available. See the docs for
angular.element http://docs.angularjs.org/api/angular.element.
It's considered best practice to keep your DOM aware code within directives
- though I don't
Good morning, i'd like to do a Authenticate's module in Angularjs, the
aplication is deployed in a jboss server and the users are stored in a
relational databasewich way i can take to have a secure authenticate?
pleae help me
--
You received this message because you are subscribed to the
Good morning, i'd like to do a Authenticate's module in Angularjs, the
aplication is deployed in a jboss server, and the same server(jboss) have
the restful apis. the users are stored in a relational databasewich
way i can take to have a secure authenticate? pleae help me
--
You
Hi People,
I have recently got fed up with having to copy paste my files each time I
create a new one and decided to find a better way to work.
I found out Yeoman and started using it.
Basically I created a ready made full stack web-app that uses NodeJS along
with angular - all boxed so it's
Hi,
I have a page that, when initially loaded, starts a $interval function that
updates models on the page. The function performs an $http request to get
status information and then updates the $scope variables to display these
status values. I've created an service for this $interval so that
Given the following why does the directive's $parent.$id equal the
controller's $id? I though isolate scopes did not inherit prototypically.:
*JS*:
var app = angular.module('myApp', []);
app.directive('myDirective', function() {
return {
restrict: 'E',
templateUrl:
Hi!
This is a very interesting fork for AngularJS.
I am working currently with AngularJS 1.0.8. That AngularJS version
allowed inject a full module-directive as widget time longer the main
application was iniziated. In fact, all this widgets are brought from
severals urls provides for a
The issue is from a customer perspective they have standards against having
URL's that are over a certain size.
thanks
On Tuesday, February 4, 2014 8:42:00 PM UTC-5, Jeff Hubbard wrote:
Every version of IE that I am aware of--certainly IE6 thru 10--has the
2083 character limit on the full
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group
ANY EXAMPLES OF LARGE SCALE APPS USING THIS??
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post
Hi Mike,
Can you put up a plunk/fiddle to illustrate what you exactly mean?
Apart from that, the scope.$parent will always give a parent, even in an
isolate scope.
In AngularJS an $ marks an internal property, those are different from
whatever you put on there yourself. Don't expect those to
WHY YOU WRITE IN UPPERCASE
2014-02-05 Daniel Jansson janzon.dan...@gmail.com:
ANY EXAMPLES OF LARGE SCALE APPS USING THIS??
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this
o.O
2014-02-05 Charly Román chack14r...@gmail.com:
WHY YOU WRITE IN UPPERCASE
2014-02-05 Daniel Jansson janzon.dan...@gmail.com:
ANY EXAMPLES OF LARGE SCALE APPS USING THIS??
--
You received this message because you are subscribed to the
Hi SenthilRaj,
Not a direct answer, but when I have this at hand, my server usually
ignores the stuff that's not needed. In some cases I instruct my server to
remove those before handling the data.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
Thanks for your reply Sander. The $rootScope (002) never has a parent
(undefined) yet when set scope to any value (true, false, or {}) the
$parent.$id is set either to '002' ($rootScope) or the containing scope. I
guess this confuses me because I expected an isolate scope to not have a
parent
So just to clarify (hopefully I am accomplishing that), why, when creating
an isolate scope (scope: {} or scope: true) does the scope get the parent
scope's $id although from what I can see the connection (inheritance) is
severed (as the docs say)?
On Wednesday, February 5, 2014 11:55:09 AM
ANY EXAMPLES OF LARGE SCALE APPS USING THIS??
YES, THE BEST ONE IS HERE HTTP://ANGULAR-UI.GITHUB.IO/ui-router/sample/#/
??!?!???
BUT HMM LETS SEE...
I think this one is way better: http://angular-ui.github.io/ui-router/sample/#/
Best to
Thanks. You call that large scale?
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to
I can't share it because it is a proprietary app, but I can share that we
are using ui-router in a large app. It is working out great. No issues so
far.
On Wed, Feb 5, 2014 at 10:30 AM, Daniel Jansson janzon.dan...@gmail.comwrote:
--
You received this message because you are subscribed to the
Works better for me in my apps then the old way of routing.
On Wed, Feb 5, 2014 at 12:33 PM, Mark Volkmann r.mark.volkm...@gmail.comwrote:
I can't share it because it is a proprietary app, but I can share that we
are using ui-router in a large app. It is working out great. No issues so
far.
Hi Sanders,
Thank you very much for your help. Unfortunately we need to insert the
elements programmatically. That is, because we load on top of other
websites, we cannot load in our element until after the page has loaded and
we have evaluated what the page contains. If we could
Maybe Daniel Jansson should define what he considers a large scale app?
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post
I have quite lot of computed columns. I don't want to send that junk to the
server.
What about ngActiveResource will that handle any of this issue. In ngConf
double click team said they developed apiController for extending the model.
I am not sure it will solve my problem
On Wednesday,
You may get better results posting a fiddle and then describing the
behavior you would like to achieve.
If you're really lucky, someone may edit the code to work the way you want.
On Wed, Feb 5, 2014 at 11:47 AM, Daniel Jansson janzon.dan...@gmail.comwrote:
Ok...great. Please, give me some
Okey, thanks. Can multiple named subviews have their own states?
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post to
Yes.
On Wed, Feb 5, 2014 at 3:02 PM, Daniel Jansson janzon.dan...@gmail.comwrote:
Okey, thanks. Can multiple named subviews have their own states?
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop
I gave a talk on ui-router that you can find here:
http://angularlunch.wordpress.com/
I think this might answer a lot of your questions.
On Wed, Feb 5, 2014 at 2:03 PM, Joseph Curtin 4...@jbcurtin.io wrote:
Yes.
On Wed, Feb 5, 2014 at 3:02 PM, Daniel Jansson janzon.dan...@gmail.comwrote:
Thank you so much Mark..
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to
Hi,
I'm pretty new to Angular (about 2 weeks of trial and error) and it looks
amazing so far.
I think I'm now ready to dive into complex integration with socket.io.
I've created a service that creates a port listener (something very simple).
I have 2 questions about it:
1) The service needs to be
I tweaked the previous jsfiddle to make it work, in case the question is
still relevant to someone:
http://jsfiddle.net/xVKcr/30/
:)
On Tuesday, December 11, 2012 9:36:31 AM UTC-5, Martin Kuhn wrote:
Hi,
I would like to create a directive for a radio group. It uses ng-repeat
and input
I have done something very similar, but using SockJS instead of
Socket.IO. They have very similar interfaces, and, having used both, I
have come to prefer the former.
Your state will be persistent in the service, so switching view should
not cause problems. You can see my implementation
Hi, I am making general
coverflow/carouselhttps://github.com/konsumer/angular-cardflow directive
(demo http://konsumer.github.io/angular-cardflow/)
For now, I just have 1 mode (swipe to advance.)
I have an ugly hack in the
Hi, I used this* https://github.com/fnakstad/angular-client-side-auth
https://github.com/fnakstad/angular-client-side-auth* (explanation at
http://frederiknakstad.com/2013/01/21/authentication-in-single-page-applications-with-angular-js/
).
On Wed, Feb 5, 2014 at 7:46 PM, Carlos Feria
And in the server I used grails with spring security core plugin.
On Thu, Feb 6, 2014 at 9:06 AM, Praveen Gandhi praveengandh...@gmail.comwrote:
Hi, I used this* https://github.com/fnakstad/angular-client-side-auth
https://github.com/fnakstad/angular-client-side-auth* (explanation at
Hey guys,
Im looking for a tool that somewhat compiles the angularjs code and check
my html's element and directives. I know we can just put 'data' in front of
attribute directives but I'm going for something smarter and more robust
such that if I have a directive in a form of an element,
I have been playing around with AngularJs for a couple of months now, and
love the framework.
I've mostly been toying around with the application, without any heavy
designs on the front end.
Right now, I'm trying to build out the UI for an admin panel, with a fixed
sidebar and header, I need
Hi all.
I want to create radiobuttons and dropdown list dynamically based on the
value selected in menu.
Can anyone please help me.
Thanks
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To unsubscribe from this group and stop receiving emails
Hi,
Thanks for your answer and example.
If I understand your code correctly, what you are doing is to load the
socket service in a controller and every time check if it was activated
before.
If it was, call the callback. If it wasn't, open a new socket with the
callback.
Is that it? And there's
55 matches
Mail list logo