Switch to DuckDuckGo Search
   December 23, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

Toggle Join/Part | bottom
[00:00:18] *** ngbot has joined #angularjs
[00:00:19] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from eae848a to 2caec44: http://git.io/RXYgUg
[00:00:19] *** ngbot has left #angularjs
[00:00:28] *** akrikos has quit IRC
[00:00:33] *** pen has joined #angularjs
[00:00:34] *** JacobJohansen has joined #angularjs
[00:00:40] *** annlewis has quit IRC
[00:00:48] *** startupality has joined #angularjs
[00:01:12] *** jonasliljestrand has joined #angularjs
[00:01:23] *** ngbot has joined #angularjs
[00:01:23] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from 2caec44 to a3c3bf3: http://git.io/zrBcZg
[00:01:23] *** ngbot has left #angularjs
[00:01:28] *** ravocom has quit IRC
[00:01:59] *** roadrunneratwast has quit IRC
[00:02:27] *** shpoont has quit IRC
[00:02:30] *** ngbot has joined #angularjs
[00:02:30] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from a3c3bf3 to c95e38c: http://git.io/LMYRfw
[00:02:30] *** ngbot has left #angularjs
[00:02:31] *** recidive has quit IRC
[00:02:33] *** thebigredgeek has joined #angularjs
[00:02:37] *** wafflej0ck has joined #angularjs
[00:02:49] <nahoskins> looking for a pointer on user generated templates in angular
[00:02:53] *** macobo has quit IRC
[00:03:10] <jonasliljestrand> Hi, if i want to share an instance of a ngResource between multiple controllers. How would you define the factory?
[00:03:11] *** KodaSimon has quit IRC
[00:03:13] *** MistahKurtz has joined #angularjs
[00:03:29] *** ngbot has joined #angularjs
[00:03:29] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from c95e38c to 5bb2636: http://git.io/Fm62XA
[00:03:29] *** ngbot has left #angularjs
[00:03:47] *** juanpablo_ has quit IRC
[00:04:37] *** ngbot has joined #angularjs
[00:04:37] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from 5bb2636 to 8928d02: http://git.io/T-ALUA
[00:04:37] *** ngbot has left #angularjs
[00:04:52] *** pspfolio has quit IRC
[00:05:11] *** Aliks has quit IRC
[00:05:12] *** 32NAASCY5 has joined #angularjs
[00:05:27] *** aven1 has joined #angularjs
[00:05:38] *** Aliks has joined #angularjs
[00:05:44] *** ngbot has joined #angularjs
[00:05:44] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from 8928d02 to e4f23c4: http://git.io/3VHhqg
[00:05:44] *** ngbot has left #angularjs
[00:06:11] *** scythe__ has joined #angularjs
[00:06:42] <rofer> I'm having some trouble with angular's databinding. In my controller I have a service and I'm doing something like this:
[00:06:47] *** ngbot has joined #angularjs
[00:06:47] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from e4f23c4 to 25623b7: http://git.io/ubxu5w
[00:06:47] *** ngbot has left #angularjs
[00:06:59] *** UniBot2 has quit IRC
[00:07:00] <rofer> $scope.service = myService; myService.doStuff()
[00:07:04] *** walden is now known as walden|afk
[00:07:20] *** Milkweed has joined #angularjs
[00:07:32] <rofer> Where doStuff ends up updating the myService object. However, binding to stuff like {{service.property}} doesn't seem to be updating
[00:07:34] *** proteneer has joined #angularjs
[00:07:50] *** ngbot has joined #angularjs
[00:07:50] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_4 from 25623b7 to 7f5051b: http://git.io/PiIQCg
[00:07:50] *** ngbot has left #angularjs
[00:08:21] *** jumpstracks has quit IRC
[00:08:37] *** cacts|works has quit IRC
[00:08:50] *** ngbot has joined #angularjs
[00:08:51] <ngbot> [angular.js] jeffbcross merged master into g3_v1_4: http://git.io/P-90gQ
[00:08:51] *** ngbot has left #angularjs
[00:09:02] *** joroc has quit IRC
[00:09:15] *** Embassy has quit IRC
[00:09:31] <rofer> Oh, I might just be doing this wrong.
[00:10:12] <rofer> Yeah, my problem was elsewhere.
[00:10:29] <AlexZ> hey guys, is it possible to do screencapture of your desktop to video, with a browser/html5/angular plugin?
[00:11:06] *** Aliks_ has joined #angularjs
[00:11:39] *** shackleford has quit IRC
[00:12:31] *** qwerty2 has joined #angularjs
[00:12:43] *** encryptd_fractl has quit IRC
[00:13:30] <qwerty2> Hi
[00:14:06] *** Aliks has quit IRC
[00:14:45] *** Embassy has joined #angularjs
[00:16:32] *** thebigredgeek has quit IRC
[00:17:01] *** jumpstracks has joined #angularjs
[00:18:52] *** adben- has quit IRC
[00:19:11] <jonasliljestrand> $get.Constructor ? :)
[00:19:49] *** SargoDarya has joined #angularjs
[00:19:57] *** pzuraq has quit IRC
[00:20:24] *** glosoli has joined #angularjs
[00:21:11] *** mary5030 has quit IRC
[00:21:29] *** glosoli has quit IRC
[00:21:45] *** jlmitch5_ has quit IRC
[00:21:59] *** jdivock has joined #angularjs
[00:22:14] *** cotko has joined #angularjs
[00:22:22] *** Hestil has quit IRC
[00:22:23] *** glosoli has joined #angularjs
[00:22:46] *** Nivag_ has quit IRC
[00:22:55] *** jlmitch5dev has joined #angularjs
[00:23:22] *** eslaron has joined #angularjs
[00:23:37] *** mdedetrich has quit IRC
[00:23:44] <eslaron> Hey ^^
[00:24:03] *** adamsilver has quit IRC
[00:24:03] *** tschundeee has joined #angularjs
[00:24:23] *** Milkweed has quit IRC
[00:24:34] *** nickeddy has quit IRC
[00:24:42] *** Lewix has joined #angularjs
[00:25:21] *** nickeddy has joined #angularjs
[00:25:48] *** torartc has joined #angularjs
[00:26:19] *** zivester has quit IRC
[00:26:21] *** mdedetrich has joined #angularjs
[00:26:40] *** lexek_ has joined #angularjs
[00:27:19] *** laurensclaessen has quit IRC
[00:27:53] *** SargoDarya has quit IRC
[00:28:23] *** despai has quit IRC
[00:28:50] *** tschundeee has quit IRC
[00:30:08] *** julaboy has joined #angularjs
[00:30:49] *** Trindaz has quit IRC
[00:31:27] *** renlo has joined #angularjs
[00:31:43] *** glosoli has left #angularjs
[00:33:07] *** doginal has quit IRC
[00:33:17] *** skyx has quit IRC
[00:33:47] *** CanyonMan has joined #angularjs
[00:33:59] *** IJNX has quit IRC
[00:34:28] *** csduarte has joined #angularjs
[00:35:26] *** joroc has joined #angularjs
[00:35:43] *** recidive has joined #angularjs
[00:36:01] *** bradmaxs has quit IRC
[00:36:12] *** Reskp has quit IRC
[00:36:34] *** Guest9325 has quit IRC
[00:36:44] *** IJNX has joined #angularjs
[00:36:53] *** codeman has quit IRC
[00:37:03] *** mzabriskie has quit IRC
[00:37:47] *** mikerrrrrr has quit IRC
[00:38:12] *** nemothekid has joined #angularjs
[00:38:23] *** MistahKurtz has quit IRC
[00:38:52] *** japhar81 has joined #angularjs
[00:38:59] *** zeezey has quit IRC
[00:39:11] *** aven1 has quit IRC
[00:39:20] *** mewm has quit IRC
[00:39:28] *** zeezey has joined #angularjs
[00:39:30] *** 64MABG9MU has joined #angularjs
[00:39:44] *** soee_ is now known as soee
[00:39:45] *** Mxyzpltk has quit IRC
[00:40:46] *** thebigredgeek has joined #angularjs
[00:42:00] *** chrisbirk has joined #angularjs
[00:42:22] *** yts has quit IRC
[00:42:41] *** qwerty2 has quit IRC
[00:42:52] *** MistahKurtz has joined #angularjs
[00:44:00] *** qwerty2 has joined #angularjs
[00:44:40] *** Embassy has quit IRC
[00:45:27] *** qwerty2 has quit IRC
[00:46:19] *** qwerty2 has joined #angularjs
[00:46:20] *** Fire-Dragon-DoL has quit IRC
[00:47:20] *** qwerty2 has quit IRC
[00:47:24] *** chrisbirk has quit IRC
[00:47:30] <caitp> well
[00:47:35] <caitp> i've almost got them doing the right thing
[00:47:56] *** JacobJohansen has quit IRC
[00:48:03] *** doginal has joined #angularjs
[00:48:46] *** zwacky has joined #angularjs
[00:49:27] *** whitebook has quit IRC
[00:49:45] *** qwerty2 has joined #angularjs
[00:50:31] *** Menorah has joined #angularjs
[00:50:46] *** eslaron has quit IRC
[00:51:05] *** qwerty2 has quit IRC
[00:51:24] *** rtpg has joined #angularjs
[00:52:07] *** 64MABG9MU has quit IRC
[00:52:17] *** ximenean__ has joined #angularjs
[00:54:40] *** disorder20 has quit IRC
[00:54:42] *** qwerty2 has joined #angularjs
[00:55:24] *** macabre has quit IRC
[00:55:37] *** disorder20 has joined #angularjs
[00:56:15] *** cacts has joined #angularjs
[00:56:29] *** ximenean__ has quit IRC
[00:56:32] *** qwerty2 has quit IRC
[00:57:31] *** aslate has joined #angularjs
[00:57:52] *** TyrfingMjolnir has joined #angularjs
[00:58:20] *** elrabin has quit IRC
[00:58:22] *** zanea is now known as zanea|away
[00:58:50] *** Foxandxss has quit IRC
[00:58:59] *** szymek has quit IRC
[00:59:31] *** qwerty2 has joined #angularjs
[00:59:54] *** g-nom3 has quit IRC
[01:00:43] *** Aerospark has joined #angularjs
[01:00:57] *** qwerty2 has quit IRC
[01:01:10] *** Aerospar_ has joined #angularjs
[01:01:41] *** guilbep has joined #angularjs
[01:01:51] *** Aerospar_ has quit IRC
[01:01:53] *** aslate has quit IRC
[01:01:54] *** HassanCehef has quit IRC
[01:01:59] *** jumpstracks has quit IRC
[01:02:09] *** torartc has quit IRC
[01:02:24] *** ries has joined #angularjs
[01:02:31] *** thedodd has quit IRC
[01:02:34] *** doginal has quit IRC
[01:02:41] *** qwerty2 has joined #angularjs
[01:03:32] *** leolrrj has joined #angularjs
[01:04:18] *** qwerty2 has quit IRC
[01:04:56] *** Dido has quit IRC
[01:05:12] *** Aerospark has quit IRC
[01:05:26] *** aven1 has joined #angularjs
[01:05:31] *** Aerospark has joined #angularjs
[01:06:15] *** pilva has quit IRC
[01:06:19] *** Aerospark has quit IRC
[01:06:33] *** AlexZ has quit IRC
[01:07:21] *** qwerty2 has joined #angularjs
[01:08:21] *** qwerty2 has quit IRC
[01:08:37] *** jaredwilli has joined #angularjs
[01:08:40] <robdubya> test?
[01:08:41] <robdubya> rest?
[01:08:45] *** guilbep has quit IRC
[01:09:06] <Lewix> robdubya:
[01:09:07] *** joroc has quit IRC
[01:09:07] *** lordkryss_ has quit IRC
[01:09:16] <Lewix> $resource.query() returns a promise, correct?
[01:09:48] *** qwerty2 has joined #angularjs
[01:10:45] *** pknordic_ has joined #angularjs
[01:11:05] *** whunt has quit IRC
[01:11:27] *** proteneer has quit IRC
[01:11:53] *** ron1 has joined #angularjs
[01:12:05] *** qwerty2 has quit IRC
[01:13:21] *** guilbep has joined #angularjs
[01:14:15] *** qwerty2 has joined #angularjs
[01:15:23] *** zeezey has quit IRC
[01:15:23] *** zeezey has joined #angularjs
[01:15:28] *** torartc has joined #angularjs
[01:15:47] *** pknordic_ has quit IRC
[01:15:50] <zwacky> Lewix, $resource.query().$promise returns a promise
[01:15:54] *** qwerty2 has quit IRC
[01:16:13] <Lewix> $resource.query() invokes $http, correct? and $http returns a promise yet $resource.query() doesnt
[01:16:22] <Lewix> they should have kept it consistent
[01:16:27] *** jumpstracks has joined #angularjs
[01:16:29] <zwacky> i fell on that too
[01:16:45] <robdubya> werd x 11ty
[01:17:17] <nahoskins> that screwed me over for an hour during a hackathon the other week
[01:17:31] <zwacky> same here. 1 hour byebye
[01:17:39] <nahoskins> I was convinced the django guy had screwed up his side
[01:18:04] *** startupality has quit IRC
[01:18:12] <nahoskins> so counterintuitive.
[01:18:15] *** ron1 has quit IRC
[01:18:22] <Lewix> totally
[01:19:47] *** qwerty2 has joined #angularjs
[01:20:01] *** ron1 has joined #angularjs
[01:20:27] *** whitebook has joined #angularjs
[01:21:07] *** qwerty2 has quit IRC
[01:21:14] *** bmac has joined #angularjs
[01:21:25] *** robdubya_ has joined #angularjs
[01:22:11] *** qwerty2 has joined #angularjs
[01:22:24] *** Menorah has quit IRC
[01:22:40] <icfantv> anyone used angular ui's $modal?
[01:23:14] *** bmac has quit IRC
[01:23:19] *** apertoire has joined #angularjs
[01:23:50] *** encryptd_fractl has joined #angularjs
[01:23:55] *** IJNX has quit IRC
[01:23:59] *** cotko has quit IRC
[01:25:08] <Lewix> zwacky: I want to modify the response of resource in the success callback and return a promise
[01:25:12] <Lewix> is $q my only option?
[01:25:30] *** SargoDarya has joined #angularjs
[01:25:32] <zwacky> all responses have $promise
[01:25:36] *** robdubya has quit IRC
[01:25:40] *** snapwich has quit IRC
[01:25:40] <zwacky> which you could use, Lewix
[01:26:02] <Lewix> zwacky: not after is modified
[01:26:25] <Lewix> zwacky: https://gist.github.com/6ewis/5bdcdda9d14ba4d3f886 line 5 wouldnt work
[01:27:13] <zwacky> hmmmm that should work in my head
[01:27:17] *** encryptd_fractl has quit IRC
[01:27:19] *** qwerty2 has quit IRC
[01:27:38] *** KushS has joined #angularjs
[01:27:49] *** whitebook has quit IRC
[01:28:15] *** kakashiAL has joined #angularjs
[01:29:04] *** robdubya_ has quit IRC
[01:29:16] *** qwerty2 has joined #angularjs
[01:29:16] *** guilbep has quit IRC
[01:29:20] *** robdubya has joined #angularjs
[01:29:24] <Lewix> zwacky: nope using $q is the way to go
[01:29:30] *** seriema has joined #angularjs
[01:29:42] *** ron1 has quit IRC
[01:29:42] <Lewix> resolve $q in the callback then return the promise
[01:29:42] *** jaredwilli has quit IRC
[01:30:01] *** ron1 has joined #angularjs
[01:30:02] <nahoskins> @icfantv I haven't played with the modals yet
[01:30:03] <robdubya> you have to return from the promise
[01:30:10] *** TheAceOfHearts has quit IRC
[01:30:15] <nahoskins> but the rest of angular-ui is very nicely put together
[01:30:22] *** g33k5z_ has joined #angularjs
[01:30:24] <zwacky> Lewix, if you'd return resource().query(..).$promise; directly?
[01:30:32] <robdubya> so var foos = $resource.query().$promise.then(function(foos){ return foos });
[01:30:35] <robdubya> foos.then(...
[01:30:42] *** qwerty2 has quit IRC
[01:30:57] <robdubya> which is tbh, a bit pointless
[01:31:13] *** renlo has quit IRC
[01:31:16] <nahoskins> wow
[01:31:27] *** TheAceOfHearts has joined #angularjs
[01:31:32] <icfantv> nahoskins: ok, thanks.
[01:31:43] <robdubya> their modals work really well btw
[01:31:45] <robdubya> the best of the bunch imo
[01:31:50] <Lewix> robdubya: i know
[01:31:54] *** DLSteve has quit IRC
[01:31:54] <icfantv> robdubya: whose?
[01:31:57] *** KushS has quit IRC
[01:32:02] <robdubya> ui-bootstrap
[01:32:20] <icfantv> ah, right. i think angular-ui is just a wrapper around it, no?
[01:32:25] *** mary5030 has joined #angularjs
[01:32:27] *** jdivock has quit IRC
[01:32:28] <robdubya> the only one that makes any damn sense (as compared to ionic's which is just a freakin mess)
[01:32:28] *** jlmitch5dev has quit IRC
[01:32:29] <Lewix> robdubya: my point was that i i modify the return value of the query then returns it, it seems i have no choice but also use $q to return a promise of the modified value
[01:32:39] <robdubya> nope, you don't need $q typically
[01:32:48] *** t_p has quit IRC
[01:32:49] <robdubya> if you already have a promise, $q is unnecessary
[01:32:53] <Lewix> robdubya: did you click on my link?
[01:32:59] *** Hestil has joined #angularjs
[01:33:02] <robdubya> think i dropped out
[01:33:06] <robdubya> relink?
[01:33:06] *** FunnyLookinHat has quit IRC
[01:33:21] <jaawerth> values returned from promises are automatically wrapped in promises
[01:33:22] *** qwerty2 has joined #angularjs
[01:33:28] <Lewix> i understand that
[01:33:40] *** encryptd_fractl has joined #angularjs
[01:33:42] <robdubya> Lewix you mean https://gist.github.com/6ewis/5bdcdda9d14ba4d3f886
[01:33:43] <robdubya> ?
[01:34:10] <Lewix> robdubya: https://gist.github.com/6ewis/5bdcdda9d14ba4d3f886
[01:34:21] <jaawerth> oh, the problem is ngResource
[01:34:29] *** bmac has joined #angularjs
[01:34:35] <jaawerth> in that it doesn't actually return a promise, except in $promise
[01:34:44] *** ron1 has quit IRC
[01:34:48] *** qwerty2 has quit IRC
[01:34:57] <Lewix> right
[01:35:03] *** phrozensilver has quit IRC
[01:35:09] <jaawerth> but you can just capture that promise
[01:35:10] <robdubya> Lewix https://gist.github.com/robwormald/e165f213830676e55cac
[01:35:24] *** richiebkr is now known as richardbkr-afk
[01:35:26] *** evilaliv3 has quit IRC
[01:35:26] *** startupality has joined #angularjs
[01:35:27] <jaawerth> ... like robdubya is doing
[01:35:28] *** joroc has joined #angularjs
[01:35:29] <jaawerth> lol
[01:35:40] <nahoskins> I'm trying and failing with my google skills
[01:35:53] *** renlo has joined #angularjs
[01:36:01] <jaawerth> anyway, I'm heading out. later!
[01:36:11] <nahoskins> looking for an example of user generated angular templates
[01:36:28] <nahoskins> was going to read to fs and do some ugliness to make it work
[01:36:52] *** startupality has quit IRC
[01:36:56] <nahoskins> there has to be a better way
[01:36:57] *** Reskp has joined #angularjs
[01:36:58] *** mary5030 has quit IRC
[01:37:07] *** bmac has quit IRC
[01:37:07] <robdubya> nahoskins pretty easy, just manually compile em
[01:37:17] *** Hestil has quit IRC
[01:37:37] *** tschundeee has joined #angularjs
[01:37:47] *** qwerty2 has joined #angularjs
[01:38:10] *** aven1 has quit IRC
[01:38:25] *** JesseH has joined #angularjs
[01:38:37] <Lewix> robdubya: it's confusings, so it returns the modified 'thing' with a promise in the callback?
[01:38:48] <Lewix> confusing*
[01:39:29] *** qwerty2 has quit IRC
[01:39:55] *** TyrfingMjolnir has quit IRC
[01:40:15] *** livingstn has joined #angularjs
[01:40:22] <Lewix> jaawerth: so then() works in a particular way, whatever valu it returns it returns with a promise
[01:40:26] *** ron1 has joined #angularjs
[01:40:28] *** mdedetrich has quit IRC
[01:40:42] *** qwerty2 has joined #angularjs
[01:40:48] *** jumpstracks has quit IRC
[01:41:33] *** tschunde_ has joined #angularjs
[01:41:44] *** bmac has joined #angularjs
[01:42:01] *** Reskp has quit IRC
[01:42:09] *** whitebook has joined #angularjs
[01:42:14] *** qwerty2 has quit IRC
[01:42:29] *** encryptd_fractl has quit IRC
[01:42:40] *** TyrfingMjolnir has joined #angularjs
[01:42:40] *** mafs_ is now known as mafs
[01:42:46] *** mafs has joined #angularjs
[01:42:47] *** mafs has joined #angularjs
[01:42:52] *** AlexZ has joined #angularjs
[01:43:16] *** komlev has joined #angularjs
[01:43:58] *** johnkevinmbasco has joined #angularjs
[01:44:47] *** tschundeee has quit IRC
[01:46:09] *** Embassy has joined #angularjs
[01:46:10] <robdubya> Lewix yeah - if you forget about resource for a moment, that's how a promise works.
[01:46:11] *** tschunde_ has quit IRC
[01:46:13] *** qwerty2 has joined #angularjs
[01:46:24] *** ron1 has quit IRC
[01:46:43] *** pzuraq has joined #angularjs
[01:46:47] *** mtho11 has quit IRC
[01:46:57] *** SargoDarya has quit IRC
[01:47:03] *** eago has quit IRC
[01:47:08] <Lewix> robdubya: true
[01:47:15] *** tschundeee has joined #angularjs
[01:47:38] *** qwerty2 has quit IRC
[01:47:46] *** Cronoh has quit IRC
[01:48:24] *** komlev has quit IRC
[01:49:54] *** qwerty2 has joined #angularjs
[01:50:03] *** bmonty has quit IRC
[01:50:05] *** gunn has joined #angularjs
[01:50:06] *** lexek_ has quit IRC
[01:50:32] *** bmonty has joined #angularjs
[01:50:52] *** proteneer has joined #angularjs
[01:51:02] *** ahmetkapikiran has quit IRC
[01:51:12] *** zwacky has quit IRC
[01:51:12] *** qwerty2 has quit IRC
[01:51:36] *** soee has quit IRC
[01:53:24] *** jusstinas has joined #angularjs
[01:53:58] *** g33k5z_ has quit IRC
[01:54:08] *** Aliks has joined #angularjs
[01:54:53] *** whunt has joined #angularjs
[01:55:02] *** quantax- has joined #angularjs
[01:55:14] *** qwerty2 has joined #angularjs
[01:56:00] <Lewix> robdubya: anything i should know about broadcast vs emit. I cam across a old blog that state that it doesn't work as expected most of the time, especially on the rootscope. I wanna make sure it's outdated
[01:56:30] *** metasansana has joined #angularjs
[01:56:31] *** metasansana has joined #angularjs
[01:56:41] *** qwerty2 has quit IRC
[01:57:17] *** Aliks_ has quit IRC
[01:57:55] *** foofoobar has quit IRC
[01:58:37] *** AciD`` has quit IRC
[01:58:39] *** clearcut has quit IRC
[01:59:48] *** qwerty2 has joined #angularjs
[02:00:56] *** qwerty2 has quit IRC
[02:01:19] *** pspfolio has joined #angularjs
[02:01:39] *** Aliks_ has joined #angularjs
[02:01:41] *** Aliks has quit IRC
[02:01:46] *** ome has joined #angularjs
[02:01:57] *** fred-fri has joined #angularjs
[02:02:24] *** qwerty2 has joined #angularjs
[02:02:57] *** disorder20 has quit IRC
[02:03:10] *** ron1 has joined #angularjs
[02:03:39] *** seriema has quit IRC
[02:03:44] *** qwerty2 has quit IRC
[02:03:45] *** ries has quit IRC
[02:03:51] *** zwacky has joined #angularjs
[02:04:01] *** Embassy has quit IRC
[02:04:05] *** BillCriswell has joined #angularjs
[02:04:27] *** seriema has joined #angularjs
[02:04:34] <jusstinas> Hi. Is it possible to load data from server before angular app start? I need to get data, which will be used in all controllers and all all views. I tried to start service on app.run, but controllers with views starts before request is finished.
[02:05:27] *** Embassy has joined #angularjs
[02:05:29] *** aven1 has joined #angularjs
[02:05:43] <nahoskins> @robdubya I'm thinking of creating documents containing markdown and reading the contents to a directory of views which can then be reloaded to the client
[02:06:04] *** pspfolio has quit IRC
[02:06:08] <nahoskins> I'm not sure I grok what you mean by manually compile
[02:06:16] *** cthrax has quit IRC
[02:06:23] *** qwerty2 has joined #angularjs
[02:07:25] *** rtpg has quit IRC
[02:08:02] *** qwerty2 has quit IRC
[02:08:33] *** seriema has quit IRC
[02:08:55] *** joroc has quit IRC
[02:09:11] *** Iravan has joined #angularjs
[02:09:14] *** ProLoser has joined #angularjs
[02:09:27] <zwacky> jusstinas, you could use resolve
[02:09:50] *** rtpg has joined #angularjs
[02:09:50] *** qwerty2 has joined #angularjs
[02:09:51] <zwacky> in the routes
[02:10:06] *** icfantv has quit IRC
[02:10:12] *** leolrrj has quit IRC
[02:10:15] <lebster> zwacky: is there another way you can do it so you dont have to do it on every route?
[02:10:34] <zwacky> you could use ui-router
[02:10:42] *** nemothekid has quit IRC
[02:10:58] <zwacky> and have a "root" route, that will be resolved once for them all
[02:11:10] *** cboden has quit IRC
[02:11:16] *** qwerty2 has quit IRC
[02:11:28] <robdubya> Lewix you should avoid broadcast and emit if possible
[02:11:34] *** Raju has joined #angularjs
[02:11:54] *** neilff has quit IRC
[02:11:59] <Raju> is any one from india
[02:12:18] <robdubya> nahoskins so its really two different issues
[02:12:26] <lebster> well i guess that is my reason to switch to ui-router now
[02:12:28] <lebster> lol
[02:12:31] *** boxmein_ has joined #angularjs
[02:12:34] <robdubya> 1 - intaking markdown and rendering it (with binding, presumably)
[02:12:38] <robdubya> 2 - saving it to the server
[02:12:44] *** snurfery has quit IRC
[02:13:19] *** cotko has joined #angularjs
[02:13:24] *** phoenixw has joined #angularjs
[02:13:32] *** Raju has quit IRC
[02:13:54] *** nemothekid has joined #angularjs
[02:14:20] *** phoenixw has quit IRC
[02:15:25] *** qwerty2 has joined #angularjs
[02:16:23] *** boxmein has quit IRC
[02:16:24] *** nemothek_ has joined #angularjs
[02:16:25] <jusstinas> zwacky: thanks for your advice with ui-router
[02:16:37] *** TyrfingMjolnir_ has joined #angularjs
[02:16:44] *** qwerty2 has quit IRC
[02:16:50] *** eago has joined #angularjs
[02:17:05] *** Reskp has joined #angularjs
[02:17:13] *** TyrfingMjolnir has quit IRC
[02:17:14] *** TyrfingMjolnir_ is now known as TyrfingMjolnir
[02:17:26] *** AimerPaddle has quit IRC
[02:17:33] *** merobertsjr has quit IRC
[02:17:52] *** Embassy has quit IRC
[02:17:57] *** doug64k has quit IRC
[02:17:59] *** ron1 has quit IRC
[02:18:00] *** Nivag_ has joined #angularjs
[02:18:32] <zwacky> np jusstinas
[02:18:34] *** qwerty2 has joined #angularjs
[02:18:35] *** Embassy has joined #angularjs
[02:18:43] *** neilff has joined #angularjs
[02:19:16] <Lewix> robdubya: i understand that. i'm asking the quirks i should know about that make it better to avoid
[02:19:46] *** nemothekid has quit IRC
[02:20:00] *** qwerty2 has quit IRC
[02:20:34] *** tschundeee has quit IRC
[02:21:11] *** tschundeee has joined #angularjs
[02:21:16] *** fedenunez has joined #angularjs
[02:21:16] *** Reskp has quit IRC
[02:21:25] <robdubya> problem is everybody uses them at the primary method of doing stuff in your app. whereas angular is about *data* binding
[02:21:35] *** qwerty2 has joined #angularjs
[02:21:36] <robdubya> events are better reserved for truly atomic stuff (like "did log in"
[02:22:24] *** BillCriswell has quit IRC
[02:22:53] *** neoadventist has quit IRC
[02:23:02] *** qwerty2 has quit IRC
[02:23:08] *** jusstinas has quit IRC
[02:23:57] *** boxmein_ is now known as boxmein
[02:24:02] *** marr has quit IRC
[02:24:08] *** lexek_ has joined #angularjs
[02:24:37] *** chrisbirk has joined #angularjs
[02:24:40] *** jonasliljestrand has quit IRC
[02:25:39] *** livingstn has quit IRC
[02:25:50] *** qwerty2 has joined #angularjs
[02:26:00] *** tschundeee has quit IRC
[02:26:59] *** chrisbirk has quit IRC
[02:27:15] *** loverajoel has joined #angularjs
[02:27:16] *** qwerty2 has quit IRC
[02:29:38] *** FunnyLookinHat has joined #angularjs
[02:31:47] *** bmac has quit IRC
[02:32:37] *** jusstinas has joined #angularjs
[02:33:02] *** morenoh149 has quit IRC
[02:33:25] *** bmac has joined #angularjs
[02:34:03] *** zB0hs has quit IRC
[02:34:27] *** neilff has quit IRC
[02:35:29] *** joroc has joined #angularjs
[02:36:02] *** ron1 has joined #angularjs
[02:37:44] *** Zentdayn has joined #angularjs
[02:38:07] *** aven1 has quit IRC
[02:40:58] *** Siecje has joined #angularjs
[02:41:04] *** ximenean__ has joined #angularjs
[02:43:59] *** loverajoel has quit IRC
[02:44:12] *** LakWork has quit IRC
[02:44:21] *** SargoDarya has joined #angularjs
[02:44:31] *** mdedetrich has joined #angularjs
[02:44:49] *** {DV8} has joined #angularjs
[02:44:51] *** loverajoel has joined #angularjs
[02:44:59] *** JeffBuhrt has joined #angularjs
[02:45:24] *** g-nom3 has joined #angularjs
[02:45:26] *** ximenean__ has quit IRC
[02:46:28] *** doodlehaus has joined #angularjs
[02:46:31] *** rkjdid has quit IRC
[02:49:22] *** proteneer has quit IRC
[02:49:37] *** Menorah has joined #angularjs
[02:49:40] *** fedenunez has quit IRC
[02:49:56] *** opiates has quit IRC
[02:50:55] *** Browser has quit IRC
[02:51:11] *** proteneer has joined #angularjs
[02:51:38] *** nahoskins has quit IRC
[02:51:49] *** tschundeee has joined #angularjs
[02:53:36] *** ChadStrat has quit IRC
[02:54:32] *** zB0hs has joined #angularjs
[02:55:35] *** doug64k has joined #angularjs
[02:55:35] *** doodlehaus has quit IRC
[02:56:24] *** tschundeee has quit IRC
[02:57:30] *** mspier is now known as mspier|away
[02:57:56] *** dc_ has joined #angularjs
[02:59:28] *** pknordic_ has joined #angularjs
[03:00:02] *** shyshy has joined #angularjs
[03:00:13] *** julaboy has quit IRC
[03:00:38] *** merobertsjr has joined #angularjs
[03:00:41] *** Browser has joined #angularjs
[03:01:06] *** julaboy has joined #angularjs
[03:01:07] <fred-fri> what am i doing wrong in my reduce? http://pastebin.com/9ASKyRpS
[03:02:08] *** proteneer has quit IRC
[03:02:13] *** tomfriedhof has quit IRC
[03:03:48] *** ivor has joined #angularjs
[03:04:02] *** pknordic_ has quit IRC
[03:05:13] *** SargoDarya has quit IRC
[03:05:27] *** tomphp has joined #angularjs
[03:05:47] *** boxmein has quit IRC
[03:06:24] *** shampine has quit IRC
[03:06:24] *** xxMatiasFCxx has quit IRC
[03:06:25] *** xxMatiasFxx has joined #angularjs
[03:07:46] *** nycdevgirl has joined #angularjs
[03:07:48] *** Zeioth has quit IRC
[03:07:53] *** lexek_ has quit IRC
[03:08:29] *** rchavik has joined #angularjs
[03:08:38] *** RobinBAwesome has quit IRC
[03:08:40] *** loverajoel has quit IRC
[03:08:53] *** ron1 has quit IRC
[03:09:00] *** zwacky has quit IRC
[03:09:21] *** opiates has joined #angularjs
[03:10:46] *** neilff has joined #angularjs
[03:11:16] *** ProLoser has quit IRC
[03:11:29] *** julaboy has quit IRC
[03:11:30] *** gunn has quit IRC
[03:11:39] *** fedenunez has joined #angularjs
[03:11:49] *** ProLoser has joined #angularjs
[03:12:16] *** ron_frown has joined #angularjs
[03:12:17] *** julaboy has joined #angularjs
[03:14:52] *** neilff has quit IRC
[03:14:54] *** seriema has joined #angularjs
[03:15:03] *** nickgs has joined #angularjs
[03:15:14] *** camnora has joined #angularjs
[03:15:30] *** michaelSharpe has joined #angularjs
[03:15:57] *** ProLoser has quit IRC
[03:16:04] *** Hackwar has quit IRC
[03:16:24] *** KushS has joined #angularjs
[03:16:40] *** Lewix has quit IRC
[03:17:00] *** fairuz has joined #angularjs
[03:17:19] *** Jango has joined #angularjs
[03:18:03] *** Reskp has joined #angularjs
[03:18:13] *** opiates has quit IRC
[03:18:18] <Jango> Hello guys
[03:19:39] *** seriema has quit IRC
[03:19:44] <Jango> Can some body help me in how to insert a div or directive dynamically using Angular
[03:19:59] <Jango> ?
[03:20:00] *** AlexZ has quit IRC
[03:20:50] *** fotoflo has quit IRC
[03:21:03] *** jlmitch5dev has joined #angularjs
[03:21:05] *** KushS has quit IRC
[03:22:20] *** fotoflo has joined #angularjs
[03:22:26] *** Reskp has quit IRC
[03:23:07] <jaawerth> fred-fri: you're forgetting that you're returning an object with an "x" property from each iteration
[03:23:49] *** nycdevgirl has quit IRC
[03:23:52] *** gunn has joined #angularjs
[03:24:34] <jaawerth> fred-fri: the way you have it now, you'd need return a.x.score + b.score. Personally, I'd avoid constructing and returning pointless objects when you're just adding a score and do return a.score + b.score and then stick the final score on whatever object you need
[03:25:23] *** jlmitch5dev has quit IRC
[03:25:24] <jaawerth> fred-fri: er, that is, the way you have it now, you'd need return {x: a.x.score + b.x.score}, but even then I'd do it a bit differently..
[03:26:24] *** mmealling has joined #angularjs
[03:26:28] *** Milkweed has joined #angularjs
[03:26:54] *** fairuz has quit IRC
[03:27:05] *** dsdeiz has joined #angularjs
[03:27:14] <jaawerth> .reduce(function(a, b) { return a.x.score += b.score; return a;}, {x: 0});
[03:27:25] *** pizthewiz has joined #angularjs
[03:27:39] *** pizthewiz has quit IRC
[03:28:33] <jaawerth> Jango: you'd use another directive as the "target" for the insertion, usually. Simplest way is with an ng-repeat, since hten you can just push to the array/object of stuff you're repeating ovoer
[03:28:43] *** patrick99e99 has quit IRC
[03:29:03] *** MistahKurtz has quit IRC
[03:29:13] *** freeAir_ has joined #angularjs
[03:29:50] *** opiates has joined #angularjs
[03:31:24] *** scythe__ has quit IRC
[03:31:32] *** johnkevinmbasco has quit IRC
[03:31:33] *** cellofellow has joined #angularjs
[03:32:56] *** Jango has quit IRC
[03:33:29] *** johnkevinmbasco has joined #angularjs
[03:34:06] *** markum has joined #angularjs
[03:34:16] *** ron1 has joined #angularjs
[03:34:37] <fred-fri> jaawerth: thank you very much im new to javascript and this syntax was tricky
[03:35:32] *** aven1 has joined #angularjs
[03:36:14] *** Zentdayn has quit IRC
[03:36:15] *** Aliks_ has quit IRC
[03:36:27] *** mtho11 has joined #angularjs
[03:36:32] *** johnkevinmbasco has quit IRC
[03:37:07] *** Aliks has joined #angularjs
[03:38:12] *** joroc has quit IRC
[03:38:17] *** recidive has quit IRC
[03:38:29] *** markum has quit IRC
[03:38:45] *** JR___ has joined #angularjs
[03:39:06] *** morenoh149 has joined #angularjs
[03:39:08] *** Aliks has quit IRC
[03:39:40] *** julaboy has quit IRC
[03:39:59] *** KushS has joined #angularjs
[03:41:07] <dylan9o4> Hey I'm having trouble the link function in a directive that has a listener attached to it, which it does call, but when it changes the scope variable, the elements I have that depend on it as well as the $watch function I have for the variable do not detect the change. However when I check the value of the variable it has been changed, so it just isn't being detected
[03:41:37] <dylan9o4> I don't get why
[03:41:48] *** kapil__ has joined #angularjs
[03:41:56] <jaawerth> are you changing a property on it, or the entire thing?
[03:42:23] *** whunt has quit IRC
[03:42:56] *** whiteboo_ has joined #angularjs
[03:43:28] *** whitebook has quit IRC
[03:43:29] *** boneskul_ has joined #angularjs
[03:44:10] *** evok has joined #angularjs
[03:44:16] *** sbellina has quit IRC
[03:44:34] *** KushS has quit IRC
[03:44:52] *** gunn has quit IRC
[03:44:57] *** boneskull has quit IRC
[03:45:10] <dylan9o4> jaawerth: a property, scope.uImgs
[03:45:15] <dylan9o4> jaawerth: http://pastebin.com/CUMN1Qmc
[03:45:49] *** ron1 has quit IRC
[03:46:00] *** JesseH has quit IRC
[03:46:04] *** ron1 has joined #angularjs
[03:46:44] <jaawerth> dylan9o4: in that case, remember that an object is just a reference - you won't trigger a scope watcher unless the reference itself changes, unless you're using deepWatch (which will check multiple levels of the object, but is more expensive) or use watchCollection (which will go one level deep, so it's cheaper)
[03:47:00] <jaawerth> dylan9o4: "deep" watch is just $scope.watch('whatever', function() { do stuff}, true)
[03:47:18] <jaawerth> if you look at the docs for scope, it'll have the details of $watch and $watchCollection
[03:47:56] *** caitp- has joined #angularjs
[03:48:02] *** tomphp has quit IRC
[03:48:53] *** julaboy has joined #angularjs
[03:51:03] *** caitp has quit IRC
[03:51:58] <dylan9o4> jaawerth: when I add true for the objectEquality parameter, it still doesn't catch the change for my object, however, when I change the scope OUTSIDE of my event listener function, the watch does trigger as it did before, and as I desire
[03:51:58] *** julaboy has quit IRC
[03:52:22] *** z3n1 has joined #angularjs
[03:52:36] *** julaboy has joined #angularjs
[03:52:37] *** tschundeee has joined #angularjs
[03:53:04] *** jlmitch5dev has joined #angularjs
[03:53:35] *** jlmitch5dev has quit IRC
[03:53:37] *** proteneer has joined #angularjs
[03:54:41] *** jlmitch5dev has joined #angularjs
[03:56:30] *** dc_ has quit IRC
[03:56:51] *** bmonty has quit IRC
[03:57:10] *** Fishy has joined #angularjs
[03:57:16] *** julaboy has quit IRC
[03:57:20] *** Coldice has quit IRC
[03:57:21] *** tschundeee has quit IRC
[03:57:22] <dylan9o4> would it be something with the time delay, or a different scope that is keeping the change from being detected? I'm at a loss, I can paste a link to the site if needed
[03:57:39] *** silo- has quit IRC
[03:57:46] *** Aerospark has joined #angularjs
[03:58:08] *** Cronoh has joined #angularjs
[03:58:52] *** jlmitch5dev has quit IRC
[03:59:07] *** Guest65999 has joined #angularjs
[03:59:23] *** wolfman2000 has joined #angularjs
[03:59:50] *** cads has quit IRC
[04:00:13] *** jusstinas has quit IRC
[04:00:15] *** fedenunez has quit IRC
[04:01:23] *** Aerospark has quit IRC
[04:01:52] *** SargoDarya has joined #angularjs
[04:02:07] <jaawerth> dylan9o4: delay shouldn't matter, the watcher would be setup before you've changed the array regardless, and $timeout would make sure a digest is triggered
[04:02:08] *** Aerospark has joined #angularjs
[04:02:12] <jaawerth> send me your updated code?
[04:02:35] *** dc_ has joined #angularjs
[04:02:49] *** pspfolio has joined #angularjs
[04:03:15] <jaawerth> what if you remove your if statement there?
[04:03:30] *** 32NAASCY5 has quit IRC
[04:03:41] <jaawerth> what are you supposed to be doing with that $('#myawesomedropzone').length bit?
[04:04:10] <freeAir_> the ng-messages need the ng-if to show the messages?
[04:04:23] *** cotko has quit IRC
[04:05:08] *** nocturne777 has joined #angularjs
[04:06:32] *** SargoDarya has quit IRC
[04:06:40] <dylan9o4> jaawerth: well I'm still in the same spot, as far as the if statement goes it doesn't affect it, the object pushed to the uImgs array right after that if statement is triggered, all those logs within the listener are triggered, it even logs the updated scope, but the $watch isn't triggered and the ng-repeat doesn't add another element from within that "dropzone" listener jaawerth
[04:06:40] *** Aerospark has quit IRC
[04:07:22] *** pspfolio has quit IRC
[04:08:26] <jaawerth> dylan9o4: oh wait - you're talking about the push within the listener trigger?
[04:08:34] <dylan9o4> yes
[04:08:57] <jaawerth> dylan9o4: your initial $timeout triggers a digest, but once that listener is registered, nothing in that listener is triggering one - and that event is coming outside of angular context
[04:09:34] <dylan9o4> OH, so what would I need to change to avoid that?
[04:09:36] <jaawerth> in other words, wrap that push in a $scope.apply(function() { })
[04:09:49] <jaawerth> which will execute the code inside it and then trigger a digest
[04:10:22] <jaawerth> the digest is where the dirty-checking (including checking any $scope.$watch stuff and updating the DOM) happens
[04:10:26] *** Fishy has quit IRC
[04:11:22] *** eago has quit IRC
[04:11:23] <dylan9o4> jaawerth: so like this? scope.apply(function() { scope.uImgs.push({name: 'name', status: 'done', width: 220, height: 100}); });
[04:11:27] *** bmac has quit IRC
[04:12:11] *** neilff has joined #angularjs
[04:12:27] *** SahanH has joined #angularjs
[04:12:30] *** etoxin has joined #angularjs
[04:14:24] <jaawerth> yeah
[04:14:50] *** TheAceOfHearts has quit IRC
[04:15:04] *** cthrax has joined #angularjs
[04:15:09] *** etoxin has quit IRC
[04:15:13] *** Siecje has quit IRC
[04:15:25] *** patrickarlt has quit IRC
[04:15:29] *** robdubya has quit IRC
[04:15:50] *** chrisshattuck has joined #angularjs
[04:16:18] *** opiates has quit IRC
[04:16:46] *** neilff has quit IRC
[04:17:08] *** camnora has quit IRC
[04:18:02] *** freeAir_ has quit IRC
[04:18:37] *** Reskp has joined #angularjs
[04:18:50] *** Milkweed has quit IRC
[04:19:04] *** camnora has joined #angularjs
[04:19:23] *** camnora has quit IRC
[04:20:07] *** ash___ has joined #angularjs
[04:20:17] *** rtpg has quit IRC
[04:20:39] <ash___> So new hype wagon is React huh
[04:21:59] *** CodeFriar has joined #angularjs
[04:23:20] *** Reskp has quit IRC
[04:28:26] *** mary5030 has joined #angularjs
[04:29:13] *** Iravan has quit IRC
[04:29:20] *** Left_Turn has quit IRC
[04:29:34] *** ron1 has quit IRC
[04:29:38] *** Iravan has joined #angularjs
[04:29:51] *** ximenean__ has joined #angularjs
[04:30:06] *** torartc has quit IRC
[04:30:12] *** renlo has quit IRC
[04:30:20] *** bmac has joined #angularjs
[04:30:36] *** ron1 has joined #angularjs
[04:31:04] *** TyrfingMjolnir has quit IRC
[04:31:30] *** eago has joined #angularjs
[04:32:14] *** ron1 has quit IRC
[04:33:18] *** jlmitch5dev has joined #angularjs
[04:34:09] <jaawerth> yeah - really just handles the view aspects of things, though. Interested to try it out plugged into a data model lib and Require, though
[04:34:14] <jaawerth> to see how it integrates
[04:34:43] *** ximenean__ has quit IRC
[04:35:10] *** wa5ted_ has joined #angularjs
[04:35:22] *** cellofellow has quit IRC
[04:35:34] *** joroc has joined #angularjs
[04:36:36] *** nuizzy has quit IRC
[04:36:45] *** z3n1 has quit IRC
[04:37:28] *** wa5ted has quit IRC
[04:37:48] *** TheAceOfHearts has joined #angularjs
[04:38:19] *** ron1 has joined #angularjs
[04:38:26] *** aven1 has quit IRC
[04:39:03] *** whunt has joined #angularjs
[04:40:37] *** gunn has joined #angularjs
[04:41:33] *** boneskul_ has quit IRC
[04:42:39] *** AlexZ has joined #angularjs
[04:43:01] *** torartc has joined #angularjs
[04:43:39] *** snurfery has joined #angularjs
[04:43:55] *** Aliks has joined #angularjs
[04:44:09] *** whunt has quit IRC
[04:44:11] *** ron1 has quit IRC
[04:47:16] *** JesseH has joined #angularjs
[04:47:37] *** michaelSharpe has quit IRC
[04:47:48] *** recurrence has joined #angularjs
[04:48:10] *** pknordic_ has joined #angularjs
[04:50:37] *** cthrax has quit IRC
[04:52:22] *** pknordic_ has quit IRC
[04:52:38] *** tschundeee has joined #angularjs
[04:52:54] *** cthrax has joined #angularjs
[04:53:57] *** tomfriedhof has joined #angularjs
[04:54:10] *** kuadrosx has joined #angularjs
[04:54:14] *** whunt has joined #angularjs
[04:55:00] *** kuadrosx has quit IRC
[04:55:04] *** Aerospark has joined #angularjs
[04:55:38] *** dsdeiz has quit IRC
[04:57:28] *** tschundeee has quit IRC
[04:58:05] *** Aerospar_ has joined #angularjs
[04:58:37] *** whunt has quit IRC
[04:59:07] *** JesseH has quit IRC
[04:59:19] *** gauravsaini03 has joined #angularjs
[04:59:42] *** s00pcan_ has joined #angularjs
[05:00:00] *** Aerospark has quit IRC
[05:00:14] *** FunnyLookinHat has quit IRC
[05:00:15] *** Hippo_ has joined #angularjs
[05:00:24] *** tomfriedhof has quit IRC
[05:00:37] <Hippo_> any rookie mistake that would cause $routeChangeSuccess to fire twice
[05:01:43] *** test____ has joined #angularjs
[05:02:14] *** test____ has left #angularjs
[05:02:29] *** loverajoel has joined #angularjs
[05:02:46] *** tes23122014 has joined #angularjs
[05:03:41] *** SargoDarya has joined #angularjs
[05:04:11] *** diulio has joined #angularjs
[05:04:36] *** tes23122014 has quit IRC
[05:04:40] *** cthrax has quit IRC
[05:04:51] *** Aerospar_ has quit IRC
[05:05:32] *** aven1 has joined #angularjs
[05:05:57] *** ron1 has joined #angularjs
[05:06:02] *** nickgs has quit IRC
[05:06:09] *** jlmitch5dev has quit IRC
[05:06:43] *** loverajoel has quit IRC
[05:07:16] *** loverajoel has joined #angularjs
[05:07:34] *** pen has quit IRC
[05:07:51] *** pen has joined #angularjs
[05:08:13] *** joroc has quit IRC
[05:08:34] *** diulio has quit IRC
[05:08:38] *** torartc has quit IRC
[05:09:15] *** bmac has quit IRC
[05:09:27] *** gunn has quit IRC
[05:11:17] *** loverajoel has quit IRC
[05:11:40] *** loverajoel has joined #angularjs
[05:11:47] *** BillCriswell has joined #angularjs
[05:11:51] *** ron1 has quit IRC
[05:11:52] *** freeAir has joined #angularjs
[05:13:26] <jaawerth> hmm might have something to do with how a child state is resolving, maybe? or you're doing a redirect without stopping the event before the previous state resolves?
[05:13:49] *** urbildpunkt has quit IRC
[05:14:20] *** gunn has joined #angularjs
[05:14:25] *** urbildpunkt has joined #angularjs
[05:14:32] *** robdubya has joined #angularjs
[05:14:43] *** proteneer has quit IRC
[05:14:48] *** CodeFriar has quit IRC
[05:14:52] *** loverajo_ has joined #angularjs
[05:15:43] *** BahamutWC|Laptop has joined #angularjs
[05:16:10] *** loverajoel has quit IRC
[05:17:06] *** meganoob has joined #angularjs
[05:17:13] *** jumpstracks has joined #angularjs
[05:18:27] *** ron1 has joined #angularjs
[05:19:19] *** Reskp has joined #angularjs
[05:21:20] *** Reskp_ has joined #angularjs
[05:21:22] *** safani has joined #angularjs
[05:21:26] *** Fishy has joined #angularjs
[05:21:27] <safani> Hello all.
[05:21:50] *** ome has quit IRC
[05:21:51] <christo_m> does anyone have any demo projects to look at that use this: https://github.com/DaftMonk/fullstack-demo
[05:22:00] <christo_m> im trying to figure out how to organize my CRUD stuff
[05:22:19] <safani> So i'm trying to copy an object so that I can remove a property from the copied object, without removing it from the main important object.
[05:22:27] <christo_m> sorry this: https://github.com/DaftMonk/generator-angular-fullstack , but thats their demo site, it doesnt have much there to look at though.
[05:22:54] <safani> I tried to use angular copy but the object is copied as a reference instead, same with extend. So when I delete the property, it is deleted in the original object as well.
[05:23:06] <safani> I want to create a completely different object!
[05:23:42] *** boneskull has joined #angularjs
[05:23:53] <safani> christo_m: lookup angular best practices for directory structure
[05:24:17] *** Reskp has quit IRC
[05:24:25] *** gunn has quit IRC
[05:24:57] *** gauravsaini03 has quit IRC
[05:25:43] *** SargoDarya has quit IRC
[05:25:49] *** Fishy has quit IRC
[05:25:55] *** Reskp_ has quit IRC
[05:26:54] *** gunn has joined #angularjs
[05:26:59] *** boneskull has quit IRC
[05:28:38] *** opiates has joined #angularjs
[05:28:52] <christo_m> safani: http://scotch.io/tutorials/angularjs-best-practices-directory-structure well this is what i found.
[05:28:55] <christo_m> it isnt clear though.
[05:29:06] <christo_m> so do i treat the whole CRUD on an entity as its own app?
[05:29:23] <christo_m> so creation, editing etc, all takes place in one html file??
[05:29:43] <safani> Well there are many opinions, it depends on your app size
[05:30:16] <christo_m> hmm.
[05:30:38] *** jumpstracks has quit IRC
[05:30:46] <safani> whenever something gets too big I begin to compartmentalize
[05:31:08] *** loverajo_ has quit IRC
[05:31:24] <christo_m> well i dont think it matters how big or small an app is, you should have seperate html files for view, edit, create, delete etc
[05:31:45] <christo_m> well, i guess technically edit and create is the same view, but ya.
[05:31:46] <safani> lol, wait that site says to have in one file?
[05:31:51] <jaawerth> single page apps use client-side routing
[05:32:04] <christo_m> jaawerth: right.
[05:32:16] <jaawerth> you build them all out separately, but your index.html file is the only one that actually gets loaded in the traditional sense
[05:32:22] <christo_m> yes... i know that.
[05:32:25] <jaawerth> so
[05:32:28] <jaawerth> I don't get what you're saying
[05:32:38] *** loverajoel has joined #angularjs
[05:32:39] *** Embassy has quit IRC
[05:32:39] <christo_m> im trying to establish optimal structure?
[05:32:53] <jaawerth> but the site you linked doesn't advocate a single file at all
[05:32:56] <jaawerth> what are you arguing against?
[05:33:04] <christo_m> blogView.html??
[05:33:12] *** Menorah has quit IRC
[05:33:19] *** Embassy has joined #angularjs
[05:33:21] <safani> lot to learn?
[05:33:38] <jaawerth> that's an example
[05:33:47] *** ron1 has quit IRC
[05:33:54] <christo_m> okay so ideally i should have blogEdit.html etc etc
[05:34:08] *** ron1 has joined #angularjs
[05:34:15] <christo_m> safani: i dont understand your question
[05:34:18] <jaawerth> depends on complexity, but sure
[05:34:24] <christo_m> yes i keep hearing that
[05:34:27] <safani> i think you should have whatever your app calls for
[05:34:30] *** proteneer has joined #angularjs
[05:34:32] <jaawerth> that's because it's true ;-)
[05:34:37] <jaawerth> sometimes I'll even take a fractal structure
[05:34:39] <christo_m> thats silly though because
[05:34:43] <safani> i think you may have a lot to learn based on your questions.
[05:34:45] <christo_m> different developers will have different structures for angular apps
[05:34:49] <jaawerth> say I have a component in my components/ folder, but it's built up of a lot of things
[05:34:52] <christo_m> seems kind of weird to just not have a convention.
[05:34:55] <safani> was joking a bit christo_m
[05:35:02] <christo_m> safani: i have a lot to learn about structure
[05:35:07] <christo_m> as thats what im asking about, sure.
[05:35:33] *** joroc has joined #angularjs
[05:35:36] <jaawerth> I might make sub-folders for the sub-components, each with a views/ and styles folder for HTML/SCSS, and a js/ folder for directives, services, etc
[05:35:50] <christo_m> jaawerth: sure but thats just recursively doing the same structure again..
[05:36:08] <christo_m> so if thats how its done, thats how ill do it
[05:36:10] <jaawerth> yeah, but it makes sense from a deployment/dev perspective, and my dev tools don't care
[05:36:23] <christo_m> it just isnt apparent how the views are all setup for CRUD operations for example, so id like to see an established moderately sized project
[05:36:27] <safani> if the app gets big, you want it to be recursive ... maybe
[05:36:29] <christo_m> that isnt a small demo app or tutorial
[05:36:49] <safani> if certain parts are too big, I put them in a module.
[05:36:58] *** loverajoel has quit IRC
[05:37:04] <christo_m> ya this is a little too much freedom for me
[05:37:10] <christo_m> i miss rails for this type of thing.
[05:37:13] <jaawerth> christo_m: have you found the google style guide yet? more specifically, the doc it links to about dir structure?
[05:37:15] *** gunn has quit IRC
[05:37:20] *** JeffBuhrt has quit IRC
[05:37:22] *** chrisbirk has joined #angularjs
[05:37:51] <jaawerth> christo_m: it's here https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub and the main style guide is here http://google-styleguide.googlecode.com/svn/trunk/angularjs-google-style.html#appstructure
[05:37:52] *** boneskull has joined #angularjs
[05:38:50] *** aven1 has quit IRC
[05:39:03] *** gauravsaini03 has joined #angularjs
[05:39:53] <christo_m> i looked at it
[05:40:26] <christo_m> i dont think https://github.com/DaftMonk/fullstack-demo is following it exactly then
[05:41:12] *** Z3R0 has joined #angularjs
[05:41:25] <jaawerth> the approaches are all somewhat fluid, that's the thing. Some of it's a matter of trying it out and seeing what works best. Fortunately, the structure stuff tends to be pretty forgiving thanks to gulp/grunt and the way things are injected
[05:41:31] *** mglvl has quit IRC
[05:42:15] *** jumpstracks has joined #angularjs
[05:42:22] <jaawerth> yeoman's generator-gulp-angular has some great basic gulp tasks to kick you off, and the dir structure there is pretty close to the best practices. The one thing it doesn't do that I ALWAYS do is make every component in my components/ folder its own module
[05:42:35] *** whitebook has joined #angularjs
[05:43:10] <jaawerth> it doesn't really do the fractal thing, but the fractal thing is something I typically don't do for a component unless it reaches a certain size or I know it WILL reach a certain size. it's pretty easy to split stuff up on the fly
[05:43:23] <christo_m> hmm okay
[05:43:30] <christo_m> im just now realizing the app im doing at work is completely wrong
[05:43:40] <christo_m> it has controllers in the controllers folder, services in services etc
[05:43:59] <christo_m> which means ill have to refactor it at some point :(
[05:44:00] <jaawerth> ah, yeah. that works up to a point, but it makes your code less reusable across projects
[05:44:01] *** sabrehagen has joined #angularjs
[05:44:16] <christo_m> its not bad currently, theres only about 5-6 controllers so its manageable
[05:44:30] <christo_m> but i like to be prepared for scalability rather than rush last minute
[05:44:31] *** whiteboo_ has quit IRC
[05:44:40] <jaawerth> the key is components, since it essentially lets you code your angular stuff split up into reusable modules you can drop in and use, bower-style
[05:45:46] *** neilff has joined #angularjs
[05:46:14] <sabrehagen> hey guys, i'm trying to show an edit button on my page if the user that is logged in is viewing their own profile. i'm using $scope.userAuth = (Authentication.currentUser.name === user.profile.name); at the loading of my controller. when Authentication.currentUser.name changes, the state of userAuth doesn't update. how do i keep it bound to the real value, not just a one time assignment?
[05:47:06] *** neilff has quit IRC
[05:47:52] <jaawerth> I'd probably put something like that in a resolve block for your router
[05:48:10] <jaawerth> that way it's evaluated on the fly during (relevant) route change
[05:48:11] *** boneskull has quit IRC
[05:48:32] *** ron1 has quit IRC
[05:49:20] <sabrehagen> jaawerth: sure, but the user can log out from the page they're on, which changes the state of currentUser after the resolve
[05:49:24] *** freeAir has quit IRC
[05:49:58] *** burzum2 has joined #angularjs
[05:50:19] *** freeAir has joined #angularjs
[05:50:53] *** burzum has quit IRC
[05:52:12] *** sahbeewah_ has joined #angularjs
[05:52:44] *** tschundeee has joined #angularjs
[05:52:47] *** s00pcan_ has quit IRC
[05:54:04] <sabrehagen> surely there's a way of binding a non primitive value so it updates
[05:54:54] <christo_m> jaawerth: weird.. i cant do ui-sref
[05:55:09] <christo_m> i tried putting it in my main.html to switch to another state and its not rendering the link properly
[05:55:14] <christo_m> ie its not clickable
[05:55:35] <jaawerth> sabrehagen: well, you can use $scope.$watch, but for a check as simple as that I'd probably just put it in a function that returns the equivalence test
[05:56:21] *** alt_qq has joined #angularjs
[05:56:55] *** tschundeee has quit IRC
[05:57:05] <jaawerth> login and logout are also situations where it isn't uncommon to use events
[05:57:07] *** gunn has joined #angularjs
[05:57:13] <jaawerth> (one of the few applicable use-cases, actually)
[05:57:49] <jaawerth> so you can just emit a logout/login event from rootScope to et it to re-evaluate the check
[05:58:57] *** nemothek_ has quit IRC
[05:59:21] *** yelvert has joined #angularjs
[05:59:22] *** nemothekid has joined #angularjs
[05:59:39] *** jumpstracks has quit IRC
[06:00:22] *** JesseH has joined #angularjs
[06:00:27] *** nahoskins has joined #angularjs
[06:00:45] *** JBreit has joined #angularjs
[06:03:47] *** AlexZ has quit IRC
[06:03:48] *** Embassy has quit IRC
[06:03:48] *** TyrfingMjolnir has joined #angularjs
[06:03:51] <jaawerth> sabrehagen: it goes withotu saying, but make sure things are secured on the backend too so people can't just get around it by editing things in dev tools ;-)
[06:03:52] *** paypaul has joined #angularjs
[06:04:03] <christo_m> jaawerth: https://github.com/christomitov/Maximalist/blob/master/client/app/main/main.html#L125
[06:04:04] *** stormbytes has quit IRC
[06:04:13] <christo_m> https://github.com/christomitov/Maximalist/blob/master/client/app/invoices/invoices.js
[06:04:20] *** pspfolio has joined #angularjs
[06:04:22] <jaawerth> hmm
[06:04:23] *** boneskull has joined #angularjs
[06:04:29] <sabrehagen> jaawerth: cool, thanks :)
[06:04:49] *** CodeMonkey_ has joined #angularjs
[06:05:01] <jaawerth> christo_m: ah, I believe you need to give it a url unless you specify url-less states
[06:05:03] <christo_m> oh wait
[06:05:22] <christo_m> ya the reason why i didnt want the url though, is because you can hit it directly, and the main partial won't load
[06:05:26] <christo_m> it'll just dump that state.
[06:05:34] *** proteneer has quit IRC
[06:05:35] *** Aerospark has joined #angularjs
[06:05:36] *** aven1 has joined #angularjs
[06:05:39] *** Embassy has joined #angularjs
[06:06:19] <jaawerth> that's where abstracte states come in
[06:07:15] <jaawerth> OR you can still keep it URL-less, you just need to give it some kind of state param I believe
[06:07:31] *** Aerospark has quit IRC
[06:07:34] *** meganoob has quit IRC
[06:07:53] <christo_m> ill look into abstroct states
[06:08:48] *** joroc has quit IRC
[06:08:56] *** fotoflo has quit IRC
[06:08:59] *** pspfolio has quit IRC
[06:09:34] *** nocturne777 has quit IRC
[06:09:43] *** dllama has quit IRC
[06:09:52] *** bmac has joined #angularjs
[06:10:06] *** CodeMonkey_ has quit IRC
[06:10:10] <jaawerth> christo_m: you may've already founded, but https://github.com/angular-ui/ui-router/wiki/Nested-States-%26-Nested-Views#abstract-states
[06:10:13] *** recurrence has quit IRC
[06:10:48] <christo_m> jaawerth: ya that isnt what i want exactly
[06:10:55] <christo_m> but the way im doing it is sloppy
[06:10:59] <jaawerth> you can either make an abstract parent state with no URL of its own, or you can make a child state with no URL which will automatically be transitioned to
[06:11:00] <christo_m> i have my main state, then im making everything a child state
[06:11:06] <christo_m> as in "main.invoices" for example
[06:12:12] <jaawerth> that's pretty normal - I call it "app" when I do it that way
[06:12:38] <christo_m> perfect
[06:12:50] <jaawerth> but I make it abstract, and I don't give it a url
[06:12:51] <christo_m> so many ways to do things.
[06:12:54] *** BillCriswell has quit IRC
[06:12:56] *** ron1 has joined #angularjs
[06:12:57] <christo_m> ok
[06:12:57] <jaawerth> or rather, I give it url: ''
[06:13:03] *** nocturne777 has joined #angularjs
[06:13:10] <jaawerth> ui-router in particular is quitue finicky, takes some fiddling to get right
[06:13:25] <jaawerth> anyway, then you ucan give your home page the url "/"
[06:13:44] *** urbildpunkt has quit IRC
[06:14:04] *** Oddman has quit IRC
[06:14:10] *** Trow has quit IRC
[06:14:17] <jaawerth> though actually (and here's where it gets finicky) you may want to give your abstract state the "/" and then your default state url: ''
[06:14:20] *** urbildpunkt has joined #angularjs
[06:14:41] <jaawerth> the key being, app.login then becomes '/login', etc
[06:15:53] *** SahanH has quit IRC
[06:16:07] <jaawerth> and.. I THINK you may not even need to specify any URL for the abstract state, though I can't remember for sure
[06:16:33] *** gunn has quit IRC
[06:16:42] *** mary5030 has quit IRC
[06:17:14] *** mary5030 has joined #angularjs
[06:17:23] *** scythe__ has joined #angularjs
[06:17:51] *** Silne30 has quit IRC
[06:18:29] *** Silne30 has joined #angularjs
[06:18:38] *** ximenean__ has joined #angularjs
[06:18:49] *** urbildpunkt has quit IRC
[06:19:37] *** MattWelch has joined #angularjs
[06:20:32] *** caasjj has joined #angularjs
[06:20:48] *** BillCriswell has joined #angularjs
[06:20:59] *** Aerospark has joined #angularjs
[06:21:14] *** mzabriskie has joined #angularjs
[06:21:33] *** mary5030 has quit IRC
[06:22:01] *** Reskp has joined #angularjs
[06:22:08] <Hippo_> if I have a factory where I have the array of entities in
[06:22:24] *** pen has quit IRC
[06:22:32] *** SargoDarya has joined #angularjs
[06:22:40] <Hippo_> nvm
[06:22:41] <Hippo_> lol
[06:22:44] *** ximenean__ has quit IRC
[06:22:51] *** tSpartak has quit IRC
[06:23:13] *** TweedleDumber has quit IRC
[06:23:18] *** ron1 has quit IRC
[06:23:33] <christo_m> heh
[06:23:35] *** paypaul has quit IRC
[06:24:18] *** urbildpunkt has joined #angularjs
[06:24:46] *** aslate has joined #angularjs
[06:26:03] *** Shai-Tan has quit IRC
[06:26:17] *** richardbkr-afk has quit IRC
[06:26:17] *** Aerospark has quit IRC
[06:26:32] *** safani has quit IRC
[06:26:38] *** TyrfingMjolnir has quit IRC
[06:26:46] *** Reskp has quit IRC
[06:27:07] *** bmac has quit IRC
[06:27:23] *** gunn has joined #angularjs
[06:27:40] *** caasjj has quit IRC
[06:29:04] *** aslate has quit IRC
[06:29:52] *** pen has joined #angularjs
[06:30:56] *** richardbkr-afk has joined #angularjs
[06:31:26] *** fotoflo has joined #angularjs
[06:31:44] *** trustyhank has joined #angularjs
[06:33:02] *** bmac has joined #angularjs
[06:34:02] *** knownasilya has quit IRC
[06:34:18] *** Donatello has joined #angularjs
[06:35:36] *** joroc has joined #angularjs
[06:36:22] *** Donatello has quit IRC
[06:36:58] *** pknordic_ has joined #angularjs
[06:37:25] *** neoadventist has joined #angularjs
[06:37:37] *** renlo has joined #angularjs
[06:37:53] *** BobbieBarker has joined #angularjs
[06:38:01] <BobbieBarker> i have come to answer your questions.
[06:38:13] *** urbildpunkt has quit IRC
[06:38:43] <Hippo_> BobbieBarker: thanks
[06:38:58] <BobbieBarker> np
[06:39:08] *** JesseH has quit IRC
[06:39:14] <Hippo_> so I have a date, lets say 24 December. I need to take that date, find the monday of that week
[06:39:16] *** aven1 has quit IRC
[06:39:24] <Hippo_> then create a ul > li
[06:39:39] <Hippo_> li with every day. Monday, Tues, etc.
[06:39:40] <BobbieBarker> moment(date).startOf('week')
[06:40:04] <BobbieBarker> bottom line if you're programming against time use momentJS
[06:40:35] <Hippo_> cool
[06:40:39] <BobbieBarker> I happen to know of a super major app right now that has a completely fucked up bug because they tried to use the date constructor and dropped the ball
[06:40:58] *** Trow has joined #angularjs
[06:41:04] <BobbieBarker> programming against time is just as treachorous as programming against money
[06:41:08] <Hippo_> I never knew about this, my app is pretty big and mostly based off time
[06:41:11] *** pknordic_ has quit IRC
[06:41:23] <BobbieBarker> broseph momentJS is about to rock your world then
[06:41:37] <Hippo_> was server generated though so I used carbon, but now moving it to angular
[06:41:50] <BobbieBarker> well moment will definately make your life easier
[06:42:02] <Hippo_> anyway, to build the UL list, should I make a directive?
[06:42:04] *** urbildpunkt has joined #angularjs
[06:42:05] <BobbieBarker> oddly, time is has been a big deal in every project i've been on
[06:42:15] <BobbieBarker> depends on your use case and how much you're reusing this functionality accross your app
[06:42:20] <Hippo_> nope
[06:42:33] <BobbieBarker> ?
[06:42:44] <Hippo_> only used in one template.
[06:42:52] <Hippo_> but how can I loop from monday + 7
[06:43:02] <BobbieBarker> look at the momentJS docs
[06:43:14] *** SargoDarya has quit IRC
[06:43:26] <BobbieBarker> they're really well written and the excercise of reading them will help you understand the vast treasure trove that moment brings to the table
[06:43:48] <BobbieBarker> also since you're only using them in one view i wouldn't do a directive to start out
[06:43:58] <Hippo_> should I have a ng-repeat and just update the array when the week number changes
[06:44:07] <Hippo_> yes
[06:44:15] <BahamutWC|Laptop> time has been pretty important at two places I have worked at (out of 4)
[06:44:19] <Hippo_> thats what I'm going to do! lol
[06:44:31] <Hippo_> thanks BobbieBarker- im going to check out moment
[06:44:33] <BobbieBarker> i'd write a service/factory that constructs an array of moment objects then ng-repeat that into the list
[06:44:40] *** nycdevgirl has joined #angularjs
[06:44:58] <BobbieBarker> what's up BahamutWC|Laptop
[06:45:10] <BahamutWC|Laptop> tired
[06:45:12] <Hippo_> BobbieBarker: yup and if weeknumber changes, reconstruct that array
[06:45:27] <BobbieBarker> no need, moment can detect the time
[06:45:30] <BobbieBarker> you'll see soon enough
[06:46:17] <BobbieBarker> BahamutWC|Laptop: i'm tired too, but i figured i haven't been in here to help anyone in quite awhile
[06:46:23] <BobbieBarker> so i logged in to answer some questions
[06:46:35] <BahamutWC|Laptop> nice
[06:46:57] <jaawerth> you don't NEED moment.js, but if you're working with a team of coders... yeah, the built-in date object is easy to screw up
[06:47:24] *** SahanH has joined #angularjs
[06:47:27] <BobbieBarker> jaawerth: i think the built in date object is easy to screw up the moment you start trying to do anything other than make a date object
[06:47:28] <BobbieBarker> lol
[06:47:36] <jaawerth> hah
[06:47:53] <BobbieBarker> so i'm sure you've all heard of healthcare.gov
[06:48:12] <BobbieBarker> the 1 billion dollar black whole of a app than any of us could of done better for a fraction of the price
[06:48:13] <jaawerth> if I'm trying to keep an app small, I tend to just write a couple of small factories with utility functions so there are reproducible results
[06:48:32] <jaawerth> and that way I can unit-test the use of the date object
[06:48:45] <BobbieBarker> jaawerth: i would agree on most anything that isn't time or money. Time/Money can introduce business logic errors into your code with a brutal quickness
[06:48:53] *** Oceed has joined #angularjs
[06:49:01] <jaawerth> any time-sensitive business logic should be on the backend anyway
[06:49:10] <jaawerth> lest it be hijacked
[06:49:56] <BobbieBarker> anyways healthcare.gov has had a ticking time bomb in their code where if you send in a policy with a valid effective date they send you back one with an invalid effective date because their code doesn't take into account that there are 31 days in december and only 28 days in febuary
[06:50:10] <jaawerth> lol
[06:50:19] <BobbieBarker> BECAUSE, the date constructor doesn't fail on you, it just returns erronous results
[06:50:27] <jaawerth> fucking contractors, man
[06:50:41] <jaawerth> well I mean... that's easy enough to do with the date-constructor
[06:50:45] <BobbieBarker> you laugh, but i spent several hours last week pouring over my code and my data trying to see if i had a problem on my end
[06:51:14] *** bmac has quit IRC
[06:51:25] *** rikko has quit IRC
[06:51:35] *** mzabriskie has quit IRC
[06:51:40] <BobbieBarker> add into the fact that healthcare.gov's API's use encrypted SOAP/SAML and xml and you have yourself a real treat of an API/service to interact with.
[06:52:39] *** tschundeee has joined #angularjs
[06:52:52] *** mzabriskie has joined #angularjs
[06:55:56] *** neoadventist has quit IRC
[06:56:25] *** jordandotdev has quit IRC
[06:56:27] *** renlo has quit IRC
[06:56:33] *** pzuraq has quit IRC
[06:57:38] *** tschundeee has quit IRC
[06:58:40] <jaawerth> yeah, sounds ugly
[06:58:47] *** rahulprasad has joined #angularjs
[06:58:51] <jaawerth> and that's putting aside their reported scaling issues
[06:59:11] *** chrisshattuck has quit IRC
[06:59:36] <jaawerth> granted I've never been in a position where I've had to write for scalability, so I shouldn't throw stones
[06:59:58] <jaawerth> at least, not scalability anywhere near that level
[07:03:36] <BobbieBarker> scalability is all about architecture, and they have none.
[07:03:45] <BobbieBarker> I read the congressional report that came out last month
[07:03:56] <BobbieBarker> about them
[07:04:12] <BobbieBarker> it's like the managed to find the biggest collection of dumb asses, hire all of them, then throw money at their faces
[07:04:17] *** richardbkr-afk has quit IRC
[07:04:18] *** SystemR has joined #angularjs
[07:04:39] <BobbieBarker> and their service doesn't scale, if they start to have load issues they just quit responding
[07:04:52] *** richardbkr-afk has joined #angularjs
[07:05:28] *** shivali has joined #angularjs
[07:05:29] *** aven1 has joined #angularjs
[07:05:47] *** chrisshattuck has joined #angularjs
[07:06:11] *** joroc has quit IRC
[07:06:24] *** shivali has left #angularjs
[07:07:23] *** chrisshattuck has quit IRC
[07:07:43] *** {DV8} has quit IRC
[07:08:54] *** Iravan_ has joined #angularjs
[07:09:23] *** richardbkr-afk has quit IRC
[07:09:44] *** BillCriswell has quit IRC
[07:10:58] *** Iravan has quit IRC
[07:14:13] *** plekplek has joined #angularjs
[07:14:32] <BahamutWC> BobbieBarker: Google has SOAP use internally still :P
[07:14:40] *** earthquake has joined #angularjs
[07:15:09] <TheAceOfHearts> I like scalability problems that you can solve by just throwing money at them
[07:16:58] *** JesseH has joined #angularjs
[07:17:29] *** chrisbirk has quit IRC
[07:18:14] *** mdedetrich has quit IRC
[07:19:18] *** alt_qq has quit IRC
[07:19:19] *** ximenean__ has joined #angularjs
[07:19:44] *** alt_qq has joined #angularjs
[07:20:22] *** Bajabud has joined #angularjs
[07:21:24] *** JR___ has quit IRC
[07:22:49] *** Reskp has joined #angularjs
[07:23:07] *** VeeWee has joined #angularjs
[07:23:24] *** ximenean__ has quit IRC
[07:23:24] *** eago has quit IRC
[07:23:55] *** alt_qq has quit IRC
[07:24:28] *** JohnBat26 has joined #angularjs
[07:24:33] <jaawerth> SOAP is fine in the right context
[07:24:41] <jaawerth> there's stuff you can do with it a lot more easily than REST
[07:24:50] <jaawerth> it's just that there's a ton of SOAP stuff you can just as easily do with REST
[07:26:11] *** Hippo_ has quit IRC
[07:26:55] *** fotoflo has quit IRC
[07:27:54] *** mary5030 has joined #angularjs
[07:28:11] *** Reskp has quit IRC
[07:30:47] *** recurrence has joined #angularjs
[07:31:39] *** ahmetkapikiran has joined #angularjs
[07:31:52] *** renlo has joined #angularjs
[07:32:00] *** gauravsaini03 has quit IRC
[07:32:19] *** mary5030 has quit IRC
[07:33:23] <robdubya> walks in
[07:33:25] <robdubya> sees SOAP
[07:33:26] <robdubya> walks out
[07:34:01] *** skyx has joined #angularjs
[07:35:49] *** ghox has joined #angularjs
[07:35:53] *** ron_frown has quit IRC
[07:36:36] *** eago has joined #angularjs
[07:36:40] *** scythe__ has quit IRC
[07:37:50] *** ahmetkapikiran has quit IRC
[07:38:02] <ghox> hi guys, I have a problem, hope you can help, I have a custom directive that uses the link function to create a Datepicker using jQuery UI, from the controller I pass an object to the local scope (=) which must be updated with the dates selected in the picker, however it seems that it's only updated, anyone has idea what's missing?
[07:38:31] <ghox> hi guys, I have a problem, hope you can help, I have a custom directive that uses the link function to create a Datepicker using jQuery UI, from the controller I pass an object to the local scope (=) which must be updated with the dates selected in the picker, however it seems that it's only updated once, anyone has idea what's missing?
[07:38:43] *** sigurding has joined #angularjs
[07:39:10] *** Bajabud has quit IRC
[07:40:25] *** SargoDarya has joined #angularjs
[07:40:47] *** joshontheweb has quit IRC
[07:42:31] *** sbellina has joined #angularjs
[07:43:09] *** MattWelch has quit IRC
[07:44:35] *** whitebook has quit IRC
[07:44:41] *** joshontheweb has joined #angularjs
[07:44:54] *** SargoDarya has quit IRC
[07:45:11] *** saucey has joined #angularjs
[07:46:14] *** MattWelch has joined #angularjs
[07:46:24] *** whitebook has joined #angularjs
[07:46:27] *** sam___ has joined #angularjs
[07:47:00] <jaawerth> robdubya: I didn't say I LIKE it
[07:47:04] <sam___> need to submit a form with details getting saved in my local json array
[07:47:25] *** sbellina has quit IRC
[07:48:24] <jaawerth> I need to go to bed so I can't stay and explain at length, but basically you just need to call a function that uses $http.post
[07:48:55] *** illume has joined #angularjs
[07:49:02] <jaawerth> (well, really all the API stuff should be abstracted to a controller, but for now you can try it by injecting the $http service right into your controller)
[07:49:07] <jaawerth> anyway, g'night!
[07:49:45] *** Embassy has quit IRC
[07:50:17] *** shyshy has quit IRC
[07:50:54] *** fotoflo has joined #angularjs
[07:51:34] *** Embassy has joined #angularjs
[07:52:43] *** tschundeee has joined #angularjs
[07:54:09] *** richardbkr-afk has joined #angularjs
[07:54:15] <jaawerth> ghox: as mentioned, going to bed, but I recently helped someone make a datepicker directive and this plunk was the result - it might point you in the right direction (barring the stuff that formats it for german dates) http://plnkr.co/edit/uP4FPapZOCYFgvVxDQwb?p=info
[07:55:30] *** TheAceOfHearts has quit IRC
[07:56:09] <ghox> jaawerth: thanks, I fixed, I was trying to update a complex object literal, as soon as I split both date, each in its own scope variable and calling $scope.$apply they are updated correctly =)
[07:56:37] *** gauravsaini03 has joined #angularjs
[07:56:42] <ghox> btw my datepicker contains 2 calendars because it was a range of dates
[07:57:04] *** moogey has joined #angularjs
[07:57:20] *** tschundeee has quit IRC
[07:57:24] <jaawerth> ah, that'd do it
[07:57:38] <ghox> anyway I would like to know what I was missing to update the complex object from my directive, the object literal had this structure: {from: Date, to: Date}
[07:58:12] <jaawerth> you'd want to put that transformation logic into the $parsers
[07:58:23] <jaawerth> well.. maybe
[07:58:38] <jaawerth> depends on how you set up the datepicker element and ng-model stuff - you could use one ng-model, or you could use two
[07:59:06] <jaawerth> or none at all if you don't want to use ng-model, I suppose
[07:59:34] <ghox> I was using local scopes with "="
[07:59:56] <ghox> that's suppose to keep updated the variables if they are updated from the directive
[08:00:03] <jaawerth> that's just for binding the directive data with data from a parent scope
[08:00:28] *** MattWelch has quit IRC
[08:00:28] <jaawerth> so you're saying everything is updated fine from WITHIN the directive?
[08:00:34] <ghox> yes
[08:00:36] *** richardbkr-afk has quit IRC
[08:01:03] *** richardbkr-afk has joined #angularjs
[08:01:40] <jaawerth> hm, in that case I may need to see a plnkr to provide insight. Though I can say it usually works much better when you're changing properties on an unchanging model passed in from the parent rather than overwriting the whole object, which will really just overwrite your reference and may cause issues
[08:03:15] *** MattWelch has joined #angularjs
[08:03:17] *** nahoskins has quit IRC
[08:03:42] *** nemothek_ has joined #angularjs
[08:03:42] <ghox> I understand that ng-model is used for double-binding
[08:04:04] <jaawerth> with an input - it's got lots of tricks in there for that
[08:04:05] <ghox> the same concept is applied when using local scope in your directive with "="
[08:04:20] <ghox> unless I'm wrong :S
[08:04:26] <jaawerth> but like with ng-model, if there is scope inheritance in play it can cause issues
[08:04:30] <jaawerth> if there's no inheritance, you're fine
[08:04:56] <jaawerth> (one of the reasons it helps to see a plnkr)
[08:05:05] *** IvailoStoianov has joined #angularjs
[08:05:31] *** joroc has joined #angularjs
[08:05:48] *** richardbkr-afk has quit IRC
[08:05:51] *** pspfolio has joined #angularjs
[08:06:14] *** serengeor has joined #angularjs
[08:06:18] <ghox> it's 2 am here and I still have to add some other functionality to my app, maybe I can share a short version?
[08:06:26] *** nemothekid has quit IRC
[08:06:27] <jaawerth> ghox: hmm wait, when you say "update the complex model from the directive"
[08:06:34] <jaawerth> er, complex object
[08:07:01] *** illume has quit IRC
[08:07:25] <jaawerth> ghox: if you want, just pastebin the directive code, the template through which you're calling it, and the scope property in the parent where you've set up the object, and I'll take a look
[08:07:34] <jaawerth> pastebin/gist/whatever's easier
[08:07:39] <ghox> ok great
[08:07:46] *** urbildpunkt has quit IRC
[08:07:46] *** pknordic_ has joined #angularjs
[08:09:53] *** aven1 has quit IRC
[08:09:55] *** kroogs has joined #angularjs
[08:10:39] *** pspfolio has quit IRC
[08:11:43] *** TheAceOfHearts has joined #angularjs
[08:12:07] *** pknordic_ has quit IRC
[08:12:39] *** nocturne777 has quit IRC
[08:13:46] *** sam___ has quit IRC
[08:14:56] *** sebhoss has joined #angularjs
[08:14:57] *** Z3R0 has quit IRC
[08:15:03] *** lele has quit IRC
[08:18:07] *** moogey has quit IRC
[08:18:39] *** lele has joined #angularjs
[08:19:15] *** bradleyprice has joined #angularjs
[08:19:37] <jaawerth> ghox: going to bed though - can you post it in the next few minutes?
[08:20:03] *** ximenean__ has joined #angularjs
[08:20:14] <ghox> sorry, please take a look
[08:20:15] <ghox> http://pastebin.com/gbKBi0Km
[08:20:58] <ghox> It's a short not working version, but I think it's clear there what didn't work and now after separating the complex object works fine
[08:21:16] *** mtho11 has quit IRC
[08:21:20] *** Aerospark has joined #angularjs
[08:21:31] *** TheDreamIsReal has quit IRC
[08:22:26] *** Raging_Hog has joined #angularjs
[08:23:29] <jaawerth> ghox: ah, okay, and how were you watching for changes from the parent? a $watch? dumping it to JSON on a template? something else?
[08:23:31] *** nya has joined #angularjs
[08:23:32] *** gladely has quit IRC
[08:23:49] *** Reskp has joined #angularjs
[08:23:50] *** boneskull has quit IRC
[08:24:29] *** boneskull has joined #angularjs
[08:24:58] <ghox> I just initialise the parent in order to reuse those values in the datepicker initialisation and finally update the parent values with the onchange event
[08:25:12] *** ximenean__ has quit IRC
[08:25:20] *** illume has joined #angularjs
[08:25:23] <jaawerth> right, but I mean - how did you determine that it wasn't changing in the parent?
[08:25:41] <jaawerth> how is the parent displaying the values and/or how were you logging them as they changed?
[08:26:17] <ghox> I was calling a controller function from the directive
[08:26:29] <ghox> sorry I didn't include that part
[08:26:53] <ghox> when calling the controller function from the directive I was using console.info
[08:27:03] <ghox> the function is passed via scope using "&"
[08:27:31] *** SargoDarya has joined #angularjs
[08:27:49] <jaawerth> where you calling it before or after the apply?
[08:27:51] <jaawerth> were*
[08:28:18] *** Reskp has quit IRC
[08:28:30] <ghox> the function was called from a button that is placed in the directive
[08:28:39] <ghox> after selecting the dates in the picker
[08:28:46] <freeAir> a simple question..how can i get the input value in the directive->link function?
[08:28:49] *** one_zero has quit IRC
[08:29:38] *** sigurding has quit IRC
[08:30:27] <ghox> basically the onchange just updates the parent scope variables and the button calls the parent function to use those updated dates and make an ajax call :D
[08:31:01] *** saucey has quit IRC
[08:31:34] *** saucey has joined #angularjs
[08:33:14] *** aslate has joined #angularjs
[08:33:27] *** pHcF has quit IRC
[08:35:34] *** aven1 has joined #angularjs
[08:36:36] *** saucey has quit IRC
[08:37:17] *** caitp- has quit IRC
[08:37:23] *** joroc has quit IRC
[08:37:33] *** zarglex has joined #angularjs
[08:39:13] *** tripu has joined #angularjs
[08:39:15] *** ome has joined #angularjs
[08:39:28] *** stormbytes has joined #angularjs
[08:39:44] *** tripu has quit IRC
[08:39:47] *** IvailoStoianov_ has joined #angularjs
[08:39:48] *** MattWelch has quit IRC
[08:40:08] *** rikko has joined #angularjs
[08:40:10] *** IvailoStoianov has quit IRC
[08:41:10] <jaawerth> it's odd, I don't see anything inherent in hte code you shared that would cause it not to work
[08:41:27] *** SargoDarya has quit IRC
[08:41:37] *** mzabriskie has quit IRC
[08:43:07] *** aslate has quit IRC
[08:44:17] <ghox> yeah I don't get it either
[08:44:23] *** IvailoStoianov_ has quit IRC
[08:44:27] *** rikko has quit IRC
[08:44:44] *** Sadin has quit IRC
[08:45:09] <ghox> it's pretty much the same concept but with the variables separated instead of an oject literal
[08:45:12] <ghox> wrapping both
[08:45:36] *** MattWelch has joined #angularjs
[08:47:10] *** SargoDarya has joined #angularjs
[08:47:21] *** ximenean__ has joined #angularjs
[08:48:26] *** pknordic_ has joined #angularjs
[08:50:31] *** joshontheweb has quit IRC
[08:50:40] *** metasansana has quit IRC
[08:50:51] *** Iravan_ has quit IRC
[08:51:39] *** Iravan has joined #angularjs
[08:51:42] *** Iravan has quit IRC
[08:51:53] *** Iravan has joined #angularjs
[08:52:03] *** Reskp has joined #angularjs
[08:52:12] *** Iravan has quit IRC
[08:52:23] *** Iravan has joined #angularjs
[08:52:27] *** Aerospark has quit IRC
[08:52:38] *** tschundeee has joined #angularjs
[08:52:43] *** Iravan has joined #angularjs
[08:53:04] *** BobbieBarker has quit IRC
[08:53:05] *** Iravan has joined #angularjs
[08:53:10] *** fred-fri has quit IRC
[08:53:12] *** kolyaflash has quit IRC
[08:54:00] *** kolyaflash has joined #angularjs
[08:54:22] *** Iravan has joined #angularjs
[08:54:59] *** tarnus has quit IRC
[08:55:10] *** e0ipso|away is now known as e0ipso
[08:56:41] *** caitp- has joined #angularjs
[08:56:57] *** joshontheweb has joined #angularjs
[08:57:25] *** tschundeee has quit IRC
[08:57:49] *** jacuqesdancona has joined #angularjs
[08:58:13] <jaawerth> the only thing I can think of offhand is that if you were using a $watch, it wouldn't be deep-watching an object
[08:58:32] <jaawerth> IE the reference would stay the same so the watch wouldn't trigger
[08:58:46] <ghox> but it changed only once
[08:59:12] <ghox> I agree it has to be something related with deep-copy though
[08:59:52] *** jamesbdev has quit IRC
[09:00:06] *** alt_qq has joined #angularjs
[09:00:12] *** Usuario_ has joined #angularjs
[09:00:42] *** jamesbdev has joined #angularjs
[09:00:53] *** MattWelch has quit IRC
[09:00:54] *** sathu has joined #angularjs
[09:00:55] *** Usuario_ is now known as frobs
[09:00:56] *** juampy has joined #angularjs
[09:01:03] *** caitp- has quit IRC
[09:01:04] *** trustyhank has quit IRC
[09:01:40] *** Menorah has joined #angularjs
[09:02:27] *** Aerospark has joined #angularjs
[09:03:32] <jaawerth> hmm.. that, or your onChange event is only being fired once
[09:03:42] <jaawerth> maybe have the onChange event increment a counter?
[09:04:39] *** juampy has quit IRC
[09:04:40] *** alt_qq has quit IRC
[09:04:56] *** caitp- has joined #angularjs
[09:05:03] <ghox> I thought that too, the funny part is that I included console.log in the onchange to capture the dates variable and it was called everytime
[09:05:14] *** sbellina has joined #angularjs
[09:05:18] <ghox> there must be something wrong in how I was assigning the values
[09:05:22] *** xiaolin_ has quit IRC
[09:05:23] <jaawerth> only thing I can think of
[09:05:29] <jaawerth> but I'm pretty sure it isn't in the part you pastebinned
[09:05:44] *** joroc has joined #angularjs
[09:05:59] *** joshontheweb has quit IRC
[09:06:15] <ghox> I don't know man, I've spent too many hours trying different things and the solution was not to use the object literal
[09:06:30] *** Hackwar has joined #angularjs
[09:07:12] *** MattWelch has joined #angularjs
[09:07:13] *** juampy has joined #angularjs
[09:07:27] *** xiaolin has joined #angularjs
[09:07:31] *** joshontheweb has joined #angularjs
[09:08:17] *** Aerospark has quit IRC
[09:08:19] *** Iravan has quit IRC
[09:08:32] *** sathu has quit IRC
[09:08:38] *** Iravan has joined #angularjs
[09:08:45] *** StryKaizer has joined #angularjs
[09:08:55] *** aven1 has quit IRC
[09:09:38] *** Iravan has quit IRC
[09:09:55] *** Aerospark has joined #angularjs
[09:09:55] *** Iravan has joined #angularjs
[09:10:10] *** joshontheweb has quit IRC
[09:10:24] *** Oceed has quit IRC
[09:10:32] *** Iravan has quit IRC
[09:10:45] *** Iravan has joined #angularjs
[09:10:47] *** joshontheweb has joined #angularjs
[09:10:48] *** joroc has quit IRC
[09:11:06] *** aven1 has joined #angularjs
[09:11:30] *** Iravan has joined #angularjs
[09:13:22] *** Iravan has quit IRC
[09:14:12] *** wa5ted_ is now known as wa5ted
[09:14:23] *** KushS has joined #angularjs
[09:14:25] *** Aerospark has quit IRC
[09:14:26] *** Reskp has quit IRC
[09:14:32] *** Caroga_afk is now known as Caroga
[09:14:56] *** whitebook has quit IRC
[09:15:13] *** nycdevgirl has quit IRC
[09:15:14] *** richardbkr-afk has joined #angularjs
[09:15:34] *** whitebook has joined #angularjs
[09:16:08] *** Successful has joined #angularjs
[09:16:10] *** m0n4m33 has joined #angularjs
[09:16:12] *** evilaliv3 has joined #angularjs
[09:16:31] <jaawerth> ghox: sure, but take a look at what happens when you remove the datepicker from the equation but do essentially the same thing http://plnkr.co/edit/yl2SunTHMhYwV9LkVApV?p=preview
[09:16:48] *** Reskp has joined #angularjs
[09:17:33] *** jonasliljestrand has joined #angularjs
[09:17:52] *** tschundeee has joined #angularjs
[09:18:09] *** m0n4m33 has quit IRC
[09:18:46] *** rickibilboa has joined #angularjs
[09:19:22] <rickibilboa> i have troubles populating the dom with data retrieved from the server on pageload
[09:19:22] <ghox> jaawerth: yep, it's pretty much the same
[09:19:31] <jaawerth> only it works ;-)
[09:19:38] <ghox> yep ;(
[09:19:39] *** richardbkr-afk has quit IRC
[09:19:40] *** gunn has quit IRC
[09:20:01] <ghox> maybe it's because datepicker is a third party thing
[09:20:14] <rickibilboa> i know I can use a promise with, then but the call to the server depends upon another resource which is loaded async
[09:20:15] <ghox> and doesn't play well with angular ;)
[09:20:52] <jaawerth> it's probably something simpler than that though - like something interfering
[09:21:02] <jaawerth> I'd try simplifying the directive maybe in a plnkr and see if you can get it working there
[09:21:12] *** caitp- has quit IRC
[09:21:15] <jaawerth> and then add the other code back in
[09:21:24] <jaawerth> anyway, now I really DO need to go to bed - good luck!
[09:21:25] *** baldrige has joined #angularjs
[09:21:53] <ghox> no prob, thanks for taking a look at the code
[09:21:58] <rickibilboa> what is the best practice for that in your opinion?
[09:23:30] *** gunn has joined #angularjs
[09:23:34] <Grokling_> rickibilboa: Chain your promises.
[09:24:10] *** ron1 has joined #angularjs
[09:24:15] <rickibilboa> but as far as I understood, I can't chain everything
[09:24:22] *** gladely has joined #angularjs
[09:24:27] *** doginal has joined #angularjs
[09:24:42] *** xjiujiu has joined #angularjs
[09:24:50] <rickibilboa> in this instance, I'm calling in controller for $scope.profile = Profiles.(...)
[09:25:00] <rickibilboa> $scope.profile then has an access token
[09:25:18] <rickibilboa> which I use in the call that should be done before pageload
[09:25:27] <rickibilboa> so this is the order of calls I'd need to achieve
[09:25:47] *** baldrige has quit IRC
[09:26:29] *** gunn has quit IRC
[09:26:36] <rickibilboa> in jQuery, just putting that straight in the .ready gets it done, but being new to angular i need to get used to how it handles these things
[09:27:49] <Grokling_> So, you can do it in a resolve, you could do it in a controller. Best plan is to put the functionality in a service, and call the service method from a resolve.
[09:28:26] *** ron1 has quit IRC
[09:28:33] <rickibilboa> I tried to use a factory, but that would mean to bring a huge chunk of modules to the service
[09:28:50] <rickibilboa> which imho seems pointless, since these modules are already loaded in the main controller
[09:28:53] *** MattWelch has quit IRC
[09:28:59] <Grokling_> You can have a resolve on your initial state (or an ancestor of) and that would get you what you need I think.
[09:29:10] *** gladely has quit IRC
[09:29:28] <Grokling_> I'm confused by some of the terminology you're using there - perhaps you have some of the terms crossed/
[09:29:29] <Grokling_> ?
[09:29:41] *** ghox has quit IRC
[09:29:54] <rickibilboa> yes that might be, I'm kind of lacking sleep
[09:30:11] <rickibilboa> sorry for confusing you
[09:30:26] <rickibilboa> but anyway I will look into the resolve method, thanks
[09:30:39] <Grokling_> Can you outline the 'flow' in plain english perhaps?
[09:31:05] *** MattWelch has joined #angularjs
[09:31:13] *** tschundeee has quit IRC
[09:31:47] *** tschundeee has joined #angularjs
[09:32:04] <rickibilboa> sure, it's quite easy: I need to load profile's data from an external api. This data contains informations such as profile picture address, usernace, etc. With this information I would populate the page
[09:32:14] *** earthquake has quit IRC
[09:32:31] *** Reskp has quit IRC
[09:32:58] <rickibilboa> however, in order to get this information from the service, I need to provide an access token
[09:33:41] <rickibilboa> in order to get the at I need to parse my collection of profiles from the db
[09:34:06] *** deranged has joined #angularjs
[09:34:26] <rickibilboa> so the 'flow' is getProfileFromDb -> ajaxRequest -> populateDom
[09:34:32] <Grokling_> Okay, so what I do, is have an outer state which handles authentication, tokens etc. Then my inner states can use the token and make their API calls in their resolves.
[09:35:42] *** joroc has joined #angularjs
[09:35:49] *** eago has quit IRC
[09:36:27] <rickibilboa> sorry what do you mean by outer/inner state?
[09:36:39] *** tschundeee has quit IRC
[09:37:15] *** laurensclaessen has joined #angularjs
[09:37:43] <rickibilboa> i am not native english but never found that terminology so far
[09:37:53] *** aven1 has quit IRC
[09:38:03] <Grokling_> ui-router allows us to have nested states - so an outer state called 'app' and inner states like 'app.user' etc.
[09:38:38] <rickibilboa> ok cool
[09:38:50] *** gunn has joined #angularjs
[09:39:19] *** macobo has joined #angularjs
[09:39:20] <Grokling_> the outer state just allows you to handle that auth / token stuff in one place, and have everything else depend on it.
[09:40:31] *** Aerospark has joined #angularjs
[09:40:31] *** tschundeee has joined #angularjs
[09:40:34] <rickibilboa> aahh ok so I can define the variable $scope.profile in the router definition
[09:41:26] *** boneskull has quit IRC
[09:41:33] <Grokling_> Almost. You could resolve 'profile' as part of the router definition, you'd still need to assign it to $scope in a controller.
[09:41:33] <rickibilboa> thus I already have it when the page is called, hence being able to call the ajaxCall inside the state of the controller
[09:41:35] <rickibilboa> right?
[09:41:45] <rickibilboa> ok
[09:42:39] <rickibilboa> ok ok let's see
[09:43:04] <Grokling_> outer state resolves your token. Inner state resolve uses your token to make the api call and get the profile, inner state controller assigns the profile to $scope.
[09:44:11] *** SargoDarya has quit IRC
[09:44:52] <rickibilboa> yes I think I see what you mean
[09:44:58] *** Aerospark has quit IRC
[09:45:21] <rickibilboa> if I don't have to retrieve the at at page load I should be able to easily call the deferred function
[09:45:32] *** DarrenCraig has joined #angularjs
[09:45:34] <rickibilboa> since it doesn't have to wait for the first piece of information
[09:45:58] <rickibilboa> and won't give me undefined :D
[09:45:59] *** edzez__ has joined #angularjs
[09:46:03] *** nfroidure has joined #angularjs
[09:46:13] *** boneskull has joined #angularjs
[09:46:30] *** guilbep has joined #angularjs
[09:47:50] *** davi has joined #angularjs
[09:47:53] <Grokling_> The undefined is likely because of the way you're handling the promise.
[09:48:21] <Grokling_> $scope.profile = asyncGetProflie() won't work.
[09:48:30] *** illume has quit IRC
[09:48:43] *** SargoDarya has joined #angularjs
[09:48:56] <rickibilboa> well this is not properly how I'm doing it
[09:48:57] *** edzez_ has quit IRC
[09:49:08] *** defaultdict has quit IRC
[09:49:37] *** illume has joined #angularjs
[09:49:57] *** Sebastien-L has joined #angularjs
[09:50:39] <rickibilboa> $scope.profile calls Profiles.get(...) with mongoose
[09:50:57] <rickibilboa> si I have to wait until it resolves :/
[09:51:25] <rickibilboa> this is why I get undefined in the page if I try to call my function
[09:51:35] *** gunn has quit IRC
[09:51:50] *** stampz has joined #angularjs
[09:51:51] <Grokling_> You'll need to do it like this: Profiles.get(...).then(function(profile){$scope.profile = profile});
[09:51:59] <stampz> hi
[09:52:03] *** eago has joined #angularjs
[09:52:06] <stampz> what's the best place to get started with angular js ?
[09:52:28] *** gunn has joined #angularjs
[09:53:03] *** cotko has joined #angularjs
[09:53:21] <Grokling_> stampz: Depends how you want to learn. There's the official tutorial, (and documentation) or there are a bunch of online courses, tutorials, blogs etc you can learn from.
[09:53:51] *** saucey has joined #angularjs
[09:54:03] <stampz> i just want to learn the basics for now
[09:54:05] <rickibilboa> what I do is $scope.profile = Profiles.get({profileId: $stateParams.profileId});
[09:54:14] <stampz> i'm planning to use it for java web development
[09:54:25] <Grokling_> rickibilboa: Yeah, that won't work..
[09:54:41] <Grokling_> You'll get undefined for sure if that's an async function.
[09:55:20] <Grokling_> Or, you might get a promise.. Either way, not what you intended.
[09:56:04] <rickibilboa> but I need this funct in order to load the data I already havefrom the server
[09:56:14] <rickibilboa> access token included
[09:56:24] *** sebhoss has quit IRC
[09:56:35] *** charuru has quit IRC
[09:56:40] <Grokling_> Sure, no argument there. But you need to make the assignment to $scope differently.
[09:56:45] *** jlebrech has joined #angularjs
[09:57:10] *** gunn has quit IRC
[09:57:28] <rickibilboa> ok
[09:59:06] *** lolmaus has quit IRC
[09:59:07] <rickibilboa> should Istick with promises then?
[09:59:44] <Grokling_> Definitely. Promises are the Way.
[10:00:01] *** ries has joined #angularjs
[10:00:05] <rickibilboa> That'd be a great slogan for a politician
[10:00:09] <rickibilboa> lol
[10:00:24] <rickibilboa> ok I will get some sleep and try to make it work tomorrow
[10:00:27] <Grokling_> Except that we expect our promises to be kept ;-)
[10:00:35] <rickibilboa> eheheh tell them
[10:00:51] <rickibilboa> thanks Grokling!
[10:00:52] <rickibilboa> see you
[10:01:50] <Grokling_> Happy sleeping. Hope it comes clear for you tomorrow.
[10:02:02] *** startupality has joined #angularjs
[10:02:54] *** Menorah has quit IRC
[10:03:08] *** rickibilboa has quit IRC
[10:05:20] *** NormySan has joined #angularjs
[10:05:37] *** IvailoStoianov has joined #angularjs
[10:05:40] *** aven1 has joined #angularjs
[10:06:36] *** Dkk20 has joined #angularjs
[10:07:06] *** fbenoit has joined #angularjs
[10:07:19] *** pspfolio has joined #angularjs
[10:08:44] *** joroc has quit IRC
[10:09:03] *** Sebastien-L has quit IRC
[10:09:09] <Dkk20> i have a query regarding nested ng-repeat
[10:10:13] *** DrMabuse has joined #angularjs
[10:10:40] *** TheAceOfHearts has quit IRC
[10:11:23] *** AlSquire has joined #angularjs
[10:11:57] *** pspfolio has quit IRC
[10:13:30] *** KushS has quit IRC
[10:14:31] *** z3n1 has joined #angularjs
[10:15:17] *** evilaliv3 has quit IRC
[10:15:24] <mylord> what’s the cost of injection, ie, injecting a service with many functions, pretty much everywhere?
[10:15:32] *** Menorah has joined #angularjs
[10:15:37] *** Sadin has joined #angularjs
[10:16:39] *** m0n4m33 has joined #angularjs
[10:17:37] <Grokling_> Dkk20: Shoot..
[10:18:09] *** Menorah has quit IRC
[10:18:24] *** ingsoc has joined #angularjs
[10:19:52] *** Sadin has quit IRC
[10:20:00] *** AciD`` has joined #angularjs
[10:20:39] *** skyx has quit IRC
[10:21:07] *** tschundeee has quit IRC
[10:21:10] *** skyx has joined #angularjs
[10:21:16] *** m0n4m33 has quit IRC
[10:21:22] *** skyx has quit IRC
[10:21:31] *** z3n1 has quit IRC
[10:21:42] *** tschundeee has joined #angularjs
[10:22:45] *** Menorah has joined #angularjs
[10:23:49] *** JR___ has joined #angularjs
[10:24:15] *** DarrenCraig has quit IRC
[10:24:18] *** ximenean__ has quit IRC
[10:24:51] *** Cronoh has quit IRC
[10:24:55] *** Menorah has quit IRC
[10:25:06] *** gladely has joined #angularjs
[10:25:51] *** evilaliv3 has joined #angularjs
[10:26:47] *** tschundeee has quit IRC
[10:27:29] *** dantheta has joined #angularjs
[10:28:09] <freeAir> i create a directive(in repeat password input filed) to check the password is match or not. how can i get the password in this directive?
[10:28:37] *** ximenean__ has joined #angularjs
[10:28:49] *** rikko has joined #angularjs
[10:29:17] *** gladely has quit IRC
[10:30:22] *** D has joined #angularjs
[10:30:29] *** renlo has left #angularjs
[10:30:46] *** D is now known as Guest94124
[10:31:53] *** marr has joined #angularjs
[10:31:59] *** recidive has joined #angularjs
[10:32:11] *** lee_ has joined #angularjs
[10:32:24] <lee_> only me ?
[10:32:38] *** sebhoss has joined #angularjs
[10:33:06] <Grokling_> Existentialism is alive and well.
[10:33:27] *** jaznow has joined #angularjs
[10:33:42] *** rikko has quit IRC
[10:33:50] *** Zzk has joined #angularjs
[10:34:21] *** Lebby1 has joined #angularjs
[10:34:24] *** lele has quit IRC
[10:34:24] *** lele|w has quit IRC
[10:34:28] *** Lebby1 is now known as Lebby
[10:34:40] *** Lebby has left #angularjs
[10:35:20] *** Guest94124 has left #angularjs
[10:35:47] *** joroc has joined #angularjs
[10:35:57] *** pen has quit IRC
[10:37:47] *** fixl has joined #angularjs
[10:37:59] *** b1rkh0ff has joined #angularjs
[10:38:11] *** aven1 has quit IRC
[10:43:13] *** lele has joined #angularjs
[10:43:15] *** freeAir has quit IRC
[10:43:26] *** Trow1 has joined #angularjs
[10:43:36] *** tarnus has joined #angularjs
[10:43:49] *** stampz has quit IRC
[10:43:52] *** freeAir has joined #angularjs
[10:44:06] *** aton` has quit IRC
[10:44:23] *** Trow has quit IRC
[10:45:19] *** cornerma1 has joined #angularjs
[10:46:00] *** larsam has joined #angularjs
[10:48:11] *** alt_qq has joined #angularjs
[10:48:20] *** davek has quit IRC
[10:48:34] *** cornerman has quit IRC
[10:48:36] *** cornerma1 is now known as cornerman
[10:48:58] *** tarnus has quit IRC
[10:49:03] *** recurrence has quit IRC
[10:49:18] <Dkk20> Grokling_
[10:49:23] <Dkk20> shoot means?
[10:49:30] *** plekplek has quit IRC
[10:49:32] *** fotoflo has quit IRC
[10:49:32] *** freeAir_ has joined #angularjs
[10:49:41] *** Dkk20 has quit IRC
[10:49:46] <Grokling_> Dkk20: Pull the trigger on your question ;-)
[10:50:14] *** Oceed has joined #angularjs
[10:50:20] *** plekplek has joined #angularjs
[10:51:54] *** recidive has quit IRC
[10:52:01] *** JR___ has quit IRC
[10:52:03] *** fbenoit has quit IRC
[10:52:19] *** willeponken has quit IRC
[10:52:25] *** PeterMetz has joined #angularjs
[10:52:39] *** alt_qq has quit IRC
[10:53:05] *** ximenean__ has quit IRC
[10:53:30] *** freeAir has quit IRC
[10:53:30] *** alpha080 has joined #angularjs
[10:53:51] *** fbenoit has joined #angularjs
[10:54:11] *** lele|w has joined #angularjs
[10:54:27] *** gunn has joined #angularjs
[10:54:32] *** aslate has joined #angularjs
[10:54:38] *** ximenean__ has joined #angularjs
[10:54:47] *** willeponken has joined #angularjs
[10:55:08] *** KushS has joined #angularjs
[10:55:17] *** sheplu has quit IRC
[10:55:22] *** alex_zhou has joined #angularjs
[10:55:26] *** yelvert has quit IRC
[10:57:23] *** frem has quit IRC
[10:58:22] *** guilbep has quit IRC
[10:58:30] *** gunn_ has joined #angularjs
[10:58:43] *** guilbep has joined #angularjs
[10:58:44] *** gunn_ has quit IRC
[10:58:51] *** Hackwar has quit IRC
[10:59:10] *** gunn has quit IRC
[10:59:17] *** qdk has quit IRC
[11:00:11] *** tSpartak has joined #angularjs
[11:03:19] *** ryez has quit IRC
[11:05:47] *** aven1 has joined #angularjs
[11:08:28] *** recidive has joined #angularjs
[11:08:52] *** lordkryss_ has joined #angularjs
[11:09:24] *** joroc has quit IRC
[11:10:05] *** mak`` has joined #angularjs
[11:10:13] *** ali_ has joined #angularjs
[11:10:27] *** juampy is now known as juampy_backlater
[11:10:57] *** sbellina has quit IRC
[11:12:18] <nfroidure> how would you bundle an angular module dependent of some NPM modules ? browserify, webpack or bower ?
[11:12:31] *** Hounddog has joined #angularjs
[11:14:33] *** Aliks has quit IRC
[11:15:08] *** whiteboo_ has joined #angularjs
[11:15:20] <alex_zhou> bower
[11:16:19] *** Sadin has joined #angularjs
[11:16:55] *** whitebook has quit IRC
[11:17:12] *** nemothek_ has quit IRC
[11:18:39] *** Sky[x] has joined #angularjs
[11:19:14] *** fedenunez has joined #angularjs
[11:19:50] *** caitp- has joined #angularjs
[11:19:56] *** pell0 has joined #angularjs
[11:20:33] *** Sadin has quit IRC
[11:22:10] *** jumpstracks has joined #angularjs
[11:22:15] *** lolmaus has joined #angularjs
[11:22:26] *** gunn has joined #angularjs
[11:22:32] *** chrifmarwen has joined #angularjs
[11:22:36] *** gunn has quit IRC
[11:22:50] *** Nivag_ has quit IRC
[11:22:54] *** jumpstracks has quit IRC
[11:23:12] *** chrifmarwen has quit IRC
[11:23:14] *** Johnny13371337 has joined #angularjs
[11:23:30] *** Sebastien-L has joined #angularjs
[11:24:10] *** caitp- has quit IRC
[11:24:25] *** _45kb has joined #angularjs
[11:24:36] *** erewnoh has joined #angularjs
[11:25:56] *** gladely has joined #angularjs
[11:27:16] *** fernandojsg has joined #angularjs
[11:27:28] *** Hounddog has quit IRC
[11:27:49] *** Aerospark has joined #angularjs
[11:27:58] *** gunn has joined #angularjs
[11:29:15] *** jonasliljestrand has quit IRC
[11:30:06] <fernandojsg> hi
[11:30:11] *** erewnoh is now known as terakilobyte
[11:30:22] *** gladely has quit IRC
[11:30:31] *** terakilobyte has quit IRC
[11:30:41] <fernandojsg> does anyone here uses flask for backend of a angularjs app?
[11:30:47] *** terakilobyte has joined #angularjs
[11:30:59] *** nemothekid has joined #angularjs
[11:32:09] *** DarrenCraig has joined #angularjs
[11:32:16] *** Sky[x] has quit IRC
[11:32:23] *** Aerospark has quit IRC
[11:32:47] *** sammych has joined #angularjs
[11:32:52] *** helen_ has joined #angularjs
[11:33:17] *** sammych1 has quit IRC
[11:34:05] *** davi has quit IRC
[11:35:16] *** subbu has joined #angularjs
[11:35:48] *** subbu is now known as Guest12015
[11:35:49] *** joroc has joined #angularjs
[11:37:54] *** Alex__ has joined #angularjs
[11:38:03] <Alex__> Hi there
[11:38:18] *** jumpstracks has joined #angularjs
[11:38:33] <Alex__> anyone there
[11:38:34] <Alex__> ?
[11:39:02] *** helen_ has quit IRC
[11:39:24] *** aven1 has quit IRC
[11:39:35] <Alex__> hello
[11:39:45] <terakilobyte> Hello
[11:40:12] <Alex__> do you have knowladge on agularjs
[11:40:13] <Alex__> ?
[11:40:23] *** cojack has joined #angularjs
[11:40:47] <terakilobyte> a bare minimum that I've learned from a few chapters in different books
[11:41:14] <Alex__> i want help on i18
[11:41:20] <Alex__> using angular js
[11:41:56] <Alex__> i did using multiple json by keeping it as key and value
[11:42:18] <Alex__> but i wanna merge all laguage in one jso
[11:42:24] <Alex__> json
[11:42:39] <Alex__> so how can i achieve that
[11:42:44] <Alex__> any clue
[11:42:45] <Alex__> ?
[11:43:46] <terakilobyte> That I don't know, sorry. Have you read the angular docs about i18n? https://docs.angularjs.org/guide/i18n
[11:43:50] *** jumpstracks has quit IRC
[11:44:11] <tga> I use angular-gettext, it's quite helpful
[11:44:54] *** joshontheweb has quit IRC
[11:45:14] *** SargoDarya has quit IRC
[11:45:24] *** zwacky has joined #angularjs
[11:45:49] *** alex_zhou has quit IRC
[11:46:26] *** qdk has joined #angularjs
[11:47:01] *** Left_Turn has joined #angularjs
[11:47:26] *** leolrrj has joined #angularjs
[11:47:31] *** ximenean__ has quit IRC
[11:48:12] *** illume has quit IRC
[11:48:44] <Zzk> hello any1
[11:48:58] <Zzk> im new bird ,and i have a question
[11:49:13] <Zzk> <input datepick />
[11:49:25] <Zzk> i use directive
[11:50:30] <Zzk> and i wanna be like "<input/> <div>test</div>",but its "<input ><div>test</div></input>"now
[11:50:37] *** julaboy has joined #angularjs
[11:50:42] <Zzk> how do ?
[11:51:38] *** FIFOd[a] has joined #angularjs
[11:51:50] *** lexek_ has joined #angularjs
[11:52:05] *** Alex__ has quit IRC
[11:52:40] *** Guest12015 has quit IRC
[11:53:37] *** ali_ has quit IRC
[11:53:38] *** Somatt_wrk has joined #angularjs
[11:53:46] <Zzk> is any1 in ?
[11:54:49] *** gunn has quit IRC
[11:55:40] *** jtimon has joined #angularjs
[11:55:49] *** DarrenCraig has quit IRC
[11:55:59] *** illume has joined #angularjs
[11:56:14] *** yelvert has joined #angularjs
[11:56:41] <Zzk> hello
[11:56:47] <_45kb> Zzk: you need datepicker ?
[11:57:38] <_45kb> i wrote one if you want to try it it's open https://github.com/720kb/angular-datepicker
[11:58:20] *** nemothekid has quit IRC
[11:58:22] <Zzk> thx
[11:58:28] *** gunn has joined #angularjs
[11:59:18] <Zzk> i add u
[11:59:23] <Zzk> thx again
[11:59:57] <_45kb> no problems :)
[12:00:39] *** yelvert has quit IRC
[12:01:10] <Zzk> :)
[12:03:37] *** doug64k has quit IRC
[12:03:57] *** evilaliv3 has quit IRC
[12:04:01] *** adben- has joined #angularjs
[12:04:01] *** sat has joined #angularjs
[12:04:20] *** Grokling_ has quit IRC
[12:04:24] *** julaboy_ has joined #angularjs
[12:05:43] <sat> hi all
[12:05:45] *** illume has quit IRC
[12:05:49] *** aven1 has joined #angularjs
[12:05:53] *** whitebook has joined #angularjs
[12:05:57] <sat> wat is the use of transclude in directive
[12:06:13] <sat> could help me?
[12:06:21] *** seriema has joined #angularjs
[12:07:31] *** aslate has quit IRC
[12:07:42] <Zzk> use of transclude in directive
[12:07:49] <Zzk> http://stackoverflow.com/questions/15296284/how-to-understand-the-transclude-of-directive-defination/15298620
[12:08:05] *** julaboy has quit IRC
[12:08:22] *** whiteboo_ has quit IRC
[12:08:49] *** pspfolio has joined #angularjs
[12:09:32] *** illume has joined #angularjs
[12:09:51] *** ali_ has joined #angularjs
[12:10:02] *** joroc has quit IRC
[12:10:49] *** mlpug has joined #angularjs
[12:11:36] *** aslate has joined #angularjs
[12:11:36] *** julaboy_ has quit IRC
[12:11:48] *** julaboy has joined #angularjs
[12:11:53] *** zarglex has quit IRC
[12:11:55] *** TyrfingMjolnir has joined #angularjs
[12:13:19] *** jumpstracks has joined #angularjs
[12:13:19] *** Foxandxss has joined #angularjs
[12:13:45] *** pspfolio has quit IRC
[12:13:50] *** DarrenCraig has joined #angularjs
[12:14:02] *** eago has quit IRC
[12:14:53] *** julaboy has quit IRC
[12:15:00] *** davi has joined #angularjs
[12:15:05] <sat> thanks yar
[12:15:12] *** julaboy has joined #angularjs
[12:15:13] *** davi has quit IRC
[12:15:14] *** davi has joined #angularjs
[12:16:33] *** TyrfingMjolnir has quit IRC
[12:17:01] *** TyrfingMjolnir has joined #angularjs
[12:17:43] *** rikko has joined #angularjs
[12:18:09] *** Sky[x] has joined #angularjs
[12:18:47] *** eago has joined #angularjs
[12:19:08] *** DarrenCraig has quit IRC
[12:19:28] *** Fire-Dragon-DoL has joined #angularjs
[12:19:57] *** Fire-Dragon-DoL has joined #angularjs
[12:20:23] *** fedenunez has quit IRC
[12:20:31] *** serengeor has quit IRC
[12:20:31] *** caitp- has joined #angularjs
[12:20:47] *** Sky[x] has quit IRC
[12:21:33] *** apertoire has quit IRC
[12:21:36] *** wafflej0ck has quit IRC
[12:21:55] *** ArTiSTiX has quit IRC
[12:22:17] *** wafflej0ck has joined #angularjs
[12:22:43] *** rikko has quit IRC
[12:23:21] *** gunn has quit IRC
[12:24:24] *** jonatas_oliveira has joined #angularjs
[12:24:47] *** ArTiSTiX has joined #angularjs
[12:24:49] *** xxMatiasFCxx has joined #angularjs
[12:25:08] *** caitp- has quit IRC
[12:25:08] *** xxMatiasFxx has quit IRC
[12:25:16] <freeAir_> guys-.-
[12:25:28] *** eago has quit IRC
[12:25:36] <freeAir_> anyone here?
[12:25:46] *** Johnny13371337 has left #angularjs
[12:26:16] *** sat has quit IRC
[12:26:28] *** Shai-Tan has joined #angularjs
[12:26:39] *** dan2k3k4 has joined #angularjs
[12:26:45] *** gladely has joined #angularjs
[12:28:38] *** Aerospark has joined #angularjs
[12:29:55] *** ali_ has quit IRC
[12:29:56] *** julaboy has quit IRC
[12:30:34] *** biru has joined #angularjs
[12:30:36] *** julaboy has joined #angularjs
[12:30:53] *** gladely has quit IRC
[12:31:04] *** RangerRick has quit IRC
[12:31:16] *** Sky[x] has joined #angularjs
[12:31:19] *** whitebook has quit IRC
[12:31:23] *** RangerRick has joined #angularjs
[12:31:50] *** night-owl is now known as zz_night-owl
[12:32:04] *** Sadin has joined #angularjs
[12:32:26] *** illume has quit IRC
[12:32:40] *** biru has quit IRC
[12:32:41] *** fernandojsg has quit IRC
[12:32:44] *** tarnus has joined #angularjs
[12:32:57] *** julaboy has quit IRC
[12:33:16] *** Aerospark has quit IRC
[12:33:30] *** julaboy has joined #angularjs
[12:33:34] *** spatialbrew has joined #angularjs
[12:33:39] *** Sky[x] has quit IRC
[12:34:11] *** zz_night-owl is now known as night-owl
[12:34:43] *** NormySan has quit IRC
[12:35:40] *** zarglex has joined #angularjs
[12:35:53] *** joroc has joined #angularjs
[12:36:23] *** alt_qq has joined #angularjs
[12:36:29] *** Sadin has quit IRC
[12:37:17] *** tarnus has quit IRC
[12:37:46] *** night-owl is now known as zz_night-owl
[12:38:26] *** startupality has quit IRC
[12:38:42] *** evilaliv3 has joined #angularjs
[12:38:45] *** startupality has joined #angularjs
[12:39:31] *** aven1 has quit IRC
[12:39:57] *** Fuzzier has quit IRC
[12:41:09] *** alt_qq has quit IRC
[12:42:48] *** vin_ has joined #angularjs
[12:42:55] *** _45kb has quit IRC
[12:43:16] *** serengeor has joined #angularjs
[12:43:44] <vin_> Hi, has any one implemented localization using angularjs i18n in an asp.net MVC application?
[12:44:56] <Foxandxss> angular has solutions for localization
[12:45:07] *** Sky[x] has joined #angularjs
[12:45:17] <Foxandxss> if you're rendering templates on the backend, no idea
[12:45:56] *** SargoDarya has joined #angularjs
[12:46:12] *** ali_ has joined #angularjs
[12:46:26] <vin_> Thanks for the information. Could u pls provide good informative urls to refer?
[12:46:34] *** gauravsaini03 has quit IRC
[12:47:37] *** Saltuk has quit IRC
[12:48:14] <Foxandxss> vin_: http://angular-translate.github.io/
[12:48:25] *** gauravsaini03 has joined #angularjs
[12:48:38] <vin_> @Foxandxss: Thanks
[12:49:01] *** lee_ has quit IRC
[12:50:59] *** FIFOd[a] has quit IRC
[12:51:09] *** Sky[x] has quit IRC
[12:53:22] *** rhp has quit IRC
[12:53:41] <Zzk> directive for <input />
[12:53:59] *** Shai-Tan has quit IRC
[12:54:08] <Zzk> i need just like <input/><div>datepicker</div>
[12:54:17] <Zzk> but now its <input><div>datepicker</div></input>
[12:54:22] <Zzk> how can i do
[12:55:40] *** racechand has joined #angularjs
[12:55:51] <racechand> Hi all
[12:56:00] *** ytsejam has joined #angularjs
[12:56:02] *** b1rkh0ff has quit IRC
[12:56:08] <racechand> I am to new this group
[12:56:22] <racechand> Please guid me in angular js
[12:56:28] *** b1rkh0ff has joined #angularjs
[12:56:39] *** seriema has quit IRC
[12:57:32] *** gauravsaini03 has quit IRC
[12:57:38] *** allegary is now known as allegary`away
[12:57:44] *** allegary`away is now known as allegary
[12:58:11] <Foxandxss> racechand: oficial tutorial at angularjs.org
[12:58:25] <racechand> I am new to angular js
[12:58:28] *** laurensclaessen has quit IRC
[12:58:38] *** allegary is now known as allegary`away
[12:58:48] *** allegary`away is now known as allegary
[12:59:00] *** ximenean__ has joined #angularjs
[13:00:11] <Foxandxss> racechand: oficial tutorial will help
[13:01:19] *** racechand has quit IRC
[13:01:47] *** whitebook has joined #angularjs
[13:02:11] *** renlo has joined #angularjs
[13:02:29] *** RedOrangeZ has joined #angularjs
[13:02:46] *** JesseH has quit IRC
[13:03:40] *** KushS has quit IRC
[13:05:17] *** seriema has joined #angularjs
[13:05:44] <vin_> @Foxandxss: In $translateProvider.translations('en'...., can we read key:value pairs(localized strings) from other javascript files?
[13:05:52] <Foxandxss> never used it, so can't help
[13:06:04] <Foxandxss> but I know people uses it and they like it
[13:06:51] *** KushS has joined #angularjs
[13:07:22] *** SahanH is now known as theotherguy
[13:07:36] *** SargoDarya has quit IRC
[13:07:47] *** sbellina has joined #angularjs
[13:08:26] *** laurensclaessen has joined #angularjs
[13:08:37] *** whitebook has quit IRC
[13:08:46] <vin_> ok then I need to try it, bcz I need to apply translations module wise as there will many localized strings.If any one has already done it. Help will be greatly appreciated.
[13:10:01] *** CanyonMan has quit IRC
[13:10:07] *** pspfolio has joined #angularjs
[13:11:14] *** julaboy_ has joined #angularjs
[13:11:14] *** julaboy has quit IRC
[13:11:46] *** kayoone has joined #angularjs
[13:12:09] *** sbellina has quit IRC
[13:12:52] *** OnkelTem has quit IRC
[13:14:10] *** jlebrech has quit IRC
[13:14:13] *** Ludjer has joined #angularjs
[13:23:57] *** Zzk has quit IRC
[13:23:57] *** seriema has quit IRC
[13:23:58] *** RedOrangeZ has quit IRC
[13:23:58] *** joroc has quit IRC
[13:23:59] *** TyrfingMjolnir has quit IRC
[13:24:00] *** qdk has quit IRC
[13:24:00] *** guilbep has quit IRC
[13:24:00] *** PeterMetz has quit IRC
[13:24:01] *** plekplek has quit IRC
[13:24:01] *** larsam has quit IRC
[13:24:02] *** frobs has quit IRC
[13:24:04] *** burzum2 has quit IRC
[13:24:06] *** bzitzow has quit IRC
[13:24:07] *** TweedleDee has quit IRC
[13:24:07] *** sinclair_ has quit IRC
[13:24:08] *** Alina-malina has quit IRC
[13:24:08] *** clemux has quit IRC
[13:24:09] *** DoubleAW has quit IRC
[13:24:10] *** jegade has quit IRC
[13:24:11] *** Rebirth has quit IRC
[13:24:13] *** matthew_r has quit IRC
[13:24:13] *** mjw56 has quit IRC
[13:24:14] *** theanxy has quit IRC
[13:24:15] *** threedaymonk has quit IRC
[13:24:17] *** aarellano has quit IRC
[13:24:17] *** fixxxermet has quit IRC
[13:24:18] *** kayoone has quit IRC
[13:24:18] *** pspfolio has quit IRC
[13:24:19] *** b1rkh0ff has quit IRC
[13:24:20] *** mlpug has quit IRC
[13:24:20] *** leolrrj has quit IRC
[13:24:23] *** lordkryss_ has quit IRC
[13:24:24] *** dantheta has quit IRC
[13:24:24] *** AciD`` has quit IRC
[13:24:26] *** StryKaizer has quit IRC
[13:24:27] *** ome has quit IRC
[13:24:27] *** nya has quit IRC
[13:24:28] *** Embassy has quit IRC
[13:24:29] *** opiates has quit IRC
[13:24:31] *** g-nom3 has quit IRC
[13:24:33] *** jaydubya has quit IRC
[13:24:34] *** phynweb has quit IRC
[13:24:34] *** tapout has quit IRC
[13:24:35] *** ips|malc has quit IRC
[13:24:35] *** roqo has quit IRC
[13:24:36] *** lucasjones has quit IRC
[13:24:36] *** Zariel has quit IRC
[13:24:37] *** kalz has quit IRC
[13:24:38] *** hswolff has quit IRC
[13:24:38] *** swalberg has quit IRC
[13:24:39] *** mattattaque has quit IRC
[13:24:39] *** wookiehangover has quit IRC
[13:24:40] *** pxz has quit IRC
[13:24:41] *** jaredjones has quit IRC
[13:24:42] *** mtree has quit IRC
[13:24:42] *** Xorlev has quit IRC
[13:24:43] *** jga_ has quit IRC
[13:24:44] *** ZucchiniZe has quit IRC
[13:24:45] *** tuhoojabotti has quit IRC
[13:24:45] *** jumz_ has quit IRC
[13:24:45] *** iivvoo has quit IRC
[13:24:46] *** jayne_ has quit IRC
[13:24:46] *** tfnico____ has quit IRC
[13:24:47] *** elijah has quit IRC
[13:24:47] *** eshlox has quit IRC
[13:24:48] *** Shadda has quit IRC
[13:24:48] *** zz_night-owl has quit IRC
[13:24:49] *** mpw has quit IRC
[13:24:49] *** rikkus has quit IRC
[13:24:50] *** hkeide__ has quit IRC
[13:24:50] *** andreypopp__ has quit IRC
[13:24:50] *** xMopxShell has quit IRC
[13:24:51] *** cmenscher has quit IRC
[13:24:51] *** alphonse23_ has quit IRC
[13:24:52] *** jpinnix____ has quit IRC
[13:24:52] *** Templarian has quit IRC
[13:24:53] *** tombee has quit IRC
[13:24:53] *** fuziontech____ has quit IRC
[13:24:54] *** elmcrest_ has quit IRC
[13:24:54] *** brassel has quit IRC
[13:24:55] *** digitalfiz has quit IRC
[13:24:55] *** jeffw198____ has quit IRC
[13:24:56] *** isacloud_ has quit IRC
[13:24:56] *** phishy has quit IRC
[13:24:56] *** amtiskaw has quit IRC
[13:24:57] *** gweedo767 has quit IRC
[13:24:57] *** Y_Ichiro has quit IRC
[13:24:57] *** adhipg has quit IRC
[13:24:58] *** iamstef has quit IRC
[13:24:58] *** eristic has quit IRC
[13:24:59] *** ionpulse has quit IRC
[13:24:59] *** dhcar_AFK has quit IRC
[13:24:59] *** zanea|away has quit IRC
[13:25:01] *** Klumben has quit IRC
[13:25:01] *** blackjid_ has quit IRC
[13:25:01] *** ConstantineXVI has quit IRC
[13:25:02] *** abzde has quit IRC
[13:25:02] *** crazybotsmoker has quit IRC
[13:25:02] *** universa1 has quit IRC
[13:25:03] *** Vye has quit IRC
[13:25:03] *** cschneid has quit IRC
[13:25:04] *** artgoeshere has quit IRC
[13:25:05] *** dancek has quit IRC
[13:25:05] *** denis_ has quit IRC
[13:25:06] *** lrvick has quit IRC
[13:25:06] *** diffalot has quit IRC
[13:25:07] *** Seich has quit IRC
[13:25:07] *** MJD has quit IRC
[13:25:09] *** jpiasetz has quit IRC
[13:25:09] *** frozenice_ has quit IRC
[13:25:09] *** e0ipso has quit IRC
[13:25:10] *** renlo has quit IRC
[13:25:11] *** serengeor has quit IRC
[13:25:11] *** evilaliv3 has quit IRC
[13:25:11] *** spatialbrew has quit IRC
[13:25:12] *** wafflej0ck has quit IRC
[13:25:12] *** Fire-Dragon-DoL has quit IRC
[13:25:12] *** Foxandxss has quit IRC
[13:25:13] *** adben- has quit IRC
[13:25:13] *** terakilobyte has quit IRC
[13:25:15] *** juampy_backlater has quit IRC
[13:25:16] *** Silne30 has quit IRC
[13:25:16] *** sahbeewah_ has quit IRC
[13:25:16] *** rchavik has quit IRC
[13:25:17] *** quantax- has quit IRC
[13:25:18] *** paul_ has quit IRC
[13:25:19] *** Tad3j has quit IRC
[13:25:19] *** chiburbs has quit IRC
[13:25:19] *** instence has quit IRC
[13:25:20] *** glontu has quit IRC
[13:25:20] *** Guest30837 has quit IRC
[13:25:20] *** kinabalu has quit IRC
[13:25:21] *** RobertMeta has quit IRC
[13:25:22] *** henn1nk has quit IRC
[13:25:22] *** Veejay has quit IRC
[13:25:22] *** ulkesh has quit IRC
[13:25:23] *** Evanlec has quit IRC
[13:25:23] *** siddart has quit IRC
[13:25:24] *** jcw has quit IRC
[13:25:24] *** plantain has quit IRC
[13:25:24] *** alanp has quit IRC
[13:25:25] *** miica_ has quit IRC
[13:25:25] *** mspier|away has quit IRC
[13:25:26] *** thanpolas has quit IRC
[13:25:27] *** Poppabear has quit IRC
[13:25:27] *** G1eb has quit IRC
[13:25:28] *** ree_ has quit IRC
[13:25:28] *** ajpiano has quit IRC
[13:25:28] *** Spockz_ has quit IRC
[13:25:29] *** iH8Pickles has quit IRC
[13:25:30] *** Marble68 has quit IRC
[13:25:30] *** seanmarcia has quit IRC
[13:25:31] *** zbzzn has quit IRC
[13:25:31] *** scav has quit IRC
[13:25:32] *** ollie has quit IRC
[13:25:32] *** cilkay has quit IRC
[13:25:33] *** scorphus has quit IRC
[13:25:33] *** aurumzx has quit IRC
[13:25:34] *** ali has quit IRC
[13:25:35] *** dynacker has quit IRC
[13:25:35] *** noord has quit IRC
[13:25:35] *** da_wunder has quit IRC
[13:25:36] *** cswelin has quit IRC
[13:25:37] *** thews-work has quit IRC
[13:25:37] *** Seikho has quit IRC
[13:25:37] *** lukegb has quit IRC
[13:25:38] *** ivaldi has quit IRC
[13:25:39] *** vinilios has quit IRC
[13:25:40] *** BombStrike has quit IRC
[13:25:40] *** zorch_ has quit IRC
[13:25:41] *** joevandyk has quit IRC
[13:25:43] *** vinnix has quit IRC
[13:25:44] *** raveli- has quit IRC
[13:25:44] *** bjorn`_ has quit IRC
[13:25:45] *** johannes_ has quit IRC
[13:25:45] *** pswizzle has quit IRC
[13:25:46] *** bradchoate has quit IRC
[13:25:46] *** r4vi has quit IRC
[13:25:47] *** ged has quit IRC
[13:25:49] *** warnew_ has quit IRC
[13:25:50] *** lexek_ has quit IRC
[13:25:50] *** cojack has quit IRC
[13:25:51] *** IvailoStoianov has quit IRC
[13:25:51] *** xiaolin has quit IRC
[13:25:52] *** kolyaflash has quit IRC
[13:25:53] *** JohnBat26 has quit IRC
[13:25:54] *** Guest65999 has quit IRC
[13:25:54] *** evok has quit IRC
[13:25:55] *** MetaCosm has quit IRC
[13:25:56] *** mliqu has quit IRC
[13:25:56] *** tristanp has quit IRC
[13:25:57] *** iksik has quit IRC
[13:25:57] *** bradleyprice has quit IRC
[13:25:58] *** [0__0] has quit IRC
[13:26:00] *** sressot has quit IRC
[13:26:00] *** antons_ has quit IRC
[13:26:01] *** Joseph_Silber has quit IRC
[13:26:03] *** fenduru has quit IRC
[13:26:03] *** deg has quit IRC
[13:26:04] *** ezakimak has quit IRC
[13:26:05] *** mrkrettan has quit IRC
[13:26:05] *** MerlinDMC has quit IRC
[13:26:07] *** airtonix_ has quit IRC
[13:26:07] *** raytiley_ has quit IRC
[13:26:08] *** apipkin has quit IRC
[13:26:08] *** janoelze has quit IRC
[13:26:09] *** moogumbo has quit IRC
[13:26:09] *** ansu1 has quit IRC
[13:26:10] *** Roilan2 has quit IRC
[13:26:11] *** bealtine has quit IRC
[13:26:11] *** fixl has quit IRC
[13:26:12] *** pontiki has quit IRC
[13:26:13] *** ArTiSTiX has quit IRC
[13:26:13] *** tSpartak has quit IRC
[13:26:14] *** curfont has quit IRC
[13:26:16] *** aslate has quit IRC
[13:26:17] *** alpha080 has quit IRC
[13:26:17] *** Trow1 has quit IRC
[13:26:18] *** marr has quit IRC
[13:26:18] *** ingsoc has quit IRC
[13:26:19] *** doginal has quit IRC
[13:26:21] *** japhar81 has quit IRC
[13:26:22] *** shinnya has quit IRC
[13:26:23] *** g3funk has quit IRC
[13:26:23] *** xdissent has quit IRC
[13:26:23] *** iShortBus_ has quit IRC
[13:26:24] *** skakri has quit IRC
[13:26:24] *** binary has quit IRC
[13:26:25] *** mal`` has quit IRC
[13:26:25] *** jsvana has quit IRC
[13:26:26] *** tadni_ has quit IRC
[13:26:27] *** durnik has quit IRC
[13:26:27] *** williamtdr has quit IRC
[13:26:27] *** Tuxity has quit IRC
[13:26:28] *** Dwarf has quit IRC
[13:26:28] *** bbhoss has quit IRC
[13:26:29] *** shadowhand has quit IRC
[13:26:29] *** NullSoldier has quit IRC
[13:26:31] *** retornam has quit IRC
[13:26:32] *** fatshark has quit IRC
[13:26:32] *** tomdale__ has quit IRC
[13:26:33] *** Browser has quit IRC
[13:26:34] *** derrzzaa has quit IRC
[13:26:37] *** tobmaster has quit IRC
[13:26:41] *** shakahl has quit IRC
[13:26:41] *** SexualRickshaw has quit IRC
[13:26:42] *** joepie91 has quit IRC
[13:26:43] *** cedricziel has quit IRC
[13:26:44] *** ChanServ has quit IRC
[13:26:45] *** ytsejam has quit IRC
[13:26:46] *** jtimon has quit IRC
[13:26:46] *** pell0 has quit IRC
[13:26:47] *** fbenoit has quit IRC
[13:26:47] *** jaznow has quit IRC
[13:26:48] *** saucey has quit IRC
[13:26:49] *** edzez__ has quit IRC
[13:26:49] *** nfroidure has quit IRC
[13:26:50] *** Successful has quit IRC
[13:26:51] *** wolfman2000 has quit IRC
[13:26:52] *** dcherman has quit IRC
[13:26:52] *** denysonique has quit IRC
[13:26:53] *** medusa has quit IRC
[13:26:54] *** eagles0513875 has quit IRC
[13:26:54] *** adam_ has quit IRC
[13:26:55] *** teegee543 has quit IRC
[13:26:58] *** ninkotech_ has quit IRC
[13:26:59] *** hachiya has quit IRC
[13:26:59] *** kStolen has quit IRC
[13:27:00] *** machty has quit IRC
[13:27:01] *** Pookz has quit IRC
[13:27:02] *** hendricius has quit IRC
[13:27:02] *** ximenean__ has quit IRC
[13:27:03] *** lele|w has quit IRC
[13:27:06] *** theotherguy has quit IRC
[13:27:06] *** morenoh149 has quit IRC
[13:27:07] *** jharbaugh has quit IRC
[13:27:07] *** mylord has quit IRC
[13:27:08] *** Seus has quit IRC
[13:27:08] *** eyi has quit IRC
[13:27:08] *** gh0st has quit IRC
[13:27:09] *** Val_ has quit IRC
[13:27:10] *** Orbitrix has quit IRC
[13:27:11] *** mrkake has quit IRC
[13:27:11] *** suffice has quit IRC
[13:27:12] *** titanomachy has quit IRC
[13:27:13] *** Inge- has quit IRC
[13:27:14] *** kd`_ has quit IRC
[13:27:14] *** Immutef has quit IRC
[13:27:15] *** ETBlue has quit IRC
[13:27:16] *** Proditor_ has quit IRC
[13:27:16] *** niko has quit IRC
[13:27:17] *** deez79 has quit IRC
[13:27:17] *** zomg has quit IRC
[13:27:18] *** Helzibah_ has quit IRC
[13:27:19] *** roachiep- has quit IRC
[13:27:20] *** sixr420 has quit IRC
[13:27:20] *** OddDuck has quit IRC
[13:27:20] *** aboudreault has quit IRC
[13:27:21] *** Valion__ has quit IRC
[13:27:22] *** Gabriel403 has quit IRC
[13:27:23] *** Weezey has quit IRC
[13:27:23] *** jieryn has quit IRC
[13:27:24] *** richleland has quit IRC
[13:27:24] *** vlcn has quit IRC
[13:27:25] *** imanc_ has quit IRC
[13:27:25] *** speakingcode has quit IRC
[13:27:26] *** tumdedum has quit IRC
[13:27:28] *** marktraceur has quit IRC
[13:27:28] *** kba has quit IRC
[13:27:28] *** Somatt has quit IRC
[13:27:29] *** Novacha has quit IRC
[13:27:29] *** drew2 has quit IRC
[13:27:32] *** dshoreman has quit IRC
[13:27:32] *** francog_ has quit IRC
[13:27:33] *** prikk has quit IRC
[13:27:34] *** callumacrae has quit IRC
[13:27:34] *** ikanobori has quit IRC
[13:27:35] *** Ownix has quit IRC
[13:27:35] *** hotnikks_ has quit IRC
[13:27:35] *** sakustar has quit IRC
[13:27:36] *** boubbin_ has quit IRC
[13:27:36] *** laurensclaessen has quit IRC
[13:27:36] *** xxMatiasFCxx has quit IRC
[13:27:37] *** sammych has quit IRC
[13:27:37] *** Oceed has quit IRC
[13:27:37] *** lele has quit IRC
[13:27:38] *** sebhoss has quit IRC
[13:27:38] *** MattWelch has quit IRC
[13:27:39] *** jamesbdev has quit IRC
[13:27:39] *** kroogs has quit IRC
[13:27:40] *** s00pcan has quit IRC
[13:27:41] *** pppppaul has quit IRC
[13:27:41] *** shepheb has quit IRC
[13:27:41] *** jef79m has quit IRC
[13:27:42] *** wib has quit IRC
[13:27:42] *** webster has quit IRC
[13:27:43] *** zerd has quit IRC
[13:27:43] *** clamstar has quit IRC
[13:27:44] *** tomzx has quit IRC
[13:27:44] *** remysharp has quit IRC
[13:27:46] *** krotscheck has quit IRC
[13:27:46] *** TrafficMan_ has quit IRC
[13:27:47] *** stillbourne_ has quit IRC
[13:27:47] *** cebor has quit IRC
[13:27:48] *** enaqx has quit IRC
[13:27:48] *** artee_1 has quit IRC
[13:27:49] *** rofer has quit IRC
[13:27:49] *** bitnumus has quit IRC
[13:27:49] *** parallel21 has quit IRC
[13:27:50] *** Bennit_GRR has quit IRC
[13:27:51] *** s3shs has quit IRC
[13:27:51] *** yhsiang has quit IRC
[13:27:51] *** JmZ_ has quit IRC
[13:27:52] *** raveli__ has quit IRC
[13:27:52] *** cjimti has quit IRC
[13:27:52] *** davejs has quit IRC
[13:27:53] *** ckuehl has quit IRC
[13:27:54] *** MalteJ has quit IRC
[13:27:54] *** rhodesjason has quit IRC
[13:27:54] *** __alex has quit IRC
[13:27:55] *** nathanic has quit IRC
[13:27:56] *** oniMaker has quit IRC
[13:27:56] *** shingara has quit IRC
[13:27:57] *** trippo has quit IRC
[13:30:38] *** echelog-2 has joined #angularjs
[13:31:57] *** s00pcan_ has joined #angularjs
[13:31:59] *** japhar81 has quit IRC
[13:31:59] *** Lewix has joined #angularjs
[13:31:59] *** paul_ has quit IRC
[13:32:00] *** IvailoStoianov has joined #angularjs
[13:32:13] *** gladely has quit IRC
[13:32:50] *** Sadin has joined #angularjs
[13:33:52] *** ycodr has joined #angularjs
[13:34:28] *** __danimal__ has joined #angularjs
[13:35:49] *** FunnyLookinHat has joined #angularjs
[13:35:51] *** aven1 has joined #angularjs
[13:35:55] *** MattWelch has quit IRC
[13:35:58] *** paul_ has joined #angularjs
[13:36:09] *** caitp- has joined #angularjs
[13:36:32] *** jlebrech has joined #angularjs
[13:36:34] <jaydubya> is it possible to use OR syntax within a binding i.e. {{ spouse_address || address}}?
[13:37:07] *** ximenean__ has joined #angularjs
[13:37:23] *** Sadin has quit IRC
[13:37:59] *** joroc has quit IRC
[13:38:12] *** ries has quit IRC
[13:39:17] *** __danimal__ has quit IRC
[13:39:26] *** cheef has joined #angularjs
[13:39:39] *** Teddy__ has joined #angularjs
[13:39:40] *** leolrrj has quit IRC
[13:39:47] *** TeddyMurray has joined #angularjs
[13:39:51] *** Teddy__ has quit IRC
[13:40:17] *** seriema has quit IRC
[13:40:26] *** jstroem has joined #angularjs
[13:40:34] *** caitp- has quit IRC
[13:41:38] *** vin_ has quit IRC
[13:41:47] *** KushS has joined #angularjs
[13:41:51] *** yts has joined #angularjs
[13:42:00] <Foxandxss> jaydubya: yes
[13:42:37] *** MattWelch has joined #angularjs
[13:43:13] <jaydubya> and that would say if spouse address exists, use it and if not, use address, right?
[13:43:26] <Foxandxss> it should
[13:43:37] <jaydubya> cool
[13:45:11] *** sebhoss has quit IRC
[13:45:43] *** startupality has joined #angularjs
[13:46:01] *** jaznow has quit IRC
[13:46:27] *** mmealling has quit IRC
[13:47:01] *** KushS has quit IRC
[13:47:19] *** KushS has joined #angularjs
[13:47:22] *** serengeor has quit IRC
[13:49:57] *** seriema has joined #angularjs
[13:50:06] *** sbellina has joined #angularjs
[13:50:16] *** ali_ has quit IRC
[13:51:33] *** KushS_ has joined #angularjs
[13:51:50] *** ome has quit IRC
[13:52:04] <ytsejam> Hello, I am trying to connect to my api and resolve in routes . when I list the array I only get an underordered list dot.. how can I ng-repeat the object array ? here is my plnkr http://plnkr.co/edit/9smT2hZr92jtZdGn5TK8?p=preview .. (sorry for weak explanation , I am not a native English speaker, I cant find the correct words to tell this )
[13:52:12] *** julaboy_ has quit IRC
[13:52:43] *** KushS has quit IRC
[13:53:41] *** illume has joined #angularjs
[13:53:44] *** laurensclaessen has joined #angularjs
[13:54:07] *** asheshambasta has joined #angularjs
[13:54:20] <jaydubya> I have an ng-grid on a page directly beneath the main navbar. When I try to access the navigation, the dropdown drops behind the headerbar of the ng-grid covering a 24px strip of the main nav. I have assigned a z-index to EVERY element I could find within the console without relief. Has anyone else experienced this? Anyone know what else I could try?
[13:55:11] *** julaboy has joined #angularjs
[13:55:48] *** Xorlev_ is now known as Xorlev
[13:56:37] <jaydubya> ytsejam: your posts results are wrapped in a data object
[13:57:11] <jaydubya> ytsejam: in posts.js, try $scope.posts = posts.data.data;
[13:57:17] *** julaboy has quit IRC
[13:57:32] *** gunn has joined #angularjs
[13:57:42] *** pspfolio has joined #angularjs
[13:57:49] *** julaboy has joined #angularjs
[13:57:52] <ytsejam> jaydubya, ok noob error... thank you for your help. it works perfectly
[13:58:22] * jaydubya has done that often
[13:58:49] *** leolrrj has joined #angularjs
[13:59:04] *** akrikos has joined #angularjs
[13:59:10] *** seriema has quit IRC
[13:59:43] *** sdfsdf has joined #angularjs
[14:00:07] *** plekplek has quit IRC
[14:00:22] *** tarnus has joined #angularjs
[14:00:30] *** sdfsdf has quit IRC
[14:00:50] *** alexa has joined #angularjs
[14:00:57] *** fedenunez has joined #angularjs
[14:01:10] *** alexa is now known as Guest99485
[14:01:28] *** dmack has joined #angularjs
[14:01:58] *** cheef has quit IRC
[14:02:50] *** leolrrj has quit IRC
[14:03:11] *** dragbear has joined #angularjs
[14:03:15] *** JesseH has joined #angularjs
[14:03:50] *** juampy_backlater is now known as juampy
[14:03:50] *** julaboy has quit IRC
[14:03:51] <dragbear> Hello
[14:04:08] *** julaboy has joined #angularjs
[14:04:54] *** leolrrj has joined #angularjs
[14:04:57] *** doginal has quit IRC
[14:05:37] *** hswolff has quit IRC
[14:05:48] *** joroc has joined #angularjs
[14:06:16] *** HassanCehef has joined #angularjs
[14:06:46] *** hswolff has joined #angularjs
[14:06:47] *** rikko has joined #angularjs
[14:07:55] *** dantheta has quit IRC
[14:07:57] *** anivemin has joined #angularjs
[14:08:06] *** paypaul has joined #angularjs
[14:08:07] *** dragbear has quit IRC
[14:08:31] *** dantheta has joined #angularjs
[14:08:53] *** aven1 has quit IRC
[14:09:08] *** tschundeee has joined #angularjs
[14:09:08] *** cheef has joined #angularjs
[14:09:10] *** GerardX has joined #angularjs
[14:09:15] <GerardX> hi
[14:09:29] *** paypaul has quit IRC
[14:09:37] *** kolyaflash has quit IRC
[14:09:49] <GerardX> is here the ng-table developer?
[14:10:06] <GerardX> i've got a problem
[14:10:16] *** fbenoit has quit IRC
[14:10:16] *** renlo has quit IRC
[14:10:32] <Lewix> GerardX: not that i know of
[14:10:41] <GerardX> Lewix: : thanks
[14:11:07] *** KushS_ has quit IRC
[14:11:18] *** KushS has joined #angularjs
[14:11:55] *** rikko has quit IRC
[14:12:55] *** KushS has quit IRC
[14:13:01] *** macabre has joined #angularjs
[14:13:23] *** KushS has joined #angularjs
[14:13:26] *** Lzrbeak has joined #angularjs
[14:13:35] *** dman777_alter has joined #angularjs
[14:13:42] <jlebrech> is there a guide to wrap directive into bower components?
[14:14:09] *** julaboy has quit IRC
[14:14:09] *** Shai-Tan has joined #angularjs
[14:14:56] <ingsoc> whats a bower component ?
[14:17:03] <dmack> bower components are just files, jlebrech
[14:17:14] <dmack> http://bower.io/docs/creating-packages/
[14:17:24] *** Aerospark has joined #angularjs
[14:17:30] <jlebrech> ok
[14:17:36] *** cboden has joined #angularjs
[14:19:38] *** walden|afk is now known as walden
[14:20:20] *** NormySan has joined #angularjs
[14:20:22] *** Sebastien-L has quit IRC
[14:22:05] *** Aerospark has quit IRC
[14:22:20] *** NormySan has quit IRC
[14:22:40] <jaydubya> I have an ng-grid on a page directly beneath the main navbar. When I try to access the navigation, the dropdown drops behind the headerbar of the ng-grid covering a 24px strip of the main nav. I have assigned a z-index to EVERY element I could find within the console without relief. Has anyone else experienced this? Anyone know what else I could try?
[14:22:50] <Lewix> can you only chain a promise twice with then?
[14:23:17] *** TyrfingMjolnir has joined #angularjs
[14:24:18] *** cheef has quit IRC
[14:24:34] *** alt_qq has joined #angularjs
[14:25:03] <zwacky> Lewix, you can endlessly chain promises
[14:25:05] *** TyrfingMjolnir has quit IRC
[14:25:09] *** freeAir_ has quit IRC
[14:25:13] <Lewix> i have $promise.query().then(return transform(data)).then(return data). that works, but $promise.query().then(return transform(data)).then(return data).then(do something) does not - cannot read then of undefined
[14:25:18] *** 64MABHB1R is now known as sbw
[14:25:37] <dmack> something isn't being resolved
[14:25:55] <ppetermann> somehow webpack+angular seems to be messing with my brains
[14:25:57] *** freeAir_ has joined #angularjs
[14:26:05] *** kolyaflash has joined #angularjs
[14:26:18] *** aslate has joined #angularjs
[14:27:18] *** freeAir__ has joined #angularjs
[14:27:18] *** areologist has joined #angularjs
[14:27:37] <Lewix> dmack: the first then return a promise
[14:27:42] <Lewix> dmack: the second does not
[14:27:50] <Lewix> so the third does not work
[14:28:00] <dmack> right, so how is then() going to be populated?
[14:28:05] <dmack> if it's not a promise?
[14:28:21] *** gladely has joined #angularjs
[14:28:29] *** gunn has quit IRC
[14:28:32] *** samcfc_ has joined #angularjs
[14:28:37] <samcfc_> hi there
[14:29:08] *** alt_qq has quit IRC
[14:29:53] <Lewix> dmack: thats my point
[14:30:07] <dmack> so why are you surprised that it's undefined?
[14:30:20] *** boxmein has joined #angularjs
[14:30:21] <Lewix> dmack: patience
[14:30:26] <dmack> :)
[14:30:36] *** cheef has joined #angularjs
[14:30:52] <samcfc_> I am looking for a way to to generate forms dnymcally? what the way to go? is it event achievable?
[14:31:00] *** aslate has quit IRC
[14:31:00] *** freeAir_ has quit IRC
[14:31:03] <Lewix> dmack: as per robdubya , if i return a value in the callback it will return the value with a promise. However in the previous example it only do so once
[14:31:07] *** KushS has quit IRC
[14:31:23] *** rikko has joined #angularjs
[14:31:27] *** Sky[x] has joined #angularjs
[14:31:40] <zwacky> samcfc_, it's doable, has some caveats
[14:31:41] *** lordkryss_ has quit IRC
[14:31:51] *** mmealling has joined #angularjs
[14:32:06] <zwacky> samcfc_, like use ng-form for repeated elements since you cannot dynamically name form elements
[14:32:17] <Lewix> dmack: promise.query().then(return transform(data)) returns a promise but $promise.query().then(return transform(data)).then(return data). does not
[14:32:32] *** rikko has quit IRC
[14:32:47] *** gladely has quit IRC
[14:32:56] <samcfc_> zwacky i am going to have a look there
[14:33:07] <Lewix> it' actually $resource.query().$promise* sorry, dmack
[14:33:30] <dmack> you need to make your "transform" return a promise
[14:33:37] *** cheef has quit IRC
[14:33:51] <dmack> not sure what that does / is, but you cant expect then(function(result) to be populated unless that transform returns a promise
[14:33:57] <samcfc_> zwacky do you have an opinion about http://ngmodules.org/modules/Metawidget?
[14:34:54] <zwacky> samcfc_, never heard of it
[14:35:13] <Lewix> dmack: that's what i thought but apparently then() would return a promise with whatever you return
[14:35:40] <dmack> no, transform() needs to create its own promise.
[14:35:40] <Lewix> dmack: https://gist.github.com/robwormald/e165f213830676e55cac
[14:35:52] *** aven1 has joined #angularjs
[14:36:00] <Lewix> again, that's what I initially thought
[14:36:13] <dmack> things on line 3 is not a promise.
[14:36:22] <dmack> its just data
[14:36:38] <dmack> you could create your own deferred object and return it.
[14:36:45] <Lewix> dmack so how do you explain line 6
[14:36:55] <Lewix> line 6 works perfectly
[14:37:14] <dmack> oh sorry, wait you're right
[14:37:19] <dmack> where's your transform?
[14:37:22] <Lewix> dmack: yes i am
[14:38:08] <Lewix> dmack: i used the same thing in my code but instead of 'things' i have something that transform things and return it
[14:38:10] *** joroc has quit IRC
[14:38:12] *** macobo has quit IRC
[14:38:32] <Lewix> dmack: then i chain it with then. it returns a promise the first time around but not the second time around
[14:38:33] <dmack> transform it to no longer be a promise? :)
[14:38:35] *** aslate has joined #angularjs
[14:39:43] <freeAir__> i have a function getCode in the getCode directive(a button ng-click call this function). and another function create() in createController. i dont know why when i click the button to call the getCode function, the create function calls too. the directive is under the createController scope.
[14:39:45] *** jstroem has quit IRC
[14:39:48] <Lewix> dmack: huh?
[14:40:00] *** jstroem has joined #angularjs
[14:40:05] *** JeffBuhrt has joined #angularjs
[14:40:09] *** jstroem has quit IRC
[14:40:12] *** sbellina has quit IRC
[14:40:23] *** freeman42 has joined #angularjs
[14:40:34] *** rikko has joined #angularjs
[14:41:30] <dmack> put your transform code in the gist
[14:42:01] *** edy has joined #angularjs
[14:42:06] <freeAir__> dmack: me?
[14:42:14] <dmack> sorry, Lewix :)
[14:42:23] *** terakilobyte has quit IRC
[14:42:41] <Lewix> dmack: i get it now
[14:42:43] <Lewix> thanks though
[14:42:50] <dmack> what's the issue?
[14:43:09] <Lewix> dmack: give me a minute, and I'll explain it. Fixing some code
[14:43:39] *** tomphp has joined #angularjs
[14:44:24] *** zbzzn has quit IRC
[14:44:36] *** gamekathu has joined #angularjs
[14:44:44] *** JeffBuhrt has quit IRC
[14:44:47] *** zbzzn has joined #angularjs
[14:44:55] *** gauravsaini03 has quit IRC
[14:45:35] *** Sebastien-L has joined #angularjs
[14:45:52] *** gamekathu has quit IRC
[14:46:07] *** Oceed has quit IRC
[14:46:13] <samcfc_> zwacky, my goal is to have a directive looking like that <sam-form data-ng-model='model' data-ng-value='value'></sam-form> with model object being an array of property object like label : ' ', type : ' ', domain : ' ', required : true/false, order : ...
[14:47:31] *** ome has joined #angularjs
[14:47:32] <zwacky> you can ng-repeat through your array, no problem
[14:47:34] *** anivemin has quit IRC
[14:47:44] <zwacky> just use ng-form, so you can have validation
[14:48:01] *** anivemin has joined #angularjs
[14:48:03] *** Trow1 has quit IRC
[14:48:26] *** prbc has joined #angularjs
[14:48:59] *** boxmein has quit IRC
[14:49:11] *** KushS has joined #angularjs
[14:49:35] *** evanjs has joined #angularjs
[14:49:40] *** intellix has joined #angularjs
[14:49:43] <Lewix> dmack: promise can be tricky. How do you usually assign data you retrieving form the server into the property of a scope?
[14:49:58] *** JesseH has quit IRC
[14:50:23] *** KushS_ has joined #angularjs
[14:50:33] <dmack> defer the logic to a service first, then just make your controller call your service methods.
[14:50:49] <dmack> I've never used $resource
[14:50:54] *** iko1 has quit IRC
[14:50:56] <dmack> haven't heard great things about it.
[14:51:41] *** cojack has quit IRC
[14:52:15] *** ries has joined #angularjs
[14:52:24] <samcfc_> zwacky it seems obvious to you , as i cant find any blog to guide me how to , let me make sure of the path : I will iterate through model properties array in the form link fubnction
[14:52:30] *** iko1 has joined #angularjs
[14:52:39] <samcfc_> appending custome html element in live?
[14:52:45] *** anivemin has quit IRC
[14:53:37] *** earthquake has joined #angularjs
[14:53:43] *** Lebby1 has quit IRC
[14:53:46] *** jaznow has joined #angularjs
[14:53:48] *** KushS has quit IRC
[14:53:50] *** tga has left #angularjs
[14:53:53] *** Lebby1 has joined #angularjs
[14:55:19] <Lewix> dmack: no i mean how do you assign it to the scope with then(function(data) {})? I want to see something
[14:55:45] *** japhar81 has joined #angularjs
[14:57:05] *** johnkevinmbasco has joined #angularjs
[14:57:19] <Lewix> anyways the bottom line is then return the promise - my issue was me not understanding the difference between returning inside of a function the chaining the return value of the funciton and returning then chaining right away
[14:57:25] *** BobbieBarker has joined #angularjs
[14:58:05] *** rikko has quit IRC
[14:58:13] *** JeffBuhrt has joined #angularjs
[14:58:58] *** jaznow has quit IRC
[15:01:18] <dmack> the best way to put data on $scope is just to assign it when the promises are done resolvving like you've been doing
[15:01:19] <freeAir__> anyone know my question?
[15:01:21] *** BillCriswell has joined #angularjs
[15:01:25] *** lordkryss_ has joined #angularjs
[15:01:33] <dmack> I need coffee, holy shit
[15:01:40] *** CodeFriar has joined #angularjs
[15:02:17] *** VeeWee has quit IRC
[15:03:04] *** BillCriswell has quit IRC
[15:04:23] *** whitebook has joined #angularjs
[15:05:45] *** TyrfingMjolnir has joined #angularjs
[15:06:56] *** JesseH has joined #angularjs
[15:08:32] *** intellix has quit IRC
[15:08:53] *** whitebook has quit IRC
[15:09:08] *** KushS has joined #angularjs
[15:09:26] *** KushS_ has quit IRC
[15:10:38] *** Guest99485 has quit IRC
[15:10:45] *** Trow has joined #angularjs
[15:11:06] *** macobo has joined #angularjs
[15:11:22] *** TyrfingMjolnir has quit IRC
[15:11:44] *** TyrfingMjolnir has joined #angularjs
[15:12:24] *** ximenean__ has quit IRC
[15:13:38] *** PeterMetz has quit IRC
[15:14:05] *** FunnyLookinHat has quit IRC
[15:14:16] *** Sawbones has joined #angularjs
[15:14:40] *** oniijin has quit IRC
[15:15:15] *** Ludjer_ has joined #angularjs
[15:15:28] *** sigurding has joined #angularjs
[15:15:47] *** whitebook has joined #angularjs
[15:15:56] *** leolrrj has quit IRC
[15:16:15] *** CodeFriar has quit IRC
[15:16:39] *** foofoobar has joined #angularjs
[15:16:51] *** Sky[x] has quit IRC
[15:16:57] *** Ludjer has quit IRC
[15:17:21] *** juanpablo_ has joined #angularjs
[15:17:25] *** Siecje has joined #angularjs
[15:18:04] *** dantheta_ has joined #angularjs
[15:18:11] *** Aerospark has joined #angularjs
[15:18:57] *** jheady has joined #angularjs
[15:19:15] *** Sawbones has quit IRC
[15:19:27] <zwacky> samcfc_, you can do it with ng-ifs within the ng-repeat
[15:20:02] *** DarrenCraig has joined #angularjs
[15:20:06] *** m_rc has joined #angularjs
[15:20:42] *** jaznow has joined #angularjs
[15:21:13] *** Sawbones has joined #angularjs
[15:21:32] *** Sadin has joined #angularjs
[15:21:51] *** dantheta has quit IRC
[15:21:52] *** BobbieBarker has quit IRC
[15:21:58] *** kayoone has quit IRC
[15:22:46] *** Aerospark has quit IRC
[15:23:44] *** zz_night-owl is now known as night-owl
[15:23:44] *** Lzrbeak has quit IRC
[15:24:09] *** verbgarden has joined #angularjs
[15:24:17] *** ron1 has joined #angularjs
[15:24:18] <samcfc_> zwacky ok so if i got your idea, template will be build by compile thanks to ngIf and not by js createLement in directive link function
[15:24:21] *** ron1 has quit IRC
[15:24:23] *** DarrenCraig has quit IRC
[15:25:03] <zwacky> well, you can just put those ng-ifs into your template
[15:25:35] <zwacky> like ng-repeat="config in configs" and then ng-if="config.type == 'text'" etc
[15:25:38] *** richardbkr-afk has joined #angularjs
[15:25:49] *** jheady has left #angularjs
[15:26:07] *** Sadin has quit IRC
[15:26:34] *** Z3R0 has joined #angularjs
[15:27:35] *** caitp has joined #angularjs
[15:27:44] *** elrabin has joined #angularjs
[15:28:10] *** fedenunez has quit IRC
[15:28:32] *** fedenunez has joined #angularjs
[15:29:28] *** gladely has joined #angularjs
[15:29:47] *** areologist has quit IRC
[15:30:09] *** sigurding has quit IRC
[15:30:27] *** richardbkr-afk has quit IRC
[15:30:33] *** earthquake has quit IRC
[15:30:48] *** macobo has quit IRC
[15:30:53] *** Guest33 has joined #angularjs
[15:31:36] *** amphetamines has joined #angularjs
[15:31:47] *** TyrfingMjolnir has quit IRC
[15:32:19] *** BillCriswell has joined #angularjs
[15:32:47] *** ximenean__ has joined #angularjs
[15:33:26] *** glontu has quit IRC
[15:33:42] *** torartc has joined #angularjs
[15:34:19] *** gladely has quit IRC
[15:34:46] *** roadrunneratwast has joined #angularjs
[15:35:19] *** opiates has quit IRC
[15:35:41] *** JacobJohansen has joined #angularjs
[15:36:10] <roadrunneratwast> Can someone please help me figure out why ng-class is not changing the button style on click and hover : http://plnkr.co/edit/GKDYBJ1tnarQCPuTf1nG?p=preview
[15:36:53] <samcfc_> zwacky that 's an idea to try, i hope i will be able to keep double data binding for edit forms
[15:36:56] *** uris77 has joined #angularjs
[15:36:57] *** ximenean__ has quit IRC
[15:37:01] <samcfc_> thanks zwacky
[15:37:22] <zwacky> yeah you will
[15:37:37] *** FunnyLookinHat has joined #angularjs
[15:37:43] <zwacky> i can tell you though, validation can be tricky with dynamic forms :S
[15:37:59] *** Ludjer has joined #angularjs
[15:38:32] *** SargoDarya has quit IRC
[15:38:36] *** FunnyLookinHat has quit IRC
[15:39:00] *** boxmein has joined #angularjs
[15:39:32] *** Embassy has quit IRC
[15:39:37] *** Ludjer_ has quit IRC
[15:39:51] *** Trow1 has joined #angularjs
[15:40:43] *** TyrfingMjolnir has joined #angularjs
[15:40:58] *** michaelSharpe has joined #angularjs
[15:41:52] *** jaredwilli has joined #angularjs
[15:42:32] <roadrunneratwast> I just updated the plunkr: http://plnkr.co/edit/GKDYBJ1tnarQCPuTf1nG?p=info
[15:43:23] *** Trow has quit IRC
[15:44:16] *** yandos has joined #angularjs
[15:44:16] *** jdivock has joined #angularjs
[15:44:45] *** Efrem has joined #angularjs
[15:46:14] *** eago has joined #angularjs
[15:46:25] *** paul_ has quit IRC
[15:46:54] *** e0ipso|away is now known as e0ipso
[15:47:10] *** GerardX has quit IRC
[15:47:16] *** mak`` has quit IRC
[15:47:28] *** cannap has joined #angularjs
[15:47:31] *** MetaCosm has quit IRC
[15:47:38] *** simplyshipley has joined #angularjs
[15:48:28] *** SargoDarya has joined #angularjs
[15:48:52] *** adben- has quit IRC
[15:49:07] *** Psi|4ward has joined #angularjs
[15:49:20] *** grogs has joined #angularjs
[15:49:35] <startupality> having problems with smarttable directive that sort and search are not working, whenever i triggered any, the data in the table gets deleted…
[15:49:56] *** Trow2 has joined #angularjs
[15:50:14] *** shyshy has joined #angularjs
[15:50:30] *** proteneer has joined #angularjs
[15:52:53] *** roadrunneratwast has quit IRC
[15:53:17] *** Trow1 has quit IRC
[15:53:36] <startupality> talking about http://lorenzofox3.github.io/smart-table-website/#section-sort
[15:54:11] *** SargoDarya has quit IRC
[15:54:55] *** TyrfingMjolnir has quit IRC
[15:56:08] *** shyshy has quit IRC
[15:56:47] *** FunnyLookinHat has joined #angularjs
[15:57:23] *** TyrfingMjolnir has joined #angularjs
[15:57:28] *** paul_ has joined #angularjs
[15:57:35] *** whiteboo_ has joined #angularjs
[15:58:39] *** anivemin has joined #angularjs
[15:58:40] *** foofoobar has quit IRC
[15:58:50] *** Sebastien-L has quit IRC
[15:59:28] *** yandos has quit IRC
[15:59:50] *** KushS has quit IRC
[16:00:05] *** Trow1 has joined #angularjs
[16:00:48] *** torartc has quit IRC
[16:00:56] *** jstroem has joined #angularjs
[16:01:23] *** whitebook has quit IRC
[16:01:54] *** JesseH has quit IRC
[16:02:22] *** Sebastien-L has joined #angularjs
[16:02:34] *** Efrem is now known as Efrem-Away
[16:02:37] *** knownasilya has joined #angularjs
[16:03:10] *** anivemin has quit IRC
[16:03:17] *** cotko has quit IRC
[16:03:30] *** seriema has joined #angularjs
[16:03:32] *** Trow2 has quit IRC
[16:03:36] *** mary5030 has joined #angularjs
[16:03:44] *** AlexZ has joined #angularjs
[16:03:50] *** cotko has joined #angularjs
[16:04:47] *** sigurding has joined #angularjs
[16:05:07] *** ron1 has joined #angularjs
[16:05:31] *** Sawbones has quit IRC
[16:06:38] *** davi has quit IRC
[16:07:28] *** caitp has quit IRC
[16:08:12] *** Caroga is now known as Caroga_afk
[16:08:13] *** jstroem has quit IRC
[16:08:14] *** Sawbones has joined #angularjs
[16:08:39] <dmack> startupality: are you using stPipe?
[16:08:47] *** seriema has quit IRC
[16:08:50] <startupality> dmack: no
[16:09:10] *** sigurding has quit IRC
[16:09:17] <startupality> i just load the data in beginning with $http.get like in examples
[16:09:38] *** proteneer has quit IRC
[16:10:11] *** Trow2 has joined #angularjs
[16:11:22] *** evilaliv3 has quit IRC
[16:11:41] *** zB0hs has joined #angularjs
[16:11:50] *** sonicparke|bradm has joined #angularjs
[16:12:41] *** alt_qq has joined #angularjs
[16:12:42] <startupality> dmack: after doing a search data become blank and I need to refresh the page to redo the http request
[16:13:02] <dmack> are you doing a search on the server? or just filtering the client?
[16:13:13] *** scythe__ has joined #angularjs
[16:13:41] *** davi has joined #angularjs
[16:13:41] *** davi has joined #angularjs
[16:13:42] *** Trow1 has quit IRC
[16:14:06] *** Lebby11 has joined #angularjs
[16:14:07] *** Lebby1 has quit IRC
[16:14:27] *** bmac has joined #angularjs
[16:14:39] *** KushS has joined #angularjs
[16:14:57] *** sbw has quit IRC
[16:14:58] *** Efrem-Away is now known as Efrem
[16:15:28] *** fedenunez has quit IRC
[16:15:28] *** mikerrrrrr has joined #angularjs
[16:15:59] <startupality> dmack: just filtering the client
[16:16:04] <startupality> should be pretty basic
[16:16:17] <dmack> hmm, yeah
[16:16:21] <startupality> i just have rows of data and smartable should do the filtering, but it breaks somewhere
[16:16:31] <dmack> we use stPipe to make API calls to the server, so not sure about local filtering
[16:16:32] *** Ludjer_ has joined #angularjs
[16:16:33] <startupality> does it have a dependency on particular version of angular?
[16:16:40] <dmack> we're using 1.3.4
[16:17:07] *** alt_qq has quit IRC
[16:17:08] <startupality> im on v1.2.6 :)
[16:17:38] *** gauravsaini03 has joined #angularjs
[16:18:11] *** Cronoh has joined #angularjs
[16:18:13] *** pHcF has joined #angularjs
[16:18:15] *** shackleford has joined #angularjs
[16:18:23] *** Ludjer has quit IRC
[16:18:50] *** ron1 has quit IRC
[16:18:55] *** Aerospark has joined #angularjs
[16:18:55] *** shackleford has joined #angularjs
[16:18:57] *** caitp has joined #angularjs
[16:19:05] *** AngularUI has joined #angularjs
[16:19:06] <AngularUI> [ng-grid] jcompagner opened pull request #2425: Regression Fix for #2357 the scrollPercentage is not correct (master...scrollpercentage_with_infinite_scrolling_fix) http://git.io/OdSHxQ
[16:19:06] *** AngularUI has left #angularjs
[16:19:09] *** cantyjeffrey has joined #angularjs
[16:19:25] *** whitebook has joined #angularjs
[16:19:34] *** Ludjer_ has quit IRC
[16:20:17] *** Trow1 has joined #angularjs
[16:20:26] *** scythe__ has quit IRC
[16:21:22] *** scythe__ has joined #angularjs
[16:21:28] *** whiteboo_ has quit IRC
[16:21:38] *** kas84 has joined #angularjs
[16:22:31] *** KushS_ has joined #angularjs
[16:22:57] *** AndrewIsh has joined #angularjs
[16:23:34] *** KushS has quit IRC
[16:23:37] *** Aerospark has quit IRC
[16:23:53] *** Trow2 has quit IRC
[16:24:44] <Sawbones> Is there anything better than jsfiddle?
[16:24:49] <Sawbones> I'm not really a fan of it
[16:25:14] *** jtimon has quit IRC
[16:25:55] <Psi|4ward> plnkr ?
[16:25:56] *** Ludjer has joined #angularjs
[16:25:58] <Psi|4ward> codepen?
[16:26:17] *** torartc has joined #angularjs
[16:27:17] *** mmeallin_ has joined #angularjs
[16:28:23] *** theother_ has joined #angularjs
[16:28:33] *** mccarrontr1ck has joined #angularjs
[16:28:41] *** mccarrontr1ck has quit IRC
[16:29:33] *** sbellina has joined #angularjs
[16:29:49] *** KushS_ has quit IRC
[16:29:54] *** imehesz has joined #angularjs
[16:29:55] *** rickhanlonii has joined #angularjs
[16:30:04] *** johnkevinmbasco has quit IRC
[16:30:08] <cantyjeffrey> Anyone have experience with middleman? Had a Q about implementing Karma/best way to use it within middleman.
[16:30:08] *** theotherguy has quit IRC
[16:30:12] *** gladely has joined #angularjs
[16:30:17] *** mmealling has quit IRC
[16:30:56] *** BahamutWC|Laptop has quit IRC
[16:31:14] *** jaznow has quit IRC
[16:31:30] *** kapil__ has quit IRC
[16:31:33] *** Shai-Tan has quit IRC
[16:31:38] *** dantheta_ has quit IRC
[16:31:45] *** whiteboo_ has joined #angularjs
[16:32:11] *** dantheta has joined #angularjs
[16:32:31] *** Trow1 has quit IRC
[16:32:31] *** bayousoft has quit IRC
[16:33:09] *** _45kb has joined #angularjs
[16:33:10] *** foofoobar has joined #angularjs
[16:33:32] *** Sawbones has quit IRC
[16:33:34] *** ximenean__ has joined #angularjs
[16:34:29] *** z3n has joined #angularjs
[16:34:41] *** Sawbones has joined #angularjs
[16:34:41] *** gladely has quit IRC
[16:34:44] *** whitebook has quit IRC
[16:34:51] *** gutti has joined #angularjs
[16:35:21] *** yelvert has joined #angularjs
[16:35:27] *** MetaCosm has joined #angularjs
[16:35:57] *** joroc has joined #angularjs
[16:36:16] *** xjiujiu has quit IRC
[16:36:33] *** dantheta has quit IRC
[16:37:57] *** zerd has quit IRC
[16:38:07] *** aven1 has quit IRC
[16:38:14] *** zerd has joined #angularjs
[16:38:19] *** ximenean__ has quit IRC
[16:38:22] *** leolrrj has joined #angularjs
[16:39:00] *** chrisshattuck has joined #angularjs
[16:40:07] *** yelvert has quit IRC
[16:40:09] *** mtho11 has joined #angularjs
[16:40:12] *** Trow has joined #angularjs
[16:40:54] *** cheef has joined #angularjs
[16:41:29] *** breakingthings has joined #angularjs
[16:41:55] *** bmac has quit IRC
[16:42:06] *** Trow has quit IRC
[16:42:09] *** bbankes has joined #angularjs
[16:42:40] *** Bade has joined #angularjs
[16:43:36] *** foofoobar has quit IRC
[16:44:27] *** jaznow has joined #angularjs
[16:45:01] <tristanp> Sawbones: jsbin?
[16:45:05] *** Trow has joined #angularjs
[16:45:07] *** TyrfingMjolnir has quit IRC
[16:45:14] <tristanp> plnkr is sort of the de facto standard though
[16:45:28] <tristanp> actually it's not de facto, i think angular officially supports it
[16:45:59] *** Zeioth has joined #angularjs
[16:46:05] *** rchavik has quit IRC
[16:46:16] *** Sadin has joined #angularjs
[16:46:30] *** cheef has quit IRC
[16:46:49] *** patrickarlt has joined #angularjs
[16:46:53] *** gfunc has joined #angularjs
[16:47:10] *** disorder20 has joined #angularjs
[16:47:20] *** imehesz has quit IRC
[16:47:36] <Sawbones> tristanp: how does it make it not the defacto?
[16:47:53] *** nickgs has joined #angularjs
[16:48:06] <tristanp> iirc de facto means it sort of came about through popular consensus instead of mandated
[16:48:34] *** drag0nius has joined #angularjs
[16:48:44] *** cthrax has joined #angularjs
[16:49:02] *** Shrooms has quit IRC
[16:49:32] *** jumpstracks has quit IRC
[16:50:52] *** nahoskins has joined #angularjs
[16:50:58] *** ctanga has joined #angularjs
[16:51:22] *** Trow has quit IRC
[16:51:29] *** TyrfingMjolnir has joined #angularjs
[16:52:22] *** cthrax has quit IRC
[16:52:29] <dmack> has anyone used SmartTable ... without a table?
[16:52:35] <dmack> just on regular div elements?
[16:52:37] *** ivor has quit IRC
[16:52:47] *** yandos has joined #angularjs
[16:53:05] *** alpha080 has quit IRC
[16:53:08] *** FIFOd[a] has joined #angularjs
[16:53:12] *** evilaliv3 has joined #angularjs
[16:53:23] *** TyrfingMjolnir has quit IRC
[16:53:56] *** dsdeiz has joined #angularjs
[16:54:38] *** pknordic_ has quit IRC
[16:54:39] *** merobertsjr has quit IRC
[16:54:54] *** proteneer has joined #angularjs
[16:55:24] *** xjiujiu has joined #angularjs
[16:56:13] *** Successful has quit IRC
[16:57:00] *** Solid1_afk is now known as Solid1
[16:57:10] *** KushS has joined #angularjs
[16:57:33] *** lexek_ has quit IRC
[16:57:34] *** icfantv has joined #angularjs
[16:57:52] *** nickgs has quit IRC
[16:58:32] *** zivester has joined #angularjs
[16:58:43] <jaawerth> plnkr is just... better. no other platform can do all the things plnkr can do
[16:58:44] *** SargoDarya has joined #angularjs
[16:58:55] *** rickibilboa has joined #angularjs
[16:58:56] *** edzez__ is now known as edzez
[16:59:15] *** scythe__ has quit IRC
[16:59:17] *** shinnya has quit IRC
[16:59:24] *** Shrooms has joined #angularjs
[16:59:39] *** dllama has joined #angularjs
[16:59:48] <sonicparke|bradm> ^^
[17:00:22] *** nickgs has joined #angularjs
[17:00:47] *** {DV8} has joined #angularjs
[17:01:02] <jaawerth> also, it's kind of painful debugging other people's code when it's scrunched into all the little frames in jsfiddle
[17:01:52] *** KushS has quit IRC
[17:02:05] <jaawerth> being able to toggle between actual files, full ACE editor (with theming capability! <3 monokai), SASS support (and maybe LESS? haven't tried, but presumably), and a nice huge, up-to-date repository of libraries for easy adding
[17:02:14] <jaawerth> plus the various starter templates
[17:02:14] <icfantv> man, if i had a nickel for every time someone was asked to use plunkr here, i'd have a lot of nickels
[17:02:20] *** laurensclaessen has quit IRC
[17:02:22] *** rickibilboa has quit IRC
[17:02:51] <icfantv> anyone know when the next version is supposed to be released? waiting on multiple editor windows being open at once
[17:02:53] *** loverajoel has quit IRC
[17:02:58] <jaawerth> it's on github
[17:03:04] <jaawerth> no idea about release date
[17:03:10] <jaawerth> but you can check it out and play with it
[17:03:15] *** elrabin has quit IRC
[17:03:20] <icfantv> running locally, you mean?
[17:03:28] <jaawerth> yeah. if you're curious!
[17:03:46] <icfantv> do i need to set up a DB? or does it do all that for me?
[17:03:46] *** rickibilboa has joined #angularjs
[17:03:48] *** elrabin has joined #angularjs
[17:03:57] *** zarglex has quit IRC
[17:04:03] *** chrisshattuck has quit IRC
[17:04:44] *** laurensclaessen has joined #angularjs
[17:05:09] <jaawerth> I believe it's a matter of a bunch of npm installs - it used to be one, but they've since split it up into multiple repositories for the backend, frontend, API, etc
[17:05:43] <jaawerth> the new version also has a server that does operational transformation for collaborative coding
[17:05:45] <jaawerth> which rules
[17:05:51] *** shinnya has joined #angularjs
[17:05:54] *** phzon has quit IRC
[17:05:56] *** aven1 has joined #angularjs
[17:06:09] *** phzon has joined #angularjs
[17:08:04] *** elrabin has quit IRC
[17:08:19] *** bmac has joined #angularjs
[17:08:52] *** cthrax has joined #angularjs
[17:09:06] *** joroc has quit IRC
[17:09:48] *** aslate has quit IRC
[17:10:14] *** d0nk` has quit IRC
[17:10:16] *** SargoDarya has quit IRC
[17:10:20] *** torartc has quit IRC
[17:10:32] *** d0nk` has joined #angularjs
[17:10:53] *** chrisshattuck has joined #angularjs
[17:10:56] *** aslate has joined #angularjs
[17:11:03] *** caitp- has joined #angularjs
[17:11:07] <icfantv> that's cool
[17:11:51] *** xjiujiu has quit IRC
[17:12:00] *** rickibilboa has quit IRC
[17:12:21] *** kas84 has quit IRC
[17:12:38] *** caitp has quit IRC
[17:12:41] *** Sebastien-L has quit IRC
[17:13:01] *** jheady has joined #angularjs
[17:13:32] *** torartc has joined #angularjs
[17:13:43] *** jheady has left #angularjs
[17:14:19] *** g33k5z has joined #angularjs
[17:14:58] *** Raging_Hog has quit IRC
[17:16:09] <dmack> just confirmed you can use SmartTable without a <table> structure.
[17:16:21] <dmack> for sorting, searching of whatever
[17:16:44] <jaydubya> I am using loDash to filter a list but since I need to filter by two criterion I am doing a _.filter(_.filter) ... it works but I was wondering if there was a refactor to make it more readable and succinct https://gist.github.com/anonymous/67c70f920f472a7ed9fa
[17:16:47] *** theother_ has quit IRC
[17:16:47] *** dszap has joined #angularjs
[17:16:57] *** sonofdirt has joined #angularjs
[17:17:20] *** dszap has left #angularjs
[17:17:34] *** nickgs has quit IRC
[17:18:14] *** jdummy has joined #angularjs
[17:18:23] *** Siyfion has joined #angularjs
[17:18:56] *** dantheta has joined #angularjs
[17:19:12] *** jstroem has joined #angularjs
[17:19:15] *** nickgs has joined #angularjs
[17:19:22] <icfantv> anyone have experience using angular UI's $modal?
[17:19:33] *** elrabin has joined #angularjs
[17:20:16] <icfantv> jaydubya: lemme see if i'm doing that somewhere. i'm using filter, but not sure i'm using it twice
[17:21:09] *** binary has quit IRC
[17:21:14] *** erock has joined #angularjs
[17:22:15] *** Bennit_GRR is now known as Bennit
[17:22:18] <erock> is there a way i can use angular email validation without having an actual form?
[17:22:26] *** whitebook has joined #angularjs
[17:23:13] <icfantv> erock: you can use it programmatically
[17:23:20] <icfantv> is that what you want?
[17:23:28] <jaawerth> you can use ngModel with anything (which is what drives validation stuff) if you write a directive with require: ngModel - then you can use ngModelController to set up your validation and binding logic
[17:23:31] <nickeddy> jaydubya: pretty sure you can chain them somehow
[17:23:34] <icfantv> erock: using the $filter
[17:23:34] <erock> icfantv: yes, was just wondering how
[17:23:35] *** jstroem has quit IRC
[17:23:46] *** edzez has quit IRC
[17:23:48] <jaawerth> if you mean an input and no form, you can just use the inputs with ng-model and call it good
[17:23:55] *** snapwich has joined #angularjs
[17:23:57] <icfantv> erock: but what jaawerth says is also true
[17:23:59] *** aslate has quit IRC
[17:24:04] <icfantv> erock: depending on your need
[17:24:05] *** disorder20 has quit IRC
[17:24:07] <jaydubya> nickeddy: yes, chaining them would make it more readable I think
[17:24:32] *** merobertsjr has joined #angularjs
[17:24:35] <nickeddy> jaydubya: just not entirely sure how :P _(arr).filter().filter() ?
[17:24:46] *** CanyonMan has joined #angularjs
[17:24:56] <icfantv> jaydubya: are you talking about angular filters or _.filter(…)
[17:25:05] <jaydubya> nickeddy: LOL, I am playing with it now
[17:25:11] <jaydubya> icfantv: _.filter
[17:25:14] <icfantv> ok
[17:25:31] <jdummy> If I pass an object as the data for $http.post, wouldn't it need to be JSON.stringify()'d before being sent to the server? My server-side code is exploding because of some non-escaped double-quotes
[17:25:38] <icfantv> jaydubya: can't you apply your second filter inside the first? since _.filter takes a filter function?
[17:25:49] *** D-Boy has quit IRC
[17:25:58] <jaydubya> icfantv: isn't that what I am doing now?
[17:26:07] *** whiteboo_ has quit IRC
[17:26:15] <nickeddy> it is what you're doing but it's ugly as fuck
[17:26:16] *** night-owl is now known as zz_night-owl
[17:26:27] <icfantv> jaydubya: sorry. i meant only having one _.filter
[17:26:36] <jaydubya> to chain them, I just can't figure out what to call the second arr since it isn't allLoans any more
[17:26:45] <jaydubya> nickeddy: thanks for that! LOL
[17:26:50] *** arabot has joined #angularjs
[17:26:51] *** Sawbones has quit IRC
[17:26:53] *** arabot has quit IRC
[17:27:12] <nickeddy> :P
[17:27:16] <icfantv> if lodash was more like jquery in that it returned a lodash object, you could chain them, but the library wasn't really designed to be chained like that
[17:27:34] <nickeddy> oh
[17:27:35] *** zz_night-owl is now known as night-owl
[17:27:39] <nickeddy> jaydubya: easy man
[17:28:06] *** AngularUI has joined #angularjs
[17:28:06] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/XfU94A
[17:28:06] <AngularUI> ng-grid/master 5160b80 Brian Hann: fix(uiGridRow): Use promise to get compiled elm fn...
[17:28:06] *** AngularUI has left #angularjs
[17:28:06] *** t_p has joined #angularjs
[17:28:13] <icfantv> most of the API calls return arrays
[17:28:16] <jaydubya> so I guess I am stuck with the working "ugly as fuck" filter?
[17:28:22] <jaydubya> LOL
[17:28:25] <nickeddy> jaydubya: $scope.loanList = _.filter(allLoans, function(i) { return i.status_id == '1' && i.crop_year == $scope.globals.crop_year; });
[17:28:36] <nickeddy> well i mean you're pretty much doing an and
[17:28:56] *** jheady has joined #angularjs
[17:29:02] <jaydubya> I am, I just didn't think loDash would let me do that
[17:29:11] *** dman777_alter has quit IRC
[17:29:18] <nickeddy> the filter function just needs to return true or false
[17:29:22] <icfantv> jaydubya: you could use indention to make it look nicer? or apply both filters in one funciton
[17:29:58] <jaydubya> icfantv: LOL with indention, is would only be as ugly as screwing
[17:30:03] *** gfunc has quit IRC
[17:30:21] *** aslate has joined #angularjs
[17:30:40] <icfantv> jaydubya: ala _.filter(allLoans, function (loan) { return loan.status_id === '1' && loan.crop_year === $scope.globals.crop_year });
[17:30:49] <nickeddy> that's what i literally just did
[17:30:50] <nickeddy> lol
[17:31:01] *** gladely has joined #angularjs
[17:31:02] *** Oceed has joined #angularjs
[17:31:03] *** soee_ has joined #angularjs
[17:31:07] <icfantv> i think that's WAY nicer than filtering a filter
[17:31:07] <jaydubya> nickeddy: your && works perfectly (and faster, as well)
[17:31:21] *** Sawbones has joined #angularjs
[17:31:32] <jaydubya> now my controller is as pretty as chastity
[17:31:33] <nickeddy> cool
[17:31:35] *** jheady has left #angularjs
[17:31:38] *** oniijin has joined #angularjs
[17:31:40] <icfantv> nickeddy: sorry. did you post a link? i missed it
[17:32:01] <nickeddy> haha no i wrote it like you did, no biggie
[17:32:06] <nickeddy> great minds think alike icfantv
[17:32:16] <icfantv> if only my mind were great...
[17:32:31] <icfantv> oh geez. i see it now
[17:32:32] <nickeddy> ONE DAY YOUNG PADAWAN
[17:32:43] <icfantv> you are wise, oh nickeddy
[17:32:53] *** tangorri has joined #angularjs
[17:33:06] *** gaboesquivel has joined #angularjs
[17:33:09] <icfantv> ok, so anyone messed with $modal?
[17:33:10] <jaawerth> jaydubya: _.chain(yourList).filter(foo).filter(bar).filter(baz)
[17:33:13] *** soee has quit IRC
[17:33:30] <icfantv> jaawerth: wha? there's a chain method?
[17:33:37] <nickeddy> yep
[17:33:44] <jaawerth> yep
[17:33:47] <nickeddy> lodash docs bby https://lodash.com/docs
[17:33:53] <oniijin> mornin u mofos
[17:33:56] <jaawerth> there's also a _.mixin method so you can make your own custom lodash functions
[17:34:00] <jaawerth> basically extending the library
[17:34:02] <icfantv> oh man
[17:34:04] <icfantv> that's awesome
[17:34:11] <icfantv> got it
[17:34:16] <nahoskins> I was frigging with modal last night
[17:34:18] <nickeddy> icfantv: $modal from ui-bootstrap?
[17:34:20] <icfantv> i've used mixins
[17:34:21] *** zB0hs has quit IRC
[17:34:22] <nahoskins> worked just fine
[17:34:25] <icfantv> nickeddy: yea
[17:34:27] <jaawerth> if you aren't already using it, this site will become YOUR BEST FRIEND http://devdocs.io/
[17:34:39] <jaawerth> I not only use it, I've cloned its github repo to my laptop so I can run it locally
[17:34:40] *** ximenean__ has joined #angularjs
[17:34:40] <nickeddy> icfantv: use it in our app right now, what do you need ?
[17:34:43] <icfantv> i'd still not use chaining here though because you're iterating over the collection twice
[17:34:44] <jaawerth> it's got SO MUCH
[17:34:44] *** whitebook has quit IRC
[17:34:45] <jaawerth> SO MUCH
[17:34:48] <icfantv> and only once is necessary
[17:34:50] <jaawerth> and all so searchable!
[17:34:51] <nickeddy> jaawerth: i love you
[17:34:59] * jaawerth bows
[17:35:08] <oniijin> weird response to l word
[17:35:12] <jaawerth> haha
[17:35:14] <jaydubya> shit, DevDocs worth the price of admission!!!
[17:35:24] <nahoskins> wow nice
[17:35:25] *** jtimon has joined #angularjs
[17:35:39] <jaydubya> should add that link to the topic of this IRC
[17:35:47] <nahoskins> for real
[17:35:52] <nahoskins> forking now
[17:36:00] <icfantv> nickeddy: i created a modal service that one can call to show a please wait dialog and also to close it. it accepts a message, but i can't figure out how to get it in the template because I'm not using a specific controller.
[17:36:17] <jaawerth> the native JavaScript section pulls from MDN
[17:36:27] *** gladely has quit IRC
[17:36:40] <nahoskins> Im still struggling to come up with a good way of allowing user generated templates...
[17:36:40] <jaawerth> basically, it aggregates from any library docs that make themselves compatible with it
[17:36:42] <icfantv> nickeddy: i know the default scope is the $rootScope, but is it kosher to stick the message on the rootscope so the template can find it?
[17:36:58] <nahoskins> if anyone can shed some light id love you forever
[17:37:11] *** night-owl is now known as zz_night-owl
[17:37:15] <nickeddy> icfantv: controllerAs would solve that
[17:37:24] <nahoskins> and ill totally spam santa with letters on how good you have been this year
[17:37:27] *** proteneer has quit IRC
[17:37:29] <jaawerth> I use it for JavaScript, Angular, Lodash, SASS, Markdown, the DOM, and Postgres.. and that's just the ones I use fairly regularly
[17:37:49] <nickeddy> icfantv: then you can make sure all controllers are the same name (i.e. SomeCtrl as vm, SomeOtherCtrl as vm) and in the template: {{ vm.message }}
[17:37:52] <icfantv> nickeddy: how so?
[17:37:56] <jaawerth> nahoskins: what do you mean user-generated? are the users writing code?
[17:38:01] <jaawerth> or are they choosing from widgets and things?
[17:38:24] *** whitebook has joined #angularjs
[17:38:25] *** ahmetkapikiran has joined #angularjs
[17:38:33] <nickeddy> icfantv: though be careful with controllerAs controllers. i generally do `var vm = this;` since you don't use $scope in them
[17:38:35] <icfantv> nickeddy: wait, ALL my controllers?
[17:38:36] <nahoskins> no but they need to create documents that I push data into
[17:38:43] <sonicparke|bradm> anybody doing the john papa-ish feature-based structure?
[17:38:44] <nickeddy> icfantv: no just all of the ones using that template
[17:39:00] <jaawerth> nahoskins: that doesn't really explain it
[17:39:00] <icfantv> that smells a little funny
[17:39:02] *** bcollison has joined #angularjs
[17:39:08] *** cakirke has joined #angularjs
[17:39:12] <jaawerth> can you define the use-case a little better?
[17:39:13] <nickeddy> why?
[17:39:16] <icfantv> nickeddy: that smells a little funny to me.
[17:39:20] *** soee_ is now known as soee
[17:39:23] <jaydubya> any of you guys use ng-grid???
[17:39:28] <nahoskins> they create a string of text, with markdown style {{data}}
[17:39:29] <nickeddy> jaydubya: yep
[17:39:30] *** ximenean__ has quit IRC
[17:39:32] <nickeddy> icfantv: why is that?
[17:39:37] <jaawerth> wait, you don't want ALL your controllers to use the same controllerAs alias
[17:39:38] <sonicparke|bradm> jaydubya: yes
[17:39:45] <jaawerth> that kills half the benefit of controllerAs
[17:39:48] <icfantv> nickeddy: well, firstly, my controllers all have $scope so removing that won't work for me - i'd have to rearchitect my app.
[17:39:56] <nahoskins> but ive know idea how to do that with angular
[17:40:06] <nickeddy> icfantv: no you'd just put all of the stuff on `this` instead of $scope
[17:40:10] <jaydubya> I have this issue that has been plaguing me for days -- I have an ng-grid on a page directly beneath the main navbar. When I try to access the navigation, the dropdown drops behind the headerbar of the ng-grid covering a 24px strip of the main nav. I have assigned a z-index to EVERY element I could find within the console without relief.
[17:40:27] <nickeddy> icfantv: well realistically you'd do something like `var self = this;` at the beginning and replace all instances of $scope with self
[17:40:35] <nickeddy> icfantv: unless you're doing $watches you don't need $scope
[17:40:48] <jaawerth> nahoskins: Well, I've never done this, but there appear to be some markdown-related modules kicking around
[17:41:00] <sonicparke|bradm> jaydubya: seems like I've hit that before but it's been a long time ago. I'll try to remember
[17:41:04] <nickeddy> icfantv: and EVEN when you're doing watches you can still just use the watch separately
[17:41:20] <nahoskins> jaawerth: cheers ill dig into those a bit more
[17:41:24] <jaawerth> you can also parse user input as an angular expression if you sanitize it properly
[17:41:28] *** fedenunez has joined #angularjs
[17:41:47] <nahoskins> "this should be easy for you to do right?"
[17:41:53] *** D-Boy has joined #angularjs
[17:41:53] <nahoskins> worst thing to hear, ever.
[17:42:05] <nickeddy> jaydubya: hmmmm so navbar gets covered by the ng-grid
[17:42:07] <nickeddy> jaydubya: ?
[17:42:10] <jaydubya> thanks sonicparke|bradm. It is a big enough issue that I may have to scrap using ng-grid and I am dependent on ng-grid for my dynamic columns
[17:42:19] <jaydubya> I'll screenshot
[17:42:25] *** startupality has quit IRC
[17:42:26] <icfantv> nickeddy: that's still going to require a ton of code changes
[17:42:39] <nickeddy> icfantv: find replace my man
[17:42:42] *** DrMabuse_ has joined #angularjs
[17:42:53] <jaawerth> nahoskins: https://docs.angularjs.org/api/ng/service/$sce
[17:43:04] <jaawerth> that goes into some of the sanitization stuff
[17:43:31] <icfantv> nickeddy: code that has already been tested and signed off on....
[17:43:31] <jaawerth> I'd look at $interpolate for doing string replacement for {{ }} for user input as an expression
[17:43:52] <nickeddy> icfantv: turning a controller to use controllerAs from $scope is seriously trivial...
[17:43:59] <nahoskins> hmm interesting
[17:44:07] <nahoskins> that could solve the problem
[17:44:15] <jaawerth> basically you'd just $interpolate, do whatever markdown conversion filters you need to use, and then use ng-bind or ng-bind-html to get it showing sanitized (assuming you have angular-sanitize installed and added as a dependency)
[17:44:32] <nahoskins> :w
[17:44:38] *** amphetamines has quit IRC
[17:44:44] <nahoskins> wrong buffer..
[17:45:24] <jaawerth> as for adding devdocs to the channel topic, I'm for it! But I have no power
[17:45:40] <jaawerth> but it's seriously become my #1 reference tool
[17:45:42] <erock> icfantv: when using $filter('email')(myEmailVar) I get an unknown provier error: Unknown provider: emailFilterProvider, any pointers?
[17:45:43] *** fotoflo has joined #angularjs
[17:45:43] <nickeddy> Foxandxss: ^
[17:45:48] *** DrMabuse has quit IRC
[17:45:59] <oniijin> we should just pass it on by word of mouth
[17:46:04] <oniijin> nobody reads the topic newayz =]
[17:46:07] <nickeddy> lol true
[17:46:13] <jaawerth> heh
[17:46:15] *** grogs has quit IRC
[17:46:37] <jaawerth> up until "Be polite!" because that's how much shows up in my usual window size
[17:46:42] <jaawerth> I read*
[17:46:48] <jaawerth> which is a good thing, because otherwise I might not be polite!
[17:47:01] *** DrMabuse_ has quit IRC
[17:47:18] <jaydubya> nickeddy: http://cl.ly/image/1m3g0S3q0b1k <-- there's an Ag-Input loan type that is under the green bar that I can't access
[17:47:47] <nickeddy> jaydubya: oh weird. how are you doing that custom header?
[17:47:58] *** fotoflo has quit IRC
[17:48:34] *** grogs has joined #angularjs
[17:48:41] *** JesseH has joined #angularjs
[17:49:07] <icfantv> erock: i don't know off the top of my head if the email filter is built in
[17:49:34] <jaawerth> I don't believe it is
[17:49:38] <icfantv> yea, it's not
[17:49:38] *** svteoi has joined #angularjs
[17:49:41] <icfantv> erock: it's not
[17:49:42] <jaawerth> should be simple enough to write one though
[17:49:48] <jaawerth> DID DEVDOCS TELL YOU? ;-)
[17:49:55] <icfantv> jaawerth: i think it exists already, just have to add the JS
[17:49:59] <jaydubya> nickeddy: css ... https://gist.github.com/anonymous/f93981bb169eff01fed4
[17:50:08] <nahoskins> seriously, why am I only now finding this
[17:50:08] *** desh has joined #angularjs
[17:50:10] <icfantv> jaawerth: no, i looked at the angularjs doc page
[17:50:19] <icfantv> jaawerth: under filter
[17:50:30] <nahoskins> now I just need to convert to epub and I've got my holiday reading in order
[17:50:39] <nickeddy> jaydubya: have you tried making that z-index 0 or -1 ?
[17:50:45] <nahoskins> might share this link as a christmas present to some folks
[17:51:09] <desh> hey guys
[17:51:20] *** jheady has joined #angularjs
[17:51:24] <desh> i'm fairly new to angular, can I ask noob questions here?
[17:51:25] *** gaboesquivel has quit IRC
[17:51:29] <erock> icfantv: i see, thanks!
[17:51:32] *** rud has joined #angularjs
[17:51:33] *** rud has joined #angularjs
[17:51:34] <icfantv> erock: the input[email] uses a regex, not a filter so it *appears* that you'll need to roll your own. but it's not hard at all
[17:51:50] *** ome has quit IRC
[17:51:58] *** gaboesquivel has joined #angularjs
[17:52:08] *** jheady has left #angularjs
[17:52:13] *** TheDreamIsReal has joined #angularjs
[17:52:14] *** livingstn has joined #angularjs
[17:52:15] <icfantv> erock: wait, are you looking to validate an email address?
[17:52:19] *** tomphp has quit IRC
[17:52:31] *** gaboesquivel has quit IRC
[17:52:45] *** gaboesquivel has joined #angularjs
[17:52:48] *** gladely has joined #angularjs
[17:52:58] *** moogey has joined #angularjs
[17:52:59] <jaydubya> nickeddy: I tried -1 since I hadn't before and now the gray default header bar blocks the nav and the green is gone
[17:53:03] *** moogey has quit IRC
[17:53:06] <erock> icfantv: yep, thats all im looking to do
[17:53:06] <icfantv> erock: and are you needing to do this outside of a text field?
[17:53:19] <icfantv> erock: OOOOOOH. you don't need a filter then.
[17:53:21] *** grogs has quit IRC
[17:53:33] *** atomi has quit IRC
[17:53:34] *** nickgs has quit IRC
[17:53:39] <erock> yes, i just have access to an email address sting that is being returned from an api. some of them are not valid, long story
[17:53:50] *** davi has quit IRC
[17:53:51] *** moogey has joined #angularjs
[17:53:58] <icfantv> erock: ok, so programmatically, not via a text field
[17:54:21] <erock> icfantv: yes, programatically. was just wondering if anjular had somethign built in
[17:55:27] *** rikko has joined #angularjs
[17:56:11] *** annlewis has joined #angularjs
[17:56:15] <icfantv> erock: not that's exposed, but open angular.js and search for EMAIL_REGEXP and there's your regex string. you can just call 'email_from_api'.match(EMAIL_REGEXP)
[17:56:51] *** s3shs has quit IRC
[17:56:54] *** zivester has quit IRC
[17:57:32] <icfantv> anyone know if you can inject $validators?
[17:57:44] *** nfroidure has quit IRC
[17:57:56] *** Nurbs has joined #angularjs
[17:58:04] <icfantv> erock: if you can inject $validators, there's a $validators.email(value) function that will return a boolean
[17:58:14] <sakustar> desh: dont ask if you can ask, just ask. and be patient waiting for a reply :p
[17:58:18] <desh> can i define a new filter with $scope.filtername = function(a1, a2, ..).. in a controller?
[17:58:40] *** nickgs has joined #angularjs
[17:58:42] <desh> sorry, I was just trying to paste the code to plunker :D
[17:58:43] *** wa5ted has quit IRC
[17:59:07] *** wa5ted has joined #angularjs
[17:59:20] <nickeddy> jaydubya: css :(
[17:59:21] *** loverajoel has joined #angularjs
[17:59:36] *** mmeallin_ has quit IRC
[17:59:53] <jaydubya> nickeddy: it was what was suggested on the ng-grid github
[18:00:03] <icfantv> desh: filters are kind of supposed to be reusable
[18:00:06] *** Ix-Xitan has joined #angularjs
[18:00:06] *** Ix-Xitan is now known as PointBlank
[18:00:16] *** snurfery has quit IRC
[18:00:20] <icfantv> desh: just create a new filter and use it in your controller
[18:00:21] <sonicparke|bradm> jaydubya: what version of ng-grid and are you using ui-bootstrap?
[18:00:25] *** PointBlank is now known as Ix-xitan
[18:00:33] <erock> icfantv: Unknown provider: $validatorsProvider :/
[18:00:48] <nickeddy> jaydubya: yeah i've not customized the css of the rows ever really so i'm not sure
[18:00:51] *** alt_qq has joined #angularjs
[18:00:51] <icfantv> erock: is that from injecting $validators?
[18:00:56] *** mmealling has joined #angularjs
[18:01:03] <erock> yes
[18:01:11] <jaydubya> sonicparke|bradm: yes, I am using ui-bootstrap and version of ng-grid is 2.0.14
[18:01:15] <icfantv> erock: if that's the case, then just grab the code from the angular.js file
[18:01:38] <desh> icfantv: so I should do them with a filter factory?
[18:01:43] <jaydubya> nickeddy: I think it is because ng-grid is appending to the DOM after the nav
[18:02:26] <icfantv> erock: actually, the call you want to make is: EMAIL_REGEXP.test(value),
[18:02:29] <sonicparke|bradm> jaydubya: I'm using ui-bootstrap and ng-grid 2.0.7 and don't have that issue
[18:03:03] *** pehlert has joined #angularjs
[18:03:43] <jaydubya> my only thought is maybe to move the nav to a named view by itself and keep the other components in a separate named view and then use z-index on the div ui-view? or else, scrap ng-grid for an alternative (Nooooo) or with sonicparke|bradm's comment, see if I back downgrade ng-grid to 2.0.7
[18:03:49] *** jstroem has joined #angularjs
[18:03:56] <icfantv> desh: angular.module('MyFilters', []).filter('MySpecialFilter', …);
[18:04:12] *** bcollison has quit IRC
[18:04:23] *** illume has quit IRC
[18:04:26] <nickeddy> jaydubya: oh well you could just push the grid down a bit too
[18:04:26] <pehlert> Folks, quick question. I want to call a login window in my app whenever the API returns 401, which is why I need access to the showWindow() method from several places (controllers and services) within my app.. Is it right to put it into a service, although it does template rendering etc (typical view/controller logic imo)
[18:04:28] *** nickgs has quit IRC
[18:04:34] <erock> icfantv: EMAIL_REGEXP is not defined
[18:04:44] <icfantv> erock: you have to define it
[18:04:47] <erock> icfantv: sorry to keep bugging ya
[18:05:06] <icfantv> erock: it's cool, man. open up angular.js and search for EMAIL_REGEXP
[18:05:17] *** macobo has joined #angularjs
[18:05:22] <icfantv> erock: that's going to be your email regular expression
[18:05:37] *** alt_qq has quit IRC
[18:06:01] <icfantv> store that in a .constant(…) somewhere
[18:06:26] <jaawerth> http://www.regular-expressions.info/email.html
[18:06:36] <icfantv> erock: create a validator service and add a validate email method
[18:06:54] <icfantv> jaawerth: are you suggesting that the angular folks' email regexp is not good enough? :-)
[18:06:56] <sonicparke|bradm> jaydubya: I've got my nav in a header that's being pulled in with ng-include and the grid is loaded after it populates. not sure if that has anythign to do with it
[18:07:01] <jaawerth> haha
[18:07:03] *** asheshambasta has quit IRC
[18:07:06] <jaawerth> no!
[18:07:15] <erock> icfantv: sweet. thanks man. i got plenty to git me going now.
[18:07:36] <jaawerth> it's an interesting discussion of the various email regex's out there and their tradeoffs though
[18:07:37] *** Aerospark has joined #angularjs
[18:07:43] <jaydubya> guys, I just changed my bower.json to use 2.0.7 ... what command in the terminal do I use to overwrite 2.0.14?
[18:07:58] <icfantv> jaawerth: yea, looks like it.
[18:08:07] <icfantv> erock: cool. good luck
[18:08:08] <jaawerth> pehlert: if you want it to be global behavior, you can put it into an interceptor
[18:08:11] <nickeddy> jaydubya: bower update ?
[18:08:24] <moogey> how goes it jaydubya
[18:08:37] <jaydubya> hi, moogey
[18:08:39] <jaawerth> pehlert: I usually use an interceptor and inject a service/services into it that do any logic (conditions, what kind of events to broadcast or functions to call, etc) so it's nice and configurable
[18:08:51] *** richardbkr-afk has joined #angularjs
[18:09:06] <pehlert> jaawerth: I have put it into an interceptor already, I'm just wondering where the view/rendering stuff should go
[18:09:08] <moogey> jaydubya: how's your project coming along?
[18:09:13] <jaawerth> ah
[18:09:25] <jaydubya> moogey: getting better every hour
[18:09:27] <pehlert> I want an explicit login button, too. So interceptor only wouldn't work ;)
[18:09:31] <jaawerth> yeah, I use a factory/service with utility functions for that, so I can keep the logic abstracted
[18:09:42] <moogey> jaydubya: glad to hear it. :)
[18:09:54] <jaawerth> well, what are you using for a router?
[18:09:55] <icfantv> jaawerth: i want a .museum email address
[18:09:56] <pehlert> jaawerth: Cool, that sounds good. Thank you!
[18:10:02] <jaydubya> me too, since December 31 is coming quick
[18:10:23] <Foxandxss> back
[18:10:26] <moogey> jaydubya: how are you feeling about that?
[18:10:31] <Foxandxss> jaawerth: nickeddy: devdos?
[18:10:33] <Foxandxss> devdocs*
[18:10:42] *** grogs has joined #angularjs
[18:10:51] <nickeddy> Foxandxss: pretty amazing resource that should maybe be in the title
[18:10:59] <Foxandxss> link?
[18:11:04] <jaydubya> 2 more shopping days til Christmas and 9 more days to armageddon
[18:11:06] <Foxandxss> and topic is kinda cluttered ;(
[18:11:13] <moogey> jaydubya: lol
[18:11:21] <jaawerth> haha yeah, I shared devdocs and we had a little devdocs lovefest, and people were saying it should be in the /topic. I commented that I'd be for it but have no power ;-), but it's true that we can just use word of mouth
[18:11:22] <nickeddy> Foxandxss: http://devdocs.io/
[18:11:30] <Foxandxss> ah right
[18:11:39] <Foxandxss> docs are on the topic
[18:11:43] <Foxandxss> that should be enough
[18:11:50] *** jaznow has quit IRC
[18:11:53] <jaawerth> it's not only got a billion pieces of docs but it's a lot easier to navigate than the angular docs
[18:11:57] *** Aerospark has quit IRC
[18:12:07] <Foxandxss> that is true
[18:12:13] <Foxandxss> angular docs are not easy to navigate
[18:12:26] *** xdissent has quit IRC
[18:12:30] *** pknordic_ has joined #angularjs
[18:12:30] <jaawerth> which may be a better argument for improving the docs via pull requests than using devdocs instead, granted
[18:12:32] *** jaznow has joined #angularjs
[18:12:58] <jaydubya> sonicparke|bradm: no change for me with 2.0.7
[18:13:06] <sonicparke|bradm> hmmm
[18:13:09] <moogey> Foxandxss, jaawerth you guys use Dash?
[18:13:18] <Foxandxss> I do
[18:13:29] <moogey> did you pay for it?
[18:13:33] <Foxandxss> no
[18:13:35] <jaawerth> I do not
[18:13:38] <sonicparke|bradm> jaydubya: ui-bootstrap 0.11.2
[18:13:47] <jaawerth> moogey: you mean this? https://dash.generalassemb.ly/
[18:13:48] <sonicparke|bradm> is this in Chrome?
[18:14:03] <Foxandxss> jaawerth: no
[18:14:07] <moogey> this http://kapeli.com/dash
[18:14:14] <Foxandxss> that one yes
[18:14:22] <jaydubya> sonicparke|bradm: yes
[18:14:26] <sonicparke|bradm> hmm
[18:14:27] *** jtimon has quit IRC
[18:14:30] *** torartc has quit IRC
[18:14:35] <jaawerth> ah, neat, I'll try it out
[18:14:41] <jaawerth> might cover any ground that devdocs doesn't
[18:14:46] <moogey> Foxandxss: I go to use it all the time, but that 8 seconds man. Longest of my life
[18:14:58] <moogey> jaawerth: it's pretty robust.
[18:15:08] <Foxandxss> maybe it is time to pay for it
[18:15:11] <jaawerth> looks like there's a fair bit of crossover, but dash covers a little more
[18:15:15] *** bzitzow has quit IRC
[18:15:17] *** pehlert has quit IRC
[18:15:19] <Foxandxss> dash rock
[18:15:19] *** pknordic_ has quit IRC
[18:15:21] <jaawerth> devdocs is growing FAST though
[18:15:26] <Foxandxss> quick search, lot of different language / frameworks...
[18:15:30] *** katsh has joined #angularjs
[18:15:30] <Foxandxss> dash too
[18:15:32] <caitp-> how does this make you feel https://gist.github.com/caitp/041bc8e6cefd69ded3f3
[18:15:36] <jaydubya> sonicparke|bradm: I think I will try to move the nav to a named state/view ... it is something I have been avoiding because I don't understand the concept but it would be easier to learn than to find a replacement for ng-grid
[18:15:46] <jaawerth> I think their list of supported documentations has doubled in the few months I've been using it
[18:15:59] *** bzitzow has joined #angularjs
[18:16:05] <sonicparke|bradm> jaydubya: yeah, definitely a better next move than dumping ng-grid
[18:16:11] <jaydubya> sonicparke|bradm: with the nav and the grid in separate divs, z-index SHOULD apply
[18:16:14] *** fedenunez1 has joined #angularjs
[18:16:18] *** sonofdir_ has joined #angularjs
[18:16:32] <jaawerth> wait, I have to DOWNLOAD dash? I can't clone it from github? WHAT IS THIS
[18:16:35] <jaawerth> ;-)
[18:16:42] <sonicparke|bradm> jaydubya: oh. yeah, are they not now
[18:16:45] <nickeddy> caitp-: what is this supposed to be doing?
[18:16:51] <Foxandxss> jaawerth: not open source I bet :)
[18:16:59] <jaawerth> yeah
[18:17:27] <jaydubya> sonicparke|bradm: no, I am very much scared of ui-router -- no resolves or nested views
[18:17:27] <caitp-> nickeddy, es6 rest parameters, my latest v8 project :>
[18:17:36] <nickeddy> caitp-: ooooooooooooooooooooooooooooooooooo
[18:17:39] *** laurensclaessen has quit IRC
[18:17:40] <caitp-> actually i've been working on it off and on for a few months, but this is the first time it's kind of working
[18:17:46] <sonicparke|bradm> jaydubya: you can do resolves in ui-router. I do it a lot
[18:17:47] <nickeddy> caitp-: that's awesome. where's the source ?
[18:18:11] <caitp-> the source is on my laptop in a git branch called "Rest"
[18:18:11] <caitp-> i'll probably upload a WIP cl after the holidays
[18:18:18] <jaydubya> sonicparke|bradm: i know you can and i know you SHOULD but I am so far along and so close to my DEADline ...
[18:18:26] <jaawerth> wait so it... what, builds REST requests?
[18:18:35] <sonicparke|bradm> ah ok
[18:18:44] *** fedenunez has quit IRC
[18:18:56] <nickeddy> jaydubya: wat, you can definitely do nested views in ui-router and resolves
[18:19:11] <ctanga> he knows, he’s just afeard.
[18:19:22] *** juampy is now known as backlater
[18:19:23] <nickeddy> jaydubya: i mean we were doing them in that one part
[18:19:23] <caitp-> nothing to do with rest in the http sense :p
[18:19:26] *** backlater is now known as juampy_backlater
[18:19:40] *** komlev has joined #angularjs
[18:19:44] <caitp-> rest parameters are just a cool syntax feature
[18:19:49] <jaydubya> sonicparke|bradm: LOL, I have 4 Egghead videos, 2 articles and a link from ctanga all bookmarked for when I try to make that plunge
[18:19:53] <jaawerth> ugh, I spend too much time in http land
[18:19:55] <nickeddy> like *args and **kwargs almost
[18:20:01] <jaawerth> ahhhh
[18:20:06] <jaawerth> I see
[18:20:09] *** Bade has quit IRC
[18:20:10] *** slickuser has joined #angularjs
[18:20:12] *** slickuser has left #angularjs
[18:20:13] <caitp-> hopefully people will start using it instead of arguments
[18:20:16] <caitp-> that's one of the goals, I think
[18:20:23] <sonicparke|bradm> jaydubya: yeah, it's really not bad. the egghead videos help a lot
[18:20:46] *** elrabin has quit IRC
[18:20:53] *** sonofdir_ has quit IRC
[18:21:07] <jaawerth> yeah, that'd be nice
[18:21:18] *** elrabin has joined #angularjs
[18:21:22] <moogey> nickeddy ( jaawerth ) kinda like this? https://github.com/serkanyersen/kwargsjs
[18:21:31] <jaawerth> I've been doing a lot of service logic around parsing the arguments array lately for optional arguments and things
[18:21:38] <sonicparke|bradm> jaydubya: this is and old plunker of mine using older versions but it should still work. http://plnkr.co/edit/c0Uv3iWq4oEcTqpEIVqE?p=info
[18:21:45] <jaawerth> sometimes in combination with _.curry and _.wrap
[18:21:51] <jaydubya> sonicparke|bradm: is this meaning I would have to add view: {} and then name the view on ALL of my routes and views -- there are over 80 of them
[18:21:52] <moogey> jaawerth do you have a github?
[18:22:07] <nickeddy> moogey: that's really weird syntax though
[18:22:07] <jaawerth> yeah but it's not worth perusing
[18:22:13] *** Aliks has joined #angularjs
[18:22:16] <jaydubya> sonicparke|bradm: plunking now
[18:22:26] <caitp-> the hard part is
[18:22:30] <caitp-> making it work for arrow functions
[18:22:35] <caitp-> i have not figured out how to do that at all :(
[18:22:40] <jaawerth> I haven't done the cleanup yet on any of my non-NDA-covered projects to put 'em up. I have a bit of a backlog
[18:22:41] <nickeddy> arrow functions are the devil
[18:22:49] <caitp-> arrow functions are super awkward :[
[18:22:51] <jaawerth> most of my code is still in bitbucket private repos
[18:22:54] *** xdissent has joined #angularjs
[18:23:13] *** thews-work has quit IRC
[18:23:14] <moogey> jaawerth, well, followed for when it gets put up
[18:23:29] <sonicparke|bradm> jaydubya: not sure on that one. I haven't done named views yet. But I would think you might have to. Or loop through a json object of them all maybe
[18:23:34] *** gauravsaini03 has quit IRC
[18:23:37] <jaawerth> moogey: specifically relating to arg parsing?
[18:23:48] <moogey> just everything.
[18:23:50] *** richardbkr-afk is now known as richardbkr
[18:23:54] <jaawerth> ah. well thanks! ;-)
[18:24:48] *** pehlert has joined #angularjs
[18:24:57] <moogey> You're in here like 24 hours a day helping out.
[18:25:07] *** FunnyLookinHat_ has joined #angularjs
[18:25:14] <jaawerth> heh, it helps me learn
[18:25:18] <jaawerth> I really should cut down though
[18:25:24] <jaawerth> ADD, what can I say
[18:25:39] *** elrabin has quit IRC
[18:26:22] *** elrabin has joined #angularjs
[18:26:26] <moogey> lol, I did that a couple times. Worked through a couple plunkers, then thought, maybe I should do some of my own work, lol
[18:26:26] <jaydubya> sonicparke|bradm: I found an Egghead on Nested Views that I hadn't seen before and thanksfully, it is by Joel and not John. That means I only have to slow down my computer to half-speed to keep up whereas I have to slow it to quarter-speed to keep up with John
[18:26:44] *** Siyfion has quit IRC
[18:26:57] <sonicparke|bradm> ha
[18:27:00] <sonicparke|bradm> true
[18:27:31] *** whiteboo_ has joined #angularjs
[18:27:42] *** ravocom has joined #angularjs
[18:27:57] *** MistahKurtz has joined #angularjs
[18:28:11] *** bitnumus has quit IRC
[18:28:25] <jaawerth> wait, dash is mac-only? *flips the table*
[18:28:36] *** Lebby11 has left #angularjs
[18:28:37] *** FunnyLookinHat has quit IRC
[18:28:57] <moogey> jaawerth isn't using a mac?
[18:29:00] *** sressot has quit IRC
[18:29:00] <sonicparke|bradm> jaawerth: surprise...another mac only dev tool
[18:29:01] * moogey flips a table
[18:29:11] <jaawerth> haha, I use linux
[18:29:16] *** thedodd has joined #angularjs
[18:29:29] * moogey calmly puts table back
[18:29:33] <moogey> ..... sorry
[18:29:51] *** sressot has joined #angularjs
[18:29:58] <moogey> well there's this http://zealdocs.org/
[18:30:14] <nickeddy> jaydubya++
[18:30:16] <nickeddy> oops
[18:30:19] <nickeddy> jaawerth++
[18:30:26] <jaawerth> heh
[18:30:32] <Guest33> Hello everyone, with AngularJS + Ionic / Cordova, I am using the HTML5 audio plugin https://github.com/devgeeks/ExampleHTML5AudioStreaming, however when I unplug the headphone from my phone, the audio stops and the stop button appears instead of the play button. Anyone have a similar situation before?
[18:30:42] *** mzabriskie has joined #angularjs
[18:30:52] *** whitebook has quit IRC
[18:30:53] *** elrabin has quit IRC
[18:31:09] *** davi has joined #angularjs
[18:31:20] *** elrabin has joined #angularjs
[18:31:27] <jaawerth> I can try it with Darling (wine for mac apps), though darling isn't anywhere close to wine yet as far as compatibility is concerned
[18:31:59] <jaydubya> I want to get a cranial USB port for Christmas ... downloading would be so much faster than learning!
[18:32:37] <jaawerth> ah, I CAN get dash on ipad though!
[18:32:43] *** iamaregee2 has joined #angularjs
[18:33:00] * jaawerth ...left his ipad at home
[18:33:05] *** cannap has quit IRC
[18:33:22] <jaydubya> jaawerth: that would work better anyway ... wouldn't have to switch screens (can Linux switch screens???)
[18:33:33] * moogey left his iPad at the store
[18:33:35] <jaawerth> linux had virtual desktop before anyone else!
[18:33:58] * jaawerth looks around for any BSD people
[18:34:05] <moogey> jaawerth you should make you computer a slapbox
[18:34:24] <nickeddy> jaawerth: arch linux
[18:34:33] <nickeddy> nah that's torture. linux mint 17
[18:34:44] <moogey> before apple integrated spaces, there was a desktop manager you could hack to switch screens based on the accelerometer
[18:34:47] <jaawerth> haha, I like arch, but yeah - day to day I use mint. mostly because I love Cinnamon
[18:35:26] <jaawerth> and because I don't want to have to micromanage the configuration of my production machine
[18:35:31] *** ximenean__ has joined #angularjs
[18:35:38] *** elrabin has quit IRC
[18:35:42] *** Ajans has quit IRC
[18:36:06] *** fedenunez1 has quit IRC
[18:36:07] <jaawerth> moogey: heh, I looked into that once (or hooking it up to a kinect so I could do hand gesture actions)
[18:36:24] *** elrabin has joined #angularjs
[18:36:25] *** pehlert has quit IRC
[18:36:39] <jaawerth> ultimately decided it wasn't worth the effort though
[18:36:54] *** iamaregee2 has quit IRC
[18:37:01] *** nycdevgirl has joined #angularjs
[18:37:17] <jaydubya> just got a spam email about "Ficks" -- "Mix drinks with this blend of vitamins, electrolytes, and antioxidants that hydrates and replenishes what alcohol takes away." They even want to make alcohol healthier ... c'mon, man!
[18:38:19] *** opiates has joined #angularjs
[18:38:58] *** RobinBAwesome has joined #angularjs
[18:39:23] <moogey> jaydubya http://youtu.be/8TsL0DO-c1E haha
[18:40:10] *** ximenean__ has quit IRC
[18:40:25] *** opiates has quit IRC
[18:40:38] <jaydubya> ha
[18:40:45] *** elrabin has quit IRC
[18:41:01] *** patrick99e99 has joined #angularjs
[18:41:24] *** elrabin has joined #angularjs
[18:41:44] *** tomaso has joined #angularjs
[18:41:59] *** FIFOd[a] has quit IRC
[18:42:25] *** JohnBat26 has quit IRC
[18:42:49] *** mikerrrrrr has quit IRC
[18:43:47] *** torartc has joined #angularjs
[18:43:49] *** zarglex has joined #angularjs
[18:43:50] *** svteoi has quit IRC
[18:44:06] *** samcfc_ has quit IRC
[18:45:06] <saucey> hey ya'll
[18:45:19] <jaydubya> ui-router's named views is HTML framesets (from the seventies) redefined
[18:45:28] *** sonofdirt has quit IRC
[18:45:43] *** elrabin has quit IRC
[18:46:01] <saucey> im trying to create a directive tree that handles my menu items, links with using bootstrap, whats the best way to go by this
[18:46:45] <jaawerth> you can do recursive directives, you just need to manually compile the template in the link function rather than using the template: or templateUrl: option
[18:46:54] *** tangorri has quit IRC
[18:47:02] *** aslate has quit IRC
[18:47:08] <jaawerth> saucey: I've never implemented it before, but I got interested after you were asking about it yesterday so I coded up a quick and dirty example (you were gone already)
[18:47:16] *** TheDreamIsReal has quit IRC
[18:47:17] <jaawerth> plus I'm going to need it soon, myself
[18:47:43] <jaawerth> saucey: http://plnkr.co/edit/IEAzSowBd5nFhF4HjoXn?p=preview
[18:47:57] <saucey> nice one let me take a look
[18:48:31] <moogey> jaawerth like a recursive tree?
[18:48:40] *** scythe__ has joined #angularjs
[18:48:57] <jaawerth> moogey: yeah
[18:49:05] <moogey> I think I have one of those
[18:49:09] <moogey> Hold up
[18:49:13] *** g3funk is now known as braind
[18:49:13] <jaydubya> sonicparke|bradm: ui-router is smarter than I deduced from that first article ... once the views are named, one or more can be overriden with subsequent views, so I won't have to change 80 views ... yeah!
[18:49:23] <jaawerth> it's not too bad once you realize you gotta just manually $compile in the postLink function
[18:49:43] <sonicparke|bradm> jayduba: sweet
[18:50:00] *** gutti has quit IRC
[18:51:15] *** Lewix has quit IRC
[18:51:51] *** Lewix has joined #angularjs
[18:52:06] *** Eleeleth has joined #angularjs
[18:52:44] *** mlpug has quit IRC
[18:52:55] *** prbc has quit IRC
[18:53:03] <saucey> jaawerth: this is complex
[18:53:29] *** prbc has joined #angularjs
[18:54:00] *** mary5030 has quit IRC
[18:54:21] <jaawerth> it's not as bad as it looks - not counting the controller (which is just calling a few functions to build a sample tree), it's less than 60 lines of code ;-)
[18:54:45] <jaawerth> er, unless you want to count the template I'm using for each node (in node.html). then it's maybe 65 lines
[18:55:08] *** jlebrech has quit IRC
[18:55:11] <jaawerth> if you're curious about any bits, I can explain them
[18:55:23] <dllama> has anyone run into "Error: No parent block-ui service instance located." using blockUI ?
[18:55:24] *** ejb has joined #angularjs
[18:55:29] *** SargoDarya has joined #angularjs
[18:55:47] *** bzitzow has quit IRC
[18:56:00] <nickeddy> dllama: are you using the jquery blockui ?
[18:56:04] *** Lewix has quit IRC
[18:56:24] *** pehlert has joined #angularjs
[18:56:36] *** tschundeee has quit IRC
[18:56:37] *** evilaliv3 has quit IRC
[18:57:00] <dllama> nickeddy: using https://github.com/McNull/angular-block-ui
[18:57:09] *** tschundeee has joined #angularjs
[18:57:10] *** evilaliv3 has joined #angularjs
[18:57:13] <dllama> its frustrating cuz i'm using it on multiple apps,
[18:57:17] <dllama> and it works fine in most
[18:57:34] *** erock has quit IRC
[18:57:47] <saucey> jaawerth hold up a moment with be with you shortly
[18:57:47] *** prbc has quit IRC
[18:58:21] <shoerain> hmmm... I got a slow angular page, and I'm thinking it's because of the number of items I have mixed with using ng-repeat. Here's the page: http://sprunge.us/WOJL?html. The table usualyl shows about 500 elements with 15 fields each. I tried to count the number of things being watched using http://stackoverflow.com/a/18526757/198348, and I get ~41.5k watchers. I'm guessing that's the crux of my issue?
[18:58:38] <jaawerth> saucey: I'm just over here doing my own work, so ping me with questions and I'll hopefully be around to answer them ;-)
[18:58:48] *** ngbot has joined #angularjs
[18:58:49] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/3yrWUQ
[18:58:49] <ngbot> angular.js/master b43fa3b David Souther: test($exceptionHandlerProvider): call `inject()` to run tests...
[18:58:49] *** ngbot has left #angularjs
[18:58:56] <jaawerth> er, by which I mean in the channel so others may also answer, not a PM
[18:59:01] <saucey> cheers
[18:59:09] <nickeddy> shoerain: there's a chrome plugin to see the # of watches
[18:59:18] <jaawerth> (which I only say because if I make myself too available over PM I'll never get any work done ;-) )
[18:59:27] <nickeddy> shoerain: but yes, watcher count over 1k is usually bad
[18:59:34] *** tomfriedhof has joined #angularjs
[18:59:57] *** juanpablo_ has quit IRC
[19:00:07] <shoerain> is there an easy solution to minimize the number? Pagination comes to mind, but it's nice not having to paginate
[19:00:13] <shoerain> nickeddy: ^
[19:00:19] <nickeddy> shoerain: if you're not editing and only displaying the info you can single bind if you're using angular 1.3.x by {{ :: singleBoundVar }}
[19:00:24] <nickeddy> err
[19:00:31] <nickeddy> {{ ::someVar }}
[19:00:32] *** zarglex has quit IRC
[19:00:32] *** shackleford has quit IRC
[19:01:08] <jaawerth> also you can do virtual scrolling
[19:01:11] <jaawerth> but that's not trivial
[19:01:12] *** prbc has joined #angularjs
[19:01:15] <nickeddy> heh
[19:01:18] <shoerain> is {{ ::someVar }} equivalent to <span ng-value=someVar></span>?
[19:01:22] <dllama> can anyone recommend an alternative to blockUI?
[19:01:28] *** tschundeee has quit IRC
[19:01:45] <jaawerth> uh, ng-value is for input checkbox/radios
[19:01:46] *** bzitzow has joined #angularjs
[19:02:14] <jaawerth> {{::someVar}} is equivalent to doing <sometag ng-bind="::someVar"></sometag>
[19:02:29] <shoerain> nickeddy: is the chrome extension you're talking about batarang, or something else?
[19:02:35] *** mmealling has quit IRC
[19:02:39] <shoerain> jaawerth: ah okay
[19:02:55] *** livingstn has quit IRC
[19:02:56] <nickeddy> shoerain: https://chrome.google.com/webstore/detail/angular-watchers/nlmjblobloedpmkmmckeehnbfalnjnjk?hl=en
[19:03:00] <shoerain> i though there was a parallel to 'ng-bind' and 'ng-value' for two way bnding and one way binding
[19:03:07] *** musil has joined #angularjs
[19:03:07] *** merobertsjr has quit IRC
[19:03:18] *** guilbep has quit IRC
[19:03:30] <shoerain> er originally, I guess not.
[19:03:35] *** mica has joined #angularjs
[19:03:50] <nickeddy> ng-bind="::someVar" is one way binding, ng-bind="someVar" is two way
[19:03:56] *** mica has left #angularjs
[19:04:03] *** nahoskins has quit IRC
[19:04:22] *** cthrax has quit IRC
[19:05:05] *** jacuqesdancona has quit IRC
[19:05:10] <jaawerth> I find that for huge pages, DOM event listeners are as, problematic, if not moreso, as watchers
[19:05:10] *** nickgs has joined #angularjs
[19:05:16] <moogey> jaawerth not he best of data structures, butttttttt http://plnkr.co/edit/Hod0c0JJNbf2rpHSaasg?p=preview
[19:05:18] <jaawerth> are as problematic *
[19:05:40] *** jacuqesdancona has joined #angularjs
[19:05:44] *** torartc has quit IRC
[19:05:50] <shoerain> daang I see {{::someVar}} is in 1.3.0 -- are there any for 1.2.10?
[19:05:52] <jaawerth> watchers will hurt you when digests are triggered, but if you've got slowdown just scrolling up and down the page without doing anything that will trigger a digest, your problem is probably DOM-related
[19:05:56] *** joroc has joined #angularjs
[19:05:56] *** juanpablo__ has joined #angularjs
[19:05:58] <shoerain> s/any/any options/
[19:06:00] *** PeterMetz has joined #angularjs
[19:06:02] <saucey> jaawerth this is quiet complex never not this advanced
[19:06:13] *** elrabin has joined #angularjs
[19:06:44] <saucey> http://laravel.io/bin/NkdEw
[19:06:49] <saucey> thats what i have
[19:07:04] <jaawerth> saucey: moogey's is simpler, maybe try that (it's using ng-repeat and ng-include rather than a custom directive)
[19:07:13] <shoerain> jaawerth: hmm not knowing angular **that** much, i'm assuming I don't trigger digests except when I try to render new data from a server
[19:07:24] <dmack> are $stateParams "typed" now in the newest UI router?
[19:07:41] *** musil has quit IRC
[19:07:41] <dmack> seem to be coming through as a string versus number
[19:07:57] *** kakashiA1 has joined #angularjs
[19:08:02] *** mspier|away is now known as mspier
[19:08:04] <jaawerth> well, a change to any form element with an ng-model on it will do it (unless you've specified otherwise), ng-click, pretty much any built-in user interaction directive will do it
[19:08:22] *** Aerospark has joined #angularjs
[19:08:26] <jaawerth> the digest is what triggers the dirty-checking stuff
[19:08:29] <saucey> hey
[19:08:42] <saucey> how do u add classes and stuff
[19:08:54] <saucey> i want my tree to behave like bootstrap nav
[19:08:59] *** lexek_ has joined #angularjs
[19:09:00] *** nahoskins has joined #angularjs
[19:09:11] *** aven1 has quit IRC
[19:09:15] <saucey> ive done the tree thing in a few ways i thought with directives id have a lot more control
[19:09:39] *** Lewix has joined #angularjs
[19:09:52] *** jacuqesdancona has quit IRC
[19:09:53] <jaawerth> you do
[19:09:56] *** nickgs has quit IRC
[19:10:19] <jaawerth> you can use jquery methods in directives (the "element" param on the link function wraps your directive's root node with jqlite by default, or jquery if you've got jquery in your app)
[19:10:28] <jaawerth> OR you can use the ng-class directive in a template
[19:10:30] *** elrabin has quit IRC
[19:10:31] *** juanpablo__ has quit IRC
[19:10:37] *** kakashiAL has quit IRC
[19:10:41] <saucey> ok
[19:10:53] <saucey> http://laravel.io/bin/NkdEw
[19:10:59] <jaawerth> http://www.sitepoint.com/practical-guide-angularjs-directives/
[19:11:01] *** Nivag_ has joined #angularjs
[19:11:12] <saucey> this gives me one level how would i add the recursion to that
[19:11:15] *** ngbot has joined #angularjs
[19:11:15] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.2.x: http://git.io/jRUbZQ
[19:11:16] <ngbot> angular.js/v1.2.x d60fbcc David Souther: test($exceptionHandlerProvider): call `inject()` to run tests...
[19:11:16] *** ngbot has left #angularjs
[19:11:26] <nickeddy> testing
[19:11:37] *** elrabin has joined #angularjs
[19:11:46] *** ngbot has joined #angularjs
[19:11:46] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.3.x: http://git.io/y0gpiA
[19:11:46] <ngbot> angular.js/v1.3.x 316ee8f David Souther: test($exceptionHandlerProvider): call `inject()` to run tests...
[19:11:46] *** ngbot has left #angularjs
[19:11:49] *** cacts has quit IRC
[19:12:14] <jaawerth> saucey: like I said, you can't just use the template: option as, per the docs, that will cause it to break. You need to manually $compile your template. Take a look in my example where I'm doing $http.get to grab the template and then using $compile on it
[19:12:20] *** cthrax has joined #angularjs
[19:12:21] *** d4rklit3 has joined #angularjs
[19:12:36] <saucey> ok
[19:12:47] *** Aerospark has quit IRC
[19:12:53] *** pehlert has quit IRC
[19:13:08] *** prbc has quit IRC
[19:13:13] <jaawerth> the only reason I wrote a separate "node" service is that I like abstracting the actual building of the tree into a service, so I can do it all with method calls
[19:13:13] *** cacts has joined #angularjs
[19:13:43] *** prbc has joined #angularjs
[19:13:48] <saucey> ok whats with $scope.root.add().add().add().add();
[19:13:50] <saucey> lol
[19:13:55] <saucey> what does that do
[19:14:19] <saucey> and in the controller u do controller('MainCtrl', function($scope, Node) {
[19:14:38] *** ivor has joined #angularjs
[19:14:49] <jaawerth> I wrote a node service with an add function that adds a child node
[19:14:57] <jaawerth> so I can build out a tree with method chaining like that
[19:15:00] *** Somatt_wrk has quit IRC
[19:15:13] <jaawerth> just for convenience - the node service itself isn't necessary to the functionality of the directive
[19:15:31] <saucey> ok
[19:15:42] *** s00pcan_ has quit IRC
[19:15:45] <icfantv> can anyone venture to guess why when I call this the first time with .open("foo") it displays the please wait, but subsequent times it displays the foo? https://gist.github.com/icfantv/a4df013e6c08c18ee952
[19:15:48] <saucey> ok so the gotTemplate....
[19:15:56] *** daviesgeek has quit IRC
[19:15:56] *** it0a has joined #angularjs
[19:16:04] *** yandos has quit IRC
[19:16:09] <jaawerth> except for the fact that I'm calling scope.node.updateName() on line 20 to get that fancy naming scheme to change dynamically
[19:16:20] <jaawerth> but other than that, you could replace that with primitive objects if you wanted
[19:16:47] *** jstroem has quit IRC
[19:16:57] <jaawerth> lines 11-35 are the directive, lines 39-59 are my factory that lets you build nodes
[19:17:15] <jaawerth> which is a nice way to make your code maintainable and reusable, but not necessary to the process
[19:17:28] <saucey> ok
[19:17:42] <saucey> how are u doing the loop
[19:18:04] <moogey> jaawerth do you know if rootScope is available inside an isolate scope without going scope.$root?
[19:18:06] *** SargoDarya has quit IRC
[19:18:06] *** prbc has quit IRC
[19:18:15] *** daviesgeek has joined #angularjs
[19:18:27] <saucey> i would love to see this example with a proper object example using special classes on the from down :D
[19:18:42] <jaawerth> sorry, no time for that today
[19:18:48] *** recidive has quit IRC
[19:18:49] <saucey> ok lol
[19:18:50] <jaawerth> maybe later this evening (since I eventually need to do this for my own project)
[19:18:54] <moogey> icfantv I think it's easier to pass the scope that you need to the modal, rather than putting it on root
[19:19:32] <icfantv> moogey: i'll give that a shot. i was worried about scope leakage though
[19:19:47] <moogey> icfantv how do you mean?
[19:20:01] <jaawerth> I would just pass $scope to the modal and use it with $parse/$compile without actually storing a reference to it
[19:20:07] *** Jet4Fire has joined #angularjs
[19:20:27] <jaawerth> as for rootScope, well, you could inject it into the directive's controller
[19:20:55] <saucey> by modal do you mean the service?
[19:21:08] <jaawerth> I dunno, moogey was talking about a modal
[19:21:20] *** RobinBAwesome has quit IRC
[19:21:24] <moogey> lol
[19:21:26] *** pzuraq has joined #angularjs
[19:21:45] <moogey> icfantv you can pass a scope to the modal service.
[19:21:48] *** rickibilboa has joined #angularjs
[19:22:00] <moogey> or you can resolve what you need into the scope
[19:22:05] *** dantheta has quit IRC
[19:22:05] <breakingthings> Anyone know if there's a way to configure $resource to use custom headers?
[19:22:23] <icfantv> moogey: yea, that doesn't work because the scope of the template is not the same scope
[19:23:01] <icfantv> moogey: so if i say in my template {{ modal.header }} it's not defined if i pass in the scope and set it there
[19:23:47] <moogey> icfantv can you make a plunker?
[19:23:52] *** Z3R0 has quit IRC
[19:24:05] <icfantv> breakingthings: $resource is just a wrapper around $http so anything you can do with $http, you can do with $resource
[19:24:24] <icfantv> breakingthings: look at the "Setting HTTP Headers" section here: https://docs.angularjs.org/api/ng/service/$http
[19:24:32] <breakingthings> Good point, thank you.
[19:24:36] <icfantv> moogey: yea
[19:24:48] <moogey> icfantv cool, lets see what we can do with that
[19:24:57] <saucey> when u use $scope in you controllers to send something to a view, is it also avaliable in your directive link method? and when u access that value in there you can manipulate it then send it back through the template to be rendered, is that correct?
[19:25:20] *** SystemR has joined #angularjs
[19:25:25] *** iribarne has joined #angularjs
[19:25:27] <moogey> saucey $scope in the controller is the same scope in the directive link function
[19:25:30] <iribarne> s
[19:25:37] <saucey> o i see
[19:25:44] *** pizthewiz has joined #angularjs
[19:26:00] *** Z3R0 has joined #angularjs
[19:26:06] *** GeertJohan has quit IRC
[19:26:19] *** GeertJohan has joined #angularjs
[19:26:19] *** GeertJohan has joined #angularjs
[19:26:30] *** SystemR has quit IRC
[19:26:32] <saucey> so whats the point in having controllers when directives hand handle that?
[19:26:38] *** g33k5z has quit IRC
[19:26:39] *** braind is now known as braidn
[19:26:46] <moogey> separation of concerns
[19:26:51] *** eago has quit IRC
[19:26:53] <saucey> ok
[19:27:04] *** g33k5z has joined #angularjs
[19:27:25] <saucey> so once its received in the link method how would u project it to the view?
[19:27:43] <breakingthings> You can reuse the same directive with multiple different controllers to produce different results based on what the controller does to the scope, too.
[19:27:56] <moogey> saucey project?
[19:27:59] *** tschundeee has joined #angularjs
[19:28:00] *** dsdeiz has quit IRC
[19:28:27] <saucey> how would you send the scope to the view
[19:28:37] <moogey> ahh, that happens automatically
[19:28:50] <moogey> by wrapping it with ng-controller, or being a direcive
[19:28:58] <moogey> s/direcive/directive
[19:29:32] *** g33k5z_ has joined #angularjs
[19:29:36] *** mspier is now known as mspier|away
[19:29:38] *** g33k5z has quit IRC
[19:30:48] *** grogs has quit IRC
[19:31:04] *** juanpablo__ has joined #angularjs
[19:31:04] *** shackleford has joined #angularjs
[19:31:05] *** nemothekid has joined #angularjs
[19:31:22] *** juanpablo__ has quit IRC
[19:31:45] *** juanpablo_ has joined #angularjs
[19:31:50] *** s00pcan_ has joined #angularjs
[19:31:53] *** noisewaterphd has joined #angularjs
[19:32:06] <saucey> ive given my directive and controller the same wrapper when i use $scope.items in my controller, i can use ng-repeat="item in items" in my directive teamplate property
[19:32:25] <jaawerth> I would really check out part 1 and 2 of this http://www.sitepoint.com/practical-guide-angularjs-directives/
[19:32:28] *** frobs has quit IRC
[19:33:09] *** g33k5z has joined #angularjs
[19:33:09] *** g33k5z_ has quit IRC
[19:33:20] <jaawerth> directives are one of the steeper aspects of the Angular learning curve, and I'd recommend getting a feel for how they work. A recursive tree directive isn't insanely hard, but it's certain not a "beginner" directive either
[19:33:22] *** tschundeee has quit IRC
[19:33:42] <saucey> yea i get what yiu mean
[19:33:55] *** japhar81 has quit IRC
[19:34:28] *** platonic has joined #angularjs
[19:34:38] <saucey> im doing an api with laravel im just trying to generate my menu, i understand services and factories and stuff, but now its time to dive in directives
[19:34:50] <jaawerth> that blog post breaks it down into what I think is a pretty digestible fashion if you're coming from a jquery perspective. I used it when I was first learning
[19:34:53] *** xMopxShe- is now known as xMopxShell
[19:35:25] <dllama> so has anyone come accross this error with blockUI Error: No parent block-ui service instance located. ?
[19:35:34] *** mzabriskie has quit IRC
[19:35:39] <jaawerth> dllama: you might want to try on a jquery channel
[19:35:40] *** shackleford has quit IRC
[19:35:52] <dllama> jaawerth: even if i'm using the angular module?
[19:35:54] *** ngbot has joined #angularjs
[19:35:54] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/McNVEQ
[19:35:54] <ngbot> angular.js/master deb3cb4 David Souther: feat(ngMock/$exceptionHandler): log errors when rethrowing...
[19:35:54] *** ngbot has left #angularjs
[19:35:56] *** mzabriskie has joined #angularjs
[19:36:01] *** aven1 has joined #angularjs
[19:36:10] <dllama> using this: https://github.com/McNull/angular-block-ui
[19:36:13] *** ngbot has joined #angularjs
[19:36:13] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.3.x: http://git.io/uEmqdw
[19:36:13] <ngbot> angular.js/v1.3.x 2b97854 David Souther: feat(ngMock/$exceptionHandler): log errors when rethrowing...
[19:36:13] *** ngbot has left #angularjs
[19:36:14] *** ximenean__ has joined #angularjs
[19:36:27] *** bmac has quit IRC
[19:36:33] <jaawerth> dllama: well.. no. but if nobody is answering, maybe nobody's used that module
[19:36:54] *** davi has quit IRC
[19:37:39] *** cthrax has quit IRC
[19:37:47] *** leolrrj has quit IRC
[19:37:57] *** joroc has quit IRC
[19:38:03] <icfantv> moogey: i can't reproduce it in the plunkr
[19:38:24] <moogey> icfantv are you using the same versions of everything?
[19:38:54] *** proteneer has joined #angularjs
[19:39:33] *** whitebook has joined #angularjs
[19:39:43] *** leolrrj has joined #angularjs
[19:39:50] <dllama> crap … just sucks that it works perfectly fine in another app :/
[19:40:13] <icfantv> ahhhh. no
[19:40:16] <icfantv> good call
[19:40:17] *** ximenean__ has quit IRC
[19:40:23] <breakingthings> icfantv: do you happen to know whether it's possible to tap into the default resource methods to also alter headers on those actions?
[19:40:35] <dllama> can anyone recommend something else in place of blockUI ?
[19:40:40] <dllama> with similar functionality?
[19:40:44] <nickeddy> breakingthings: use Restangular, super easy to customize headers
[19:40:48] <icfantv> breakingthings: you can just override them in your {}
[19:40:56] <icfantv> breakingthings: or that…
[19:41:04] <breakingthings> thanks, both of you
[19:41:21] *** m_rc has quit IRC
[19:41:23] <nickeddy> breakingthings: only reason i say stay away from ngResource is because it doesn't use promises to spec
[19:41:36] *** Guest33 has quit IRC
[19:41:40] *** afuggini has joined #angularjs
[19:41:48] *** whiteboo_ has quit IRC
[19:41:54] *** AlexZ has quit IRC
[19:42:04] *** braidn has quit IRC
[19:42:23] *** g3funk has joined #angularjs
[19:42:38] <icfantv> moogey: crap, still can't reproduce it
[19:42:45] <saucey> ok.....
[19:42:47] *** AndrewIsh has quit IRC
[19:43:09] <saucey> just a quicky... i got this line of code in the link method
[19:43:11] <saucey> elem.bind('click', function()
[19:43:33] <saucey> what is the elem
[19:43:34] *** ngbot has joined #angularjs
[19:43:35] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to v1.2.x: http://git.io/vMUnLQ
[19:43:35] <ngbot> angular.js/v1.2.x a4a4b82 David Souther: feat(ngMock/$exceptionHandler): log errors when rethrowing...
[19:43:35] *** ngbot has left #angularjs
[19:43:38] *** juanpablo__ has joined #angularjs
[19:43:44] <saucey> the element of what>
[19:43:52] *** juanpablo__ has joined #angularjs
[19:43:53] <moogey> saucey the DOM element wrapped in jqlite/jquery
[19:44:10] <saucey> ?
[19:44:19] *** juanpablo_ has quit IRC
[19:44:41] <moogey> icfantv is it working correctly in the plnkr?
[19:44:57] *** leolrrj has quit IRC
[19:45:04] <moogey> saucey I'm not sure how to explain more?
[19:45:04] <saucey> the elem is the actual directive wrapper right?
[19:45:26] <moogey> yes, its the element the directive is being applied to
[19:45:32] <saucey> http://laravel.io/bin/9v2az
[19:45:35] <saucey> thats the pastioe
[19:45:41] *** cheef has joined #angularjs
[19:45:55] <saucey> the elem is the hello world section right?
[19:46:32] *** xMopxShell has quit IRC
[19:46:35] *** ngbot has joined #angularjs
[19:46:36] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 97a9119 to c5eb0b7: http://git.io/klFpPg
[19:46:36] *** ngbot has left #angularjs
[19:46:38] <icfantv> moogey: yea….. *sigh*
[19:46:47] *** Sky[x] has joined #angularjs
[19:46:54] <moogey> lol, can you use THAT code instead?
[19:47:00] <icfantv> moogey: but the plunker is pretty simple compared to my app. so something is causing it go get all screwy
[19:47:12] *** xMopxShell has joined #angularjs
[19:47:17] <icfantv> moogey: it's the same modal logic, however
[19:47:24] *** cheef has quit IRC
[19:47:31] *** ngbot has joined #angularjs
[19:47:31] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from c5eb0b7 to b79f583: http://git.io/70yFrg
[19:47:31] *** ngbot has left #angularjs
[19:47:31] <icfantv> moogey: http://plnkr.co/edit/2MzNaJPcw7ddu9LaaxDL?p=preview
[19:48:24] *** ngbot has joined #angularjs
[19:48:24] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from b79f583 to 8d6c594: http://git.io/OjWNRQ
[19:48:25] *** ngbot has left #angularjs
[19:48:46] <moogey> saucey because you have replace:true, yes. log the elem and see what it is
[19:48:53] *** leolrrj has joined #angularjs
[19:49:04] *** alt_qq has joined #angularjs
[19:49:07] *** Zeioth has quit IRC
[19:49:13] <saucey> ok
[19:49:14] *** ngbot has joined #angularjs
[19:49:14] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 8d6c594 to d232151: http://git.io/Z0seSg
[19:49:14] *** ngbot has left #angularjs
[19:49:46] <saucey> what the heck is the $apply method ?
[19:50:04] <icfantv> moogey: it'd be nice if i could retrieve the controller used by the modal. the docs say i can, just not sure how.
[19:50:26] *** ngbot has joined #angularjs
[19:50:26] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from d232151 to 643e7ea: http://git.io/GLy1Xg
[19:50:26] *** ngbot has left #angularjs
[19:50:29] <icfantv> saucey: if you modify the model outside of the $digest loop, you'll need to inform angular that the data has changed, and you do this by calling apply()
[19:50:32] *** Chroder has joined #angularjs
[19:50:33] *** TheDreamIsReal has joined #angularjs
[19:50:38] *** RobinBAwesome has joined #angularjs
[19:50:56] <saucey> the model the model
[19:50:59] <saucey> whats the model
[19:51:12] <icfantv> saucey: the data on your controller's scope
[19:51:12] *** ngbot has joined #angularjs
[19:51:13] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 643e7ea to 77131c0: http://git.io/R8B5ww
[19:51:13] *** ngbot has left #angularjs
[19:51:28] *** pspfolio has quit IRC
[19:51:36] <saucey> thats the model right? the data ? $scope.data = data
[19:51:38] <icfantv> saucey: $scope.mood = 'happy'; mood is your model.
[19:51:46] <icfantv> saucey: yes
[19:51:47] <saucey> i c i c
[19:51:47] *** pspfolio has joined #angularjs
[19:51:49] *** juanpablo_ has joined #angularjs
[19:52:01] <saucey> i get you
[19:52:07] *** ngbot has joined #angularjs
[19:52:07] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from 77131c0 to b193535: http://git.io/AUP4Gw
[19:52:07] *** ngbot has left #angularjs
[19:52:08] <moogey> icfantv you give it the controller to use. the same was as a directive or route. and one of the params it gives you is the $modalInstance
[19:52:15] *** jdivock has quit IRC
[19:52:25] *** pspfolio has quit IRC
[19:52:31] *** Bade has joined #angularjs
[19:52:34] *** sbellina has quit IRC
[19:52:38] *** cheef has joined #angularjs
[19:53:00] *** ngbot has joined #angularjs
[19:53:00] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_2 from b193535 to d60fbcc: http://git.io/4KCnxQ
[19:53:00] *** ngbot has left #angularjs
[19:53:36] *** alt_qq has quit IRC
[19:53:39] <icfantv> moogey: but that's just it, as a service, i can't give it a controller because 1) it may be called by any number of controllers, and 2) it may not even be called by a controller
[19:53:44] *** pspfolio has joined #angularjs
[19:53:55] *** juanpablo__ has quit IRC
[19:54:07] *** bayousoft has joined #angularjs
[19:55:17] *** leolrrj has quit IRC
[19:55:59] *** cotko has quit IRC
[19:56:15] *** cotko has joined #angularjs
[19:57:21] *** Chroder has quit IRC
[19:57:24] *** mikerrrrrr has joined #angularjs
[19:57:24] *** elrabin_ has joined #angularjs
[19:57:32] <jdummy> I recently read a post recommend NOT to use $apply()
[19:57:50] <moogey> icfantv try something like this
[19:57:51] <moogey> http://plnkr.co/edit/ptqfS38s3ljTTci5Ztt1?p=streamer
[19:57:52] <jdummy> they said $apply causes a digest cycle from $rootScope
[19:58:07] <jdummy> where as $digest() causes a digest cycle from the current scope
[19:58:16] *** snurfery has joined #angularjs
[19:58:20] <jdummy> Is there truth to that? Anyone know?
[19:58:37] <nickeddy> jdummy: that's correct
[19:58:57] *** g3funk is now known as braidn
[19:58:59] *** saucey has quit IRC
[19:59:00] <jdummy> hmm... it seems the entire internets is giving bad information then... I see $apply() everywhere
[19:59:10] *** grogs has joined #angularjs
[19:59:18] <jdummy> but almost nowhere have I seen the recommendation to use $digest()
[19:59:35] <jdummy> and my guess is, probably 99% of the time, $digest() would suffice
[20:00:06] *** leolrrj has joined #angularjs
[20:00:08] <icfantv> moogey: interesting. it never occurred to me i could inline a new controller
[20:00:30] <moogey> or you can give a string that points to a controller, the same way as directives
[20:00:31] *** AimerPaddle has joined #angularjs
[20:00:35] *** Hestil has joined #angularjs
[20:00:41] <moogey> the inlining works well there because you get a closure over the header var
[20:00:50] *** elrabin has quit IRC
[20:00:52] <icfantv> moogey: right. that bit i got from the docs, but they don't indicate you can create an anonymous one.
[20:01:14] <icfantv> moogey: right, which kind of what i wanted - the rootscope was a hack
[20:01:56] <icfantv> moogey: is there still a way to close it programmatically?
[20:01:59] *** sonofdirt has joined #angularjs
[20:02:18] <icfantv> moogey: as opposed to buttons
[20:02:28] *** pizthewiz has left #angularjs
[20:02:30] <icfantv> moogey: oh, duh. nm
[20:02:34] <moogey> lol
[20:02:48] *** nemothek_ has joined #angularjs
[20:03:19] *** prbc has joined #angularjs
[20:03:21] *** ejb has quit IRC
[20:03:25] *** ColKurtz has joined #angularjs
[20:03:53] *** nickgs has joined #angularjs
[20:03:53] *** BillCriswell has quit IRC
[20:04:08] *** BillCriswell has joined #angularjs
[20:04:15] *** mark1257 has joined #angularjs
[20:04:22] *** BillCriswell has quit IRC
[20:04:42] *** joshontheweb has joined #angularjs
[20:04:53] *** mark1257 has quit IRC
[20:05:05] <icfantv> moogey: ok, lemme integrate this and see whoat happens
[20:05:13] *** mary5030 has joined #angularjs
[20:05:17] *** nemothekid has quit IRC
[20:05:23] *** chrisshattuck has quit IRC
[20:05:40] *** leolrrj has quit IRC
[20:06:02] *** joroc has joined #angularjs
[20:06:03] *** frem has joined #angularjs
[20:06:04] *** sonofdirt has quit IRC
[20:06:38] *** g33k5z has quit IRC
[20:06:45] *** spatialbrew has quit IRC
[20:06:53] *** PeterMetz has quit IRC
[20:06:57] *** Chroder has joined #angularjs
[20:07:05] *** 64MABHKEE has joined #angularjs
[20:07:11] *** Chroder has quit IRC
[20:07:25] *** cheef has quit IRC
[20:07:53] *** aven1 has quit IRC
[20:08:06] <icfantv> moogey: yep, works. thanks a bunch.
[20:08:20] *** hell_razer has joined #angularjs
[20:08:53] <moogey> no problem. :)
[20:09:02] *** AngularUI has joined #angularjs
[20:09:02] <AngularUI> [ng-grid] c0bra pushed 1 new commit to master: http://git.io/8qXifA
[20:09:02] <AngularUI> ng-grid/master b1a57b6 Brian Hann: fix(Selection): Fix selection w/ row templates...
[20:09:02] *** AngularUI has left #angularjs
[20:09:06] *** seriema has joined #angularjs
[20:09:08] *** Aerospark has joined #angularjs
[20:09:31] *** walden is now known as walden|brb
[20:09:47] *** mary5030 has quit IRC
[20:10:42] *** SecretAg1nt has quit IRC
[20:10:52] *** DLSteve has joined #angularjs
[20:11:40] *** 64MABHKEE has quit IRC
[20:12:39] *** g33k5z has joined #angularjs
[20:12:48] *** abram has joined #angularjs
[20:13:11] *** pzuraq has quit IRC
[20:13:17] *** BillCriswell has joined #angularjs
[20:14:00] *** Aerospark has quit IRC
[20:14:10] *** seriema has quit IRC
[20:14:12] *** pzuraq has joined #angularjs
[20:14:26] *** nahoskins has quit IRC
[20:14:42] *** nickgs has quit IRC
[20:15:13] *** SargoDarya has joined #angularjs
[20:15:15] *** SargoDarya has joined #angularjs
[20:15:20] *** g33k5z has quit IRC
[20:15:40] *** g33k5z has joined #angularjs
[20:15:41] *** JohnBat26 has joined #angularjs
[20:16:01] *** RobinBAwesome has quit IRC
[20:16:01] *** lolmaus has quit IRC
[20:16:07] *** MistahKurtz has quit IRC
[20:16:18] *** jacuqesdancona has joined #angularjs
[20:17:01] *** jdivock has joined #angularjs
[20:17:02] *** TheAceOfHearts has joined #angularjs
[20:17:51] *** davi has joined #angularjs
[20:18:15] *** Sky[x] has quit IRC
[20:18:42] *** kirfu1 has joined #angularjs
[20:18:58] *** annlewis has quit IRC
[20:19:03] *** JesseH has quit IRC
[20:19:06] *** nickgs has joined #angularjs
[20:20:19] *** shackleford has joined #angularjs
[20:20:23] *** shoerain has quit IRC
[20:20:54] *** jacuqesdancona has quit IRC
[20:21:01] *** Sky[x] has joined #angularjs
[20:21:23] *** ejb has joined #angularjs
[20:21:47] *** tplaner has joined #angularjs
[20:22:41] *** mspier|away is now known as mspier
[20:22:53] *** ngbot has joined #angularjs
[20:22:53] <ngbot> [angular.js] petebacondarwin force-pushed v1.2.x from a4a4b82 to d60fbcc: http://git.io/MvpqIA
[20:22:53] *** ngbot has left #angularjs
[20:22:55] *** FIFOd[a] has joined #angularjs
[20:23:04] *** prbc has quit IRC
[20:25:17] *** s00pcan_ has quit IRC
[20:25:18] *** SargoDarya has quit IRC
[20:25:56] <icfantv> bah. i swear, every time i close the lodash documentation tab in my browser within 5 minutes, i find i need them again. even if the tab's been open for days and i've not touched it.
[20:26:30] <moogey> lol
[20:26:51] <quan__> buy more ram
[20:26:57] *** m0 has quit IRC
[20:27:24] *** mary5030 has joined #angularjs
[20:27:43] *** m0 has joined #angularjs
[20:28:03] *** freeAir__ has quit IRC
[20:28:18] *** walden|brb is now known as walden
[20:28:45] *** TyrfingMjolnir has joined #angularjs
[20:29:56] *** oniMaker has quit IRC
[20:30:02] *** livingstn has joined #angularjs
[20:30:29] *** iribarne_ has joined #angularjs
[20:30:36] *** kirfu1 has quit IRC
[20:30:41] *** oniMaker has joined #angularjs
[20:30:58] *** platonic has quit IRC
[20:31:26] *** fedenunez has joined #angularjs
[20:32:18] *** DoubleAW is now known as tittysprinkles
[20:32:28] *** tittysprinkles is now known as DoubleAW
[20:32:32] *** iribarne has quit IRC
[20:32:32] *** iribarne_ is now known as iribarne
[20:33:40] *** pHcF has quit IRC
[20:34:53] *** prbc has joined #angularjs
[20:36:06] *** aven1 has joined #angularjs
[20:36:59] *** ximenean__ has joined #angularjs
[20:37:17] *** whiteboo_ has joined #angularjs
[20:39:24] *** joroc has quit IRC
[20:39:37] *** whitebook has quit IRC
[20:39:50] *** ejb has quit IRC
[20:39:56] *** sheplu has joined #angularjs
[20:40:07] *** eago has joined #angularjs
[20:40:14] *** annlewis has joined #angularjs
[20:40:26] *** davi has quit IRC
[20:40:35] *** pHcF has joined #angularjs
[20:40:43] *** tschundeee has joined #angularjs
[20:40:53] *** fedenunez has quit IRC
[20:41:46] *** ximenean__ has quit IRC
[20:42:18] *** cboden has quit IRC
[20:42:27] *** e0ipso is now known as e0ipso|away
[20:43:23] *** goranradulovic has joined #angularjs
[20:44:19] <goranradulovic> hi guys, is there a way i can change the url (permalink) in the addressbar without route resolving it when using ng-router?
[20:44:47] <goranradulovic> i want to change only part of the page and change the url, but i don't want to use ui-router for it
[20:45:06] *** TheDreamIsReal has quit IRC
[20:45:10] <goranradulovic> i just need to change url, and not to navigate to that page, thanks
[20:45:42] *** pspfolio has quit IRC
[20:46:09] *** e0ipso|away is now known as e0ipso
[20:46:24] <caitp-> goranradulovic, there isn't, although it's been asked for
[20:46:26] <Jet4Fire> http://stackoverflow.com/questions/23585065/angularjs-ui-router-change-url-without-reloading-state
[20:46:30] <caitp-> maybe Brian's new router will enable you to do that
[20:46:36] <caitp-> but probably not :>
[20:46:49] <caitp-> maybe once we get rid of all the non-html5-mode gunk
[20:46:52] <caitp-> and make it simpler
[20:47:01] *** cliluw has joined #angularjs
[20:47:20] *** doopz has joined #angularjs
[20:47:27] <goranradulovic> caitp thanks for the info
[20:48:03] *** TheAceOfHearts has quit IRC
[20:48:04] <goranradulovic> i've been trying to make it work for last 3-4 hours but it always navigates away, whatever i try
[20:48:32] <goranradulovic> hope angular gets rid of hashbangs soon
[20:49:13] *** fedenunez has joined #angularjs
[20:49:34] *** rikko has quit IRC
[20:50:19] *** sachin has joined #angularjs
[20:50:50] *** rikko has joined #angularjs
[20:50:52] *** tschundeee has quit IRC
[20:51:00] *** RobinBAwesome has joined #angularjs
[20:51:03] *** aven1 has quit IRC
[20:51:55] *** rickhanlonii has quit IRC
[20:52:57] *** aven1 has joined #angularjs
[20:54:46] *** morenoh149 has quit IRC
[20:54:58] *** rickhanlonii has joined #angularjs
[20:55:24] *** nuizzy has joined #angularjs
[20:56:31] *** nycdevgirl has quit IRC
[20:56:38] *** cthrax has joined #angularjs
[20:57:47] *** fedenunez has quit IRC
[20:58:17] *** renlo has joined #angularjs
[20:58:30] *** tadni_ has quit IRC
[20:59:51] <Spot__> goranradulovic: How about turning html5 mode on?
[20:59:53] *** annlewis has quit IRC
[21:00:45] *** whiteboo_ has quit IRC
[21:00:49] <Spot__> goranradulovic: No more hashes or hashbangs, but of course you can do anchor links :)
[21:00:56] <goranradulovic> i'm using html5 mode
[21:01:04] <goranradulovic> but when i use window.history.pushState
[21:01:16] <goranradulovic> route automatically get's resolved by angular router
[21:01:16] *** scythe__ has quit IRC
[21:01:34] *** _45kb has quit IRC
[21:01:38] <goranradulovic> and i don't want that to happen, i wan't to handle it on current page, but still to have benefit of the changed url
[21:01:52] *** s00pcan_ has joined #angularjs
[21:02:24] *** RobinBAwesome has quit IRC
[21:02:53] <Spot__> I've used angular-ui-router and I have used single controller handling many routes
[21:03:55] *** evanjs has quit IRC
[21:04:10] <Spot__> So I can have f.e. mydomain/products and then mydomain/products/productname and I load the product via REST
[21:05:26] *** nownot has joined #angularjs
[21:06:06] *** joroc has joined #angularjs
[21:06:24] <nownot> whats the best way to test multiple user accounts at the same time? thinking two instances of the browser open at the same time, but not sure if thats the most efficient. suggestions?
[21:06:27] *** komlev has quit IRC
[21:06:49] *** e0ipso is now known as e0ipso|away
[21:06:50] *** scythe__ has joined #angularjs
[21:06:53] <Spot__> Automated tests using karma?
[21:07:07] *** guilbep has joined #angularjs
[21:07:08] *** doginal has joined #angularjs
[21:07:20] <Spot__> Or just private/ingocnito tabs?
[21:07:57] <nownot> ingocnito tabs - didn't think of that
[21:08:01] *** dmack has quit IRC
[21:09:07] *** loverajoel has quit IRC
[21:09:45] *** aven1 has quit IRC
[21:09:47] *** nickgs has quit IRC
[21:10:34] *** mzabriskie has quit IRC
[21:11:26] *** doopz is now known as doopz_
[21:11:27] *** chrisbirk has joined #angularjs
[21:11:49] <jaawerth> caitp-: it's going to html5mode-only?
[21:11:51] <jaawerth> to be*
[21:11:54] *** cthrax has quit IRC
[21:12:29] <jaawerth> Huh. On the one hand it makes sense. On the other hand... I hope there are extensive docs planned on how people need to configure their backends
[21:12:52] *** snapwich has quit IRC
[21:13:04] *** doopz_ is now known as doopz
[21:13:19] *** ravocom has quit IRC
[21:13:26] *** snurfery has quit IRC
[21:14:22] *** adben- has joined #angularjs
[21:14:23] *** snurfery has joined #angularjs
[21:14:50] *** jdivock has quit IRC
[21:15:10] *** rhp has joined #angularjs
[21:15:23] *** cthrax has joined #angularjs
[21:16:04] *** lexek_ has quit IRC
[21:16:15] *** rickibilboa has quit IRC
[21:17:05] *** guilbep has quit IRC
[21:18:08] *** allegary is now known as allegary`away
[21:18:15] *** nownot has quit IRC
[21:18:28] *** goranradulovic has quit IRC
[21:18:43] <sachin> help me
[21:19:03] <icfantv> given ng-repeat="foo in bar = (…some filter stuff)", is there a rule as to when bar is available on the $scope in the controller?
[21:19:13] <sachin> spot__:
[21:20:09] <sachin> can u tell me how to get full path of upload doc using html input type=file
[21:21:26] *** jdivock has joined #angularjs
[21:21:29] *** allegary`away is now known as allegary
[21:21:40] <sachin> help me to get full path using file upload in html
[21:21:47] *** nemothek_ has quit IRC
[21:21:49] *** nycdevgirl has joined #angularjs
[21:22:15] *** guilbep has joined #angularjs
[21:22:31] <sachin> spot__: can u help ?? to get full path
[21:22:43] *** SargoDarya has joined #angularjs
[21:23:14] *** elrabin_ has quit IRC
[21:23:32] *** hotnikks_ has left #angularjs
[21:23:38] *** doug64k has joined #angularjs
[21:23:47] *** elrabin has joined #angularjs
[21:23:56] *** fedenunez has joined #angularjs
[21:24:07] *** jonatas__ has joined #angularjs
[21:24:19] *** jonatas_oliveira has quit IRC
[21:24:23] *** morenoh149 has joined #angularjs
[21:24:24] <Spot__> sachin: If you are doing server side upload, it depends. In PHP it's $_POST["FILES"] for example.
[21:24:31] *** jdummy has quit IRC
[21:24:50] <sachin> no in html input type="files"
[21:25:12] <sachin> then by this i m geting only ile name
[21:25:30] *** simplyshipley has quit IRC
[21:25:34] <sachin> file name not ful path
[21:25:35] <Spot__> With PHP?
[21:25:48] <sachin> so can u tell me how can we get
[21:26:01] <sachin> html and js
[21:26:02] <Spot__> Usually it's tmpname which is the temporary file with parh
[21:26:06] *** nickgs has joined #angularjs
[21:26:06] *** gladely has quit IRC
[21:26:37] <Spot__> Well, you can read a binary file with just JS, but you cannot get the path
[21:26:59] *** gladely has joined #angularjs
[21:27:12] <sachin> i m creaing on plke
[21:27:32] <sachin> plnkr...giving u a link
[21:27:38] *** torartc has joined #angularjs
[21:27:53] *** elrabin has quit IRC
[21:28:12] *** proteneer has quit IRC
[21:28:19] <jaawerth> sachin: Well, it depends on browser legacy support. If you can use the HTML5 files API without needing backwards compatibility with IE8 and such, it's relatively simple to write a directive that leverages this
[21:28:41] <Spot__> sachin: http://stackoverflow.com/questions/18571001/file-upload-using-angularjs
[21:28:42] <jaawerth> if you DO need legacy support, then you'll need some fallback crap and would probably better off using an existing module
[21:28:55] *** elrabin has joined #angularjs
[21:29:14] <jaawerth> that StackOverflow links to a bunch of existing modules that should help
[21:29:48] <jaawerth> of course, there's always having the form do an oldschool submit, but then you can't do the fancy stuff you can normally do with angular with it
[21:29:58] *** blomman has joined #angularjs
[21:30:10] *** ProLoser has joined #angularjs
[21:30:17] <sachin> yes for the security reason all hides it
[21:30:21] <jaawerth> I've only ever had to deal with file uploads in situations where I know people will be on HTML5-compatible browsers, so the fallback thing hasn't been an issue for me
[21:30:27] <sachin> only showing the file name
[21:30:33] *** twelverobots has joined #angularjs
[21:30:37] <sachin> spot__: thanks
[21:30:42] *** annlewis has joined #angularjs
[21:30:42] <sachin> let me try that
[21:30:54] *** IvailoStoianov has quit IRC
[21:31:25] *** fedenunez has quit IRC
[21:31:37] *** thomasreggi has joined #angularjs
[21:31:53] *** joshontheweb has quit IRC
[21:33:12] *** fedenunez has joined #angularjs
[21:33:44] *** patrick99e99 has quit IRC
[21:33:47] *** Shai_Tan has joined #angularjs
[21:34:18] *** Slotkenov has joined #angularjs
[21:34:47] *** elrabin has quit IRC
[21:35:23] *** annlewis has quit IRC
[21:36:06] *** elrabin has joined #angularjs
[21:36:09] *** aven1 has joined #angularjs
[21:36:47] <sachin> spot__:<input type="file" id="fileUpload"> var x = document.getElementById("fileUpload").value;
[21:36:49] *** Guest33 has joined #angularjs
[21:36:50] <mjw56> any good resources for writing apps now that are geared towards 2.0?
[21:37:13] *** alt_qq has joined #angularjs
[21:37:15] *** SargoDarya has quit IRC
[21:37:19] *** mikerrrrrr has quit IRC
[21:37:19] *** adben- has quit IRC
[21:37:26] <Spot__> Yep
[21:37:39] <sachin> i want to get only selected path
[21:37:40] *** ximenean__ has joined #angularjs
[21:37:44] *** cthrax has quit IRC
[21:38:03] <Spot__> I don't know if it's possible
[21:38:06] <sachin> it returns in ie6 but not in chrome
[21:38:21] <Spot__> You can get the original file name or the binary data
[21:38:22] *** PayPaul has joined #angularjs
[21:39:10] *** tomfriedhof has quit IRC
[21:39:22] *** gunn has joined #angularjs
[21:39:27] *** joroc has quit IRC
[21:39:46] *** loverajoel has joined #angularjs
[21:39:54] *** Aerospark has joined #angularjs
[21:40:20] *** CodeFriar has joined #angularjs
[21:41:10] <sachin> spot__: can u get it through angular
[21:41:58] *** ProLoser has quit IRC
[21:42:06] *** alt_qq has quit IRC
[21:42:08] *** ximenean__ has quit IRC
[21:42:20] *** fedenunez has quit IRC
[21:42:29] *** ProLoser has joined #angularjs
[21:43:39] *** csduarte has quit IRC
[21:44:02] *** loverajoel has quit IRC
[21:44:03] *** csduarte has joined #angularjs
[21:44:18] *** Menorah has joined #angularjs
[21:44:38] *** Aerospark has quit IRC
[21:44:47] *** whitebook has joined #angularjs
[21:44:50] *** jaredwilli has quit IRC
[21:44:53] *** sachin has quit IRC
[21:44:58] <caitp-> the `value` attribute of file inputs has a fake path in modern browsers
[21:45:03] <caitp-> i can't remember if old IE did too
[21:45:24] *** eburcat has joined #angularjs
[21:45:52] *** charuru has joined #angularjs
[21:46:16] *** lordkryss_ has quit IRC
[21:46:26] <jaawerth> oh yeah, forgot about that
[21:46:29] <jaawerth> security and such
[21:46:34] *** elrabin has quit IRC
[21:46:46] *** Bade has quit IRC
[21:46:54] *** ProLoser has quit IRC
[21:47:07] *** elrabin has joined #angularjs
[21:48:18] <jaawerth> the workaround is adding your site to the trusted sites collection for the browser
[21:48:23] *** whiteboo_ has joined #angularjs
[21:48:26] <jaawerth> but that may or may not be applicable depending on how public your app is
[21:48:30] *** yts has quit IRC
[21:49:03] <jaawerth> that said, you don't NEED the full path data for just doing uploads
[21:49:35] *** grogs has quit IRC
[21:50:20] *** mylord has quit IRC
[21:50:54] *** TheAceOfHearts has joined #angularjs
[21:51:17] *** elrabin has quit IRC
[21:51:32] *** sacosta has joined #angularjs
[21:51:43] <jaawerth> but like, for internal stuff at my company, we just push out a group policy that adds certain domains to the trusted zone
[21:51:59] <jaawerth> so then we get advanced features without hassle
[21:52:18] *** elrabin has joined #angularjs
[21:52:28] *** Reskp has joined #angularjs
[21:52:42] *** whitebook has quit IRC
[21:52:43] *** ProLoser has joined #angularjs
[21:53:11] *** jglover has joined #angularjs
[21:53:20] <jglover> I'm trying to spend some time with angular-material today
[21:53:32] <jglover> im a little unclear on exactly what I'm supposed to do with the layout components
[21:53:38] *** Efrem is now known as Efrem-Away
[21:53:58] <jaawerth> jglover: you mean layout="row" and layout="column", flex="x", and such?
[21:54:01] <jglover> excuse my naivety, but is this a replacement for a grid system like foundation or bootstrap? Or is it to be used only for the components built with angular-material ?
[21:54:02] *** yandos has joined #angularjs
[21:54:11] <jglover> jaawerth: yes
[21:54:33] *** Lynxium has joined #angularjs
[21:54:43] <jaawerth> jglover: It is, in that it all uses flexbox, which is the next-gen approach to setting up grids
[21:54:58] *** mzabriskie has joined #angularjs
[21:55:08] <jaawerth> those custom attributes are, to my knowledge, just an easy way to set the flex properties without getting neck deep in flexbox CSS
[21:55:09] <oniijin> foundation for apps actually uses flexbox now
[21:55:12] *** disorder20 has joined #angularjs
[21:55:14] <jaawerth> yeah!
[21:55:25] <jaawerth> oniijin: do they have a release yet? I read a thing about how they were working on it but haven't checked since
[21:55:35] <jglover> interesting. i wish there was as comprehensive a guide as getbootstrap.com
[21:55:57] <oniijin> dunno, but at this point not sure y one would use it over ionic
[21:55:59] *** RobinBAwesome has joined #angularjs
[21:56:07] <jaawerth> haha, yeah, angular-material is still too "raw" for that, part of why they don't recommend it for production use
[21:56:24] <jaawerth> (I'm doing it anyway because I FEAR NOTHING)
[21:56:32] <oniijin> lol
[21:56:34] *** elrabin has quit IRC
[21:56:39] <jaawerth> jglover: I do have a bookmark for a nice guide to flexbox if you want me to dig it up
[21:56:55] <jglover> yes please
[21:56:57] <jglover> thank you
[21:56:57] <oniijin> there are tons, have to make sure it's not out of date
[21:57:05] <jaawerth> ha, apparently it's now the first hit for "flexbox guide" http://css-tricks.com/snippets/css/a-guide-to-flexbox/
[21:57:13] <jaawerth> this covers things nice and concisely, IMO
[21:57:24] <jglover> ie 8 absolutely does not support flexbox, right?
[21:57:24] *** chrisbirk has quit IRC
[21:57:25] *** CodeFriar has quit IRC
[21:57:37] <oniijin> check caniuse whenever ur not sure
[21:57:38] *** blomman has quit IRC
[21:57:42] *** yandos has quit IRC
[21:57:58] <jaawerth> caniuse, yeah. but IIRC neither 8 nor 9 support it
[21:58:09] *** Solid1 is now known as Solid1_afk
[21:58:22] *** cthrax has joined #angularjs
[21:58:26] <jaawerth> I haven't checked the code as to whether ng-material does any fallback/polyfill stuff, but my guess is "no"
[21:58:27] <oniijin> i had trouble with flexbox on ie10 last time i tried it
[21:58:37] <jaawerth> also, IE10 I believe implements a couple of the features in a janky way
[21:58:51] <oniijin> nothing works as expected in ie
[21:58:55] <jglover> jaawerth: this is for an interview project so im certain it's not required to be cross browser
[21:59:02] <jglover> i was just curious
[21:59:14] <jaawerth> I started a side project a while back to build a directive that does the flex with JS if compatibility isn't detected, but I abandoned it because I really don't have to worry about legacy browsers most of the time
[21:59:31] *** grogs has joined #angularjs
[21:59:31] <jaawerth> anyway, flex is cool
[21:59:40] <burzum2> I have a controller with two lists that I process using ng-repeat. Inside the repeat I load differenct directives depending on a property of the elements I iterate. Now each of the directives has an ng-include that has an ng-click() inside that needs to communicate with the controller. How can I do that or are the better ways to do this?
[21:59:45] <oniijin> i like this page about flexbox http://philipwalton.github.io/solved-by-flexbox/
[21:59:53] <oniijin> slightly less hectic than the csstricks post
[21:59:54] <jaawerth> you define grid sizes in dimensionless units, and the size ends up being the fraction of that element's unit compared to the sum of the whole
[21:59:58] *** elrabin has joined #angularjs
[22:00:10] *** sigurding has joined #angularjs
[22:00:13] *** elrabin has joined #angularjs
[22:00:18] <jaawerth> so if you have ten elements with flex="1", they'll all be 1/10th your total parent element's size, no strings attached
[22:00:31] *** cheef has joined #angularjs
[22:00:35] *** wololo has joined #angularjs
[22:00:37] *** gunn has quit IRC
[22:00:42] <jaawerth> gets a bit more complicated if you don't want to allow things to grow with content via just CSS, but easily overridden with javascript
[22:00:54] *** wololo is now known as dessazioeajziazd
[22:01:08] *** Sawbones has quit IRC
[22:01:45] <jaawerth> (specifically, to make overflow: scroll work, you need to actually specify a max-width, whcih means you'd still hvae to figure all that out for various screen sizes and probably do media queries for it.. which kinda defeats the point in my opinion, so I just have a directive set the max based on whatever portion I want)
[22:01:56] <jaawerth> er, max-width/max-height
[22:02:03] *** jglover has quit IRC
[22:03:22] <oniijin> jaawerth http://foundation.zurb.com/apps/app-templates/chat/#!/
[22:03:30] <oniijin> they have a bunch of premade templates that comes with apps
[22:03:34] *** HassanCehef has quit IRC
[22:04:02] <jaawerth> neat, I'm curious how the new framework will do
[22:04:14] <oniijin> it's specific to apps tho
[22:04:18] <oniijin> and seems to also tie into ng
[22:04:19] *** Lewix has quit IRC
[22:04:26] <oniijin> which leads me back to, y use it over ionic
[22:04:46] <jaawerth> from what I read, it's angular-based and flexbox-based. it sounded to me like they meant "apps" as opposed to oldschool pages, not necessarily just native/mobile-type stuff
[22:04:48] <oniijin> i guessi t's slightly more generalized for web app, not just mobile
[22:04:51] <jaawerth> yeah
[22:05:13] <jaawerth> They're differentiating what you do with angular from what you do with, say, just jquery. Which I love, because I do the same thing
[22:05:20] *** zemanel has joined #angularjs
[22:05:37] <jaawerth> web app = "program" that runs in the "virtual machine" of your web browser, not just a web page with fancy things tacked on it ;-)
[22:06:00] <oniijin> tho ionno y i wouldnt just make my own layout with flexbox
[22:06:01] *** joroc has joined #angularjs
[22:06:29] <oniijin> o wells
[22:06:35] *** kavita has joined #angularjs
[22:06:40] <jaawerth> standardization, mostly, and stuff like the max-height thing I mentioned. Definitely helps to make directives, but if they've built some good general ones..
[22:06:58] <jaawerth> I've long liked Foundation better than Bootstrap, so I'm at least excited to see what they've built
[22:07:10] <oniijin> lol im a bs person
[22:07:21] <oniijin> but kinda sad they're not planning on doing flexbox
[22:08:03] *** blomman has joined #angularjs
[22:08:06] <oniijin> tho tbh people have come up to workarounds, both in flexbox and tablecell variants of bs
[22:08:16] <jaawerth> BS is nice, but increasingly limited it seems like
[22:08:17] *** aven1 has quit IRC
[22:08:38] <oniijin> only with respect to certain css issues that has plagued css since te beginning
[22:08:54] <jaawerth> plus I like the clean, sharp corners look that foundation does better than bootstrap.. maybe jsut because bootstrap is so widespread that the rounded edges just scream "generic" to me now
[22:09:13] <oniijin> lol I don't buy that shit
[22:09:22] *** pehlert has joined #angularjs
[22:09:27] <jaawerth> it's an objective opinion, you don't have to buy it
[22:09:28] <oniijin> it's a framework, use it to help u start, customize it to look unique
[22:09:31] <jaawerth> I'm not selling!
[22:09:39] <jaawerth> I know and agree with you
[22:09:47] <oniijin> I hear that a lot, "all bootstrap sites look the same"
[22:09:53] <jaawerth> heck, these days I don't even use the javascript from either framework, I just use the SASS and add in what I want
[22:10:06] *** Linell has joined #angularjs
[22:10:27] *** poeticninja has joined #angularjs
[22:10:49] <jaawerth> sometimes I might wrap in a directive or use angular-bootstrap or whatever, but honestly I find it's often easier to just do the JS myself using the CSS and maybe looking at their templates
[22:10:56] *** tristanp has quit IRC
[22:11:02] <jaawerth> (and by CSS I mean SASS!)
[22:11:13] <oniijin> i use it mainly to quickly lay stuff out
[22:11:26] *** poeticninja has quit IRC
[22:11:39] <nickeddy> yay officially off til next year
[22:11:41] <oniijin> but yeah, people who build things within confines of the defaults, are going to end up with generic shit
[22:11:46] <nickeddy> merry christmas all and happy new year
[22:11:50] <nickeddy> cya guys
[22:11:51] <oniijin> congrats
[22:12:15] *** nickeddy has quit IRC
[22:12:20] <oniijin> jaawerth have u used angular-fullstack by chance
[22:12:25] <jaawerth> no
[22:12:30] <oniijin> poop
[22:12:32] <jaawerth> hehe
[22:12:33] *** seriema has joined #angularjs
[22:12:36] <jaawerth> I don't usually have much use for mongo
[22:12:51] *** lolmaus has joined #angularjs
[22:12:57] *** jdivock has quit IRC
[22:13:00] <oniijin> i dont like messing with backend, and this generator seems to help with that
[22:13:10] *** zemanel has quit IRC
[22:13:14] <oniijin> but having trouble figuring out how to use the auth/role related stuff
[22:13:36] *** d4rklit3 has quit IRC
[22:13:40] <oniijin> tried looking up passport guides but ngfullstack seems to be set up a bit differently
[22:13:54] *** FIFOd[a] has quit IRC
[22:14:02] *** pehlert has quit IRC
[22:14:32] *** Menorah has quit IRC
[22:15:20] <jaawerth> though I'm building an intranet right now and eventually I want customizable dashboards, was thinking I'd use mongo to dump the custom dash configs/templates
[22:15:45] *** tschundeee has joined #angularjs
[22:15:52] *** jdivock has joined #angularjs
[22:15:58] <dllama> i have a question, its not so much code as possibly logic that got me a bit stumped. well yea maybe it is code lol. I have a service in which i'm creating loans, thats all fine, but i'm a bit stuck on returning the newly created object, since i'm pushing the object to the overall array of loans that i've already had. should i use something like lodash to get the last object or is there a simpler way?
[22:15:58] *** annlewis has joined #angularjs
[22:16:12] <oniijin> https://github.com/DaftMonk/fullstack-demo I kind of get what's going on, but not completely enough to actually use it
[22:16:39] *** shoerain has joined #angularjs
[22:17:22] *** seriema has quit IRC
[22:17:38] *** shackleford has quit IRC
[22:17:59] <dllama> https://gist.github.com/mvoloz/73250bd5aec89fe16469 — this is my service, i'm not 100% certain on what to do with the returned object. (line 45) I can maybe create another function and call it newReturnedLoan or soemthing to that effect and populate that?
[22:18:35] *** cthrax has quit IRC
[22:18:49] *** CodeFriar has joined #angularjs
[22:19:00] *** nahoskins has joined #angularjs
[22:19:22] <dllama> formatting is a bit off, never works right when i paste form sublime into gist
[22:19:34] *** tristanp has joined #angularjs
[22:20:08] *** cheef has quit IRC
[22:20:20] *** annlewis has quit IRC
[22:20:46] *** jonatas__ has quit IRC
[22:20:51] *** breakingthings has quit IRC
[22:21:01] *** whiteboo_ has quit IRC
[22:21:10] *** Oceed has quit IRC
[22:21:12] <dllama> crickets*** lol
[22:21:18] *** cheef has joined #angularjs
[22:23:35] *** thedodd has quit IRC
[22:23:48] *** Rutix has joined #angularjs
[22:23:49] *** Rutix has joined #angularjs
[22:24:31] *** FunnyLookinHat_ has quit IRC
[22:24:42] *** cheef has quit IRC
[22:24:42] *** FunnyLookinHat has joined #angularjs
[22:25:25] *** blomman has quit IRC
[22:27:13] *** mmealling has joined #angularjs
[22:27:20] *** grogs has quit IRC
[22:27:47] *** gaboesquivel has quit IRC
[22:28:17] *** macobo has quit IRC
[22:29:40] <jaawerth> dllama: can't you just push it into your collection and then return the newly created loan from that promise?
[22:29:53] <jaawerth> dllama: then you can grab that new loan object from your subsequent .then
[22:30:04] <dllama> jaawerth: thats where the confusion kind of sets in
[22:30:09] *** shackleford has joined #angularjs
[22:30:13] *** Reskp has quit IRC
[22:30:39] <jaawerth> oh?
[22:31:19] <jaawerth> it should still be a reference to the same object, so changes to the data will change the data stored in your service (unless you use angular.copy)
[22:31:26] *** ColKurtz has quit IRC
[22:31:33] *** ejb has joined #angularjs
[22:31:41] *** grogs has joined #angularjs
[22:31:44] *** annlewis has joined #angularjs
[22:31:47] <dllama> logging (data) from teh craete method gives me full array
[22:32:06] <dllama> i think i know why though
[22:32:07] *** adamsilver has joined #angularjs
[22:32:12] <dllama> i'm returning the overall cache, rather than data
[22:32:34] <jaawerth> yeah, you'd just need to change line 54
[22:33:05] <dllama> yup that was it
[22:33:06] <dllama> thank you!
[22:33:10] *** jaredwilli has joined #angularjs
[22:33:13] <dllama> this had me stumped for like 2hsr
[22:33:21] *** g33k5z has quit IRC
[22:33:26] <mjw56> hi, anyone here building stuff with atscript or di that have examples of what they've done?
[22:33:34] *** Slotkenov has quit IRC
[22:33:47] *** g33k5z has joined #angularjs
[22:34:05] *** nahoskins has quit IRC
[22:34:24] *** CodeFriar has quit IRC
[22:34:29] *** SargoDarya has joined #angularjs
[22:35:11] <dllama> oh its sooo good when things finally work! :)
[22:35:55] *** Linell has left #angularjs
[22:35:57] *** annlewis has quit IRC
[22:36:08] *** aven1 has joined #angularjs
[22:36:23] *** one_zero has joined #angularjs
[22:36:40] *** DoubleAW is now known as ruhannnnnnnnnnn
[22:36:50] *** ruhannnnnnnnnnn is now known as ruhannnnnnnn
[22:36:53] *** despai has joined #angularjs
[22:37:04] *** ruhannnnnnnn is now known as ruhannnnnnn
[22:37:09] *** ruhannnnnnn is now known as DoubleAW
[22:37:17] *** iribarne has quit IRC
[22:37:23] *** qdk has quit IRC
[22:37:48] *** sahbeewah_ has joined #angularjs
[22:37:48] *** iribarne has joined #angularjs
[22:37:50] <jaawerth> mjw56: it's still pretty raw from what I've heard, I doubt there are that many around who are already using it other than the people actually developing it ;-). Are you using it?
[22:38:22] *** g33k5z has quit IRC
[22:38:22] *** ximenean__ has joined #angularjs
[22:38:23] *** loverajoel has joined #angularjs
[22:38:33] *** s00pcan_ has quit IRC
[22:38:35] *** shackleford has quit IRC
[22:38:58] *** Siecje has left #angularjs
[22:39:11] *** shackleford has joined #angularjs
[22:39:15] *** joroc has quit IRC
[22:39:36] *** dmack has joined #angularjs
[22:39:56] *** shackleford has quit IRC
[22:40:04] *** walden is now known as walden|afk
[22:41:06] *** g33k5z_ has joined #angularjs
[22:41:27] *** sonicparke|bradm has quit IRC
[22:41:28] <mjw56> jaawerth: not yet :)
[22:41:42] *** dman777_alter has joined #angularjs
[22:42:38] *** ximenean__ has quit IRC
[22:44:42] *** sigurding has quit IRC
[22:44:43] *** disorder20 has quit IRC
[22:44:56] *** ingsoc has quit IRC
[22:45:26] *** MuffinMan` has joined #angularjs
[22:45:40] *** tinyfly has joined #angularjs
[22:45:46] *** disorder20 has joined #angularjs
[22:46:04] *** CodeFriar has joined #angularjs
[22:46:09] *** nahoskins has joined #angularjs
[22:46:27] *** michaelSharpe has quit IRC
[22:47:59] *** bmonty has joined #angularjs
[22:48:02] *** iribarne has quit IRC
[22:48:33] *** it0a has quit IRC
[22:49:08] *** cotko has quit IRC
[22:51:25] *** Menorah has joined #angularjs
[22:52:10] *** Reskp has joined #angularjs
[22:52:12] *** desh has quit IRC
[22:52:46] *** hell_razer has quit IRC
[22:53:07] *** hell_razer has joined #angularjs
[22:53:27] *** scythe__ has quit IRC
[22:53:35] *** hell_razer has quit IRC
[22:54:21] <renlo> do you guys do xsrf protection for posts only or for posts and gets
[22:54:30] *** despai has quit IRC
[22:54:36] *** prbc has quit IRC
[22:55:07] *** guilbep has quit IRC
[22:55:35] *** livingstn has quit IRC
[22:56:04] *** SargoDarya has quit IRC
[22:56:22] *** Tad3j has quit IRC
[22:57:29] *** cornerma1 has joined #angularjs
[22:57:34] *** danecando has joined #angularjs
[22:58:16] *** camnora has joined #angularjs
[22:58:17] *** tplaner has quit IRC
[23:00:37] *** cornerman has quit IRC
[23:00:38] *** cornerma1 is now known as cornerman
[23:02:13] *** jdivock_ has joined #angularjs
[23:02:44] *** grogs has quit IRC
[23:02:51] *** patrick99e99 has joined #angularjs
[23:03:40] *** Sickness[] has joined #angularjs
[23:04:11] *** cotko has joined #angularjs
[23:04:13] *** elmcrest_ has quit IRC
[23:04:22] <Sickness[]> can $resource work with jsonp ?
[23:04:27] *** elmcrest_ has joined #angularjs
[23:04:32] *** sixr420 has quit IRC
[23:04:59] *** elmcrest_ is now known as elmcrest
[23:05:04] *** ejb has quit IRC
[23:05:05] <Sickness[]> I was actually using $http.jsonp before but thought I'd have a look at $resource
[23:05:16] *** jdivock has quit IRC
[23:05:25] *** Efrem-Away is now known as Efrem
[23:05:37] *** bcollison has joined #angularjs
[23:05:40] <Sickness[]> using $http.jsonp everything worked fine but whe I try $resource with method: 'JSONP' I get a CORS block
[23:06:07] *** joroc has joined #angularjs
[23:06:12] *** afuggini___ has joined #angularjs
[23:06:14] *** jacuqesdancona has joined #angularjs
[23:06:22] <zumba_addict> hey guys, how can we refer to this link? https://github.com/angular-ui/ui-grid.info/blob/gh-pages/release/3.0.0-RC.18/ui-grid.js
[23:06:29] *** camnora has quit IRC
[23:06:30] *** jdivock_ has quit IRC
[23:07:00] *** dmack has quit IRC
[23:07:24] *** cthrax has joined #angularjs
[23:07:34] *** jmlewis has joined #angularjs
[23:07:38] *** BillCriswell has quit IRC
[23:07:46] *** afuggini has quit IRC
[23:08:02] <zumba_addict> how about pointing to here, https://raw.githubusercontent.com/angular-ui/ui-grid.info/gh-pages/release/3.0.0-RC.18/ui-grid.js
[23:08:32] *** jmlewis has quit IRC
[23:08:59] *** TheDreamIsReal has joined #angularjs
[23:09:13] *** aven1 has quit IRC
[23:10:23] *** jacuqesdancona has quit IRC
[23:10:31] *** despai has joined #angularjs
[23:10:38] *** zz_night-owl is now known as night-owl
[23:10:41] *** nickgs has quit IRC
[23:11:13] *** cotko has quit IRC
[23:12:31] *** s00pcan_ has joined #angularjs
[23:12:46] <Sickness[]> nevermind my previous question, I was using the native query() instead of my own jsonp() from the actions :)
[23:12:54] <Sickness[]> works now :D
[23:12:57] *** terakilobyte has joined #angularjs
[23:13:11] *** dc_ has quit IRC
[23:13:28] *** seriema has joined #angularjs
[23:13:33] *** nickgs has joined #angularjs
[23:14:17] *** danecando has quit IRC
[23:15:15] *** camnora has joined #angularjs
[23:15:27] *** stillbourne_ has quit IRC
[23:16:02] <burzum2> is it good practice to use a service that deals with a data structure and use the service to share the data between many controllers on the same page?
[23:16:51] *** soee has quit IRC
[23:16:56] <jaawerth> in short, yes. a singleton data model (what I like to call your "single source of truth") is one of the major use-cases for servicse
[23:17:13] *** macabre has quit IRC
[23:17:22] <burzum2> perfect, thank you
[23:17:31] <Sickness[]> I dont really see how using $resource would benefit me over $http in this case
[23:17:40] <jaawerth> the actual implementation of said model is left to you, though there are probably modules out there for it. I tend to do javascript OOP stuff with constructor functions and inheritance and the like
[23:18:00] *** seriema has quit IRC
[23:18:15] *** eburcat has quit IRC
[23:18:36] <jaawerth> Sickness[]: $resource can be handy in that it can generate your URL paths for you for REST stuff, but honestly it isn't very popular for a few reasons
[23:19:12] <burzum2> jaawerth im loading a cms page which is a collection of a page record + a ton of element records (basically) and I need to manipulate that using angular. each element of each kind is a separate directive and each of them creates its own scope. I've got some trouble now calling functions on my main controller that wraps all of these, so I thought to go for lots of directives and share the
[23:19:12] <burzum2> service object between them.
[23:19:45] <jaawerth> yep. I actually keep my controllers very short, and abstract most of my logic to factories and services
[23:19:51] <burzum2> ive read that many small directives are a good thing, like small methods in OOP
[23:19:51] *** startupality has joined #angularjs
[23:20:04] <burzum2> ok cool, good to know im on the right path :)
[23:20:09] <jaawerth> I might have a service for the collection, a service for various logic functions... a factory that returns the constructor function for objects stored in the collection..
[23:20:14] *** fixl has quit IRC
[23:20:28] <jaawerth> it can take some getting used to, but it basically lets you break your code up into easily testable components
[23:20:54] <zumba_addict> hey folks, is ng grid different from ui-grid?
[23:21:02] *** CodeFriar has quit IRC
[23:21:07] <zumba_addict> i added ngGrid and now my app is failing to start
[23:21:10] <burzum2> after mastering the basics the hardest part in angular is now to figure out how to do things the best
[23:21:17] <jaawerth> my controllers tend to just be where I stick my data to the scope for user interaction, handle the interaction logic (often from calling functions onf factories/services that handle the heavy code), and a dash of data transformation
[23:21:20] *** AlexZ has joined #angularjs
[23:21:43] <jaawerth> Yeah, a lot of it is left up to personal style so it takes experience, but one best practice is definitely to keep your real logic abstracted
[23:21:48] <burzum2> jaawerth that sounds like what i have in mind
[23:21:51] <jaawerth> nice
[23:22:05] <jaawerth> then you are sound of mind! ;-)
[23:22:11] <burzum2> ;)
[23:22:51] <jaawerth> zumba_addict: ui-grid is the new version of ng-grid, almost entirely rewritten, so there are likely some backwards compatibility issues in there
[23:23:51] <Sickness[]> jaawerth, are you talking about being able to get/save/delete/etc on one resource vs having to write individual $http calls for that?
[23:24:21] *** danecando has joined #angularjs
[23:24:25] *** JohnBat26 has quit IRC
[23:25:12] *** richardbkr has quit IRC
[23:25:19] *** tplaner has joined #angularjs
[23:25:28] *** alt_qq has joined #angularjs
[23:25:29] *** richardbkr has joined #angularjs
[23:25:48] *** richardbkr has joined #angularjs
[23:26:00] *** loverajoel has quit IRC
[23:26:03] <zumba_addict> thanks jaawerth
[23:26:29] *** iShortBus_ is now known as iShortBus
[23:28:09] <jaawerth> Sickness[]: yeah, it's really just a convenience wrapper around $http that does some parsing stuff to insert route params and separate out your call types, but honestly it doesn't save you THAT much boilerplate compared to just wrapping $http in your own service
[23:28:18] <zumba_addict> ah, this is what I need -> 'ui.grid'
[23:28:23] <zumba_addict> i was using 'ngGrid'
[23:28:28] <jaawerth> Sickness[]: for RESTful APIs, a lot of people seem to prefer Restangular, though I typically just use my own custom services
[23:28:39] *** Aerospark has joined #angularjs
[23:28:40] *** nemothekid has joined #angularjs
[23:28:58] <zumba_addict> app is loading now :)
[23:29:32] *** {DV8} has quit IRC
[23:29:37] *** nemothekid has quit IRC
[23:30:00] *** nemothekid has joined #angularjs
[23:30:05] *** alt_qq has quit IRC
[23:30:08] <Sickness[]> oh I didnt know that jaawerth
[23:30:11] <Sickness[]> Restangular seems nice
[23:30:12] *** nemothekid has quit IRC
[23:30:22] <Sickness[]> damn.. I have to make a decision on how I'm going to do this now
[23:30:36] <Sickness[]> I guess it wasn't a very good idea to start writing this project in angular when I have next to no experience in it :)
[23:30:43] *** camnora has quit IRC
[23:30:48] <Sickness[]> with a deadline this week yay
[23:30:50] *** nemothekid has joined #angularjs
[23:30:54] *** elrabin has quit IRC
[23:30:57] <moogey> Sickness[] how else are you going to learn?
[23:30:58] <Sickness[]> I figured this was the best excuse to finally take the plunge
[23:31:09] <Sickness[]> yeah but with a tight deadline this was a terrible idea :x
[23:31:27] *** elrabin has joined #angularjs
[23:31:34] *** whitebook has joined #angularjs
[23:31:35] *** annlewis has joined #angularjs
[23:31:38] <moogey> Angular is pretty forgiving, you should be able to get it working, then go back and use the tests as an excuse to tighten everything up
[23:31:41] *** richardbkr has quit IRC
[23:32:09] *** richardbkr has joined #angularjs
[23:32:11] *** jonatas_oliveira has joined #angularjs
[23:32:11] <jaawerth> Sickness[]: best way to learn! but yeah, tough when there are deadlines. I did the same thing with a project and looking back now, a lot of the code is embarrassing. I learned fast, though!
[23:32:35] *** richardbkr has quit IRC
[23:32:35] <Sickness[]> yeah for sure
[23:32:44] <jaawerth> and yeah, you should still be able to get it working and then refactor later - I produced a working app, just one that makes me cringe a little when I think about what's going on in there
[23:33:00] *** richardbkr has joined #angularjs
[23:33:03] <Sickness[]> haha, I already cringe right now looking at my code
[23:33:08] *** proteneer has joined #angularjs
[23:33:16] *** Aerospark has quit IRC
[23:33:38] <Sickness[]> ohwell I hope I get these api calls at least solved this night or I'll have some unhappy people tomorrow
[23:34:14] <Sickness[]> isn't helping that the api itself is overly complex :)
[23:34:14] <moogey> I haven't been paying attention, what's up with your api calls? Sickness[]
[23:34:33] <Sickness[]> at the moment not much I'm trying to decide the route to take
[23:34:57] <Sickness[]> I actually wrote a lot of stuff yesterday using $http.json and then decided I wanted to use $resource instead
[23:34:59] *** kavita has quit IRC
[23:35:06] *** cads has joined #angularjs
[23:35:14] *** Cronoh has quit IRC
[23:35:14] <jaawerth> Restangular is very well-liked. I'm not sure how well it fits if your API doesn't confirm well to REST though - I haven't really used it enough to know for sure, since I tend towards a more manual approach
[23:35:44] <moogey> same. I tend to write custom services for all my api calls.
[23:35:45] <jaawerth> nothing wrong with using $http directly, just do it all in custom services so you can make changes behind an abstraction layer (and also reuse, reuse, reuse)
[23:35:46] *** elrabin has quit IRC
[23:35:56] <moogey> !hf jaawerth
[23:35:58] <moogey> lol
[23:35:59] <jaawerth> hehe
[23:36:02] *** jaznow has quit IRC
[23:36:11] *** aven1 has joined #angularjs
[23:36:12] *** jkli has joined #angularjs
[23:36:17] *** nickgs has quit IRC
[23:36:25] <jaawerth> I even have the beginnings of my own little version of $resource using $interpolate to build the URLs (though strangely, ngResource doesn't do this - it just uses regexps)
[23:36:25] *** whitebook has quit IRC
[23:36:29] <jkli> hi
[23:36:33] *** annlewis has quit IRC
[23:36:51] <jkli> im new to javascript, can I still learn angularjs or should i go back learning js first?
[23:36:53] *** elrabin has joined #angularjs
[23:37:28] *** dc_ has joined #angularjs
[23:37:30] <jaawerth> hmm in my experience, learning the fundamentals of javascript REALLY makes angular easier to learn
[23:37:37] *** Guest33 has quit IRC
[23:37:48] *** cthrax has quit IRC
[23:38:09] *** Soxad has joined #angularjs
[23:38:12] <jaawerth> like, knowing how prototypical inheritance works, the pass by object/reference behavior, callbacks and functions as first-class objects taht can be passed around and such - angular relies on tehse things heavily, and knowing them demystifies a lot of the "magic"
[23:38:15] *** mspier is now known as mspier|away
[23:38:38] *** TheAceOfHearts has quit IRC
[23:39:00] <jaawerth> jkli: JavaScript: The Good Parts is a decent way to pick this stuff up quickly, IMO
[23:39:06] *** ximenean__ has joined #angularjs
[23:39:06] <jkli> oh
[23:39:09] <Sickness[]> hm.. the api is fully according to REST principles so that shouldn't be a problem
[23:39:18] <jkli> ok, whats the first really cool project that i can build with angularjs?
[23:39:21] *** mspier|away is now known as mspier
[23:39:27] <jaydubya> I spent five hours refactoring to use ng-grid 2.0.7 and to learn and use nested views convinced either or both would solve that stupid issue where the dropdown menu drops below the ng-grid header bar ... and the issue still exists ... OMG!
[23:39:34] *** CanyonMan has quit IRC
[23:39:59] <Sickness[]> ouch
[23:40:01] *** joroc has quit IRC
[23:40:06] <jaawerth> sounds like a CSS issue to me
[23:40:21] *** elrabin has quit IRC
[23:40:37] *** elrabin has joined #angularjs
[23:41:01] *** Zeioth has joined #angularjs
[23:41:05] *** qdk has joined #angularjs
[23:41:40] <jkli> so angular is a mvc for js
[23:41:43] <icfantv> jaydubya: you couldn't have created a sample from scratch?
[23:41:51] <jkli> and nodejs + angularjs lets me build popcorn like apps?
[23:41:55] <icfantv> jaydubya: i've been down that road and it's frustrating as hell
[23:42:23] <icfantv> jaydubya: is the issue the dropdown menu appears BEHIND the header bar?
[23:42:51] *** tSpartak has quit IRC
[23:43:08] <jaydubya> icfantv: http://cl.ly/image/1m3g0S3q0b1k <-- screenshot. There an Ag-Input behind the green bar that cant be accessed
[23:43:15] <jaawerth> jkli: it's for building single-page applications that call back to APIs. Building with angular is more like writing software that runs in the browser than just a dynamic web page. It includes dependency injection, client-side templating, client-side routing (as optional modules), building reusable DOM widgets, and a client-side data model that can both store data and pull from an API
[23:43:19] <jaawerth> that's my nutshell summary
[23:43:31] <jaawerth> for more, I suggest you pull up hte official tutorial on angularjs.org ;-)
[23:43:51] <icfantv> jaydubya: what's the z-index of the header vs. the div that's the drop-down? also, are you using ui-select by any chance?
[23:43:55] <jkli> so basically i can build twitter apps for the desktop with that
[23:43:56] *** ximenean__ has quit IRC
[23:44:05] <jaydubya> Only possible solution I can think of now is The Glenlivet and hope the client misses that
[23:44:09] <jkli> without having to frigging code in visual
[23:44:20] <icfantv> jaydubya: HAH
[23:44:31] <jaawerth> yeah, you can write apps and use html5 + js for the interface
[23:44:31] <jkli> are there any cool tutorials for an awesome desktop app?
[23:44:35] <jaydubya> I am injecting ui-select because I MIGHT use it in another view
[23:44:43] <icfantv> jaydubya: maybe if you deliver a bottle of 21 with your code, they'll miss it
[23:44:43] <jaawerth> there are nifty tools for native integration out there, like ionic for mobile hybrid apps
[23:44:43] *** cotko has joined #angularjs
[23:44:52] <jaydubya> icfantv: good idea
[23:44:53] <jaawerth> jaydubya: that's totally a z-index issue
[23:44:55] <icfantv> jaydubya: but you're not explicitly using it here?
[23:44:56] <jkli> i never could be assed to learn javascript, ugh, guess i have to
[23:45:05] *** danecando has quit IRC
[23:45:07] *** gaboesquivel has joined #angularjs
[23:45:17] <jaawerth> jaydubya: what happens if you just add a high z-index to the dropdown (make sure you do it on the full dropdown container) via dev tools?
[23:45:25] *** tplaner has quit IRC
[23:45:40] <jaydubya> jaawerth: I agree but I (before today's lovely refactor) opened the console and added a z-index !important to EVERY element listed in the console
[23:45:48] <icfantv> jaawerth: ui-select has other issues (which are being fixed) whereby a dropdown in a container will not "float" above everything else and could be hidden by the container border in which it's located.
[23:45:58] <jaawerth> oof
[23:46:00] <jaawerth> bleh
[23:46:17] <jaydubya> icfantv: no, I am not using ui-select ... I am just using ui-bootstrap for the menu
[23:46:45] <icfantv> jaydubya: ok. then i'd start with the z-index of the top-level DIV that contains your list of menu items.
[23:46:54] <jaawerth> what do you mean you added z-index !important? what z-indexes did you set?
[23:46:55] <icfantv> jaydubya: also look at the z-index of the header...
[23:47:08] <jaawerth> the header probably just has a higher than default z-index
[23:47:08] *** bmac has joined #angularjs
[23:47:18] <jaawerth> and you likely need to give the dropdown an even higher one
[23:47:22] <icfantv> jaawerth: could it be positioning too?
[23:47:25] *** bcollison has quit IRC
[23:47:30] <jaydubya> LOL I set the navbar div to 100000000
[23:47:34] <jaawerth> could be, but my gut says z-index
[23:47:36] <moogey> lol
[23:47:44] <icfantv> jaydubya: i don't think that's actually a valid z-index
[23:47:51] <jaydubya> and the div holding the view to 1
[23:47:58] <moogey> icfantv theres an invalid z-index
[23:48:09] *** TheDreamIsReal has quit IRC
[23:48:16] *** cthrax has joined #angularjs
[23:48:27] <jaydubya> I will ask google ... I was not aware that there was an invalid value for z-inde
[23:48:28] <jaydubya> x
[23:48:42] <icfantv> w3schools doesn't indicate there is a max
[23:48:43] <jaawerth> ah right, z-indexes only matter for a given stacking context
[23:48:52] <jaawerth> so if tehy're on two different stacking contexts, it may not help
[23:49:07] <jaawerth> what are the positions of your navbar and grid respectively?
[23:49:16] <jaawerth> http://devdocs.io/css/z-index
[23:49:23] <icfantv> here's a caveat: z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).
[23:49:38] <jaydubya> one source does say that you should keep to valid integer so max should be 32,767
[23:49:45] <icfantv> jaawerth: you and devdocs
[23:50:01] <jaawerth> it's MDN, but I search MDN via devdocs because it's faster :P
[23:50:51] *** mzabriskie has quit IRC
[23:51:16] *** kavita has joined #angularjs
[23:51:21] *** gaboesquivel has quit IRC
[23:51:22] <jaawerth> MDN version of same page https://developer.mozilla.org/en-US/docs/Web/CSS/z-index
[23:51:42] <jaawerth> if z-index doesn't fix it, you're probably dealing with two different stacking contexts
[23:51:47] *** uris77 has quit IRC
[23:51:47] <jaydubya> navbar is z-index of 32000 and ng-grid is inside a div set at 1
[23:51:55] <icfantv> what's a stacking context?
[23:52:05] *** jonatas_oliveira has quit IRC
[23:52:07] <jaawerth> https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Understanding_z_index/The_stacking_context
[23:52:14] *** Sadin has quit IRC
[23:52:22] <icfantv> jaydubya: it's not the navbar, it's the posiitioned DIV that's the dropdown that's the issue
[23:52:33] <jaawerth> that are the relative positions?
[23:52:42] <jaawerth> what*
[23:52:57] <jaawerth> absolute? relative? static?
[23:53:03] *** SargoDarya has joined #angularjs
[23:53:49] <icfantv> jaydubya: right click on All-in or Ag-Pro and inspect element
[23:54:10] <icfantv> jaydubya: and look at the outer most DIV that contains the dropdown elements
[23:54:19] *** scythe__ has joined #angularjs
[23:54:26] <jaawerth> my guess is icfantv and it's set to absolute
[23:54:33] <jaawerth> icfantv is right*
[23:54:51] *** danecando has joined #angularjs
[23:54:54] *** pelll0 has joined #angularjs
[23:54:54] <icfantv> jaydubya: THAT's the div you should start with w.r.t. z-index
[23:55:02] <jaawerth> also this
[23:55:02] <jaawerth> heh
[23:55:06] <icfantv> jaydubya: and then drill down the DOM tree from there
[23:55:13] <jaawerth> that stacking context link will help
[23:55:13] *** prbc has joined #angularjs
[23:55:32] <icfantv> jaawerth: i can't remember how they position that stuff. absolute implies they have to calculate the top and left, no?
[23:55:46] <jaawerth> it's kind of a mess, yeah
[23:55:55] <jaawerth> and absolute is annoying because it takes the element out of document flow
[23:56:19] <jaydubya> a.ng-binding>li.ng-scope>ul>span>span>div>div>div>div>div>#main_top
[23:56:28] *** robdubya has quit IRC
[23:56:29] *** pell0 has quit IRC
[23:56:47] <icfantv> right. but relative wouldn't work right because it'd be related to the nav menu item.
[23:56:54] <jaawerth> yeah
[23:56:58] <icfantv> jaydubya: can you create a quck and dirty plunker to reproduce?
[23:57:04] <jaawerth> basically everything needs to be given thought in their relative contexts
[23:57:07] <jaydubya> and z's are 32000>31000>30000>29000>28000 and so on
[23:57:16] <jaydubya> icfantv: I'll try to plunk
[23:57:18] <jaawerth> I usually do this with a hammer, myself. and the hammer is my forehead
[23:57:22] <jaydubya> |topic
[23:57:28] *** Guest33 has joined #angularjs
[23:57:39] <jaydubya> \topic
[23:57:40] <icfantv> jaydubya: ng-grid doc page has some javascript you can literally copy and paste to generate a grid.
[23:57:53] *** hell_razer has joined #angularjs
[23:57:56] <jaydubya> |give-me-the-fucking-topic
[23:58:02] *** PeterMetz has joined #angularjs
[23:58:22] <jaawerth> /
[23:58:23] *** Reskp has quit IRC
[23:58:24] <Sickness[]> /topic
[23:58:27] <jaawerth> lol
[23:58:34] <Sickness[]> /topic #angularjs in specific
[23:58:52] *** Guest33 has quit IRC
[23:59:24] <Sickness[]> decided to go with restangular WISH ME LUCK IM GOING IN
[23:59:30] <moogey> the hell
[23:59:32] <moogey> cool
[23:59:33] <Sickness[]> and thanks for the tip
[23:59:35] <jaawerth> hehe
[23:59:36] <moogey> lcuk Sickness[]
[23:59:42] <moogey> s/lcuk/luck
[23:59:59] *** zwacky has quit IRC
top

   December 23, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >