[AngularJS] angular-pickadate - a no dependency datepicker made for angular

2014-01-05 Thread Gabriel Schammah
https://github.com/restorando/angular-pickadate angular-pickadate A simple and fluid inline datepicker for AngularJS with no extra dependencies. [image: pickadate]

[AngularJS] How to create 3 way data binding between angularFire 0.5.0 and latest ng-grid?

2014-01-05 Thread Vaidas SMG
I cant find this question being answered anywhere, but I am very interested in how to do, because simple way doesnt work : $scope.myData.$bind($scope,'gridData'); Code Samples: http://stackoverflow.com/questions/20929801/how-to-create-3-way-data-binding-between-angularfire-0-5-0-and-latest-n

[AngularJS] Is nested controllers better or a single controller for this example?

2014-01-05 Thread Matthew Weiss
I have a large web form where someone fills out data for servicing their car. This form has: - billing information - car information - problem information - payment information all within a single web form. Currently I have it setup where there is a service, carService, which handles all of the

[AngularJS] Re: Is nested controllers better or a single controller for this example?

2014-01-05 Thread Daniel Tabuenca
Having a complex system of watches and event handlers to try to keep data in sync is usually too much complexity with very little return value. On the other hand, we’d like to stay true to the “principle of least knowledge” (or law of demeter), and only give each section access to the data i

[AngularJS] deployd - Server API

2014-01-05 Thread António Ramos
Hello, i found this persistence api with mongodb Very interesting to use with angular http://deployd.com/download.html -- 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

[AngularJS] Re: Is nested controllers better or a single controller for this example?

2014-01-05 Thread Matthew Weiss
Thank you! That makes complete sense. On Sunday, January 5, 2014 3:20:07 PM UTC-5, Matthew Weiss wrote: > > I have a large web form where someone fills out data for servicing their > car. This form has: > - billing information > - car information > - problem information > - payment information >

[AngularJS] Re: unit testing a controller that invokes a method that checks the DOM for a property.

2014-01-05 Thread apples
thanks Daniel, I've decided to go this route. Didn't realize that reading the DOM also counted as 'dom manipulation'...which I know is a bad practice. On Sunday, January 5, 2014 1:04:59 AM UTC-5, Daniel Tabuenca wrote: > > One of the great things about unit testing is that when you encounter > f

[AngularJS] ngOptions not updating the dropdown when used inside ngView

2014-01-05 Thread Hitesh Aneja
I have a select control with ng-options inside one of my html template (ng-view). I am trying to programmatically change the drop-down list by updating the scope property that contains the dropdownList data array. The strange thing that is happening is that in IE9 once you click the drop-down a

[AngularJS] Unit test service which uses $injector

2014-01-05 Thread Sam Pepose
Hello, How would I go about unit testing (Karma/Jasmine) a service which injects $injector? Example service is here. I keep getting "Error: [$injector:unpr] Unknown provider: serviceAProvider

[AngularJS] ngStyle can't add inline style as intended

2014-01-05 Thread Allen Nie
This is the code I wrote for the view: This is the code I wrote for changing the background-image. This is the js file code: Organization.get(function(organ) { $scope.organCover = "{'background-image': \"url('"+organ.organ_cover+"')\"}"; }); Organization is a $resource object. I gi

[AngularJS] Re: Storing null value inside database while trying to save data using angularjs and asp.net mvc

2014-01-05 Thread Sander Elias
Hi Mojam, Your post is barely readable to me, you did choose a really tiny font. if you post this much code, you might better use an plunker or an fiddle to explain your issue. However, the problem is in your server side logic. the payload you need is inside a ‘post’ wrapper in the object. p

[AngularJS] Re: complex names for input fields to use in ng-show.

2014-01-05 Thread XingHui Huang
try to use ng-attr-name="phones[{{$index}}].number" On Sunday, January 5, 2014 5:47:06 AM UTC+8, Mauro Sanna wrote: > > I have an input field whose attribute name is: > name="phones[{{$index}}].number" > > I want use a ng-show like this: > > ng-show="create_form.phones[$index].number.$dirty" > >

[AngularJS] Black Belt AngularJS Directives

2014-01-05 Thread joshkurz
Hello, I wanted to let everyone know about a repo that i've been working on for the past month. Its located here. Demo here The idea is to showcase different advanced techniques that help pro

[AngularJS] Re: ngStyle can't add inline style as intended

2014-01-05 Thread Sander Elias
Hi Allen, Have a look at this plunk, it works as it should. you have used ng-style="{{organCover}}" this means that your expression is translated into the string {'background-image': \"url('http://localhost/dooleystand/ci/public/images/orga

[AngularJS] Re: complex names for input fields to use in ng-show.

2014-01-05 Thread Daniel Tabuenca
On Sunday, January 5, 2014 10:59:08 PM UTC-8, XingHui Huang wrote: > > try to use ng-attr-name="phones[{{$index}}].number" > > On Sunday, January 5, 2014 5:47:06 AM UTC+8, Mauro Sanna wrote: >> >> I have an input field whose attribute name is: >> name="phones[{{$index}}].number" >> >> I want use

[AngularJS] Re: ngOptions not updating the dropdown when used inside ngView

2014-01-05 Thread Sander Elias
Hi Hitesh, I don't have IE9 available here, can you try this version: http://jsfiddle.net/SanderElias/mcVfK/194/ and let me know if that works? Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and st