Even with requirejs i'd say NOPE,since all modules need to be registered
before the application runs,like any IoC container. And Angular container
doesnt resolve dependencies asynchronously.
--
You received this message because you are subscribed to the Google Groups
AngularJS group.
To
Il giorno giovedì 15 maggio 2014 22:17:16 UTC+2, mario ha scritto:
Ok. I understand now.
In this case I would recommend building your own directives. you could
create one directive for each input type (radio, text, select).
Each form would have its own controller with an appropriate
Well, you are assigning your todo's as a result of your $http. That's a
change, so the $watch will pick up on this change..
--
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
Hi, why isnt my {{ componentInfo.textcentre }} displayed ?
http://plnkr.co/edit/nT32pJx6uCLrydZvcLM6?p=preview
--
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
I have created Directive , on that i am using ng-class .what i want to do
is on click of button i need to chane ng-class of only directive by
matching their title(by a controller variable) .
I want to keep buttons suppose i pass first directive title thenn only that
directive color should get
hi Yves, I don't think that the directive can access textcentre as this is
pushed into the component directive not the n1-template.
see this for more
details: http://plnkr.co/edit/bGHYw0FFOyfe8g1blVi5?p=preview
Regards,
Garry Taylor
On Friday, 16 May 2014 11:05:45 UTC+1, Yves Kircher wrote:
Hi Anam, is this what your looking for?
http://jsfiddle.net/zbQLJ/2/
Regards,
Garry Taylor
On Friday, 16 May 2014 11:37:01 UTC+1, Anam Ansari wrote:
I have created Directive , on that i am using ng-class .what i want to do
is on click of button i need to chane ng-class of only directive by
Anyone ?!
Em quinta-feira, 15 de maio de 2014 00h26min55s UTC-3, Diego Freitas
escreveu:
Hi there,
I'm facing a problem that I really don't know the reason of it ...
My controller is undefined ...
*karma.config:*
files: [
'../contents/js/jquery-1.10.2.js',
A solution is to re-work the layout.
Have only one input box with an add button (nice tick or something). When
the user types their request and hits the tick it is inserted into the
list. This can then keep growing and the CreateMagicList controller should
remain functional. It will therefore
Why do you need your first variable? I couldn't understand.
Well, about your error, if $scope.todos is a collection, you should use
$watchCollection instead of $watch and be aware that angular just watches
its own elements.
let us know if this worked for you.
Em sexta-feira, 16 de maio de
Hi Cutey, a solution to this would be to call the validate method when the
focus is on the login button.. not the best solution but this would fix the
issue.
Checkout the following thread for more details
: https://github.com/angular/angular.js/issues/1460
Some Password Managers are not
Try the following:
expect($scope.hasAlertVisible).toBe(false);
Also does the ContactController have something like
$scope.hasAlertVisible = false;
Regards,
Garry Taylor
On Thursday, 15 May 2014 04:26:55 UTC+1, Diego Freitas wrote:
Hi there,
I'm facing a problem that I really
Same question? O.o
Em quinta-feira, 15 de maio de 2014 16h14min10s UTC-3, Mathias Christensen
escreveu:
Hello everyone.
This is my controller which provides the information from the Couchdb to
the front-end view. So far it works to list all the customers. But I wanna
make it possible to
I am note sure as I have never used CouchDB but from a little research
don't you delete using the the following..
http.delete('http://127.0.0.1:5984/customers/http://127.0.0.1:5984/customers/_all_docs?include_docs=true/'
+ id).then(...
Also from the look of the code the id is never being
Hello,
In my ui-router I added for each state a data property specifying an access
level - either 'anon' or 'user': a state with a value 'anon' should be
acessible for any user, a ste with an acess level of 'user' should be
accessible for logged-in users. Example:
Try the following
$scope.$on('$routeChangeStart'
There is also a good tutorial
here:
http://nadeemkhedr.wordpress.com/2013/11/25/how-to-do-authorization-and-role-based-permissions-in-angularjs/
Regards,
Garry Taylor
On Friday, 16 May 2014 14:57:47 UTC+1, Marc B wrote:
Hello,
In my
Nice job.. I will be pointing my junior developers to this resource!
--
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
I have a bit of a head-scratcher.
I'm trying to implement an observer service to provide $scope.$watch
functionality to services.
I add a callback function to an object : function[] map based on the
following logic, assuming newCallbackFunction is the callback I'm trying
to add
Can you post something up on jsfiddle or equivalent. The watch should work but
its difficult to see without the full code
--
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
Yes, I will do that as soon as I can, probably tonight.
--
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,
I have a table showing data from a remote server. There is a numeric
input, when the number is changed I want the table to be refreshed
(with the numeric input in arg).
Here is my current attempt:
$scope.$watch(number, function () {
console.log(number changed);
Take the quotes of undefined.
Regards,
Garry Taylor
--
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,
I've followed this tutorial:
http://tech.pro/tutorial/1515/you-got-http-in-my-angularjs-unit-tests
And changed my code (below) I'm testing the service individually but some
how is not calling the service. It's not entering in the promise.then().
Do you know why ?
TESTS
I've created a table with DIV elements instead of the HTML table
element. ng-repeat will populate the div table just as it would a
table table. But filter and sort now won't work.
This is how the HTML for the table built with div elements looks:
div id=StoresTbl show-filter=true
Yes that is a good approach !
On Sunday, April 21, 2013 10:12:54 PM UTC-6, Ritchie Anesco wrote:
Hi guys,
I'm fairly new to AngularJS, however read tonnes about it and done heaps
of tutorials and really digging the framework. Anyways, the site I am
currently building will be using angular
Only thing I can see is that
expectGET
Should be
whenGET
Regards,
Garry Taylor
--
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
In this case, the quotes are correct. `typeof` returns a string, and
`typeof undefined` returns undefined.
On Friday, May 16, 2014 10:58:22 AM UTC-7, Garry Taylor wrote:
Take the quotes of undefined.
Regards,
Garry Taylor
--
You received this message because you are subscribed to the
Sorry did not see the typeof there :)
Would not have been true anyhow...
--
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
Is there anything in the console logs?
--
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 created a Plunker that is filtering a table created with div elements:
Plunker: Filter a list with an input
fieldhttp://plnkr.co/edit/4C515jYR9p8w5vfQZcHO?p=preview
So, I've got something working. Hopefully from this simple example, I can
figure out what I'm doing wrong.
On Friday, May 16,
Good idea but, unfortunately, reworking the layout is not an option.
Thanks,
Jeremy
On Fri, May 16, 2014 at 4:34 AM, Garry Taylor gpltay...@gmail.com wrote:
A solution is to re-work the layout.
Have only one input box with an add button (nice tick or something). When
the user types their
Aha! figured it out.
Updated Plunk http://plnkr.co/edit/unk9hj?p=preview
New plunk clarifies/obviates what i learned re: bindings. Watch objects and
arrays (javascript things that are passed by reference) so what i was
trying to do with array indices or function return values on Ctrl scope
32 matches
Mail list logo