[AngularJS] Re: Let's talk about browserify

2014-11-19 Thread Johan
I don't see any benefit in using browserify unless, for some reason, you want to use node modules. If you do want to control file load order, for example have the flexibility to reuse a module across multiple files then you can use a convention like filename [*].module.js contains the module se

Re: [AngularJS] Re: How to dynamically populate key/value pair in Angular JS?

2014-11-19 Thread Sander Elias
Hi Selva, I updated the plunk a bit, is that what you are looking for? Regards Sander -- 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...@googleg

[AngularJS] Re: Views & Partials

2014-11-19 Thread Rob
I should maybe also add that different user groups see different screens (what they see and how it's arranged). In addition, there are also field securities. Hence, the views will not be 'hard coded' but have to be dynamically generated from some kind of description. -- You received this messa

[AngularJS] Views & Partials

2014-11-19 Thread Rob
I am just starting out with AngularJS so my question is basic. I have a rather big MVC application to implement that is data centric. From a menu you get to all the different data (which are tables and views from a database retrieved via web services) as well as reports, etc. There are probably

[AngularJS] Re: $q.all & Promises

2014-11-19 Thread Justin Walsh
Hi Rob, As Kyle said, you probably have a minor typo: try promise without the $: $q.all([group.promise, task.promise]).then(function (results) { r = results; ... Regards Justin On Wednesday, 19 November 2014 20:05:35 UTC+2, Rob wrote: > > I have two queries on resources and try to process t

Re: [AngularJS] Re: How to dynamically populate key/value pair in Angular JS?

2014-11-19 Thread Selvakumar Murugesan
Hi Sanders, I couldn't figure this out :( could you please help me with the piece of code? Thanks a lot for your help in advance. Regards, Selva Best Regards, Selva http://www.selvaonline.com +1 470 208 9651 On Tue, Nov 18, 2014 at 10:10 PM, Sander Elias wrote: > Hi Selva, > > If you know wha

Re: [AngularJS] $q.all & Promises

2014-11-19 Thread Kyle Cordes
On Wed, Nov 19, 2014 at 12:05 PM, Rob wrote: > I have two queries on resources and try to process the data once both > queries have been finished. I tried to do this with the following code: > > var groupRes = $resource(baseUrl + "group/" + ":Id", { Id: "@Id" }, {}); > var group = groupRes.query(

Re: [AngularJS] Let's talk about browserify

2014-11-19 Thread Kai Groner
Hi Eric, We're using browserify with a mix of angular and commonjs/AMD modules as well as a handful of things that need to run outside of a module system (es5-shim, raven, modernizr). We don't do any transpiling, yet. Currently we are using browserify on things like angular, but only because we

[AngularJS] Re: Angular.js -- i18n/L10n: Suggestion on pluralization and gender dependant strings

2014-11-19 Thread AxelD
Given a JSON text file like this: { MyMessage: {n: ["Its no-name is: %fullName.", "Its one-name is: %fullName.", "Its multi-name is: %fullName."] ,m: ["His no-name is: %fullName.", "His one-name is: %fullName.", "His multi-name is: %fullName."] ,f: ["Her no-name is: %fullName.", "Her one-name is

Re: [AngularJS] Let's talk about browserify

2014-11-19 Thread Tony pee
I use browserify as i wanted to transition toward a more modular code arrangement, and it is really nice being able to use npm modules too. After looking at ways to concat angular module files first (or use something like gulp-angular-filesort) i think that i would actually just concat and use ang

[AngularJS] $q.all & Promises

2014-11-19 Thread Rob
I have two queries on resources and try to process the data once both queries have been finished. I tried to do this with the following code: var groupRes = $resource(baseUrl + "group/" + ":Id", { Id: "@Id" }, {}); var group = groupRes.query(); var taskRes = $resource(baseUrl + "task/" + ":Id", {

[AngularJS] Let's talk about browserify

2014-11-19 Thread Eric Eslinger
In order to build code that I think will make the 2.0 transition more smooth, I've been working on integrating traceur and ES6 stuff into my angular development. I've also split a fair bit of stuff into plain-old classes, treating my directive definitions and routing definitions as pretty much just

Re: [AngularJS] Problem with ng-repeat

2014-11-19 Thread Eric Eslinger
That's actually one of the major gotchas in current angular code, which is why they're working on improving the syntaxes. There's time when you need {{}} interpolation, time when you don't and there's one place where I end up having to do something like ng-something="'something'". I forget where in

Re: [AngularJS] Problem with ng-repeat

2014-11-19 Thread Carlos Saludes
Ok... pretty simple... I feel like an idiot. Thank you Eric. El miércoles, 19 de noviembre de 2014 16:26:54 UTC+1, Eric Eslinger escribió: > > Did you try a ng-click="showDetail(user.id)"? I am pretty sure the > ng-click syntax doesn't do brace interpolation. > > e > > On Wed Nov 19 2014 at 7:2

Re: [AngularJS] Problem with ng-repeat

2014-11-19 Thread Eric Eslinger
Did you try a ng-click="showDetail(user.id)"? I am pretty sure the ng-click syntax doesn't do brace interpolation. e On Wed Nov 19 2014 at 7:20:10 AM Carlos Saludes wrote: > Hi! > > I need to show a users list through restful. I got the json data and I use > this code to show de content: > > {{

[AngularJS] Problem with ng-repeat

2014-11-19 Thread Carlos Saludes
Hi! I need to show a users list through restful. I got the json data and I use this code to show de content: {{ user.name }} This code works fine, but when I click in "showDetail", I want to get the user id (user.id), not the index. If i set: {{ user.name }} The app says: you failed noob.

[AngularJS] unique filter with nested ng-repeat

2014-11-19 Thread akshayakdash . dash
I have an array of templates which has multiple sections associated with it. var template = [{templateID:1,templateName:"Template1",templateSections:[{sectionID:1,sectionName:"Section1"},{sectionID:2,sectionName:"Section2"},{sectionID:3,sectionName:"Section3"}]},{templateID:2,templateName:"Templa

Re: [AngularJS] How to use angular.bind(); function?

2014-11-19 Thread Pawel Kozlowski
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind Cheers, Pawel On Wed, Nov 19, 2014 at 2:38 PM, Ashok kumar wrote: > Hi i am new to angular js i was gone through the angular api references, > i had seen function called angular.bind(self, fn, args); i

[AngularJS] Re: scope.$watch doesn't work with directive with isolate scope and inner controller

2014-11-19 Thread Sander Elias
Hi Oleg, If you need an controller for an directive, define it inside the controller itself. Also, if you want to inject a controller, you must at least require it. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe f

[AngularJS] How to use angular.bind(); function?

2014-11-19 Thread Ashok kumar
Hi i am new to angular js i was gone through the angular api references, i had seen function called angular.bind(self, fn, args); i don't know how to use this function can explain any one with best example looking for your's forward reply Regards Ashok kumar -- You received this message bec

Re: [AngularJS] Re: ng-repeat with key and value

2014-11-19 Thread Sasikumar Veeraiah
Thank you vivek got the solution. Thanks & Regards, Sasikumar.V On Tue, Nov 18, 2014 at 11:35 PM, Vivek Anand wrote: > Please refer to the following link > . > > -- > You received this message because you are subscribed to the Google

[AngularJS] Re: Testing a directive that wraps a jQuery plugin

2014-11-19 Thread Benjamin André
Hasn't anyone encountered this issue yet? That would be a big surprise! Is my code example not good enough? -- 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+

[AngularJS] scope.$watch doesn't work with directive with isolate scope and inner controller

2014-11-19 Thread Oleg
http://plnkr.co/edit/fMf0WF5oaHgPeL2kHZT4?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 angular+unsubscr...@googlegroups.com. To post to this group, sen