[00:00:43] *** sdarby2000 has quit IRC
[00:01:15] <fakingfantastic> caitp: if i was to do a transclude, wouldn't I then have to duplicate the markup i want everytime i wanna use this directive (ie, kill a kitten)?
[00:01:27] *** foo2 has joined #angularjs
[00:01:42] <caitp> yes
[00:02:06] <caitp> but, since it's not in your directive template to begin with, it sort of looks like you're reusing it with different content
[00:02:10] *** siz_ has quit IRC
[00:02:25] *** postitnote has quit IRC
[00:02:40] *** nodweber has joined #angularjs
[00:03:06] *** Yancy has quit IRC
[00:03:07] <fakingfantastic> right now my directive template has about 100 lines of HTML in it
[00:03:16] *** Yancy has joined #angularjs
[00:03:25] <jaawerth> yikes
[00:03:45] <fakingfantastic> yeah, i got some refactoring to do
[00:03:50] <fakingfantastic> lol
[00:03:58] <jaawerth> don't we all, though
[00:04:03] <fakingfantastic> amen, brother
[00:04:35] *** TyrfingMjolnir has quit IRC
[00:05:07] *** Yahkob has joined #angularjs
[00:06:58] *** nodweber has quit IRC
[00:07:03] *** spencercarnage has joined #angularjs
[00:07:11] <Mrgoose2> i want to pass an object to a directive , what would be the proper way?
[00:07:14] <Mrgoose2> <ion-item detect-gestures data="{ action:'playSong', id:'{{song.id}}', url:'{{song.url}}'"
[00:07:17] <Mrgoose2> that's currently what im doing
[00:08:42] *** lithiumjake has quit IRC
[00:09:05] <jaawerth> Mrgoose2: in the directive declaration, scope: { myData: '=data' }
[00:09:26] *** fedenunez has joined #angularjs
[00:09:35] <jaawerth> Mrgoose2: or if you want the attribute name to equal the object you'll access within the directive, you can just do scope: { data: '=' }
[00:09:35] *** alpha080 has joined #angularjs
[00:09:40] *** roymiloh has quit IRC
[00:10:35] *** evotuned has joined #angularjs
[00:10:52] *** hecatonicosachor has quit IRC
[00:11:03] <Mrgoose2> and that would give me access to { action:'playSong.....
[00:11:17] *** hecatonicosachor has joined #angularjs
[00:11:32] <jaawerth> yeah, any object you pass in that way would be bound
[00:11:48] <Mrgoose2> nice
[00:11:53] <Mrgoose2> trying now
[00:11:59] <jaawerth> alternatively you could use an inherited scope instead of an isolate scope, but in general with directives it's better to use an isolate scope
[00:12:06] <fakingfantastic> so i don't think the transclude is an option, so what is a clean way to pass the project id to the directive without an isolate scope?
[00:12:11] *** spencercarnage has quit IRC
[00:12:31] *** fedenunez1 has joined #angularjs
[00:12:31] *** fedenunez has quit IRC
[00:12:37] <fakingfantastic> lol
[00:12:40] <jaawerth> fakingfantastic: what kind of scope are you using?
[00:13:10] *** sdarby2000 has joined #angularjs
[00:13:24] <fakingfantastic> jaawerth: isolate, but as i just learned, my child elm's in the directive can't call functions in my link function if i do that
[00:13:39] <fakingfantastic> and i don't think transclusion is an option for me
[00:14:00] *** Drako has quit IRC
[00:14:13] *** nags has quit IRC
[00:14:28] *** MathiasM has quit IRC
[00:14:40] *** DrMabuse has quit IRC
[00:15:19] *** evotuned has quit IRC
[00:15:19] *** danielpquinn has joined #angularjs
[00:15:43] *** Aerospark has quit IRC
[00:15:51] *** bbankes has joined #angularjs
[00:16:27] *** artemk has quit IRC
[00:16:38] *** evilaliv3 has quit IRC
[00:16:40] *** TorpedoSkyline has joined #angularjs
[00:16:40] *** jshultz has joined #angularjs
[00:16:42] *** fedenunez1 has quit IRC
[00:17:03] *** xaxisx_ has joined #angularjs
[00:17:17] <fakingfantastic> caitp: Ohhh, can i make my div.folder a child directive, and have that require the parent directive, put the link in the folder directive and update my parent directives scope?
[00:17:50] *** pleil has quit IRC
[00:18:05] *** TyrfingMjolnir has joined #angularjs
[00:18:36] *** arizzo has joined #angularjs
[00:19:35] *** danielpquinn has quit IRC
[00:20:15] *** TyrfingMjolnir has quit IRC
[00:20:39] *** TyrfingMjolnir has joined #angularjs
[00:20:47] <Mrgoose2> hmm
[00:20:58] *** ianpirro has joined #angularjs
[00:21:04] <Mrgoose2> however the $scope.data does not work
[00:23:00] *** arizzo has quit IRC
[00:23:19] *** fcanela has joined #angularjs
[00:23:19] *** fcanela has joined #angularjs
[00:23:21] *** elrabin has joined #angularjs
[00:23:41] *** n00bdy has quit IRC
[00:23:51] *** n00bdy has joined #angularjs
[00:25:18] *** ianpirro has quit IRC
[00:26:04] *** DrMabuse has joined #angularjs
[00:26:09] *** spencercarnage has joined #angularjs
[00:26:23] *** MathiasM has joined #angularjs
[00:26:48] *** ngbot has joined #angularjs
[00:26:48] <ngbot> angular.js/master 4a57b15 zainengineer: docs(orderBy): add example of directly calling $filter('orderBy')...
[00:26:48] *** ngbot has left #angularjs
[00:27:25] *** rmichnik has quit IRC
[00:27:38] *** elrabin has quit IRC
[00:27:42] *** TyrfingMjolnir has quit IRC
[00:27:50] *** spencercarnage has quit IRC
[00:29:20] *** Snugug has quit IRC
[00:30:05] *** klaut has joined #angularjs
[00:30:18] *** DrMabuse has quit IRC
[00:30:35] *** ceephax has quit IRC
[00:31:08] *** tmrudick has joined #angularjs
[00:32:46] *** slainer68_ftw has joined #angularjs
[00:33:39] *** Snugug has joined #angularjs
[00:33:46] *** n00bdy has quit IRC
[00:33:46] *** Yancy has quit IRC
[00:33:56] *** Yancy has joined #angularjs
[00:34:00] *** n00bdy has joined #angularjs
[00:36:18] *** toinbis has quit IRC
[00:39:04] *** taylorrf has quit IRC
[00:39:05] *** Foxandxss has quit IRC
[00:39:36] *** ceephax has joined #angularjs
[00:39:42] *** cigarshark has joined #angularjs
[00:40:43] *** mikedevita has joined #angularjs
[00:41:20] *** nags has joined #angularjs
[00:41:34] *** shoelessone has joined #angularjs
[00:41:41] *** ttdevelop has joined #angularjs
[00:41:59] *** tmrudick has quit IRC
[00:42:03] *** faddah has joined #angularjs
[00:42:26] *** Cronoh has joined #angularjs
[00:42:32] *** tmrudick has joined #angularjs
[00:43:09] *** Foxandxss has joined #angularjs
[00:43:45] *** Yancy has quit IRC
[00:43:54] *** Yancy has joined #angularjs
[00:43:56] *** JoeGaudet has joined #angularjs
[00:44:59] *** mikedevita has quit IRC
[00:45:16] *** juampy has quit IRC
[00:45:42] *** shoelessone has quit IRC
[00:45:47] *** ngbot has joined #angularjs
[00:45:47] <ngbot> angular.js/master 0dc35ef Phil Westwell: docs(*): fix its/it's grammar...
[00:45:47] *** ngbot has left #angularjs
[00:46:53] *** ttdevelop has quit IRC
[00:47:11] *** tmrudick has quit IRC
[00:47:18] <robdubya> i am in injector hell
[00:47:21] *** quantax- has joined #angularjs
[00:47:42] *** drunkfish has quit IRC
[00:52:04] <jaawerth> haha, oh?
[00:52:54] <robdubya> yeah, trying to be too clever for my own good
[00:53:40] *** hswolff has joined #angularjs
[00:54:43] *** rmaceissoft has quit IRC
[00:56:55] <Mrgoose2> jaawerth: ahh i see thanks
[00:57:35] <kba> I have a comment system with unlimited nesting... I'm not sure how to process this data in my view
[00:57:48] <kba> I assume I should use some kind of nested views, yes?
[00:57:55] *** caitp has quit IRC
[00:58:54] *** fakingfantastic has quit IRC
[00:59:00] *** knackebrod has quit IRC
[00:59:17] <kba> I have a list of elements like {commentID, comment, replies} where replies is then a list like the previous
[00:59:20] *** YancyDC has quit IRC
[00:59:26] <kba> so there may be comments with replies with replies with replies
[01:00:18] <kba> any ideas?
[01:00:32] *** fels_zh_ has quit IRC
[01:02:40] <robdubya> caitp has a comments directive
[01:02:51] *** Snugug has quit IRC
[01:03:52] *** n00bdy has quit IRC
[01:04:02] *** n00bdy has joined #angularjs
[01:04:16] *** fels_zh has joined #angularjs
[01:04:24] <kba> hm, thanks
[01:04:27] <kba> that seems a bit big, though
[01:04:38] *** TorpedoSkyline has quit IRC
[01:04:38] <robdubya> huh?
[01:04:55] <kba> it seems like a lot of code
[01:05:22] <robdubya> its < 500 lines, prob half of which is comments
[01:05:30] *** KevinEtienne has joined #angularjs
[01:05:58] <kba> and if I could just make nested views, it would be ~10 lines
[01:06:55] <robdubya> you probably dont want nested views
[01:07:01] *** fels_zh has quit IRC
[01:07:07] *** gaspyr has joined #angularjs
[01:07:07] <robdubya> a - you can't do that anyway with ngrouter
[01:07:14] <robdubya> b - fuck managing that in ui-router
[01:07:30] <robdubya> c - this is what directives are for
[01:07:33] <robdubya> d - ???
[01:07:34] *** fels_zh has joined #angularjs
[01:08:01] <kba> I could just imagine having something like
[01:08:34] *** jaxtrx has joined #angularjs
[01:08:51] <kba> comment-tree.html, <div ng-repeat="comment in comments"> if (comment.replies) loadView(comment-tree.html, commment.replies)
[01:08:54] <kba> something like that
[01:09:53] <kba> oh ng-include actually seems to be what I want
[01:10:29] *** KevinEtienne has quit IRC
[01:10:29] *** Columcille has quit IRC
[01:11:19] *** evotuned has joined #angularjs
[01:12:14] *** fels_zh has quit IRC
[01:14:29] *** davorb has quit IRC
[01:15:31] *** jamto11 has joined #angularjs
[01:15:31] *** davorb has joined #angularjs
[01:15:53] *** alpha080 has quit IRC
[01:16:13] *** evotuned has quit IRC
[01:16:17] *** danielpquinn has joined #angularjs
[01:16:26] *** Nek has quit IRC
[01:16:32] *** Snugug has joined #angularjs
[01:16:53] *** Aerospark has joined #angularjs
[01:17:25] *** alpha080 has joined #angularjs
[01:17:38] *** fels_zh has joined #angularjs
[01:17:43] *** delight has quit IRC
[01:18:09] *** foo2 has quit IRC
[01:18:51] *** Aerospark has quit IRC
[01:19:06] *** Aerospark has joined #angularjs
[01:19:24] *** dmexs has joined #angularjs
[01:19:42] *** jamto11 has quit IRC
[01:20:29] *** danielpquinn has quit IRC
[01:20:31] *** nodweber has joined #angularjs
[01:20:44] *** postitnote has joined #angularjs
[01:21:50] *** ianpirro has joined #angularjs
[01:23:24] *** stirlingw has joined #angularjs
[01:23:42] *** apetro__ has joined #angularjs
[01:24:07] *** nukulb has joined #angularjs
[01:24:20] *** mikedevita has joined #angularjs
[01:24:42] *** nodweber has quit IRC
[01:24:43] *** caitp has joined #angularjs
[01:26:06] *** SonikBoom has quit IRC
[01:26:22] *** ianpirro has quit IRC
[01:26:49] *** foo2 has joined #angularjs
[01:26:54] *** avree has joined #angularjs
[01:27:43] *** cotko has joined #angularjs
[01:28:38] *** mikedevita has quit IRC
[01:28:43] *** caitp has quit IRC
[01:30:56] *** Yahkob has quit IRC
[01:31:11] *** tyfighter has quit IRC
[01:31:12] *** Yahkob has joined #angularjs
[01:31:14] *** BahamutWC|Work has joined #angularjs
[01:31:16] *** Snugug has quit IRC
[01:31:44] *** tyfighter has joined #angularjs
[01:31:53] *** Destos has joined #angularjs
[01:32:15] *** slainer68_ftw has quit IRC
[01:32:44] *** avree is now known as user_formerly_kn
[01:32:49] *** user_formerly_kn is now known as avree
[01:34:00] *** frkout has joined #angularjs
[01:34:05] *** gaspyr has left #angularjs
[01:35:44] *** dev2 has quit IRC
[01:36:51] *** matiasow has joined #angularjs
[01:36:51] *** Reptar has quit IRC
[01:37:21] *** frkout has quit IRC
[01:37:57] *** gaspyr has joined #angularjs
[01:38:36] <davek> robdubya, another "thanks for the expert advice but I've been doing this for a few hours and I'm pretty sure I know best."?
[01:38:47] <robdubya> haha
[01:39:37] *** caitp has joined #angularjs
[01:40:17] *** sgnl has quit IRC
[01:40:21] *** subbyyy has joined #angularjs
[01:40:37] *** sgnl has joined #angularjs
[01:41:01] *** caitp has quit IRC
[01:41:03] *** Yahkob has quit IRC
[01:41:20] *** caitp has joined #angularjs
[01:41:21] *** Yahkob has joined #angularjs
[01:41:41] *** nukulb has quit IRC
[01:42:14] *** wroathe has joined #angularjs
[01:42:23] *** ttdevelop has joined #angularjs
[01:42:44] <robdubya> davek einstein puts it best - any fool can *know* - the point is to understand
[01:43:10] *** nukulb has joined #angularjs
[01:43:20] <wroathe> Hey all... I'm kind of a novice to Angular and I'm trying to do something similar to this fiddle, but as you can see an empty <input> on page load causes that expression to yield null
[01:43:50] <wroathe> Is there a best practice for mapping an empty string (empty value) to a 0 in my $scope
[01:43:57] <davek> As I believe he also said: "Ziss beat iz hotter zan nuclear fission."
[01:44:00] <wroathe> So that that expression yields 0?
[01:44:15] *** ceephax has quit IRC
[01:44:23] *** valli_ has joined #angularjs
[01:44:26] <robdubya> wroathe not your fault, but your usage of "yield" is making me crazy already
[01:44:28] <robdubya> :D
[01:44:36] <davek> wroathe {{ thingHere | number:<digits> }}
[01:44:44] <wroathe> output, whatever
[01:44:46] *** gaboesquivel has joined #angularjs
[01:44:47] <robdubya> wroathe so what's the endgame here?
[01:44:53] <robdubya> changing the display? or the model itself?
[01:44:55] <davek> robdubya, oh shut up ES6 elitist.
[01:45:10] <robdubya> feel my yield all over you
[01:45:44] <davek> Only if you'll import my module baby.
[01:45:47] *** foo2 has quit IRC
[01:45:58] <wroathe> I've got a series of formulas that rely on the values of inputs in a form above a table and on page load I want those formulas to receive 0's instead of empty strings
[01:46:14] *** cigarshark has quit IRC
[01:46:17] <wroathe> That jsfiddle I linked illustrates the problem
[01:46:27] <robdubya> would you say you are a js novice, or just an angular novice
[01:46:35] *** ttdevelop has quit IRC
[01:46:53] <wroathe> I'm a novice at everything in life to a varying degree, but I just picked up Angular today
[01:47:08] <davek> Fuckin love this guy.
[01:47:27] *** quatron has joined #angularjs
[01:47:35] *** bobreactor has joined #angularjs
[01:47:39] <robdubya> wroathe so first, never ever assign primitive values to scope
[01:47:52] <robdubya> regardless of what you're doing
[01:48:44] <robdubya> easy way (if you just want to *display* the change0
[01:49:12] <davek> In JS parameters of primitive type (string, number, boolean, etc) are passed into functions by _value_ instead of by _reference_ so they are copied into the scope of the function. If you pass an object to a function, it is instead passed by _reference_ meaning that the data visible inside the function is exactly that which was passed in.
[01:49:13] <wroathe> That's actually exactly what I tried in my project
[01:49:41] <davek> I have that macro'd now after like ten people came in with the same issue.
[01:49:46] *** Destos has quit IRC
[01:49:50] *** ilovett has joined #angularjs
[01:49:56] *** taylorrf has joined #angularjs
[01:50:36] <wroathe> robdubya: That's a small chunk of what I'm working on
[01:50:43] *** dancek has quit IRC
[01:50:52] <robdubya> wroathe so don't get too caught up in $scope
[01:51:13] *** foo2 has joined #angularjs
[01:51:17] <robdubya> i'll show you what i mean, sec
[01:51:24] <wroathe> 0: undefined
[01:51:25] <wroathe> 1: NaN
[01:51:26] <jaxtrx> davek, so re value vs by ref, is it a concurrency issue? if not multithreading, hen I don’t see whycopying would be in issue (probably more a js & js interpreter question)
[01:51:32] <robdubya> (and for future reference, we're plunker users around here, better with ng
[01:52:23] <robdubya> wroathe so this is one of those calculator thingies you'd see on a car buying website or whatever?
[01:52:26] <wroathe> robdubya: And this is the set of values that principal function is receiving: 0: undefined
[01:52:28] *** zwacky has quit IRC
[01:52:29] <wroathe> 1: NaN
[01:52:43] <wroathe> Whoops, sorry
[01:52:45] <wroathe> 0: undefined 1: NaN 2: 0
[01:53:12] <davek> jaxtrx, wha? By default JS is executed in a single thread.
[01:53:18] *** nukulb has quit IRC
[01:53:40] <davek> Passing by value or reference is common across virtually all languages that include lexical boundaries.
[01:53:58] *** taylorrf has quit IRC
[01:54:10] <wroathe> robdubya: Normally with a typical JS approach I'd just grab the value on page load and do something like var n = elem.value === "" ? 0 : validateInput(elem.value);
[01:54:24] *** nukulb has joined #angularjs
[01:54:48] <caitp> i think webworkers have been usable in chrome for a few years, although theyre a bit broken
[01:54:52] <jaxtrx> ya I know, but I don’t get why by value would cause an issue
[01:55:00] <caitp> chrome doesnt support nested workers atm
[01:55:02] <jaxtrx> I’ve seen by reference cause issues in java
[01:55:05] <davek> Right WebWorkers are the tacked on "threads".
[01:55:24] <caitp> and i think theyre broken in webkit too
[01:55:32] <davek> jaxtrx, no issue... it's copied so the external variable retains the same value as when it was closed over while the enclosed value changes.
[01:55:57] <caitp> and you don't need to quote threads, because they pretty much are threads
[01:55:59] *** taion809 has quit IRC
[01:56:14] <caitp> like, in all browsers except old-presto-opera, they're os threads
[01:56:18] <davek> They're executed in separate threads but it's not guaranteed as part of the WebWorker's spec AFAIK.
[01:56:32] *** taion809 has joined #angularjs
[01:56:37] <robdubya> wroathe demo incoming
[01:56:41] <wroathe> k
[01:56:41] <caitp> its not guaranteed, but the spec does say "expect these to be expensive OS threads"
[01:56:44] <wroathe> Thanks for the help btw
[01:56:54] <caitp> they are expected to have long startup time
[01:57:17] *** ilovett has quit IRC
[01:57:24] *** taion809 has quit IRC
[01:57:44] *** dcherman has joined #angularjs
[01:57:55] <davek> Right I'm not arguing that, I just meant that they don't directly expose the behavior typical of threads to my knowledge.
[01:57:56] *** taion809 has joined #angularjs
[01:58:13] <caitp> yes, luckily
[01:58:19] *** matiasow has quit IRC
[01:58:25] <caitp> you ont want web developers struggling with pthreads
[01:58:34] <caitp> it would be a disaster
[01:58:34] *** taion809 has quit IRC
[01:58:45] <davek> Undoubtedly.
[01:58:48] <caitp> more like coroutines
[01:58:54] <davek> Deadlock comes to the browser! Yay.
[01:59:04] <davek> ES6 is meant to have coroutines which will be lovely.
[01:59:37] <wafflejock> yeah down vote for deadlocks
[02:01:14] *** OdinIncarnate has joined #angularjs
[02:01:25] *** taion809_ has joined #angularjs
[02:01:47] *** SpearThruster has quit IRC
[02:02:19] <davek> Actually... now I'm really tempted to try and write an OpenMP type lib for JS with WebWorkers. Is the upper limit on thread count implementation specific?
[02:05:18] *** MathiasM has quit IRC
[02:05:19] <robdubya> wroathe something wrong with your math here i reckon
[02:05:32] <robdubya> what's the calc outputting? monthly payment?
[02:06:23] <wroathe> Yeah, it is wrong
[02:06:35] <wroathe> I already knew that :P Was trying to solve my angular issue first
[02:06:45] *** cedricziel has quit IRC
[02:08:03] *** klaut has quit IRC
[02:08:23] *** ilovett has joined #angularjs
[02:08:37] <robdubya> that's how i'd do it
[02:08:47] *** nicholes has joined #angularjs
[02:09:51] *** cedricziel has joined #angularjs
[02:10:24] *** fakingfantastic has joined #angularjs
[02:10:48] *** gaboesquivel has quit IRC
[02:10:57] *** sadasdasd has joined #angularjs
[02:11:06] *** sadasdasd has quit IRC
[02:11:25] *** frkout has joined #angularjs
[02:11:52] <wroathe> Cool, thanks.
[02:11:54] *** wroathe has quit IRC
[02:12:04] *** Yahkob has left #angularjs
[02:12:06] *** evotuned has joined #angularjs
[02:12:06] *** Yahkob has joined #angularjs
[02:12:06] *** nickp has joined #angularjs
[02:12:25] *** r0ver has quit IRC
[02:12:37] *** _BlackMage_ has quit IRC
[02:12:38] *** tonymke has quit IRC
[02:12:51] <robdubya> davek web workers are interesting, but i have yet to find a use case, given the restrictions
[02:13:01] *** r0ver has joined #angularjs
[02:13:19] *** nukulb has quit IRC
[02:13:32] *** Columcille has joined #angularjs
[02:14:02] <caitp> you could run expensive angular dirty checking 24/7 with them
[02:14:07] <caitp> and postmessage on change
[02:14:31] *** tonymke has joined #angularjs
[02:15:09] <caitp> or do some other expensive background operation
[02:15:12] <davek> robdubya, I use them for some layout computation. Space-filling algorithm.
[02:15:18] <robdubya> i guess i dont get how you get stuff *into* them
[02:15:42] <davek> Messages.
[02:15:46] <davek> If you mean data.
[02:15:49] <robdubya> both directions?
[02:15:53] <davek> Yep!
[02:16:05] <davek> If you've ever used MPI it's a similar concept.
[02:16:19] <davek> Only without the distributed part.
[02:16:20] <robdubya> so when i think "message" i think "string" - but it could equally be a fuckoff big array of objects?
[02:16:22] *** Daniel has joined #angularjs
[02:16:28] <caitp> yup
[02:16:35] <robdubya> interesting
[02:16:36] <caitp> you can pass objects, there are WPT tests that do it
[02:16:44] *** evotuned has quit IRC
[02:16:47] *** Daniel is now known as Guest52404
[02:16:49] *** danielpquinn has joined #angularjs
[02:17:02] <robdubya> soooo this might be a good way to do a super heavy "eager" type http batch of requests...
[02:17:17] <robdubya> load a collection of recs, and then go load all their associated recs
[02:17:23] *** r0ver has quit IRC
[02:17:55] *** Guest52404 has quit IRC
[02:18:11] *** marr has quit IRC
[02:18:54] *** aytac_ has joined #angularjs
[02:19:04] *** bobreactor has quit IRC
[02:19:28] *** MathiasM has joined #angularjs
[02:19:34] *** gaspyr has left #angularjs
[02:20:04] *** rbs has joined #angularjs
[02:20:35] *** avree has quit IRC
[02:21:12] *** danielpquinn has quit IRC
[02:21:12] *** nodweber has joined #angularjs
[02:21:25] *** fakingfantastic has quit IRC
[02:22:33] *** ianpirro has joined #angularjs
[02:23:16] *** alpha080 has quit IRC
[02:23:30] *** rburns has joined #angularjs
[02:23:39] *** nukulb has joined #angularjs
[02:24:13] *** alpha080 has joined #angularjs
[02:24:29] *** Rahul_Roy has quit IRC
[02:25:23] *** foo2 has quit IRC
[02:25:39] *** jharbaug_ has quit IRC
[02:25:49] *** nodweber has quit IRC
[02:25:50] *** shinnya has quit IRC
[02:25:52] *** moritzs has joined #angularjs
[02:26:03] *** apetro__ has quit IRC
[02:26:43] *** ianpirro has quit IRC
[02:27:35] *** shinnya has joined #angularjs
[02:27:39] *** jonnybro has joined #angularjs
[02:28:16] *** Destos has joined #angularjs
[02:29:31] *** caitp has quit IRC
[02:30:23] *** shoelessone has joined #angularjs
[02:30:44] *** Foxandxss has quit IRC
[02:31:08] *** tarkus has quit IRC
[02:34:35] *** shoelessone has quit IRC
[02:34:56] *** dccc_ has joined #angularjs
[02:35:16] *** jshultz has quit IRC
[02:36:33] *** fixl has joined #angularjs
[02:37:23] *** wa5ted has quit IRC
[02:37:27] *** dccc has quit IRC
[02:38:06] *** wa5ted has joined #angularjs
[02:39:47] <jaawerth> davek, robdubya: haha see, the find the bug plunk I made is super appropriate for this channel
[02:40:50] *** tyfighter has quit IRC
[02:42:19] *** jonnybro has quit IRC
[02:43:14] *** ttdevelop has joined #angularjs
[02:44:41] <jaawerth> that ui-comments looks interesting, I'd actually like to see someone come out with an angular-powered forum platform. I'd considered doing it myself as as possible when-I-have-time project (actually I MAY be ble to kill two birds with sone stone when I get going on my corporate portal)
[02:45:33] <jaawerth> I'd actually been thinking how nobody had really come out with a modern, SPA forum platform yet and that it would be a good idea, then Jeff Atwood went and announced Discourse. But I want there to be a viable alternative because that guy is awful
[02:45:38] *** shinnya has quit IRC
[02:46:38] *** kwaledesign has quit IRC
[02:47:43] *** ttdevelop has quit IRC
[02:48:10] *** stirlingw has quit IRC
[02:50:58] *** aytac_ has quit IRC
[02:53:19] *** Destos has quit IRC
[02:54:20] *** admix|away is now known as admix
[02:56:03] *** zerd has joined #angularjs
[02:56:13] *** dvcc has joined #angularjs
[02:56:33] *** foo2 has joined #angularjs
[02:56:45] *** bobreactor has joined #angularjs
[02:57:22] *** wkmanire is now known as wkmanire_
[02:57:23] *** alpha080 has quit IRC
[02:58:10] *** bobreactor has quit IRC
[02:58:22] *** stirlingw has joined #angularjs
[02:58:41] *** sdarby2000 has quit IRC
[02:59:26] *** alpha080 has joined #angularjs
[02:59:26] *** wkmanire_ is now known as wkmanire
[03:00:01] *** bobreactor has joined #angularjs
[03:00:57] *** wkmanire is now known as wkmanire_
[03:01:29] *** bobreactor has quit IRC
[03:01:37] *** stirlingw has quit IRC
[03:02:12] <kba> I think I've invented time travel
[03:02:14] *** tyfighter has joined #angularjs
[03:02:30] *** carlosCeron has joined #angularjs
[03:02:39] <carlosCeron> Hello
[03:02:40] *** bobreactor has joined #angularjs
[03:02:45] <kba> I have some code that goes: console.log($scope.comments); API.putComment(observationID, comment, parentID).success(function(data) { // add comment, $console.log($scope.comments); }
[03:02:48] *** MathiasM has quit IRC
[03:02:51] *** greengriminal has quit IRC
[03:02:58] <kba> but the first console.log already contains the comment that I'm adding within the callback
[03:03:09] <carlosCeron> somebody can help me
[03:03:15] <kba> I need a break
[03:03:57] <carlosCeron> i'm dooing the tutorial but in the step for in the protractor test E2E
[03:03:59] *** bobreactor has quit IRC
[03:04:01] <carlosCeron> i get a error
[03:04:30] <carlosCeron> i clone the repository in github
[03:04:39] *** Yancy has quit IRC
[03:04:49] *** Yancy has joined #angularjs
[03:04:57]
<dvcc> Say I get a list of information that contains an ID and a name. In order to get a thumbnail from that information I need to make an API request for each of those individual IDs, which is slow. So I use ngRepeat to generate the list and pass through the ID and name. But now I want to start a request on each of those to get the image URL. Would I do that with another directive? Plunkr: http://plnkr.co/edit/QMmllv5I2iv1n3N37OEk?p=prev
[03:05:41] *** jonnybro has joined #angularjs
[03:05:45] *** bobreactor has joined #angularjs
[03:05:46] *** KevinEtienne has joined #angularjs
[03:06:00] <carlosCeron> nobody answer
[03:06:34] <kba> carlosCeron: what error do you get
[03:06:36] <robdubya> dvcc you should be doing that in a service
[03:06:52] *** postitnote has quit IRC
[03:07:02] *** bobreactor has quit IRC
[03:07:02] *** fcanela has quit IRC
[03:07:21] <robdubya> assuming you get the image url back in the JSON, its pretty trivial from there
[03:08:50] <carlosCeron> kba this it's the error
[03:08:54] <carlosCeron> pastebin
[03:09:12] *** bobreactor has joined #angularjs
[03:09:16] <dvcc> robdubya: thanks
[03:09:40] *** jonnybro has quit IRC
[03:09:55] *** digia is now known as digia|away
[03:10:16] *** nags has quit IRC
[03:10:18] *** KevinEtienne has quit IRC
[03:10:26] *** sdarby2000 has joined #angularjs
[03:10:40] <carlosCeron> can you read
[03:10:49] *** bobreactor has quit IRC
[03:11:04] <kba> carlosCeron: can you? It says what you should do
[03:12:16] <carlosCeron> i try to do a E2E Test with protractor
[03:12:24] *** r0ok has quit IRC
[03:12:44] <carlosCeron> but when run the npm run protractor i get that error
[03:12:46] *** rburton- has joined #angularjs
[03:12:46] *** evotuned has joined #angularjs
[03:12:53] <kba> Yes
[03:13:39] <dvcc> robdubya: Thanks again, helps a ton.
[03:14:05] <robdubya> sure. you could of course write a directive to handle the image itself (display / format / etc) but the loading happens automatically
[03:14:10] <carlosCeron> i think so the problem it's when you clone the project your get the E2E scenario test environment
[03:14:23] *** davorb has quit IRC
[03:14:26] *** bobreactor has joined #angularjs
[03:14:27] <robdubya> the ng-src (vs src) tells angular to wait till that expression resolves before doing the img fetch
[03:14:36] <carlosCeron> but the tutorial it's with protractor
[03:14:47] *** josh has joined #angularjs
[03:15:17] <robdubya> did you do the npm install carlosCeron? generally that error means there's a missing dependency
[03:15:35] <robdubya> and being a jerk will get you literally nowhere around here, fyi.
[03:15:37] *** davorb has joined #angularjs
[03:15:42] *** bobreactor has quit IRC
[03:15:50] <carlosCeron> i run npm install -g protractor
[03:16:05] <carlosCeron> try with npm install ?
[03:16:05] <robdubya> did you run npm install, by itself, to install the project deps
[03:16:23] *** jamto11 has joined #angularjs
[03:16:25] <robdubya> npm install looks at the package.json, and downlaods allllll the dependencies needed
[03:16:58] *** evotuned has quit IRC
[03:17:40] *** danielpquinn has joined #angularjs
[03:17:48] *** d1val has joined #angularjs
[03:17:50] *** fels_zh has quit IRC
[03:18:04] *** d1val has quit IRC
[03:18:10] *** d1val has joined #angularjs
[03:18:24] *** fels_zh has joined #angularjs
[03:18:36] *** mercwithamouth has joined #angularjs
[03:18:37] <carlosCeron> one thing
[03:18:41] *** dancek has joined #angularjs
[03:19:02] <carlosCeron> somebody has a protractor-config file, the config e2e it's with scenario
[03:20:38] *** jamto11 has quit IRC
[03:21:06] *** d1val has quit IRC
[03:21:19] *** dhval has joined #angularjs
[03:21:44] *** idiomatic has quit IRC
[03:21:47] *** danielpquinn has quit IRC
[03:22:08] *** idiomatic has joined #angularjs
[03:22:12] <dmexs> robdubya: any idea where data.filter comes from on the data from $http success?
[03:22:31] <dmexs> i keep getting data.filter undefined
[03:22:48] *** fels_zh has quit IRC
[03:23:17] *** AciD`` has quit IRC
[03:23:22] *** ianpirro has joined #angularjs
[03:23:26] <robdubya> its probably Array.filter (which is not supported in all browsers)
[03:23:37] <robdubya> i have no idea what that guy is doing with that call though
[03:23:50] *** eamonn has quit IRC
[03:23:53] <robdubya> that's a pretty fundamental misunderstanding of promises
[03:24:05] <dmexs> he is reusing his service.list in his service.detail
[03:24:26] *** eamonn has joined #angularjs
[03:24:29] *** sssilver has joined #angularjs
[03:24:39] <dmexs> but now that I'm thinking about it that won't work too well with api pagination
[03:24:41] <robdubya> no, i mean he's mixing callbacks and promises
[03:24:48] <dmexs> well that too
[03:24:53] <dmexs> i knew it was too easy
[03:25:04] <sssilver> Hello guys… <tr ng-click=“$location.path(‘/mypath’);”> isn’t working when clicked — what gives?
[03:25:08] <dmexs> i'm like 40% of the way there on understanding the promise thing
[03:25:18] <sssilver> is $location not available in the template?
[03:25:22] <robdubya> they're my jam
[03:25:32] <robdubya> sssilver not unless you connect it to a scope
[03:25:34] <carlosCeron> use that "'function'"
[03:25:49] <sssilver> robdubya: $scope.$location = $location? seems redundant :(
[03:26:02] <jaxtrx> ssilver - in my maincontroller I declare: $rootScope.go = function(path) {
[03:26:03] <jaxtrx> $scope.slide = 'slide-left';
[03:26:03] <jaxtrx> $location.url(path);
[03:26:04] <jaxtrx> };
[03:26:18] <jaxtrx> then use ng-click=“go(‘…..’)”
[03:26:20] *** mikedevita has joined #angularjs
[03:26:21] <robdubya> sssilver a bit maybe, but you oculd just connect it to rootScope once and be done with it
[03:26:41] <robdubya> orrr just use ng-href
[03:26:51] <sssilver> can’t do ng-href on tr can I
[03:26:56] <jaawerth> seems like that'd be exposing a bit too much logic in the view
[03:26:58] *** rburns has quit IRC
[03:27:03] <jaawerth> more than preferable, anyway
[03:27:10] *** shaym_ has quit IRC
[03:27:11] *** nszceta has joined #angularjs
[03:27:16] <jaxtrx> ya I agree, location is an implementation
[03:27:20] <robdubya> i do it with $state, but thats really more for read-only things like $state's activeness
[03:27:31] *** ianpirro has quit IRC
[03:27:53] <robdubya> dmexs happy to spend 5 minutes on promises if you want, they are totally awesomesauce
[03:28:09] <dmexs> robdubya: that'd be awesome
[03:28:13] *** jaxtrx has quit IRC
[03:28:36] <jaawerth> I love them. Now when i have to deal with callbacks within callbacks, I just get annoyed
[03:28:36] <dmexs> i understand that it allows try/catch/throw in async contexts
[03:29:01] <dmexs> but i'm not too sure how to handle them when using $http in my service
[03:29:02] <robdubya> dmexs read this while i make you a plunk
[03:29:33] <dmexs> ok sure, thanks
[03:30:04] <robdubya> dmexs so whats the thing you're trying to accomplish with them?
[03:30:27] <jaawerth> sounds like they're just trying to do an $http call?
[03:30:38] <dmexs> trying to create an $http wrapper in a service like we talked about yesterday
[03:30:43] *** nukulb has quit IRC
[03:30:48] <robdubya> to call your API?
[03:30:56] <dmexs> i had it working with the .list and then i found that tutorial i posted earlier and got screwed up lol
[03:31:05] <dmexs> yes my django tastypie api
[03:31:12] *** d1val has joined #angularjs
[03:31:20] *** mikedevita has quit IRC
[03:31:26] <robdubya> so the cat pic thing i sent you? thats the beginning of the way
[03:31:37] <carlosCeron> robdubya
[03:31:41] *** BillCriswell has joined #angularjs
[03:31:45] <carlosCeron> the problem it's equal
[03:32:05] <dmexs> yours was a little more than i needed since you had a model base class and extended it
[03:32:06] <carlosCeron> please check my protractor config file
[03:32:09] <dmexs> i don't think i'm there yet
[03:32:19] <robdubya> (i mean the one i did like, 5 minutes ago)
[03:32:43] *** mikedevita has joined #angularjs
[03:32:57] <kba> I have ng-repeat with ng-includes. When I modify what ng-repeat iterates over, it isn't reflected in my includes.
[03:33:25] <dmexs> robdubya: oh i don't think i got it? just the domenic.me blog
[03:33:50] <robdubya> ooo the cat pic thing was somebody else starting with d
[03:34:06] <carlosCeron> please help me
[03:35:52] <dmexs> when you return res.data that is still a promise, interesting
[03:35:55] *** papifabi has quit IRC
[03:36:10] *** jharbaugh has joined #angularjs
[03:36:12] *** papifabi has joined #angularjs
[03:36:15] <robdubya> right - you can chain them as deep as you like, assuming you keep returning
[03:36:43] <dmexs> okay, but i don't see you doing any resolve or rejects?
[03:37:18] <robdubya> that's only if you're doing you're own promise (with $q.defer()
[03:37:28] <robdubya> $http already returns a promise, so there's no need to create another one
[03:37:47] <robdubya> the key is you have to return a value insdie the handler
[03:38:03] <robdubya> carlosCeron try doing a bower install
[03:38:10] <dmexs> okay, which you are doing with res.data
[03:38:28] *** rburns has joined #angularjs
[03:38:39] <dmexs> but then why can't you go $scope.cats = CatPics.getCatPics() ?
[03:38:39] <robdubya> carlosCeron also your ptor config looks different than the one in the phonecat repo
[03:38:42] <dmexs> you have to then?
[03:38:56] <robdubya> dmexs that's because angular won't unwrap promises (in the view)
[03:39:05] <dmexs> ahh
[03:39:07] <robdubya> it used to, so you'll prob find old tutorials that do that
[03:39:12] <dmexs> which is a new behavior i've read
[03:39:15] *** disorder20 has quit IRC
[03:39:15] <dmexs> exactly
[03:39:25] *** wa5ted has quit IRC
[03:39:48] *** d1val1 has joined #angularjs
[03:40:44] *** jharbaugh has quit IRC
[03:40:52] <carlosCeron> :D
[03:40:54] <carlosCeron> share you
[03:42:09] <dmexs> robdubya: what's going on there?
[03:42:51] <robdubya> .map iterates through the array, basically transforming it
[03:42:53] *** cswelin has quit IRC
[03:42:54] *** mikedevita has quit IRC
[03:43:11] <robdubya> so http -> list of objects -> apply that function to each object -> return the modified object
[03:43:12] *** cebor has quit IRC
[03:43:32] *** jeffisabelle has quit IRC
[03:43:54] *** ttdevelop has joined #angularjs
[03:44:21] *** Oku71 has joined #angularjs
[03:44:30] <dmexs> ahah good to know
[03:44:41] *** dhval has quit IRC
[03:44:55] *** rburns has quit IRC
[03:45:12] <dmexs> i'm making my own promises
[03:45:18] *** carlosCeron has quit IRC
[03:45:18] *** cswelin has joined #angularjs
[03:45:38] *** OffTheRails has quit IRC
[03:45:46] *** dhval has joined #angularjs
[03:45:47] *** kwaledesign has joined #angularjs
[03:45:47] *** soee has quit IRC
[03:45:56] *** fels_zh has joined #angularjs
[03:45:58] *** Aerospark has quit IRC
[03:46:04] *** d1val has quit IRC
[03:46:17] *** dhval_ has joined #angularjs
[03:46:32] *** cotko has quit IRC
[03:46:44] *** ttdevelop has quit IRC
[03:47:11] *** ttdevelop has joined #angularjs
[03:47:32] *** Left_Turn has joined #angularjs
[03:47:33] *** ttdevelop has quit IRC
[03:47:51] *** ttdevelop has joined #angularjs
[03:48:20] *** dhval_ has quit IRC
[03:49:33] *** dhval_ has joined #angularjs
[03:50:00] <robdubya> dmexs yep
[03:50:10] *** dhval_ has joined #angularjs
[03:50:43] <dmexs> how would you refactor that? i wanted to make sure i stored the values within the service scope before i resolved the promise
[03:51:44] *** oliver_ has joined #angularjs
[03:52:47] *** cebor has joined #angularjs
[03:54:06] *** Aerospark has joined #angularjs
[03:55:58] *** one_zero has joined #angularjs
[03:56:04] <robdubya> other major thing to grok about promises has to do with error handling
[03:56:32] <robdubya> they "bubble up" - meaning - if you don't handle the error, it will propagate "up" the stack
[03:57:13] *** devish has joined #angularjs
[03:57:21] <dmexs> so when you return _logged_in is that still a promise?
[03:57:50] <robdubya> well, what's happening is you're resolving the original promise (the $http one) with that value
[03:57:59] *** r0ver has joined #angularjs
[03:58:42] <dmexs> oh excellent, so its almost akin to writing resolve(_logged_in)
[03:58:54] <robdubya> not almost, is
[03:58:55] *** foo2 has quit IRC
[03:58:57] <dmexs> lol ok
[03:59:07] <robdubya> another thing that might help
[03:59:10] <dmexs> thanks
[03:59:18] *** devish_ has joined #angularjs
[03:59:20] <robdubya> because the nested chain things end up getting a bit hairy
[03:59:35] <robdubya> var getThings = $http.get('somestuff.json')
[03:59:49] <robdubya> getThings.then(function(response){ ...
[04:00:11] <dmexs> yeah
[04:00:14] *** subbyyy has quit IRC
[04:00:55] *** Aerospar_ has joined #angularjs
[04:01:25] *** Aerospark has quit IRC
[04:01:33] *** devish has quit IRC
[04:01:52] <robdubya> the magic of promises is you can bsically treat them like values and pass them around, which is nigh-on impossible with callbacks
[04:02:13] <robdubya> its only at the end of the chain (when you assign it to $scope) you need to unwrap it
[04:02:22] <dmexs> ah ha
[04:03:34] <dmexs> robdubya: what do you do anyway? you seem pretty on top of this stuff
[04:03:45] <robdubya> hang out with you people all day :D
[04:04:07] <robdubya> b2b mobile / API / webby things
[04:04:41] <dmexs> b2b?
[04:05:24] <robdubya> business to business yo
[04:05:32] *** tfennelly has joined #angularjs
[04:05:40] <robdubya> boring accounting type things
[04:05:42] <dmexs> ah, cool beans, thanks for the help man, much appreciated
[04:05:42] *** valli_ has quit IRC
[04:06:00] <dmexs> that does sound boring lol, but not if you get to use angular
[04:06:03] <robdubya> no worries. that guy's blog (you're missing the point) is full of good stuff
[04:06:14] <robdubya> promise-nuggets.github.io and i prob linked that yesterday
[04:06:25] *** arizzo has joined #angularjs
[04:06:39] <dmexs> no you didn't, i'll bookmark that
[04:06:40] <robdubya> $q is a subset of Q, so not all those things are baked in, but conceptually its awesome
[04:07:09] <robdubya> the $q.defer() thing is really best used when you have something that isn't returning promises, but *is* async
[04:07:28] <dmexs> ah, so if i were using query ajax
[04:07:31] <dmexs> *jquery
[04:07:37] <robdubya> like, talking to indexeddb - it uses callbacks, so you'd want to wrap that
[04:07:45] <robdubya> or yeah, jq ajax
[04:07:53] <robdubya> (dont do jq ajax tho)
[04:07:55] *** subbyyy has joined #angularjs
[04:07:57] <dmexs> lol
[04:08:18] <dmexs> i thought i was on top of things gettings grips with query and then boom angular comes out of nowhere
[04:08:36] <robdubya> i never did jq, so none of it makes sense to me anyway :D
[04:08:37] *** wilmoore has joined #angularjs
[04:09:25] <robdubya> as far as your services, i find it useful to make them resemble/match my server side Model APis
[04:09:40] <robdubya> so mine have Model.find / findOne / create / destroy / etc
[04:09:47] *** tfennelly has quit IRC
[04:09:53] *** taylorrf has joined #angularjs
[04:10:23] <dmexs> ah okay, mine are pretty abstracted using tastypie other than the one i wrote for the auth/login. url
[04:11:19] *** moritzs has quit IRC
[04:11:38] *** arizzo has quit IRC
[04:11:38] *** pluma has quit IRC
[04:13:03] <robdubya> hnece the base Model class, since 90% of the code will be ==
[04:13:09] <robdubya> (auth / login notwithstanding)
[04:13:30] *** evotuned has joined #angularjs
[04:13:53] *** fels_zh has quit IRC
[04:14:03] *** Deseaus has quit IRC
[04:14:22] <dmexs> right, i'm gonna save that gist and come back to it when i feel a little more confident
[04:14:30] <dmexs> inheritance isn't my forte yet
[04:14:37] *** fels_zh has joined #angularjs
[04:14:44] *** n00bdy has quit IRC
[04:14:44] <dmexs> but that makes a lot of sense
[04:14:52] <robdubya> its not really great today, but it will be awesome soon (es6 brings proper classes)
[04:14:54] *** n00bdy has joined #angularjs
[04:15:53] <robdubya> iirc you were going to do something with caching/
[04:15:57] *** hugofirth has quit IRC
[04:16:01] *** frkout has quit IRC
[04:16:23] *** cam_y has joined #angularjs
[04:16:47] <dmexs> yeah, in that first example i was following that turn on caching in $http
[04:16:56] <dmexs> which probably saves a tad of bandwidth/latency
[04:16:57] <robdubya> so something important to get about that
[04:17:12] <dmexs> yeah?
[04:17:25] <robdubya> there's a big difference between caching $http responses (raw JSON) vs caching *models*
[04:17:42] <robdubya> the former will save on bandwidth (good) but the latter is much more powerful
[04:18:04] <robdubya> 2 secs, i was doing this anyway, lemme see if i can distill it
[04:18:17] *** evotuned has quit IRC
[04:18:18] <dmexs> hmm
[04:18:23] *** danielpquinn has joined #angularjs
[04:19:26] *** shoelessone has joined #angularjs
[04:19:29] *** fels_zh has quit IRC
[04:20:02] *** dhval__ has joined #angularjs
[04:20:43] *** AnthonyC has quit IRC
[04:20:51] *** subbyyy has quit IRC
[04:21:12] *** zivester has quit IRC
[04:22:44] *** nodweber has joined #angularjs
[04:22:46] *** davesidious has joined #angularjs
[04:23:03] *** danielpquinn has quit IRC
[04:23:41] *** davesidious_ has quit IRC
[04:23:47] *** shoelessone has quit IRC
[04:24:01] *** ianpirro has joined #angularjs
[04:24:15] *** Destos has joined #angularjs
[04:26:22] *** hswolff has quit IRC
[04:27:17] *** Orbitrix has joined #angularjs
[04:27:37] *** nodweber has quit IRC
[04:28:19] *** ianpirro has quit IRC
[04:28:38] *** bbankes has quit IRC
[04:28:42] *** Yahkob has quit IRC
[04:28:47] <dmexs> robdubya: thanks for your help again man, gonna run out for a bit but shoot over that model-caching gist when you get a chance
[04:29:22] *** johnkevinmbasco has joined #angularjs
[04:29:54] *** tyfighter has quit IRC
[04:30:16] *** woebtz has joined #angularjs
[04:32:05] <dvcc> robdubya: So I wrote a factory that grabs the images from the json data. First thought was to call the getThumbnail() method in the ng-src <img ng-src="getThumbnail(id)”> but that is apparently not good practice, but also just doesnt work. The problem I have is that I bind the results from the controller (ajax search), and then after that bind I want to start to get the thumbnails.
[04:32:08] *** Hackwar1 has joined #angularjs
[04:32:54] *** SomeKittens has quit IRC
[04:33:16] *** amargherio has quit IRC
[04:33:38] *** Hackwar has quit IRC
[04:34:21] *** BillCriswell has quit IRC
[04:34:26] *** Destos has quit IRC
[04:36:43] *** kwaledesign has quit IRC
[04:36:52] <robdubya> dvcc it really depends on what the data coming back from your API looks like
[04:37:05] *** nicholes_ has joined #angularjs
[04:37:11] <robdubya> but you should generally let angular handle the loading, unless you have some specific reason not ot
[04:37:26] *** quatron has quit IRC
[04:37:33] *** postitnote has joined #angularjs
[04:37:54] *** dhval has quit IRC
[04:38:58] <dvcc> robdubya: Well angular does do the loading, I just need to grab the URL for it from a simple API call. I just dont want to have to wait for all those requests to finish before calling on ng-repeat to populate the list. As it would slow it down pretty drastically.
[04:39:19] <robdubya> isn't that what i plunked with the cat thing?
[04:39:55] *** boneskull has quit IRC
[04:40:02] *** nicholes has quit IRC
[04:40:37] *** boneskull has joined #angularjs
[04:40:57] <dvcc> Yea, with the cat thing though the URL is on the first ng-repeat. There is already an ng-repeat used to show results for a live search. I was trying to use the results from the live-search to find the new URL
[04:41:04] <dvcc> for the images
[04:42:20] *** nicholes has joined #angularjs
[04:43:07] *** avree has joined #angularjs
[04:43:13] *** nicholes_ has quit IRC
[04:43:30] <robdubya> shound't matter - angular will render the ng-repeat and then render the images as they load, afaik
[04:44:52] <dvcc> Not worried about the loading of images, I’m cool with that. Worried about the ~10 requests finishing to get the image src.
[04:45:25] <robdubya> is that 10 requests to paginate a long list?
[04:45:28] *** lord2800 has quit IRC
[04:45:41] *** lord2800 has joined #angularjs
[04:46:51] <dvcc> No, so I get IDs from a single request. But now to find what the actual thumbnail is, I need to make a new request for each ID to return the thumbnail URL.
[04:47:11] <robdubya> ah, gotcha
[04:47:35] *** fakingfantastic has joined #angularjs
[04:47:46] *** Fire-Dragon-DoL has quit IRC
[04:47:57] *** dhval has joined #angularjs
[04:48:27] <dvcc> Just didnt want to have to wait for all those requests to finish before populating everything without the images
[04:48:35] *** wa5ted has joined #angularjs
[04:48:48] <robdubya> is this a public API?
[04:48:52] *** ETBlue has quit IRC
[04:49:25] *** Destos has joined #angularjs
[04:49:51] *** dhval_ has quit IRC
[04:50:08] <robdubya> want to PM your key?
[04:50:16] *** Jae has quit IRC
[04:50:22] <robdubya> or register a fake one?
[04:50:37] <dvcc> PMd no problem
[04:50:57] *** profelm has joined #angularjs
[04:51:02] *** lord2800_ has joined #angularjs
[04:51:48] <profelm> Hey guys, I was wondering what's the best to implement a navigational menu? Should I hard code the navigation optoins or have them be an array in the scope?
[04:52:55] <jaawerth> I'd say that depends on whether you expect them to change much from user to user
[04:53:51] <nicholes> Best localstorage angularjs module?
[04:54:03] <jaawerth> you could a) hard code the nav menu into your "wrapper" template for your content so you only have to update it once, this would work if all users will see the same menu. Alternatively, you could create different menus based on role/context and ng-include them or write them as directives
[04:54:12] *** cam_y has quit IRC
[04:54:26] *** cam_y has joined #angularjs
[04:54:32] *** lord2800 has quit IRC
[04:54:39] <profelm> That sounds like a game plan jaawerth. Thanks for the advice.
[04:54:46] <jaawerth> OR you could generate the menu dynamically from an object if it will have to be very different across users. The latter, I'd say, would be harder to do the graphic design for without having weird layout issues
[04:54:48] <jaawerth> sure thing!
[04:55:09] <profelm> I think that I would have to keep them hard coded.
[04:55:27] <jaawerth> tends to be easier to maintain without having layout issues, yeah
[04:55:34] *** fedenunez has joined #angularjs
[04:56:59] *** chad is now known as killkim
[04:57:12] *** caitp has joined #angularjs
[04:57:55] *** mehlah has quit IRC
[04:59:21] <profelm> Do you know what's the best way to go about handling authentication in an Angular app?
[04:59:37] *** k-dawg has joined #angularjs
[04:59:57] *** charuru has quit IRC
[05:01:55] *** caitp has quit IRC
[05:02:09] *** jr3 has joined #angularjs
[05:02:16] *** jharbaugh has joined #angularjs
[05:02:26] <robdubya> dvcc so it looks like the image url comes back in the main request
[05:02:43] *** ghostbar has joined #angularjs
[05:02:49] *** bmac has quit IRC
[05:03:39] *** lord2800_ has quit IRC
[05:03:57] <profelm> Beautiful, jaawerth ! I'll take a look.
[05:04:01] *** avree has quit IRC
[05:04:29] *** lord2800 has joined #angularjs
[05:04:33] *** rxdazn_ has joined #angularjs
[05:04:57] <profelm> I've been thinking of using oauth since I am going to need some of the users' social media data.
[05:05:20] <robdubya> good grief dvcc
[05:05:27] <jr3> interesting the file watcher in grunt doesn't seem to be refreshing
[05:05:40] <dvcc> robdubya: Tell me about it. It’s completely awful
[05:06:06] *** KevinEtienne has joined #angularjs
[05:06:17] *** rxdazn has quit IRC
[05:06:23] <robdubya> okay, so, that mb query givs you a list of … artists?
[05:06:25] <jaawerth> my best advice is not to worry about oauth right now. Make your authenticator in a modular way, you can then swap out the oauth functionality once you've got the authentication part working
[05:07:18] <jaawerth> I'd also make the authentication services/factories/providers in their own module, that way you can inject it into your apps
[05:07:25] <robdubya> dvcc whats the relationship between the 2 apis?
[05:07:56] *** k-dawg has quit IRC
[05:08:06] *** Carsekyx has joined #angularjs
[05:08:07] *** ttdevelop has quit IRC
[05:08:17] <robdubya> dvcc i'll be back in 10
[05:08:23] *** TorpedoSkyline has joined #angularjs
[05:08:38] <dvcc> robdubya: alright np
[05:09:01] <robdubya> dvcc you keep saying mbid like i'm supposed to know what that is :D
[05:09:05] *** nicholes has quit IRC
[05:09:16] <robdubya> is that the id field on the artist / album ?
[05:09:16] <dvcc> robdubya: whoops lol sorry been looking at it all day - musicbrainz id
[05:09:26] *** Yahkob has joined #angularjs
[05:09:30] *** lord2800 has quit IRC
[05:09:37] *** lostInParadise has joined #angularjs
[05:09:37] *** Left_Turn has quit IRC
[05:10:10] *** lord2800 has joined #angularjs
[05:10:17] *** Reck has quit IRC
[05:10:43] *** KevinEtienne has quit IRC
[05:13:14] *** shinnya has joined #angularjs
[05:14:17] *** steffengy has quit IRC
[05:14:17] *** steffengy1 has joined #angularjs
[05:14:17] *** davorb has quit IRC
[05:14:19] *** evotuned has joined #angularjs
[05:14:53] *** cmfatih has joined #angularjs
[05:14:54] *** rxdazn has joined #angularjs
[05:14:54] *** Deseaus has joined #angularjs
[05:15:12] *** rxdazn_ has quit IRC
[05:15:44] *** davorb has joined #angularjs
[05:16:33] *** jr3 has quit IRC
[05:17:14] *** jamto11 has joined #angularjs
[05:18:38] *** evotuned has quit IRC
[05:19:08] *** danielpquinn has joined #angularjs
[05:19:12] *** darklrd1 has quit IRC
[05:19:23] *** Deseaus has quit IRC
[05:20:17] <jaawerth> huh, the WMATA (Washington Metro Transit Authority) site has an API. I totally need to make an app that helps me predict whether my timing is off to make a metro transfer to shorten my commute
[05:21:39] *** mtho11 has quit IRC
[05:21:43] *** jamto11 has quit IRC
[05:21:47] *** taylorrf has quit IRC
[05:22:40] *** stayarrr has joined #angularjs
[05:23:03] *** kwaledesign has joined #angularjs
[05:23:18] *** danielpquinn has quit IRC
[05:24:01] *** kwaledesign has quit IRC
[05:24:19] *** devish_ has quit IRC
[05:24:46] *** ianpirro has joined #angularjs
[05:24:51] *** Yancy has quit IRC
[05:24:52] *** n00bdy has quit IRC
[05:25:00] *** Yancy has joined #angularjs
[05:25:02] *** n00bdy has joined #angularjs
[05:25:18] *** kwaledesign has joined #angularjs
[05:26:48] *** frkout has joined #angularjs
[05:27:53] *** OdinIncarnate has quit IRC
[05:27:55] *** danielpquinn has joined #angularjs
[05:27:57] <robdubya> dvcc still there?
[05:28:08] *** sssilver has quit IRC
[05:28:23] <dvcc> robdubya: Yep, still here
[05:28:41] <robdubya> okay, mostly there, other than i still dont know *which* id is the mbid
[05:28:54] <dvcc> for albums?
[05:29:04] *** jayhung has joined #angularjs
[05:29:07] *** ianpirro has quit IRC
[05:30:57] *** sssilver has joined #angularjs
[05:31:32] <dvcc> all the ids in those requests are the muscibrainz ids (mbid) as referenced from the last.fm API
[05:31:35] *** frkout has quit IRC
[05:32:12] *** danielpquinn has quit IRC
[05:32:23] *** rchavik has joined #angularjs
[05:32:26] *** jae has joined #angularjs
[05:32:35] *** sssilver has quit IRC
[05:32:39] *** delight has joined #angularjs
[05:32:51] <robdubya> ahhhh okay - so its the releases under each release-group
[05:32:55] <dvcc> robdubya: yep
[05:33:59] *** jae is now known as Jae
[05:35:03] *** mikedevita has joined #angularjs
[05:35:28] *** Yancy has quit IRC
[05:35:38] *** Yancy has joined #angularjs
[05:35:53] *** Efrem has quit IRC
[05:36:55] *** darklrd has joined #angularjs
[05:38:05] *** DerekPerkins_ has joined #angularjs
[05:38:15] *** fakingfantastic has quit IRC
[05:38:57] <dvcc> robdubya: dont need to take each release for thumbnails we can just take the first one
[05:39:38] *** mikedevita has quit IRC
[05:40:35] *** DerekPerkins has quit IRC
[05:41:32] *** mtho11 has joined #angularjs
[05:41:35] *** jharbaugh has quit IRC
[05:42:09] *** sssilver has joined #angularjs
[05:42:22] *** digia|away is now known as digia
[05:42:41] *** phuh has joined #angularjs
[05:43:13] *** Carsekyx has quit IRC
[05:45:03] *** wilmoore has quit IRC
[05:45:35] *** kwaledesign has quit IRC
[05:46:29] *** d1val1 has quit IRC
[05:46:29] *** d1val has joined #angularjs
[05:47:14] *** wkmanire_ is now known as wkmanire
[05:48:12] *** knackebrod has joined #angularjs
[05:50:16] *** SpearThruster has joined #angularjs
[05:52:18] *** sssilver has quit IRC
[05:52:50] *** delight_ has joined #angularjs
[05:53:17] *** mennea has joined #angularjs
[05:54:11] *** sssilver has joined #angularjs
[05:54:18] <robdubya> could be cleaner, going out for a bit
[05:54:30] *** fouzko has quit IRC
[05:55:01] <dvcc> robdubya:
[05:55:03] <dvcc> I love you
[05:55:06] <dvcc> thanks so much man
[05:55:49] *** delight has quit IRC
[05:55:49] *** delight_ is now known as delight
[05:56:32] <robdubya> tldr
[05:56:42] <robdubya> redner the list, kick off the async, it'll update itself
[05:57:25] <dvcc> Thanks again, this is great.
[05:57:25] *** d1val has quit IRC
[05:57:29] *** d1val1 has joined #angularjs
[05:57:30] <dvcc> It was confusing the hell out of me
[05:58:03] *** fouzko has joined #angularjs
[05:58:13] *** caitp has joined #angularjs
[05:59:15] *** johnkevinmbasco has quit IRC
[05:59:27] *** tilgovi has joined #angularjs
[06:00:31] *** Aerospar_ has quit IRC
[06:00:35] *** rchavik has quit IRC
[06:01:00] *** jmichael_ has joined #angularjs
[06:01:14] *** r0ok has joined #angularjs
[06:01:27] *** nodweber has joined #angularjs
[06:02:05] *** Aerospark has joined #angularjs
[06:02:28] *** valli_ has joined #angularjs
[06:02:33] *** Aerospark has joined #angularjs
[06:02:43] *** caitp has quit IRC
[06:02:50] *** fouzko has quit IRC
[06:03:42] *** jmichaelward has quit IRC
[06:04:12] *** komakino_ has quit IRC
[06:04:42] *** postitnote has quit IRC
[06:05:08] *** Bade has joined #angularjs
[06:06:14] *** nodweber has quit IRC
[06:06:55] *** valli_ has quit IRC
[06:07:46] *** wilmoore has joined #angularjs
[06:08:54] *** nszceta has quit IRC
[06:08:58] *** shadowbroker has joined #angularjs
[06:09:40] *** phuh has joined #angularjs
[06:10:35] *** kirfu has quit IRC
[06:12:07] *** dvcc has quit IRC
[06:12:34] *** TorpedoSkyline has quit IRC
[06:14:33] *** rchavik has joined #angularjs
[06:14:59] *** fels_zh has joined #angularjs
[06:15:02] *** evotuned has joined #angularjs
[06:16:43] *** Aerospark has quit IRC
[06:19:35] *** fels_zh has quit IRC
[06:19:39] *** evotuned has quit IRC
[06:20:38] *** dmexs has quit IRC
[06:22:43] *** dhval has quit IRC
[06:23:26] *** SpearThruster has quit IRC
[06:23:27] *** dhval has joined #angularjs
[06:25:31] *** d1val1 has quit IRC
[06:25:37] *** ianpirro has joined #angularjs
[06:25:44] *** n00bdy has quit IRC
[06:25:57] *** n00bdy has joined #angularjs
[06:27:12] *** alekibango_ has quit IRC
[06:27:36] *** alekibango_ has joined #angularjs
[06:27:53] *** sssilver has quit IRC
[06:28:41] *** danielpquinn has joined #angularjs
[06:28:42] *** k-dawg has joined #angularjs
[06:28:56] *** MikeMatrix_ has joined #angularjs
[06:29:55] *** ianpirro has quit IRC
[06:31:45] *** MikeMatrix has quit IRC
[06:33:13] *** danielpquinn has quit IRC
[06:34:38] *** nodweber has joined #angularjs
[06:35:42] *** rchavik has quit IRC
[06:37:43] *** nickp has quit IRC
[06:38:30] *** Yahkob has quit IRC
[06:39:16] *** SpearThruster has joined #angularjs
[06:40:02] *** LinksEz1 has quit IRC
[06:40:25] *** LinksEz1 has joined #angularjs
[06:41:03] *** profelm has quit IRC
[06:44:06] *** nickp has joined #angularjs
[06:44:20] *** delight has quit IRC
[06:45:06] *** Aerospark has joined #angularjs
[06:45:56] *** admix is now known as admix|away
[06:46:51] *** jmichael_ has quit IRC
[06:47:49] *** rchavik has joined #angularjs
[06:47:58] *** dcherman has quit IRC
[06:48:26] *** dcherman has joined #angularjs
[06:48:49] *** arizzo has joined #angularjs
[06:49:49] *** sssilver has joined #angularjs
[06:53:08] *** arizzo has quit IRC
[06:54:05] *** Aerospark has quit IRC
[06:54:50] *** digia is now known as digia|away
[06:54:59] *** sssilver has quit IRC
[06:55:18] *** rchavik has quit IRC
[06:55:20] *** n00bdy has quit IRC
[06:55:20] *** Yancy has quit IRC
[06:55:30] *** 14WAC2TTW has joined #angularjs
[06:55:30] *** 7F1AASEBI has joined #angularjs
[06:55:56] *** d1val has joined #angularjs
[06:57:34] *** hooe has joined #angularjs
[06:58:55] *** caitp has joined #angularjs
[07:03:07] *** caitp has quit IRC
[07:03:54] *** kareypowell has quit IRC
[07:04:34] *** MikeMatrix has joined #angularjs
[07:05:45] *** 14WAC2TTW has quit IRC
[07:05:47] *** MikeMatrix_ has quit IRC
[07:05:55] *** n00bdy has joined #angularjs
[07:06:12] *** Cronoh has quit IRC
[07:06:28] *** KevinEtienne has joined #angularjs
[07:06:57] *** Cronoh has joined #angularjs
[07:09:47] *** delight has joined #angularjs
[07:10:59] *** KevinEtienne has quit IRC
[07:12:22] *** lithiumjake has joined #angularjs
[07:13:22] *** lostInParadise has quit IRC
[07:13:35] *** Carsekyx has joined #angularjs
[07:14:00] *** rchavik has joined #angularjs
[07:14:11] *** SpearThruster has quit IRC
[07:14:21] *** jayhung has quit IRC
[07:14:44] *** davorb has quit IRC
[07:15:48] *** evotuned has joined #angularjs
[07:15:51] *** davorb has joined #angularjs
[07:18:07] *** jamto11 has joined #angularjs
[07:20:16] *** evotuned has quit IRC
[07:20:18] *** hecatonicosachor is now known as sacho
[07:20:41] *** hekaronkiros has quit IRC
[07:22:11] *** jamto11 has quit IRC
[07:22:32] *** Tentra has joined #angularjs
[07:22:58] *** danecando has quit IRC
[07:24:31] *** Tentra has joined #angularjs
[07:25:13] *** freeman42 has joined #angularjs
[07:26:16] *** MJD has quit IRC
[07:26:19] *** displague has joined #angularjs
[07:26:30] *** ianpirro has joined #angularjs
[07:29:30] *** danielpquinn has joined #angularjs
[07:29:50] *** nickp has quit IRC
[07:30:43] *** ianpirro has quit IRC
[07:31:03] *** MJD has joined #angularjs
[07:31:31] *** cmfatih has quit IRC
[07:31:50] *** lostInParadise has joined #angularjs
[07:32:49] *** SpearThruster has joined #angularjs
[07:33:38] *** danielpquinn has quit IRC
[07:33:56] *** vs845 has joined #angularjs
[07:35:47] *** sdarby2000 has quit IRC
[07:36:09] *** n00bdy has quit IRC
[07:36:09] *** 7F1AASEBI has quit IRC
[07:36:19] *** n00bdy has joined #angularjs
[07:37:03] *** soee has joined #angularjs
[07:37:27] *** mikedevita has joined #angularjs
[07:37:31] *** vs845 has quit IRC
[07:37:43] *** iksik has quit IRC
[07:37:58] *** samson has joined #angularjs
[07:38:59] *** killkim has left #angularjs
[07:39:28] *** iksik has joined #angularjs
[07:41:20] *** hooe has quit IRC
[07:41:30] *** mary5030 has joined #angularjs
[07:42:09] *** mikedevita has quit IRC
[07:43:11] *** mgolawal_ has joined #angularjs
[07:43:38] *** wilmoore has quit IRC
[07:45:47] *** mgolawala has quit IRC
[07:45:52] *** thebigredgeek has joined #angularjs
[07:45:59] <thebigredgeek> Hey, can someone remind me how the compiler works?
[07:46:14] *** n00bdy has quit IRC
[07:46:14] *** rburton- has quit IRC
[07:46:25] *** n00bdy has joined #angularjs
[07:46:45] <thebigredgeek> It "compiles" the DOM by creating essentially a mock data tree representing the bindings, and then makes these bindings point to references on $scope's identical structure during link, correct?
[07:46:52] *** Yahkob has joined #angularjs
[07:49:21] *** displague has quit IRC
[07:49:39] *** displague has joined #angularjs
[07:49:54] *** sdarby2000 has joined #angularjs
[07:50:47] *** ries has quit IRC
[07:52:10] *** alpha080 has quit IRC
[07:53:25] *** bobreactor has joined #angularjs
[07:53:29] *** rodyhaddad has joined #angularjs
[07:54:05] *** bobreactor has quit IRC
[07:55:07] *** dhval__ has quit IRC
[07:55:56] *** sgnl has quit IRC
[07:57:12] *** shoelessone has joined #angularjs
[07:57:20] *** mike123 has joined #angularjs
[07:59:43] *** dhval_ has joined #angularjs
[08:01:18] *** shoelessone has quit IRC
[08:02:12] *** mike123 has quit IRC
[08:02:14] *** J0514H has joined #angularjs
[08:03:25] *** rchavik has quit IRC
[08:04:07] *** Cronoh has quit IRC
[08:05:31] *** SpearThruster has quit IRC
[08:06:02] *** ghostbar has quit IRC
[08:06:28] *** n00bdy has quit IRC
[08:06:39] *** n00bdy has joined #angularjs
[08:07:15] *** HypnotiX has joined #angularjs
[08:10:58] *** DerekPerkins_ has quit IRC
[08:12:48] *** dcherman has quit IRC
[08:13:55] *** lyanchih has joined #angularjs
[08:14:26] *** r0ver has quit IRC
[08:14:40] *** SpearThruster has joined #angularjs
[08:14:57] *** r0ver has joined #angularjs
[08:15:43] *** fels_zh has joined #angularjs
[08:15:44] *** dalinaum has joined #angularjs
[08:15:58] *** yoshokatana has quit IRC
[08:16:30] *** n00bdy has quit IRC
[08:16:35] *** evotuned has joined #angularjs
[08:16:41] *** n00bdy has joined #angularjs
[08:18:04] *** Destos has quit IRC
[08:19:11] *** MattWelch has quit IRC
[08:19:37] *** r0ver has quit IRC
[08:20:41] *** fels_zh has quit IRC
[08:21:01] *** evotuned has quit IRC
[08:21:26] *** r0ver has joined #angularjs
[08:22:20] *** subbyyy has joined #angularjs
[08:22:33] *** carlosmantilla has joined #angularjs
[08:22:38] *** Freeman42x has joined #angularjs
[08:24:19] *** freeman42 has quit IRC
[08:25:56] *** illume has joined #angularjs
[08:26:17] *** MattWelch has joined #angularjs
[08:26:20] *** danielpquinn has joined #angularjs
[08:26:42] *** Cronoh has joined #angularjs
[08:26:43] *** wilmoore has joined #angularjs
[08:27:08] *** ianpirro has joined #angularjs
[08:27:13] *** ghostbar has joined #angularjs
[08:28:01] *** Carsekyx has quit IRC
[08:28:23] *** fedenunez has quit IRC
[08:29:03] *** QubeZ has quit IRC
[08:30:38] <rev087> you guys hacking on last.fm/musicbrainz APIs? sounds fun
[08:30:43] *** danielpquinn has quit IRC
[08:31:01] *** QubeZ has joined #angularjs
[08:31:23] *** ianpirro has quit IRC
[08:32:20] *** rodyhaddad has quit IRC
[08:32:42] <robdubya> its shit
[08:32:46] <wafflejock> thebigredgeek: my understanding is that angular is just looking for directives during compile
[08:32:48]
<rev087> it seems you're having fun hacking APIs! Here's a black hole that'll suck out all your free time forever http://www.freebase.com
[08:32:55] *** mike123 has joined #angularjs
[08:33:09] <robdubya> rev087 sweeeet
[08:33:23] <wafflejock> when it finds a directive it is going to call the compile function which should return the link function
[08:33:35] <rev087> robdubya: it's wikipedia in Graph database format
[08:33:41] <rev087> wikipedia for robots
[08:33:48] <robdubya> nope, cant look at that right now
[08:33:49] <robdubya> no
[08:33:55] <rev087> lmao
[08:35:14] <wafflejock> rev087: interesting looks like an open wolfram alpha DB of sorts
[08:35:19] *** zivester has joined #angularjs
[08:36:03] <wafflejock> but less on the science and math more focused on the nouns it seems
[08:36:37] *** n00bdy has quit IRC
[08:36:45] *** n00bdy has joined #angularjs
[08:37:26] *** mike123 has quit IRC
[08:38:04] *** Reptar has joined #angularjs
[08:38:06] <wafflejock> got my SSL cert installed and place cleaned, it was a good day after all, also got all my grunt nonsense sorted out so revving the files for cache-busting and all which is nice
[08:41:06] *** fedenunez has joined #angularjs
[08:43:11] *** mary5030 has quit IRC
[08:44:59] *** MattWelch has quit IRC
[08:46:57] *** MattWelch has joined #angularjs
[08:48:50] *** Carsekyx has joined #angularjs
[08:49:03] *** arnab has joined #angularjs
[08:50:43] *** zivester has quit IRC
[08:50:56] *** Bade has quit IRC
[08:52:30] *** woebtz has joined #angularjs
[08:53:32] *** Cronoh has quit IRC
[08:53:42] *** lightyear has joined #angularjs
[08:53:49] *** r0ver has quit IRC
[08:54:16] *** r0ver has joined #angularjs
[08:54:23] *** lithiumjake has quit IRC
[08:54:59] *** tarnus has quit IRC
[08:55:25] *** gauravsaini03 has joined #angularjs
[08:56:00] *** r0ver_ has joined #angularjs
[08:56:18] *** r0ver has quit IRC
[08:56:25] *** ETBlue has joined #angularjs
[08:57:40] *** carlosmantilla has quit IRC
[08:58:54] *** dutis has joined #angularjs
[08:59:00] *** teddyp1cker has joined #angularjs
[08:59:19] *** lightyear has quit IRC
[08:59:31] *** lostInParadise has quit IRC
[09:02:00] *** devish has joined #angularjs
[09:02:13] *** carlosmantilla has joined #angularjs
[09:02:16] *** devish has quit IRC
[09:02:16] *** devish has joined #angularjs
[09:03:28] *** lostInParadise has joined #angularjs
[09:03:37] *** tilgovi has quit IRC
[09:06:47] *** KevinEtienne has joined #angularjs
[09:08:28] *** r0ver_ has quit IRC
[09:08:41] *** MattWelch has quit IRC
[09:08:43] *** Rahul_Roy has joined #angularjs
[09:08:58] *** r0ver has joined #angularjs
[09:09:21] *** thevishy has joined #angularjs
[09:10:18] *** J0514H has quit IRC
[09:11:56] *** KevinEtienne has quit IRC
[09:12:35] *** delight has quit IRC
[09:13:27] *** r0ver has quit IRC
[09:14:38] *** davorb has quit IRC
[09:15:28] *** davorb has joined #angularjs
[09:15:32] *** MattWelch has joined #angularjs
[09:17:15] *** evotuned has joined #angularjs
[09:19:00] *** jamto11 has joined #angularjs
[09:20:04] *** knackebrod has quit IRC
[09:20:38] *** devish has quit IRC
[09:21:59] *** evotuned has quit IRC
[09:23:01] *** TothAndras has joined #angularjs
[09:23:10] *** devish has joined #angularjs
[09:23:35] *** artemk has joined #angularjs
[09:23:41] *** jamto11 has quit IRC
[09:23:55] *** J0514H has joined #angularjs
[09:24:12] *** devish has quit IRC
[09:24:13] *** devish has joined #angularjs
[09:24:23] <rev087> wafflejock: it's a very old project, and got acquired by google years ago
[09:24:34] *** thevishy has quit IRC
[09:24:59] <wafflejock> ah Google gobbling up everything
[09:25:05] <rev087> they left it open and pretty much self-managed tho
[09:25:12] <wafflejock> that's cool
[09:25:41] *** Asiajey has joined #angularjs
[09:25:59] <wafflejock> just saw the Google self driving car that's electric and being promoted by 'em recently and that new Dragon 2 capsule from SpaceX lots of crazy awesome stuff going on
[09:26:00] <rev087> I think the acquisition was actually because they knew the value of the project and wanted to keep it alive
[09:26:11] <rev087> yep!
[09:26:22] *** mennea has quit IRC
[09:26:28] <rev087> exciting times
[09:26:50] <wafflejock> yeah I heard they will be passing laws for it in 2015 too which is way faster than I was expecting
[09:27:03] <wafflejock> the self driving car that is
[09:27:06] *** danielpquinn has joined #angularjs
[09:27:55] *** ianpirro has joined #angularjs
[09:27:57] <rev087> as long as we can keep the cold war cold I think we have a bright near future lol
[09:28:07] *** QubeZ has quit IRC
[09:28:13] *** mercwithamouth has quit IRC
[09:28:47] *** AciD`` has joined #angularjs
[09:28:57] *** Yahkob has quit IRC
[09:29:32] <rev087> "class"?
[09:30:05] <rev087> is that a Sails thing? or ES6 thing?
[09:30:14] *** benvds has quit IRC
[09:30:17] <robdubya> es6
[09:30:17] <rev087> I'm confused and scared
[09:30:37] *** benvds has joined #angularjs
[09:30:37] <robdubya> the weird @ thingies are not es6, there's es6++
[09:30:41] <robdubya> *they're
[09:30:52] *** evilaliv3 has joined #angularjs
[09:31:07] *** benvds has quit IRC
[09:31:08] *** mercwithamouth has joined #angularjs
[09:31:13] *** devish_ has joined #angularjs
[09:31:15] *** klaut has joined #angularjs
[09:31:25] *** lyanchih has quit IRC
[09:32:05] *** MuffinMan` has quit IRC
[09:32:05] *** danielpquinn has quit IRC
[09:32:05] *** devish has quit IRC
[09:32:06] <rev087> decorators?
[09:32:16] <robdubya> annotations
[09:32:16] *** benvds has joined #angularjs
[09:32:19] *** ianpirro has quit IRC
[09:32:25] <rev087> almost =P
[09:32:44] *** benvds has joined #angularjs
[09:32:56] *** shadowbroker has quit IRC
[09:33:15] <rev087> yeah, and it twisted my brain in painful new ways
[09:33:17] *** devish_ is now known as devish
[09:33:20] *** devish has joined #angularjs
[09:33:30] *** davi has joined #angularjs
[09:33:58] <robdubya> i'm beginning to like it
[09:34:02] <rev087> so you're using DI 2 in the backend
[09:34:03] <robdubya> thats a lie
[09:34:10] <robdubya> i want to add it to fucking everything
[09:34:10] <rev087> or I got it wrong
[09:34:10] *** sgnl has joined #angularjs
[09:34:22] <robdubya> that's the *idea*
[09:34:27] <robdubya> that's purely speculative code
[09:34:33] <rev087> speculative is good
[09:34:51] <rev087> angular is speculative with a lot of hacks to make it actually work =P
[09:35:04] <robdubya> i'm gonna have to transpile anyway, so might as well transpile into something i can use client and server
[09:35:14] <robdubya> not everything works like this (duh) but ...
[09:35:29] <robdubya> ORM? same models, just switch out the connection
[09:35:55] <rev087> models are the classic use case for client/server shared code
[09:36:27] <robdubya> policies in that example == middleware
[09:36:50] <robdubya> which on express is middleware, in angular its ~kinda maybe sorta like an intercetor
[09:37:27] <wafflejock> yeah that definitely makes sense... when I was doing Java stuff we would write a POJO then use a utility to generate the AS3 equivalent plain old actionscript object and the AMF protocol and BlazeDS would do the translation between the server objects and AS3 objects
[09:37:33] <wafflejock> I mean the models being shared part
[09:38:15] <rev087> you sure have a black past wafflejock =P
[09:38:19] *** thevishy has joined #angularjs
[09:38:20] <wafflejock> rev087: haha
[09:38:23] <rev087> java+as3 holy moly
[09:38:26] <wafflejock> rev087: you don't know the half of it
[09:38:30] <rev087> XD
[09:38:35] *** MattWelch has quit IRC
[09:38:45] <wafflejock> builds were a nightmare
[09:39:06] <robdubya> yeah. thats what worries me
[09:39:08] <wafflejock> I liked a lot about AS3 though so miss that part of it, Processing.js gives you a lot of the same drawing functions though
[09:39:18] *** subbyyy has quit IRC
[09:39:51] <robdubya> but i have to think writing "pure" JS + annotations is more future proof than any other module format…
[09:40:01] *** samson has quit IRC
[09:40:25] <rev087> robdubya: are annotations and class available in node 0.11?
[09:41:05] <robdubya> if you include traceur it works in .10
[09:41:17] <rev087> hmm
[09:41:19] <wafflejock> yeah there's no ECMA6 support in V8 right?
[09:41:25] *** tfennelly has joined #angularjs
[09:41:32] <robdubya> you can turn on pieces
[09:41:50] <robdubya> i havent really messed with that much, loading traceur is nbd
[09:42:39] *** mgolawal_ has quit IRC
[09:42:53] *** J0514H has quit IRC
[09:45:13] *** MuffinMan` has joined #angularjs
[09:45:23] *** vire has joined #angularjs
[09:45:32] *** MattWelch has joined #angularjs
[09:45:51] *** tfennelly has quit IRC
[09:46:05] *** shoelessone has joined #angularjs
[09:48:51] *** lyanchih_ has joined #angularjs
[09:50:36] *** shoelessone has quit IRC
[09:51:26] *** woebtz has quit IRC
[09:53:53] *** illume has quit IRC
[09:54:05] *** devish_ has joined #angularjs
[09:54:11] *** devish has quit IRC
[09:56:23] *** JoeGaudet has quit IRC
[09:56:51] *** nemothek_ has joined #angularjs
[09:57:34] *** horita has joined #angularjs
[09:58:30] *** devish_ is now known as devish
[09:58:32] *** devish has joined #angularjs
[09:58:46] *** horita has quit IRC
[09:58:59] *** pscanf has joined #angularjs
[09:59:10] *** bobreactor has joined #angularjs
[09:59:12] <Oku71> Is anyone aware of a good testdriven development guide / tutorial ?
[09:59:27] <Oku71> err scratch tutorial.. more like book or screencast
[09:59:47] *** nemothekid has quit IRC
[10:00:55] <thevishy> Can we have class that has onclock property ?
[10:00:58] <thevishy> onclick*
[10:01:02] *** mylord has joined #angularjs
[10:01:10] <Oku71> there is ngclick
[10:01:27] <thevishy> span can have ng-click ?
[10:01:39] <thevishy> i want to work it over a region
[10:02:35] *** Tentra has quit IRC
[10:02:52] <thevishy> button is different from my requirement i would like a table row to be clickable (anywhere)
[10:03:07] <Oku71> pretty sure it's just an example
[10:03:16] <Oku71> you can give rows classes as well
[10:03:19] <thevishy> ah
[10:04:17] *** bobreactor has quit IRC
[10:04:54] <thevishy> thanks will try
[10:05:11] *** Stephen has joined #angularjs
[10:05:22] <Stephen> Evening
[10:05:41] *** k-dawg has quit IRC
[10:05:46] *** ceephax has joined #angularjs
[10:07:53] *** MattWelch has quit IRC
[10:09:05] *** rxdazn_ has joined #angularjs
[10:09:32] *** Oku71 has left #angularjs
[10:09:38] *** rxdazn has quit IRC
[10:09:47] *** jmstout has joined #angularjs
[10:10:35] *** bobreactor has joined #angularjs
[10:11:23] *** TothAndras has quit IRC
[10:11:32] *** arnab has quit IRC
[10:13:37] *** cam_y has quit IRC
[10:14:32] *** MattWelch has joined #angularjs
[10:14:39] *** mreq has joined #angularjs
[10:15:16] <thevishy> ng-click(this) would this be the input/button element ?
[10:16:40] *** n00bdy has quit IRC
[10:16:50] *** n00bdy has joined #angularjs
[10:17:58] <zbzzn> pretty risky to use "this"... I think you suposed to use $event
[10:18:07] <zbzzn> I am new to angular
[10:18:10] *** evotuned has joined #angularjs
[10:20:10] *** TothAndras has joined #angularjs
[10:20:16] <rev087> thevishy: ng-click in a span works
[10:20:32] <rev087> just switch from <button> to <span> in the example Oku71 gave you
[10:20:36] <rev087> it still works
[10:20:39] *** wkmanire has quit IRC
[10:21:02] *** mzehrer_ has joined #angularjs
[10:22:10] *** lopex has quit IRC
[10:22:18] *** evotuned has quit IRC
[10:22:55] *** bobreactor has quit IRC
[10:23:14] *** MattWelch has quit IRC
[10:24:09] *** mennea has joined #angularjs
[10:24:43] *** rxdazn has joined #angularjs
[10:24:52] *** MattWelch has joined #angularjs
[10:25:25] <thevishy> Interesting thanks rev087 wasn't working for mine , will recheck it
[10:25:59] *** rxdazn_ has quit IRC
[10:27:52] *** danielpquinn has joined #angularjs
[10:28:36] <thevishy> looks like my logic has the issue there
[10:28:38] *** ianpirro has joined #angularjs
[10:28:39] *** jk-5 is now known as jk-5|gone
[10:28:59] *** SpearThruster has quit IRC
[10:29:38] <thevishy> ng-model can be though of as a way to populate the js variable directly from the user isn't it ?
[10:29:58] <thevishy> ofcourse with a change propogation
[10:30:36] *** sdarby2000 has quit IRC
[10:31:05] <wafflejock> thevishy: ng-model allows you to two way bind some data from your model on an input element
[10:31:44] *** illume has joined #angularjs
[10:31:58] *** danielpquinn has quit IRC
[10:32:03] <wafflejock> thevishy: so on change the model will get updated to reflect the user input or on changing the property of the model programatically the view will be updated to match the new value
[10:32:37] *** J0514H has joined #angularjs
[10:32:39] *** ceephax has quit IRC
[10:32:43] *** ianpirro has quit IRC
[10:32:50] *** n00bdy has quit IRC
[10:32:52] <thevishy> correct and model is nothing but a js variable
[10:33:00] *** n00bdy has joined #angularjs
[10:33:39] <thevishy> also wafflejock when you say 2 way bind - which are the 2 ways involved?
[10:33:43] *** klaut has quit IRC
[10:34:27] <wafflejock> between the view and the model so the changes from the user through the view are reflected in the model and changes to the model from other code will also be reflected in the view
[10:35:49] <thevishy> right
[10:36:40] <thevishy> from other code ... meaning JS changes will be reflected real time ?
[10:36:53] *** alpha080 has joined #angularjs
[10:38:00] <thevishy> I only notice a one binding to the JS .. JS changes need $scope.apply explicitly
[10:38:01] *** illume has quit IRC
[10:38:16] <thevishy> hence my question
[10:38:50] <thevishy> user interaction is clear it reflects JS directly
[10:39:23] <thevishy> few grey areas for me there
[10:40:25] *** teddyp1cker has quit IRC
[10:40:26] *** mikedevita has joined #angularjs
[10:41:16] *** J0514H has quit IRC
[10:43:00] *** iksik has quit IRC
[10:43:39] *** sdarby2000 has joined #angularjs
[10:44:05] *** iksik has joined #angularjs
[10:44:22] *** fakingfantastic has joined #angularjs
[10:44:32] *** jmstout has quit IRC
[10:45:14] *** mikedevita has quit IRC
[10:45:15] *** rhp has joined #angularjs
[10:46:01] *** carlosmantilla has quit IRC
[10:46:33] *** dutis has quit IRC
[10:46:43] *** devish has quit IRC
[10:46:57] *** MattWelch has quit IRC
[10:47:20] *** herzi has joined #angularjs
[10:47:30] *** jk-5|gone is now known as jk-5
[10:48:13] *** Nek has joined #angularjs
[10:51:46] *** ExpertSystem has joined #angularjs
[10:52:23] *** fakingfantastic has quit IRC
[10:52:35] *** klaut has joined #angularjs
[10:53:47] *** carlosmantilla has joined #angularjs
[10:53:52] *** MattWelch has joined #angularjs
[10:54:08] <wafflejock> thevishy: ah hey sorry wasn't paying attention to IRC bout to fall asleep here... but the call to $scope.apply() does cause a digest to occur which triggers any watchers to update which includes updating the view by ng-model
[10:54:43] *** Shrooms has quit IRC
[10:55:46] <thevishy> so that is part of this 2 way binding wafflejock
[10:55:57]
<wafflejock> thevishy: so your right there is some sort of manual triggering of the process from the JS side but it's just to notify the view I belive this will be rectified with Object observers http://blog.angularjs.org/2014/03/angular-20.html
[10:56:04] <wafflejock> thevishy: yup
[10:56:10] <thevishy> thanks ! have a gn
[10:56:13] *** sdarby2000 has quit IRC
[10:56:19] *** tarnus has joined #angularjs
[10:56:28] <wafflejock> thanks have a good whatever it is for you :P
[10:56:41] <thevishy> :)
[10:56:58] *** alpha080 has quit IRC
[10:57:10] *** mike123 has joined #angularjs
[10:58:50] *** alpha080 has joined #angularjs
[10:58:57] *** Stephen has quit IRC
[11:00:51] *** nodweber has quit IRC
[11:00:59] *** tarnus has quit IRC
[11:01:28] *** pHcF has quit IRC
[11:01:31] *** teddyp1cker has joined #angularjs
[11:01:49] *** Stephen has joined #angularjs
[11:01:53] *** mike123 has quit IRC
[11:01:58] *** nemothek_ has quit IRC
[11:02:09] <Stephen> Much better
[11:04:08] *** MathiasM has joined #angularjs
[11:04:27] *** delight has joined #angularjs
[11:04:40] *** callmekatootie has joined #angularjs
[11:04:52] *** tfennelly has joined #angularjs
[11:05:04] *** Reptar has quit IRC
[11:05:39] *** thevishy has quit IRC
[11:06:29] *** illume has joined #angularjs
[11:07:18] *** KevinEtienne has joined #angularjs
[11:08:44] *** sdarby2000 has joined #angularjs
[11:11:23] *** KevinEtienne has quit IRC
[11:11:32] *** sqwk has joined #angularjs
[11:12:29] *** phuh has joined #angularjs
[11:12:49] <sqwk> Is it possible to control/sync data in a popup with angular?
[11:12:53] *** dasraab has joined #angularjs
[11:14:32] *** davorb has quit IRC
[11:14:56] *** Left_Turn has joined #angularjs
[11:15:07] <callmekatootie> yes. a 'popup' is just a visual element.
[11:15:35] <sqwk> no, I mean a physical popup. not a z-indexed div
[11:15:36] *** davorb has joined #angularjs
[11:16:33] *** MathiasM has quit IRC
[11:17:23] *** MattWelch has quit IRC
[11:17:30] *** klaut has quit IRC
[11:17:38] <callmekatootie> erm, I do not understand. what's a physical popup?
[11:18:22] *** glosoli has joined #angularjs
[11:18:45] *** evotuned has joined #angularjs
[11:19:10] <sqwk> as in two seperate browser windows.
[11:19:15] <sqwk> window.open()
[11:19:53] *** jamto11 has joined #angularjs
[11:20:18] *** ExpertSystem has quit IRC
[11:20:59] <callmekatootie> ah that way. In my opinion, no. Perhaps you can sync using localStorage or something on those lines.
[11:23:23] *** evotuned has quit IRC
[11:23:44] *** avree has joined #angularjs
[11:23:53] *** MattWelch has joined #angularjs
[11:24:19] *** ceephax has joined #angularjs
[11:24:21] *** jamto11 has quit IRC
[11:28:37] *** danielpquinn has joined #angularjs
[11:29:04] *** zz_Brocken is now known as Brocken
[11:29:28] *** ianpirro has joined #angularjs
[11:30:11] <sqwk> could I access the scope through window.opener?
[11:31:28] <callmekatootie> they are two separate windows - that's my understanding. I don't see any possible communication between them.
[11:31:43] *** Reptar has joined #angularjs
[11:31:51] <callmekatootie> that is, purely through client.
[11:32:44] *** Haydos has joined #angularjs
[11:32:56] *** danielpquinn has quit IRC
[11:33:56] <sqwk> I could create a backend service, but we are creating a simple video overlay app, animating alpha and fill. As soon as the data is not fetched by the parent window we cannot guarantee that the animations in the sub windows happen at the same time.)
[11:33:59] *** ianpirro has quit IRC
[11:34:37] *** luisbug has joined #angularjs
[11:34:53] *** shoelessone has joined #angularjs
[11:34:58] *** bobreactor has joined #angularjs
[11:35:11] *** Carsekyx has quit IRC
[11:35:22] *** JeroenGerits has joined #angularjs
[11:35:27] *** bobreactor has quit IRC
[11:35:37] <callmekatootie> I am not sure of this, but you can try setting up events and see if the windows repond
[11:36:47] *** disorder20 has joined #angularjs
[11:38:36] *** lyanchih_ has quit IRC
[11:39:28] *** shoelessone has quit IRC
[11:40:43] *** MattWelch has quit IRC
[11:42:08] *** Reptar has quit IRC
[11:43:27] *** MathiasM has joined #angularjs
[11:43:33] *** MattWelch has joined #angularjs
[11:44:03] *** Deseaus has joined #angularjs
[11:44:05] *** bobreactor has joined #angularjs
[11:44:23] *** bobreactor has quit IRC
[11:46:06] *** teddyp1cker has quit IRC
[11:46:14] *** bobreactor has joined #angularjs
[11:46:47] *** TyrfingMjolnir has joined #angularjs
[11:47:05] *** Festercluck has joined #angularjs
[11:47:37] *** bobreactor has quit IRC
[11:48:38] *** iksik has quit IRC
[11:49:29] *** Circlefusion has quit IRC
[11:49:43] *** illume has quit IRC
[11:49:48] *** Stephen has quit IRC
[11:49:50] *** illume_ has joined #angularjs
[11:50:18] *** edzez__ has quit IRC
[11:50:46] *** edzez__ has joined #angularjs
[11:51:57] *** illume has joined #angularjs
[11:52:06] *** illume_ has quit IRC
[11:52:20] *** Kamaljeet_ has joined #angularjs
[11:52:55] *** Haydos is now known as Carsekyx
[11:53:14] *** nodweber has joined #angularjs
[11:53:56] *** teddyp1cker has joined #angularjs
[11:54:01] *** JeroenGerits has quit IRC
[11:54:38] *** iksik has joined #angularjs
[11:56:08] *** MathiasM has quit IRC
[11:56:19] *** dancek has quit IRC
[11:56:30] *** ispuk has joined #angularjs
[11:56:35] *** ispuk has left #angularjs
[11:58:08] *** ispuk has joined #angularjs
[11:58:17] <ispuk> hello :)
[11:58:33] <callmekatootie> ola
[11:58:39] *** dancek has joined #angularjs
[11:58:45] <ispuk> :)
[11:59:02] *** HypnotiX has quit IRC
[11:59:41] *** pscanf has quit IRC
[11:59:47] *** Stephen has joined #angularjs
[12:00:40] *** devish has joined #angularjs
[12:00:42] *** pscanf has joined #angularjs
[12:00:58] *** Festercluck has quit IRC
[12:02:36] *** hekaronkiros has joined #angularjs
[12:03:04] *** illume has quit IRC
[12:04:39] *** Circlefusion has joined #angularjs
[12:05:13] *** MattWelch has quit IRC
[12:05:26] *** HypnotiX has joined #angularjs
[12:05:38] *** Mer|inDMC is now known as MerlinDMC
[12:05:50] *** fouzko has joined #angularjs
[12:06:07] *** mylord has quit IRC
[12:06:15] *** k-dawg has joined #angularjs
[12:08:14] *** bobreactor has joined #angularjs
[12:08:47] *** bobreactor has quit IRC
[12:09:06] *** avree has quit IRC
[12:09:34] *** wilmoore has quit IRC
[12:10:29] <airtonix> sqwk: of course there is.
[12:11:41] *** carlosmantilla has quit IRC
[12:11:41] *** klaut has joined #angularjs
[12:12:33] *** MattWelch has joined #angularjs
[12:12:47] *** JeroenGerits has joined #angularjs
[12:13:09] <callmekatootie> cool.
[12:13:17] <airtonix> this is probably one of the oldest javascript scenarios
[12:13:26] *** arizzo has joined #angularjs
[12:13:59] <sqwk> airtonix: yes, i tried that to overwrite the scope in the window
[12:14:37] <airtonix> sqwk: as I said, didn't read too much into it. But i will say that passing data back and forth between parent and child window is entirely possible.
[12:15:40] <airtonix> i know you might get different google results (personalised results etc), but i just googled: window open data angularjs
[12:16:01] <airtonix> or: javascript data between window.open
[12:17:38] <sqwk> thanks, I will have another look …
[12:17:55] <ispuk> Is there anyone that is "relatively" good on css and angular, and who wants to contribute to develop a project on github? :)
[12:18:07] *** ghostbar has quit IRC
[12:18:29] *** arizzo has quit IRC
[12:18:42] <callmekatootie> What is the project about? Is the repo public? Can we have a look at it?
[12:19:07] <ispuk> sure let me link you it's a css helper (not framework)
[12:19:37] <ispuk> the documentation (i wrote) is in angular , you just have to have node and grunt will strat it up on :8000
[12:19:40] *** evotuned has joined #angularjs
[12:19:42] <ispuk> *start
[12:19:47] *** lightyear has joined #angularjs
[12:19:55] *** caitp has joined #angularjs
[12:20:19] <ispuk> i'm trying my best but i'm not really a genius both on angular and css
[12:20:33] *** fouzko has quit IRC
[12:20:34] *** moritzs has joined #angularjs
[12:20:37] *** delight has quit IRC
[12:21:13] *** Reck has joined #angularjs
[12:21:30] <Reck> Do you guys (who are writing tests) also write tests for your directives?
[12:22:20] <callmekatootie> ispuk: What do you need help with in that?
[12:22:24] *** MathiasM has joined #angularjs
[12:23:34] <ispuk> callmekatootie: callmekatootie a lot help man, css browser support, angular documentation needs some more features for example could be great to add a tool for customizing colors, backgrounds etc
[12:23:53] *** Al` has joined #angularjs
[12:24:07] *** mreq has quit IRC
[12:24:09] <ispuk> i should have pushed a TODO.txt indeed try checking it out, but first you need to run the documentation to checkout more i guess
[12:24:17] *** evotuned has quit IRC
[12:24:52] <Al`> Hi guys, I'm trying to understand the use of scope within a directive. I understand you can use an isolated scope but what does the scope parameter refer to in the link function of a directive if a controller hasn't been specified?
[12:25:08] <Al`> where is that scope coming from?
[12:25:13] *** JeroenGerits has quit IRC
[12:25:33] *** pscanf has quit IRC
[12:25:38] <callmekatootie> ispuk: Ok. Give me 2 days. Will check it out and get back to you - I assume you are ok with raising tickets?
[12:25:46] *** klaut has quit IRC
[12:27:01] <ispuk> callmekatootie: i am sincere, i'm newbie on github i mean i didn't used it a lot in the past but well lets try :P
[12:27:32] *** darklrd has quit IRC
[12:27:58] *** instence_ has joined #angularjs
[12:28:38] *** MathiasM has quit IRC
[12:29:26] *** danielpquinn has joined #angularjs
[12:29:38] *** instence has quit IRC
[12:30:10] *** ianpirro has joined #angularjs
[12:30:21] *** josh has quit IRC
[12:30:38] *** Cronoh has joined #angularjs
[12:31:12] <callmekatootie> cool
[12:31:35] <airtonix> Reck: yes.
[12:31:36] *** josh has joined #angularjs
[12:32:06] <callmekatootie> Al`: It depends.
[12:32:26] <Stephen> Anyone familiar with angular's use of comment nodes?
[12:32:29] <airtonix> ispuk: is this project documentation for something that just happens to use angularjs?
[12:32:40] *** josh has quit IRC
[12:32:44] <callmekatootie> If the directive does not have a scope property defined in its return object, then the scope is that of the parent.
[12:33:03] <callmekatootie> If the directive has an isolate scope, then the scope is the directive's scope itself
[12:33:31] <ispuk> airtonix: no i mean angular js is the documentation site i committed the /doc folder is an angular site, than css is for everyone ;)
[12:33:39] *** danielpquinn has quit IRC
[12:33:40] *** josh has joined #angularjs
[12:33:45] <ispuk> i just love angular so i made doc in angular :)
[12:33:58] *** josh has quit IRC
[12:33:59] <airtonix> ispuk: yeah i mean you're just using angularjs as a means to present information for something else.
[12:34:06] *** komakino has joined #angularjs
[12:34:19] *** ianpirro has quit IRC
[12:34:49] <ispuk> airtonix: sure just the site for downloading/forking the project
[12:34:55] *** josh has joined #angularjs
[12:35:08] <ispuk> but i need to make it better i guess, also to use something like SCSS to customize things
[12:35:13] <airtonix> ispuk: i suggest you use grunt-bump
[12:35:17] *** josh has quit IRC
[12:35:33] <ispuk> i actually dunno :D cause this is a css i wrote time ago to avoid using bootstrap & company :D
[12:35:43] *** MattWelch has quit IRC
[12:35:56] *** joroc has quit IRC
[12:35:58] <ispuk> airtonix: open issues feel free on that repo!
[12:36:14] *** josh has joined #angularjs
[12:36:34] *** josh has quit IRC
[12:37:16] <Stephen> Anyone using synth?
[12:37:33] *** josh has joined #angularjs
[12:37:52] *** josh has quit IRC
[12:37:53] *** VeeWee has joined #angularjs
[12:38:23] <Stephen> Ran into it tonight.
[12:38:48] *** josh has joined #angularjs
[12:40:10] *** josh has joined #angularjs
[12:40:23] <callmekatootie> that backend designed for angularjs apps right? Came across on an AngularJS video on youtube today. Need to check it out too.
[12:40:29] *** vire has quit IRC
[12:40:43] *** ceephax has quit IRC
[12:41:11] <callmekatootie> seems to have a convention over configuration approach
[12:41:20] *** ispuk has left #angularjs
[12:41:33] *** carlosmantilla has joined #angularjs
[12:41:33] <airtonix> i really want a nodejs implementation of django-tastypie
[12:41:39] *** ispuk has joined #angularjs
[12:41:54] <airtonix> restful api frameworks in nodejs have a long way to go imo
[12:42:08] *** MattWelch has joined #angularjs
[12:43:03] <caitp> rest really isn't that complicated
[12:44:20] <Stephen> What caitp said
[12:44:43] *** MathiasM has joined #angularjs
[12:45:13] *** fedenunez has quit IRC
[12:45:16] <airtonix> caitp: i beg to differ
[12:45:53] <Stephen> Though I do find generators helpful with angular. The single file approach just doesn't work for me, even when splitting between directives, controllers, etc.
[12:47:13] <airtonix> rate limiting, per object authorisation, nested resources, no asusmptions about db backend. I've yet to find a restful framework for node that does this without resulting in spaghetti code
[12:47:51] <airtonix> although i've come close with node-ext and jugglingdb
[12:49:09] *** sgnl has quit IRC
[12:49:23] <nCrazed> juggling your db sounds dangerous
[12:50:02] <callmekatootie> anybody have a preference on angular-once vs bind-once?
[12:50:33] <callmekatootie> Need to use it for an app that has lots of read-only data
[12:50:37] <callmekatootie> confused which one to chose
[12:51:44] *** negval has quit IRC
[12:52:09] *** Reptar has joined #angularjs
[12:53:12] *** Reptar has quit IRC
[12:53:29] *** Reptar has joined #angularjs
[12:54:33] *** slainer68_ftw has joined #angularjs
[12:54:42] *** bobreactor has joined #angularjs
[12:54:50] *** hekaronkiros has quit IRC
[12:55:08] *** bobreactor has quit IRC
[12:55:18] *** MathiasM has quit IRC
[12:57:10] *** tarnus has joined #angularjs
[12:59:14] *** mike123 has joined #angularjs
[12:59:32] <Al`> callmekatootie: was afk, thanks for the response - that sums it up perfectly :-)
[13:00:38] *** MattWelch has quit IRC
[13:01:38] *** tarnus has quit IRC
[13:01:43] *** MattWelch has joined #angularjs
[13:03:50] *** mike123 has quit IRC
[13:04:07] *** bobreactor has joined #angularjs
[13:04:19] *** mreq has joined #angularjs
[13:04:42] *** k-dawg has quit IRC
[13:05:30] *** bobreactor has quit IRC
[13:06:07] *** teddyp1c_ has joined #angularjs
[13:07:36] *** nodweber has quit IRC
[13:07:45] *** fels_zh has joined #angularjs
[13:08:41] *** teddyp1cker has quit IRC
[13:10:43] *** nodweber has joined #angularjs
[13:10:53] *** SonikBoom has joined #angularjs
[13:11:26] *** greengriminal has joined #angularjs
[13:11:56] *** ispuk has quit IRC
[13:13:11] <callmekatootie> Kamaljeet_: Do you have google chrome installed?
[13:13:31] *** MattWelch has quit IRC
[13:13:43] <Kamaljeet_> callmekatootie, No
[13:14:26] *** davorb has quit IRC
[13:14:31] *** Drako has joined #angularjs
[13:15:17] *** alpha080 has quit IRC
[13:15:21] *** mbrzuzy has joined #angularjs
[13:15:43] *** davorb has joined #angularjs
[13:16:23] <Kamaljeet_> callmekatootie, Why chrome only?
[13:16:55] *** tarkus has joined #angularjs
[13:17:19] <callmekatootie> I am not familiar with protractor
[13:17:22] *** lostInParadise has quit IRC
[13:17:31] <Kamaljeet_> callmekatootie, ok
[13:17:33] <callmekatootie> but the error says that it could not find the chrome binary
[13:18:04] <callmekatootie> So, I guess there is a setting which allows you to specify the browser
[13:18:12] <caitp> in your protractor config
[13:18:13] *** jaxtrx has joined #angularjs
[13:18:43] <Kamaljeet_> callmekatootie, Yes I feel it needs chrome as it checked it while running karma too.
[13:19:44] <caitp> neither karma or protractor need chrome
[13:19:46] <caitp> it's configurable
[13:19:52] <Kamaljeet_> caitp, ok
[13:20:46] *** jamto11 has joined #angularjs
[13:21:06] <callmekatootie> yeah. See the docs and find where you can change the browser - default seems to be chrome or ask someone here
[13:21:08] <caitp> you can also configure browsers with a CLI option
[13:21:22] *** MattWelch has joined #angularjs
[13:22:00] <Kamaljeet_> caitp, I need to know about protractor and karma as well... can you please give me a short description about what are they and when to use?
[13:22:11] *** gauravsaini03 has quit IRC
[13:22:17] *** sqwk has quit IRC
[13:22:19] <caitp> they're test runners
[13:22:27] *** foofoobar has joined #angularjs
[13:22:43] <caitp> you run them when you want to run tests that need browsers open
[13:23:25] <Kamaljeet_> caitp, Difference b/w both?
[13:23:58] *** shoelessone has joined #angularjs
[13:24:01] <caitp> protractor uses webdriver and can ask the browser to simulate real user interactions
[13:24:15] <caitp> so it can do certain things that unit tests can't do, but it's a bit flakier
[13:24:19] *** lewdev has quit IRC
[13:24:44] <caitp> karma doesn't use webdriver, it just launches a browser, loads and runs your tests, and notifies the backend periodically
[13:25:20] <caitp> so karma is sort of javascript-only, no real user interactions
[13:25:29] *** jamto11 has quit IRC
[13:25:55] <Kamaljeet_> caitp, For how long are you using AngularJS?
[13:26:00] *** hugofirth has joined #angularjs
[13:26:02] *** jaxtrx has quit IRC
[13:26:51] <caitp> 1.5 years now
[13:26:56] <Kamaljeet_> wow
[13:28:00] *** ccbmx is now known as fatshark
[13:28:13] *** shoelessone has quit IRC
[13:29:13] *** hekaronkiros has joined #angularjs
[13:30:09] *** danielpquinn has joined #angularjs
[13:30:29] *** Learner_ has joined #angularjs
[13:30:58] *** ianpirro has joined #angularjs
[13:31:22] *** komakino has quit IRC
[13:32:29] *** josh has quit IRC
[13:32:56] *** DrMabuse has joined #angularjs
[13:33:01] <Learner_> need help in reducing height and width of carousel-inner...
[13:33:07] <Learner_> any help
[13:33:43] *** josh has joined #angularjs
[13:34:26] *** gauravsaini03 has joined #angularjs
[13:34:31] *** danielpquinn has quit IRC
[13:34:46] *** josh has quit IRC
[13:35:07] *** ianpirro has quit IRC
[13:35:33] *** negval has joined #angularjs
[13:35:42] *** josh has joined #angularjs
[13:36:02] *** josh has quit IRC
[13:37:01] *** josh has joined #angularjs
[13:37:19] *** josh has quit IRC
[13:38:11] *** VeeWee has quit IRC
[13:38:16] *** josh has joined #angularjs
[13:38:36] *** josh has quit IRC
[13:39:17] *** mreq has quit IRC
[13:39:32] *** josh has joined #angularjs
[13:39:37] *** Learner_ has quit IRC
[13:39:52] *** josh has quit IRC
[13:40:23] *** foofoobar has quit IRC
[13:40:37] *** sqwk has joined #angularjs
[13:40:49] *** klaut has joined #angularjs
[13:40:53] *** josh has joined #angularjs
[13:40:53] *** slainer68_ftw has quit IRC
[13:41:11] *** josh has quit IRC
[13:41:52] *** Johnny13371337 has joined #angularjs
[13:42:12] *** josh has joined #angularjs
[13:42:16] <callmekatootie> twitter bootstrap?
[13:42:33] *** josh has quit IRC
[13:43:27] *** josh has joined #angularjs
[13:43:53] *** MattWelch has quit IRC
[13:44:24] *** mikedevita has joined #angularjs
[13:44:50] *** josh has joined #angularjs
[13:45:28] *** jaxtrx has joined #angularjs
[13:45:43] *** klaut has quit IRC
[13:46:02] *** josh has joined #angularjs
[13:46:23] *** josh has quit IRC
[13:46:51] *** DrMabuse has quit IRC
[13:47:21] *** josh has joined #angularjs
[13:48:40] *** josh has joined #angularjs
[13:48:58] *** mikedevita has quit IRC
[13:49:00] *** josh has quit IRC
[13:49:04] *** jk-5 is now known as jk-5|gone
[13:49:46] *** zwacky has joined #angularjs
[13:49:58] *** josh has joined #angularjs
[13:50:30] *** nukulb has joined #angularjs
[13:50:52] *** MattWelch has joined #angularjs
[13:51:16] *** josh has joined #angularjs
[13:51:40] *** Reptar has quit IRC
[13:51:50] *** foofoobar has joined #angularjs
[13:52:17] *** Reptar has joined #angularjs
[13:52:32] *** josh has joined #angularjs
[13:52:33] *** mylord has joined #angularjs
[13:52:54] *** josh has quit IRC
[13:53:49] *** josh has joined #angularjs
[13:54:11] <naquad> $resource doesn't return promises or its just me not seeing that in doc?
[13:54:25] *** jaxtrx has quit IRC
[13:55:05] *** josh has joined #angularjs
[13:55:28] *** josh has quit IRC
[13:55:36] *** _BlackMage_ has joined #angularjs
[13:56:24] *** josh has joined #angularjs
[13:57:20] *** Serdar has joined #angularjs
[13:57:45] *** josh has joined #angularjs
[13:58:10] <naquad> $resourced.get(...).$promise ... not very convient
[13:58:38] *** pluma has joined #angularjs
[13:59:01] *** josh has joined #angularjs
[13:59:21] *** josh has quit IRC
[13:59:46] *** tfennelly has quit IRC
[14:00:20] *** josh has joined #angularjs
[14:00:39] *** fixl has quit IRC
[14:00:39] *** josh has quit IRC
[14:00:45] *** tarnus has joined #angularjs
[14:00:54] *** Ir1sh has joined #angularjs
[14:00:55] <Ir1sh> godskitchen
[14:01:29] *** jk-5|gone has quit IRC
[14:01:37] *** josh has joined #angularjs
[14:02:56] *** josh has joined #angularjs
[14:03:17] *** josh has quit IRC
[14:03:32] *** TothAndras has quit IRC
[14:03:51] *** arizzo has joined #angularjs
[14:04:04] *** elrabin has joined #angularjs
[14:04:11] *** josh has joined #angularjs
[14:04:47] *** fakingfantastic has joined #angularjs
[14:04:51] *** tomphp has joined #angularjs
[14:05:42] *** josh has joined #angularjs
[14:05:50] *** josh has quit IRC
[14:05:57] *** quantax- has quit IRC
[14:06:13] *** rxdazn_ has joined #angularjs
[14:06:21] *** ceephax has joined #angularjs
[14:06:26] *** jk-5|gone has joined #angularjs
[14:06:50] *** josh has joined #angularjs
[14:06:54] *** wolfman2000 has quit IRC
[14:07:01] *** jeffisabelle has joined #angularjs
[14:07:05] *** SpearThruster has joined #angularjs
[14:07:10] *** josh has quit IRC
[14:07:18] *** rxdazn has quit IRC
[14:07:52] *** quantax- has joined #angularjs
[14:08:07] *** josh has joined #angularjs
[14:08:17] *** nodweber has quit IRC
[14:08:26] *** josh has quit IRC
[14:09:10] *** dutis has joined #angularjs
[14:09:20] *** josh has joined #angularjs
[14:10:17] *** iksik has quit IRC
[14:10:41] *** josh has joined #angularjs
[14:12:00] *** josh has joined #angularjs
[14:12:02] *** jr3 has joined #angularjs
[14:12:11] *** ispuk has joined #angularjs
[14:12:13] *** jaxtrx has joined #angularjs
[14:12:17] *** josh has quit IRC
[14:12:47] *** iksik has joined #angularjs
[14:13:14] *** josh has joined #angularjs
[14:14:13] *** devish has quit IRC
[14:14:27] *** fels_zh has quit IRC
[14:14:34] *** josh has joined #angularjs
[14:15:12] *** fels_zh has joined #angularjs
[14:15:43] *** zwacky has quit IRC
[14:15:48] *** soee_ has joined #angularjs
[14:15:51] *** josh has joined #angularjs
[14:16:10] *** josh has quit IRC
[14:16:13] *** soee has quit IRC
[14:18:40] *** King has joined #angularjs
[14:19:00] *** OliverJAsh has joined #angularjs
[14:19:04] *** King is now known as Guest30685
[14:19:15] *** shinnya has quit IRC
[14:19:22] *** one_zero has quit IRC
[14:19:32] *** bobreactor has joined #angularjs
[14:19:58] *** Guest30685 has quit IRC
[14:20:05] *** fels_zh has quit IRC
[14:20:47] *** bobreactor has quit IRC
[14:20:58] *** lopex has joined #angularjs
[14:21:07] *** foofoobar_ has joined #angularjs
[14:21:08] *** evotuned has joined #angularjs
[14:21:24] *** Christer has joined #angularjs
[14:21:24] *** Christer has joined #angularjs
[14:21:25] *** vire has joined #angularjs
[14:23:13] *** artemk has quit IRC
[14:23:39] *** dariocravero has joined #angularjs
[14:23:56] *** foofoobar has quit IRC
[14:24:10] *** devish has joined #angularjs
[14:24:23] *** Stephen has quit IRC
[14:24:36] *** shinnya has joined #angularjs
[14:25:45] *** rchavik has joined #angularjs
[14:25:53] *** evotuned has quit IRC
[14:26:08] *** bobreactor has joined #angularjs
[14:26:23] *** negval has quit IRC
[14:27:09]
<Kamaljeet_> caitp, I am done with this tutorial first page: https://docs.angularjs.org/tutorial/ All commands are running ok. But npm test was taking so long and I lost my patience :P
[14:27:30] *** bobreactor has quit IRC
[14:29:06] *** Reptar has quit IRC
[14:30:48] *** danielpquinn has joined #angularjs
[14:31:40] *** ianpirro has joined #angularjs
[14:33:50] *** n00bdy has quit IRC
[14:33:55] *** mreq has joined #angularjs
[14:34:04] *** n00bdy has joined #angularjs
[14:35:18] *** danielpquinn has quit IRC
[14:36:56] *** ianpirro has quit IRC
[14:36:58] *** sdarby2000 has quit IRC
[14:37:40] *** tmrudick has joined #angularjs
[14:38:19] *** klaut has joined #angularjs
[14:38:43] *** dancek has quit IRC
[14:38:55] *** mehlah has joined #angularjs
[14:40:44] *** dmexs has joined #angularjs
[14:42:21] *** SpearThruster has quit IRC
[14:42:41] *** jaxtrx has quit IRC
[14:42:48] *** ispuk has quit IRC
[14:44:17] *** nodweber has joined #angularjs
[14:44:31] *** plitzenberger has joined #angularjs
[14:44:58] *** ceephax has quit IRC
[14:46:15] *** thevishy has joined #angularjs
[14:46:21] *** kwaledesign has joined #angularjs
[14:47:01] *** intellix has joined #angularjs
[14:47:44] *** rhp has quit IRC
[14:48:52] *** dariocravero has quit IRC
[14:49:53] *** bobreactor has joined #angularjs
[14:50:00] <Kamaljeet_> caitp, So I got that the first page runs the app on my system and further tutorial explains it :P
[14:50:03] *** disorder20 has quit IRC
[14:50:19] *** sdarby2000 has joined #angularjs
[14:51:14] *** bobreactor has quit IRC
[14:51:30] *** ispuk has joined #angularjs
[14:51:31] *** tomphp has quit IRC
[14:51:39] *** eldina_ has joined #angularjs
[14:51:42] *** melmoussaoui has joined #angularjs
[14:52:15] *** bobreactor has joined #angularjs
[14:52:25] *** tomphp has joined #angularjs
[14:53:36] *** soee_ is now known as soee
[14:54:00] *** fakingfantastic has quit IRC
[14:54:59] *** sdarby2000 has quit IRC
[14:55:06] *** _BlackMage_ has quit IRC
[14:55:08] *** nodweber has quit IRC
[14:57:45] *** jaxtrx has joined #angularjs
[14:58:53] *** pscanf has joined #angularjs
[14:59:47] *** Reptar has joined #angularjs
[14:59:52] *** Kamaljeet_ has left #angularjs
[15:00:01] *** tmrudick has quit IRC
[15:00:33] *** tmrudick has joined #angularjs
[15:00:48] *** rburns has joined #angularjs
[15:01:09] *** jaxtrx has quit IRC
[15:02:38] *** dutis has quit IRC
[15:04:11] *** Reptar has quit IRC
[15:04:44] *** apetro__ has joined #angularjs
[15:05:32] *** tmrudick has quit IRC
[15:06:26] *** sdarby2000 has joined #angularjs
[15:06:55] *** Christer has quit IRC
[15:07:37] *** arizzo has quit IRC
[15:07:52] *** caruso has joined #angularjs
[15:07:55] *** rocahenry has joined #angularjs
[15:08:13] *** arizzo has joined #angularjs
[15:08:58] *** danecando has joined #angularjs
[15:10:15] *** glosoli has quit IRC
[15:10:26] *** TothAndras has joined #angularjs
[15:11:29] *** illume has joined #angularjs
[15:11:52] *** cdnikola has joined #angularjs
[15:12:00] *** arizzo has quit IRC
[15:12:03] *** DerekPerkins has joined #angularjs
[15:12:10] *** cdnikola has left #angularjs
[15:12:12] *** arizzo has joined #angularjs
[15:12:37] *** devish has quit IRC
[15:12:38] *** devish has joined #angularjs
[15:12:44] *** delight has joined #angularjs
[15:12:56] *** shoelessone has joined #angularjs
[15:13:59] *** sdarby2000 has quit IRC
[15:14:15] *** jk-5|gone has quit IRC
[15:14:53] *** davorb has quit IRC
[15:15:17] *** tomphp has quit IRC
[15:15:22] *** bobreactor has quit IRC
[15:15:48] *** dhval has quit IRC
[15:15:51] *** davorb has joined #angularjs
[15:16:09] *** Carsekyx has quit IRC
[15:16:52] *** tomphp has joined #angularjs
[15:17:33] *** shoelessone has quit IRC
[15:18:26] *** nukulb has quit IRC
[15:19:30] *** jk-5 has joined #angularjs
[15:19:54] *** quatron has joined #angularjs
[15:21:16] *** hugofirth has quit IRC
[15:21:18] *** nodweber has joined #angularjs
[15:21:32] *** jamto11 has joined #angularjs
[15:21:52] *** evotuned has joined #angularjs
[15:23:16] *** nodweber has quit IRC
[15:24:19] *** sqwk has quit IRC
[15:24:53] *** slainer68_ftw has joined #angularjs
[15:25:02] *** tomphp has quit IRC
[15:25:45] *** illume has quit IRC
[15:25:59] *** jamto11 has quit IRC
[15:26:28] *** evotuned has quit IRC
[15:27:03] *** SuRfDeMoN has joined #angularjs
[15:27:06] *** _BlackMage_ has joined #angularjs
[15:27:32] *** sdarby2000 has joined #angularjs
[15:27:33] *** mylord has quit IRC
[15:28:39] *** tmrudick has joined #angularjs
[15:29:16] *** dasraab has quit IRC
[15:29:16] *** caruso has quit IRC
[15:29:41] *** artemk has joined #angularjs
[15:30:42] *** lostInParadise has joined #angularjs
[15:31:41] *** danielpquinn has joined #angularjs
[15:32:04] *** elrabin has quit IRC
[15:32:17] *** slainer68_ftw has quit IRC
[15:32:30] *** ianpirro has joined #angularjs
[15:32:43] *** elrabin has joined #angularjs
[15:33:51] *** klaut has quit IRC
[15:34:29] *** Rahul_Roy has quit IRC
[15:34:47] *** TothAndras has quit IRC
[15:35:24] *** TothAndras has joined #angularjs
[15:36:15] *** danielpquinn has quit IRC
[15:36:43] *** ianpirro has quit IRC
[15:36:44] *** slainer68_ftw has joined #angularjs
[15:36:58] *** mike123 has joined #angularjs
[15:37:23] *** elrabin has quit IRC
[15:37:24] *** wolfman2000 has joined #angularjs
[15:37:57] *** taion809_ is now known as taion809
[15:39:04] *** arizzo_ has joined #angularjs
[15:39:26] *** doodlehaus has joined #angularjs
[15:39:27] *** sdarby2000 has quit IRC
[15:39:40] *** TothAndras has quit IRC
[15:41:47] *** arizzo has quit IRC
[15:42:09] *** my_chiguai has joined #angularjs
[15:42:42] *** fedenunez has joined #angularjs
[15:44:04] *** jk-5 has quit IRC
[15:44:16] *** mary5030 has joined #angularjs
[15:46:43] *** hugofirth has joined #angularjs
[15:46:48] *** dasraab has joined #angularjs
[15:46:50] *** hugofirth has quit IRC
[15:46:58] *** mikedevita has joined #angularjs
[15:47:06] *** negval has joined #angularjs
[15:48:19] *** mylord has joined #angularjs
[15:49:02] *** jk-5 has joined #angularjs
[15:49:18] *** ispuk has quit IRC
[15:51:15] *** sdarby2000 has joined #angularjs
[15:51:43] *** mikedevita has quit IRC
[15:52:08] *** rburns has quit IRC
[15:53:02] *** cristatus has joined #angularjs
[15:54:45] <cristatus> just curious to know
[15:54:51] <cristatus> what's the status of ng2
[15:54:51] <cristatus> ?
[15:55:06] <cristatus> anyone from angular team?
[15:57:12] *** J0514H has joined #angularjs
[15:59:54] *** charuru has joined #angularjs
[16:03:42] *** gaboesquivel has joined #angularjs
[16:04:50] *** mary5030 has quit IRC
[16:04:55] *** hswolff has joined #angularjs
[16:05:44] *** arizzo has joined #angularjs
[16:06:37] *** dancek has joined #angularjs
[16:06:45] *** delight has quit IRC
[16:07:11] *** yoshokatana has joined #angularjs
[16:07:17] *** r0ok has quit IRC
[16:07:20] *** arizzo__ has joined #angularjs
[16:07:20] *** Brocken is now known as zz_Brocken
[16:07:42] *** JoeGaudet has joined #angularjs
[16:08:32] *** doodlehaus has quit IRC
[16:08:41] *** narutimateum2 has quit IRC
[16:09:06] *** doodlehaus has joined #angularjs
[16:09:41] *** doodlehaus has quit IRC
[16:09:47] *** doodlehaus has joined #angularjs
[16:09:53] *** arizzo_ has quit IRC
[16:10:21] *** arizzo has quit IRC
[16:10:25] *** doodlehaus has quit IRC
[16:10:58] *** devish has quit IRC
[16:10:59] *** doodlehaus has joined #angularjs
[16:12:01] *** lyanchih has joined #angularjs
[16:13:18] *** dhval_ has quit IRC
[16:13:39] *** rxdazn_ has quit IRC
[16:14:46] *** Gambit- has quit IRC
[16:15:13] *** Gambit- has joined #angularjs
[16:15:22] *** doodlehaus has quit IRC
[16:15:45] *** fels_zh has joined #angularjs
[16:16:33] *** k-dawg has joined #angularjs
[16:17:28] *** komakino has joined #angularjs
[16:17:41] *** sdarby2000 has quit IRC
[16:17:58] *** rxdazn has joined #angularjs
[16:18:44] *** Serdar has quit IRC
[16:18:53] *** DerekPerkins_ has joined #angularjs
[16:19:04] *** eldina_ has quit IRC
[16:20:32] *** DerekPerkins has quit IRC
[16:20:35] *** tmrudick has quit IRC
[16:20:56] *** fels_zh has quit IRC
[16:21:07] *** tmrudick has joined #angularjs
[16:22:38] *** evotuned has joined #angularjs
[16:23:55] *** caitp has quit IRC
[16:25:01] *** callmekatootie has quit IRC
[16:25:47] *** tmrudick has quit IRC
[16:27:13] *** evotuned has quit IRC
[16:30:21] *** sdarby2000 has joined #angularjs
[16:30:24] *** ianpirro has joined #angularjs
[16:30:31] *** dve has joined #angularjs
[16:31:06] *** lobo78 has joined #angularjs
[16:31:34] *** nodweber has joined #angularjs
[16:32:21] *** danielpquinn has joined #angularjs
[16:33:20] *** matiasow has joined #angularjs
[16:34:12] *** diffkid has quit IRC
[16:34:46] *** jrm2k6 has joined #angularjs
[16:36:12] *** ianpirro has quit IRC
[16:36:59] *** danielpquinn has quit IRC
[16:38:29] *** matiasow has quit IRC
[16:39:40] *** JoeGaudet has quit IRC
[16:41:06] *** jharbaugh has joined #angularjs
[16:41:14] *** carlosmantilla has quit IRC
[16:42:19] *** nodweber has quit IRC
[16:43:22] *** nodweber has joined #angularjs
[16:44:25] *** plitzenberger has quit IRC
[16:44:56] *** carlosmantilla has joined #angularjs
[16:45:50] *** dvcc has joined #angularjs
[16:47:00] *** fikst has joined #angularjs
[16:47:31] *** kwaledesign has quit IRC
[16:48:19] <thevishy> angular has a problem sorting by keys that have space ?
[16:48:21] *** oliver_ has quit IRC
[16:49:28] *** cam_y has joined #angularjs
[16:49:51] *** lostInParadise has quit IRC
[16:50:34] *** rxdazn has quit IRC
[16:50:37] *** TothAndras has joined #angularjs
[16:51:32] *** mennea has quit IRC
[16:52:24] *** devish has joined #angularjs
[16:53:29] *** devish has quit IRC
[16:53:29] *** devish has joined #angularjs
[16:53:53] <sacho> how do you figure
[16:54:19] *** lithiumjake has joined #angularjs
[16:54:37] *** d1val has quit IRC
[16:54:48] *** dhval has joined #angularjs
[16:54:51] *** elrabin has joined #angularjs
[16:54:59] *** nszceta has joined #angularjs
[16:55:00] *** ries has joined #angularjs
[16:55:29] *** my_chiguai has quit IRC
[16:56:43] *** richardbaker has joined #angularjs
[16:57:22] *** fikst has quit IRC
[16:57:34] *** skibinski has joined #angularjs
[16:58:06] *** klaut has joined #angularjs
[16:58:23] *** nukulb has joined #angularjs
[16:58:37] *** profelm has joined #angularjs
[16:58:42] *** stephen has joined #angularjs
[16:58:55] *** fikst has joined #angularjs
[16:59:03] *** jharbaugh has quit IRC
[16:59:20] *** gjaldon has joined #angularjs
[16:59:22] *** HypnotiX has quit IRC
[16:59:29] *** dcrk has joined #angularjs
[16:59:40] <dcrk> Hello :)
[16:59:49] *** fikst has quit IRC
[16:59:54] <stephen> Morning
[16:59:54] *** ispuk has joined #angularjs
[17:00:00] *** johnie has joined #angularjs
[17:00:16] <dcrk> I am having this bizzare thing when karma runs (jasmine) tests xdescribe is also run. Anyone bumped into this before?
[17:01:14] *** Khruu has quit IRC
[17:01:18] *** J0514H has quit IRC
[17:01:31] <dcrk> even weirder - I can save the same file to start a new run and it will not run it, then trigger a couple time more and it will run.
[17:01:33] *** olivererxleben has joined #angularjs
[17:01:35] *** MTGap has joined #angularjs
[17:01:55] *** shoelessone has joined #angularjs
[17:02:21] *** BillCriswell has joined #angularjs
[17:02:38] *** mike123 has quit IRC
[17:02:50] *** Khruu has joined #angularjs
[17:02:58] <stephen> dcrk: Sounds like something is holding the file open or still writing to it
[17:03:02] <stephen> Simple reboot may help?
[17:03:20] *** avree has joined #angularjs
[17:03:34] <dcrk> stephen: Let me try and use another editor
[17:03:39] *** johnie has quit IRC
[17:03:50] *** stayarrr has quit IRC
[17:04:15] <ispuk> Hey sorry anyway to recover the path of the root dir where index.html is located in config()?
[17:04:57] <ispuk> i tryed but i can't use $lcation inside config() :P
[17:05:07] *** johnie has joined #angularjs
[17:05:16] *** dvcc has quit IRC
[17:06:07] <stephen> ispuk: Services arent available in config. You'll need to find a Provider that supplies it
[17:06:23] *** shoelessone has quit IRC
[17:06:24] <dcrk> stephen: Not running on save in gedit XD I will restart. Thanks :)
[17:06:46] <ispuk> stephen: ok, can't i do something here when('/', {templateUrl: thisRootPath+'views/login_view.html'})
[17:06:46] <ispuk> ?
[17:06:56] *** fedenunez has quit IRC
[17:07:53] *** jrm2k6 has quit IRC
[17:07:57] *** dcrk has quit IRC
[17:07:59]
<johnie> Just starting out with angular. Anyone that can help me with a localstorage issue on https://github.com/johnie/checklist I'm trying to save the checkbox states but somehow I don't manage
[17:08:10] *** hychen has joined #angularjs
[17:08:21] <jaawerth> ispuk: are you trying to redirect to login for authentication purposes?
[17:09:07]
<ispuk> jaawerth: nope the problem is i get redirected from github pages and routeProvider once redirected is unable to load partials -> http://ispuk.github.io/supercss
[17:09:30] *** mgolawala has joined #angularjs
[17:10:24] *** amargherio has joined #angularjs
[17:11:05] *** dve has quit IRC
[17:11:23] *** elrabin has quit IRC
[17:12:04] *** drej has joined #angularjs
[17:12:09] *** bmac has joined #angularjs
[17:12:15] *** cam_y has quit IRC
[17:14:18] *** lithiumjake has quit IRC
[17:14:28] <ispuk> jaawerth: can you help me ? :)
[17:14:34] *** melmoussaoui has quit IRC
[17:14:37] <jaawerth> ispuk: Just took a look at it in dev tools
[17:14:47] *** davorb has quit IRC
[17:14:49] *** alphonse23 has joined #angularjs
[17:15:06] <jaawerth> ispuk: I'm not quite sure I'm clear on what you need, but - do you need it to pull /supercss/views/home/index.html instead of /views/home/index.html? Is that t problem?
[17:15:12] <ispuk> jaawerth: already done, the problem is that the gh-pages is redirecting me mmm probably i should fix that instead of angular ok let me search a little bit :)
[17:15:18] <masak> I can see the use for the post-link function... but when would the pre-link function be useful?
[17:15:20] *** apetro__ has quit IRC
[17:15:29] <jaawerth> ispuk: Yeah, that's what I thought - the 301
[17:15:36] <jaawerth> that's going to be a server side config thing
[17:15:58] *** davorb has joined #angularjs
[17:16:03] <ispuk> jaawerth: yeah, i mean github.ispuk.io/projectname redirects to github.ispuk.io/ and i don't know why, so that angular is unable to load partials
[17:16:11] <ispuk> yeah indeed
[17:16:12] <ispuk> mmm
[17:16:17] <jaawerth> basically you need to get it to redirect to your appropriate index.html and then append something like /#/rest/of/your/path
[17:16:21] *** diffalot has quit IRC
[17:16:38] <eighty4> oh, you're able to host angular apps just fine on github right?
[17:16:48] * eighty4 realizes github should be a good angular host
[17:17:06] *** FesterCluck has joined #angularjs
[17:17:13] *** zivester has joined #angularjs
[17:17:19] <ispuk> eighty4: seems yes :P
[17:17:26] *** stephen is now known as Guest12917
[17:17:29] *** TyrfingMjolnir has quit IRC
[17:17:38] *** FesterCluck is now known as stephen
[17:17:45] <ispuk> but its a static website documentation
[17:17:47] <jaawerth> one would think so
[17:17:51] <ispuk> without any backend code :P
[17:18:07] <eighty4> ispuk: you seem to have some problems sure, but that's just temporarly
[17:18:31] <ispuk> eighty4: yes , i can't find solutions for why github redirects uhmm
[17:18:40] *** shinnya has quit IRC
[17:18:55] *** diffalot has joined #angularjs
[17:19:22] *** rxdazn has joined #angularjs
[17:19:34] *** lobo78 has quit IRC
[17:19:43] *** DerekPerkins_ has quit IRC
[17:20:20] *** Guest12917 has quit IRC
[17:20:21] *** dve has joined #angularjs
[17:20:49] *** apetro__ has joined #angularjs
[17:20:50] <jaawerth> ispuk: what does your config currently look like?
[17:21:29] <ispuk> this is :)
[17:21:45] *** apetro__ has quit IRC
[17:22:13] *** BillCriswell has quit IRC
[17:22:35] *** jamto11 has joined #angularjs
[17:22:38] *** apetro__ has joined #angularjs
[17:22:51] *** DerekPerkins has joined #angularjs
[17:23:17] *** evotuned has joined #angularjs
[17:23:43] *** rxdazn has quit IRC
[17:23:46] *** cam_y has joined #angularjs
[17:24:10] <jaawerth> okay, and I see the views/home/index.html is getting a 404 in dev tools.. oh, I get what you need now
[17:24:46] <ispuk> jaawerth: exactly causemain url redirects 301
[17:24:48] <ispuk> :(
[17:25:37] *** hswolff has quit IRC
[17:25:39] *** dhval_ has joined #angularjs
[17:26:04] <jaawerth> there are two ways you can do this
[17:26:04] *** dhval__ has joined #angularjs
[17:26:44] *** Jae is now known as JaeDesign
[17:26:45] <jaawerth> one, in your main index.html page (the one with your ng-app in it), you can add this to the head: <base href="/supercs/" />
[17:26:47] <ispuk> jaawerth: sure
[17:27:04] <ispuk> jaawerth: oh right!!!!!! i forgot it!!!! thanks let me try
[17:27:05] *** jamto11 has quit IRC
[17:27:20] *** slainer68_ftw has quit IRC
[17:27:22] *** cthrax has joined #angularjs
[17:27:33] <jaawerth> or in your config you can just set a variable that contains your path prefix right in .config
[17:27:45] <jaawerth> (whoops, sorry for the redundant sentence there, heh0
[17:28:12] *** lobo78 has joined #angularjs
[17:28:32] *** evotuned has quit IRC
[17:28:37] *** kwaledesign has joined #angularjs
[17:29:55] *** dhval_ has quit IRC
[17:30:04] *** admix|away is now known as admix
[17:30:30] *** lobo78 has quit IRC
[17:30:48] *** Bade has joined #angularjs
[17:31:25] *** Ir1sh has quit IRC
[17:31:39] *** gaboesquivel has quit IRC
[17:32:06] *** Ir1sh has joined #angularjs
[17:32:39] *** Kavu has joined #angularjs
[17:33:08] *** jr3 has quit IRC
[17:33:13] *** danielpquinn has joined #angularjs
[17:33:32] *** lobo78 has joined #angularjs
[17:34:21] <ispuk> mmm something strange
[17:34:29] *** gjaldon has quit IRC
[17:34:55] <jaawerth> try using relative paths instead of absolute paths
[17:35:00] *** Kavu has quit IRC
[17:35:15] *** lobo78 has quit IRC
[17:35:36] *** Kavu has joined #angularjs
[17:35:57] <jaawerth> ispuk: so href="buttons" instead of "/buttons"
[17:36:15] <ispuk> jaawerth: really? :) diddn't know let me try :)
[17:36:31] *** Ir1sh has quit IRC
[17:36:48] *** ianpirro has joined #angularjs
[17:37:52] *** danielpquinn has quit IRC
[17:38:21] *** postitnote has joined #angularjs
[17:38:43] *** johnie has quit IRC
[17:40:08] <jaawerth> ispuk: you aren't going to be able to browse directly to an html5-mode URL without being able to alter server parameters
[17:41:03] <ispuk> jaawerth: it could be mmm think is it better to turn false the html5 ? :P
[17:41:11] *** mfunkie_____ has joined #angularjs
[17:41:11] <ispuk> maybe using classic #hashbang urls?
[17:41:14] *** ianpirro has quit IRC
[17:41:22] *** pscanf has quit IRC
[17:41:39] <jaawerth> Yeah, if you want deep linking that's what you'll have to do. By which I mean, otherwise you won't be able to load the subpaths directly from an external link or from a bookmark
[17:42:10] <ispuk> jaawerth: great i'll turn to basic hashbangs :P at the end its not bad at all :P
[17:42:23] <jaawerth> think about it, if the server gets a request for ispuk.github.io/supercss/layouts, it's going to look for that file directly and it won't know to load angular and let angular handle the routes
[17:42:36] *** recidive has joined #angularjs
[17:42:45] <ispuk> jaawerth: indeed right :)
[17:42:57] <jaawerth> haha, just checking ;-)
[17:43:15] <ispuk> *good bless find & replace*
[17:43:27] *** jr3 has joined #angularjs
[17:43:28] *** mrwn has joined #angularjs
[17:43:52] *** dalinaum has quit IRC
[17:43:57] <ispuk> jaawerth: ouu yeah, feel free to contribute man i'm not an expert feel free on that repo!!
[17:46:11] *** arizzo has joined #angularjs
[17:46:19] <jaawerth> you should be good once you give the rest of the links relative paths and have html5mode disabled
[17:46:35] *** bmac has quit IRC
[17:46:47] *** lightyear has quit IRC
[17:46:48] *** profelm has quit IRC
[17:46:55] <ispuk> jaawerth: yeah i'm going to push in a while lets see :P
[17:46:56] *** jonorou has joined #angularjs
[17:47:14] *** SpearThruster has joined #angularjs
[17:47:57] *** valli_ has joined #angularjs
[17:48:23] *** arizzo__ has quit IRC
[17:48:42] *** arizzo_ has joined #angularjs
[17:48:44] *** mikedevita has joined #angularjs
[17:48:58] *** dalinaum has joined #angularjs
[17:49:24] *** Kavu has left #angularjs
[17:49:45] *** maveneagle has joined #angularjs
[17:50:08] *** carlosmantilla has quit IRC
[17:50:29] *** Bade has quit IRC
[17:51:14] *** pscanf has joined #angularjs
[17:51:25] <jaawerth> nice!
[17:51:53] *** desmond has joined #angularjs
[17:51:56] <desmond> Hello
[17:51:57] *** instence_ has quit IRC
[17:52:14] <desmond> How can I have decent console output on chrome?
[17:52:39] *** arizzo has quit IRC
[17:52:39] *** klaut has quit IRC
[17:52:47] *** johnie has joined #angularjs
[17:53:02] <desmond> For example, if angular fails to instantiate a model, on google chrome, it just says "Uncaught object" with the traceback being angularjs throwing the exception
[17:53:21] *** caitp has joined #angularjs
[17:53:29] <desmond> on firefox, it gives me good debug messages. Failed to instantiate module '...' due to: .... "Module '......' is not available!"
[17:53:31] *** mikedevita has quit IRC
[17:53:44] <ispuk> jaawerth: thanks and seriously help me if you want i just putted that there for everyone
[17:54:05] *** lightyear has joined #angularjs
[17:54:09] <ispuk> Deseaus: do you use angular.min? for debugging you should use not the min
[17:54:11] <jaawerth> No problem. And I gladly would if I had time, but sadly I do not ;-)
[17:54:13] <desmond> how can I get that on chrome? the fact that I get no angularjs debug messages makes chrome an unusable development browser
[17:54:15] <ispuk> afaik
[17:54:23] <desmond> I don't use the minified file, I use the full file
[17:54:28] <ispuk> jaawerth: ehehe sure ;)
[17:54:46] <ispuk> desmond: thats weird mmm
[17:54:49] <desmond> I do concatinate all my application layer javascript into one lib.js file though, without minifying.
[17:54:51] <desmond> Could that be the issue?
[17:54:55] *** Abhijit has joined #angularjs
[17:55:12] *** Abhijit has left #angularjs
[17:55:13] <ispuk> desmond: there is a chrome extension for angular debugging afaik
[17:55:24] <desmond> angular batarang? that hasn't been updated in forever
[17:56:25] *** mdix has joined #angularjs
[17:56:40] *** snurfery-mobile has joined #angularjs
[17:57:11] *** calumet has quit IRC
[17:57:18] <snurfery-mobile> Mwahaha, finally installed an android irc client
[17:57:38] *** leonprou has joined #angularjs
[17:57:50] <snurfery-mobile> Now my productivity can be terrible on the go
[17:57:55] *** caitp has quit IRC
[17:58:06] <snurfery-mobile> Morning yall
[17:58:13] *** mennea has joined #angularjs
[17:58:39] *** evilaliv3 has quit IRC
[17:59:49] *** mrwn has quit IRC
[17:59:57] *** desmond has quit IRC
[18:00:13] *** desmond has joined #angularjs
[18:02:02] *** Sijdesign has joined #angularjs
[18:02:40] *** dasraab has quit IRC
[18:02:59] *** mfunkie_____ has quit IRC
[18:03:18] *** AndChat|107604 has joined #angularjs
[18:04:47] *** cthrax has quit IRC
[18:05:24] *** evilaliv3 has joined #angularjs
[18:05:39] *** snurfery-mobile has quit IRC
[18:05:46] *** roymiloh has joined #angularjs
[18:06:20] *** dasraab has joined #angularjs
[18:08:09] *** mike123 has joined #angularjs
[18:08:40] *** pHcF has joined #angularjs
[18:09:22] *** melmoussaoui has joined #angularjs
[18:09:35] *** apetro__ has quit IRC
[18:09:40] *** jharbaugh has joined #angularjs
[18:10:37] *** lyanchih has quit IRC
[18:11:08] *** LinksEz1 has quit IRC
[18:11:53] *** lyanchih_ has joined #angularjs
[18:12:42] *** jonorou has quit IRC
[18:13:12] *** J0514H has joined #angularjs
[18:13:55] *** jharbaugh has quit IRC
[18:14:03] *** rocahenry has quit IRC
[18:15:05] *** ispuk has quit IRC
[18:15:11] *** Deseaus has quit IRC
[18:15:18] *** mreq has quit IRC
[18:15:28] *** kwaledesign has quit IRC
[18:15:56] *** rocahenry has joined #angularjs
[18:16:24] *** fels_zh has joined #angularjs
[18:17:07] *** Bade has joined #angularjs
[18:17:46] *** johnie has quit IRC
[18:17:56] *** davi has quit IRC
[18:18:13] *** mgolawala has quit IRC
[18:18:14] *** mdix has quit IRC
[18:18:37] <roymiloh> Hey, what's the most recommended to deep into the angular's source code?
[18:18:47] *** mylord has quit IRC
[18:19:47] *** komakino has quit IRC
[18:19:53] *** quantax- has quit IRC
[18:19:55] *** rxdazn has joined #angularjs
[18:20:04] *** komakino has joined #angularjs
[18:21:05] *** fels_zh has quit IRC
[18:21:51] *** Bade has quit IRC
[18:23:08] *** rocahenry has quit IRC
[18:24:06] *** evotuned has joined #angularjs
[18:24:10] *** rxdazn has quit IRC
[18:24:22] *** ascarter has joined #angularjs
[18:24:40] *** naneau has joined #angularjs
[18:26:09] *** chrisramon has joined #angularjs
[18:26:13] *** beyondcreed has joined #angularjs
[18:26:14] *** beyondcreed has joined #angularjs
[18:27:00] *** delight has joined #angularjs
[18:27:19] *** apetro__ has joined #angularjs
[18:27:59] *** Yancy has joined #angularjs
[18:28:59] *** evotuned has quit IRC
[18:29:45] *** arabot has joined #angularjs
[18:30:35] *** avree has quit IRC
[18:30:53] *** diffalot has quit IRC
[18:30:56] *** evilaliv3 has quit IRC
[18:31:06] *** Raydiation has joined #angularjs
[18:31:12] *** lostInParadise has joined #angularjs
[18:31:26] <SFeser> Hey does anybody know how to inject $invalid or $valid into my unit test? I want to set $scope.searchForm.$valid = true; but when I run the test it says 'TypeError: 'undefined' is not an object (evaluating '$scope.searchForm.$valid = true')'
[18:31:28] <Raydiation> is there a way to reload the ng-view when using an <a href="#/my/route"
[18:32:05] *** KushS has joined #angularjs
[18:32:12] <Raydiation> if the url is already #/my/route
[18:32:32] *** diffalot has joined #angularjs
[18:33:59] *** danielpquinn has joined #angularjs
[18:34:26] *** mylord has joined #angularjs
[18:35:19] *** delight has quit IRC
[18:35:43] *** JaeDesign is now known as justjae
[18:38:00] *** ianpirro has joined #angularjs
[18:38:47] *** danielpquinn has quit IRC
[18:39:20] *** diffalot has quit IRC
[18:41:01] *** apetro__ has quit IRC
[18:41:22] *** arizzo_ has quit IRC
[18:41:55] *** ianpirro has quit IRC
[18:41:57] *** arizzo has joined #angularjs
[18:42:14] *** callmekatootie has joined #angularjs
[18:42:20] *** chr1stopher has joined #angularjs
[18:42:31] *** KushS has quit IRC
[18:42:36] *** KushS_ has joined #angularjs
[18:42:57] *** chr1stopher has left #angularjs
[18:43:19] *** mrwn has joined #angularjs
[18:44:46] *** jordandotdev has quit IRC
[18:45:06] *** diffalot has joined #angularjs
[18:45:07] *** k-dawg has quit IRC
[18:46:06] *** fakingfantastic has joined #angularjs
[18:46:33] *** arizzo has quit IRC
[18:46:46] *** jmstout has joined #angularjs
[18:47:13] *** Bade has joined #angularjs
[18:47:34] *** salah has joined #angularjs
[18:48:17] *** sdarby2000 has quit IRC
[18:48:19] *** dhval has quit IRC
[18:48:38] *** aust has joined #angularjs
[18:49:13] <salah> Hi. So I have used $sce.trustAsHtml() on a model and wants to parse this back to an default string, but I always get "Attempting to use an unsafe value in a safe context.". What do I need to do?
[18:49:29] *** Raydiation has quit IRC
[18:49:39] <aust> hey - quick question, just getting started. the getting started guide says "From within the Node.js installation directory, run the following command: npm install connect " - where is the installation directory?
[18:50:47] *** shoelessone has joined #angularjs
[18:52:02] *** richardbaker has quit IRC
[18:52:19] *** amargherio has quit IRC
[18:52:50] *** mylord has quit IRC
[18:53:19] *** laurensvanpoucke has joined #angularjs
[18:54:05] *** caitp has joined #angularjs
[18:54:59] *** shoelessone has quit IRC
[18:55:11] <BobbieBarker> what are you doin gaust?
[18:55:17] *** DerekPerkins has quit IRC
[18:55:21] *** Bade has quit IRC
[18:55:23] <BobbieBarker> that question is so out of context it makes it pretty hard to help you
[18:55:31] *** tomo__ has quit IRC
[18:55:49] <BobbieBarker> also that doesn't sound like an angular question
[18:55:52] *** davi has joined #angularjs
[18:55:53] <aust> i'm not sure yet, i'm literally on page 1 of the "getting started with angular" book
[18:56:05] <BobbieBarker> maybe read page 2 then try asking a question
[18:56:15] *** laurensvanpoucke has quit IRC
[18:56:17] *** rud has quit IRC
[18:56:23] <BobbieBarker> give the book a chance
[18:56:38] <aust> believe me, i've tried
[18:56:47] *** rburns has joined #angularjs
[18:56:49] *** laurensvanpoucke has joined #angularjs
[18:57:04] <callmekatootie> Not sure which book you are referring to
[18:57:16] <aust> pro AngularJS
[18:57:20] <callmekatootie> but it seems like it first asked you to install NodeJS
[18:57:27] <BobbieBarker> yeah
[18:57:29] <BobbieBarker> i'm consurfed
[18:57:33] <BobbieBarker> is teh book online some where
[18:57:33] <aust> yeah, i've installed node
[18:57:34] <callmekatootie> and then in the same folder where it was installed, it has asked you to run npm comman
[18:57:36] <BobbieBarker> so i can see what you're looking at
[18:57:37] <callmekatootie> command
[18:57:42] <roymiloh> In which stage, when I write ` $scope.string = "Hello!" ` the `string` property is added into $scope.$$watchers array?
[18:57:45] <callmekatootie> which is a bad idea
[18:57:47] *** dve has quit IRC
[18:58:06] <BobbieBarker> did you install npm globally?
[18:58:11] <aust> what is the better approach callmekatootie?
[18:58:23] <callmekatootie> As BobbieBarker asked
[18:58:29] <aust> yes, i've had npm on my machine for a while
[18:58:29] *** dve has joined #angularjs
[18:58:31] <BobbieBarker> install it globally broseph
[18:58:34] <callmekatootie> can you tell how nodejs was installed
[18:58:37] <BobbieBarker> that doesn't answyer the question
[18:58:42] <BobbieBarker> you can have it installed for ever.... locally
[18:58:43] *** caitp has quit IRC
[18:58:45] *** mike123 has quit IRC
[18:58:49] *** fakingfantastic has quit IRC
[18:58:50] <aust> yes, i installed it globally a while back
[18:58:54] <BobbieBarker> gj
[18:58:55] *** justjae is now known as justjae|slp
[18:59:06] <callmekatootie> ok. assuming that you can run npm in your command line from anywhere in your file structure
[18:59:15] *** desmond_ has joined #angularjs
[18:59:15] <callmekatootie> create a folder for your applications
[18:59:22] <callmekatootie> and inside that you run npm install connect
[18:59:25] <BobbieBarker> also roymilloh are you just asking a qusetion about how angular works?
[18:59:29] <BobbieBarker> or are you trying to do something
[18:59:51] <callmekatootie> yeah. roymiloh, did not make out the background of the question
[19:00:14] <roymiloh> callmekatootie: Just digging in the source code.
[19:00:20] <aust> gotcha. that's what i've done in the past, not sure why it wanted me to install it to the node folder, thought i might be missing something
[19:00:21] <BobbieBarker> BOOM callmekatootie and i have the hive mind this morning
[19:00:44] <aust> thanks bobbiebarker & callmekatootie
[19:00:50] <BobbieBarker> i'm here for you broseph
[19:00:53] *** sdarby2000 has joined #angularjs
[19:01:00] <BobbieBarker> if you're just getting started with angular and want to hit the ground running though
[19:01:06] <BobbieBarker> you may want to look at a yoeman generator
[19:01:08] *** laurensvanpoucke has quit IRC
[19:01:14] *** desmond has quit IRC
[19:01:15] <BobbieBarker> so you can get through setting up your enviroment and just start doing some shit
[19:01:24] <aust> ya, i've used one in the past, yo/grunt/bower etc
[19:01:34] <BobbieBarker> death to grunt, long live gulp!
[19:01:42] <aust> lol
[19:02:05] <aust> but my knowledge of angular has been very surface-y and hack-y, so i wanted to dive a little deeper and see how you're supposed to do it
[19:02:33] <BobbieBarker> well you can do your enviroment dozens of different ways
[19:02:38] <BobbieBarker> not everyone is on a mean stack
[19:02:41] *** Ir1sh has joined #angularjs
[19:02:43] <BobbieBarker> we use laravel on our back end
[19:02:48] <BobbieBarker> where i work
[19:02:59] <Al`> in a directive's link function, if no controller exists then what does the 'scope' param refer to?
[19:03:11] <Al`> is a new scope created on the fly?
[19:03:11] <aust> sure. makes sense, so moral of the story is what the book is telling me ins't "best practices." thanks again!
[19:03:14] <BobbieBarker> local schope
[19:03:26] *** dve has quit IRC
[19:03:26] <Al`> but if no isolate scope is declared either
[19:03:38] <Al`> would angular generate one?
[19:03:45] <BobbieBarker> well "best" practice as far as your development enviroment goes is what ever the fuck your project manager tells you lol
[19:04:02] *** bbankes has joined #angularjs
[19:04:07] <BobbieBarker> Al i believe so if you pass it scope as a dependency
[19:04:16] <BobbieBarker> i don't write a lot of directives tbh
[19:04:24] <Al`> oh ok thanks - I was just curious
[19:04:28] <BobbieBarker> i write the fuck out of some filters though
[19:04:29] <BobbieBarker> lol
[19:04:32] <Al`> :-)
[19:05:35] *** n00bdy has quit IRC
[19:05:44] *** shaisnir has joined #angularjs
[19:05:45] *** n00bdy has joined #angularjs
[19:05:52] *** melmoussaoui has quit IRC
[19:06:58] <aust> i'm my own project manager :) (two-person startup)
[19:07:05] *** diffalot has quit IRC
[19:07:31] <shaisnir> I have the angular (client) code inside a folder called 'Client' and the root is outside of it, so the local url to the index.html is inside the Client folder. So the url is localhost:3000/Client... how can I remove the /Client suffix?
[19:07:33] <callmekatootie> Al`: You had asked this earlier or was that someone else?
[19:07:45] <Al`> aha yes I was talking to you about it callme
[19:07:53] <Al`> I was going to ask you directly but thought you were away
[19:08:13] *** howitdo has quit IRC
[19:08:17] *** fels_zh has joined #angularjs
[19:08:35] <Al`> I asked what the scope referred to, but now I'm trying to figure out what happens if no scope is declared anywhere
[19:08:45] *** naneau has quit IRC
[19:08:54] <Al`> I wondered whether angular would generate a scope on the fly but I /think/ it's erroring
[19:09:00] <Al`> just playing around with it now
[19:09:04] <callmekatootie> shaisnir: Are you using AngularJS routes?
[19:09:12] <shaisnir> callmekatootie: Yep
[19:09:24] <callmekatootie> shaisnir: Check your route handler. You get a /Client only because for that view template, you have defined it so. Have a route of '/' that directs to the template in question
[19:10:03] <shaisnir> callmekatootie: abstract one?
[19:10:09] <shaisnir> I use $urlRouterProvider
[19:10:13] <callmekatootie> Al`: A directive always inherits the parent scope, unless you have defined a scope property - in which case it has a scope of its own
[19:10:19] *** dancek has quit IRC
[19:10:24] <callmekatootie> If there is no parent scope, then it inherits the rootScope
[19:10:26] <callmekatootie> IMO
[19:10:37] <BobbieBarker> there we go, i told you i don't write a lot of directives
[19:10:40] <Al`> ok because in the dummy app I'm writing atm I have nothing on my page but a directive
[19:10:48] <Al`> so there's no parent scope afaik
[19:10:56] <callmekatootie> Then the directive should have inherited the rootScope
[19:10:57] <Al`> and no isolate scope declared in the example I'm working on
[19:11:07] *** diffalot has joined #angularjs
[19:11:10] <Al`> aha that clears it up then :-)
[19:11:10] *** mike123 has joined #angularjs
[19:11:12] <callmekatootie> shaisnir: $urlRouteProvider?
[19:11:19] <Al`> thanks
[19:11:28] <callmekatootie> shaisnir: It looks like you are using Angular UI Route?
[19:11:36] <shaisnir> callmekatootie: Yes...
[19:11:54] <callmekatootie> I am not familiar with that library
[19:12:39] <shaisnir> callmekatootie: But it doesn't really matters because I don't want a specific handle for the '/' to view a specific template, I want that the whole website will be rooted to /Client/...
[19:12:45] *** aust has quit IRC
[19:13:33] *** dhval has joined #angularjs
[19:14:41] *** davorb has quit IRC
[19:15:47] *** sigurding has joined #angularjs
[19:16:04] *** davorb has joined #angularjs
[19:16:07] <callmekatootie> I seriously have no clue about that library - it should be like this. You define the path or url to be '/' and then the relevant template for that route
[19:16:49] *** ewooy has joined #angularjs
[19:17:20] *** foofoobar_ has quit IRC
[19:17:32] *** danecando has quit IRC
[19:17:55] *** dhval has quit IRC
[19:18:52] *** caitp has joined #angularjs
[19:19:37] *** lightyear has quit IRC
[19:22:09] *** arizzo has joined #angularjs
[19:22:58] *** DerekPerkins has joined #angularjs
[19:23:25] *** jamto11 has joined #angularjs
[19:23:46] *** knackebrod has joined #angularjs
[19:24:41] *** mike123 has quit IRC
[19:24:43] *** evotuned has joined #angularjs
[19:25:18] *** dcherman2 has joined #angularjs
[19:26:07] <SFeser> Hey does anybody know how to inject $invalid or $valid into my unit test? I want to set $scope.searchForm.$valid = true; but when I run the test it says 'TypeError: 'undefined' is not an object (evaluating '$scope.searchForm.$valid = true')'
[19:26:43] *** caitp has quit IRC
[19:27:00] *** sdarby2000 has quit IRC
[19:27:09] *** Sijdesign has quit IRC
[19:27:46] *** bbankes has quit IRC
[19:28:08] *** jamto11 has quit IRC
[19:28:53] *** dcherman has joined #angularjs
[19:29:27] *** evotuned has quit IRC
[19:29:31] *** shadowbroker has joined #angularjs
[19:30:08] *** chrisramon has quit IRC
[19:30:40] *** dcherman2 has quit IRC
[19:31:18] *** ianpirro has joined #angularjs
[19:31:21] *** wilmoore has joined #angularjs
[19:31:21] *** dcherman has quit IRC
[19:31:24] *** TothAndras has quit IRC
[19:31:58] *** dcherman has joined #angularjs
[19:32:38] *** TothAndras has joined #angularjs
[19:32:40] *** Foxandxss has joined #angularjs
[19:33:19] *** dcherman2 has joined #angularjs
[19:33:27] *** shadowbroker has quit IRC
[19:33:34] *** bbankes has joined #angularjs
[19:34:05] *** artemk has quit IRC
[19:34:45] *** danielpquinn has joined #angularjs
[19:35:43] *** ianpirro has quit IRC
[19:36:17] *** lightyear has joined #angularjs
[19:36:24] *** nodweber has quit IRC
[19:36:25] *** dmexs has quit IRC
[19:36:47] *** dcherman has quit IRC
[19:36:50] *** rq60 has joined #angularjs
[19:37:00] *** lightyear has quit IRC
[19:37:55] *** howitdo has joined #angularjs
[19:38:55] *** fels_zh has quit IRC
[19:38:56] *** TothAndras has quit IRC
[19:39:00] *** nukulb has quit IRC
[19:39:07] *** Yahkob has joined #angularjs
[19:39:19] *** sdarby2000 has joined #angularjs
[19:39:30] *** TothAndras has joined #angularjs
[19:39:50] *** danielpquinn has quit IRC
[19:40:06] *** foofoobar_ has joined #angularjs
[19:41:58] *** rchavik has quit IRC
[19:42:14] *** valli_ has quit IRC
[19:42:39] *** caitp has joined #angularjs
[19:42:41] *** komakino_ has joined #angularjs
[19:43:22] *** rburns has quit IRC
[19:43:44] *** J0514H has quit IRC
[19:43:59] *** subnl2 has joined #angularjs
[19:44:01] *** TothAndras has quit IRC
[19:44:59] *** mike123 has joined #angularjs
[19:45:46] *** n00bdy has quit IRC
[19:45:47] *** cam_y has quit IRC
[19:45:56] *** n00bdy has joined #angularjs
[19:45:57] *** komakino has quit IRC
[19:45:57] *** roymiloh has quit IRC
[19:47:42] *** marr has joined #angularjs
[19:47:44] *** roymiloh has joined #angularjs
[19:48:13] *** drej has quit IRC
[19:48:40] *** drej has joined #angularjs
[19:49:20] *** bmac has joined #angularjs
[19:49:27] *** mike123 has quit IRC
[19:49:56] <postitnote> ng-show="user.roles" shows a table listing the roles. ng-hide="user.roles" shows a message "user has no roles." When I push a new role onto $scope.user.roles it seems to not honor my "hiding" despite user.roles truthiness changing. What am I missing? Very new to angular, thanks :)
[19:50:14] *** hekaronkiros has quit IRC
[19:50:23] *** Yahkob has quit IRC
[19:50:23] *** mike123 has joined #angularjs
[19:50:34] *** nukulb has joined #angularjs
[19:50:40] <callmekatootie> give user.roles.length
[19:50:47] <callmekatootie> and not just user.roles
[19:51:05] *** mikedevita has joined #angularjs
[19:51:07] <roymiloh> How is $childHead changed? for exmaple, while the $digest process.
[19:51:36] <postitnote> callmekatootie: Thanks!
[19:51:41] *** lyanchih_ has quit IRC
[19:51:42] *** drej has quit IRC
[19:52:04] *** drej has joined #angularjs
[19:52:25] <postitnote> I just made such an awesome app in like NO time. Angular is ridiculous. Thanks again for your help.
[19:52:55] *** mercwithamouth has quit IRC
[19:53:03] *** nemothekid has joined #angularjs
[19:53:12] *** mnewton has joined #angularjs
[19:53:34] *** spencercarnage has joined #angularjs
[19:54:07] *** pscanf has quit IRC
[19:54:09] *** valli_ has joined #angularjs
[19:54:56] *** Christer has joined #angularjs
[19:55:03] *** fels_zh has joined #angularjs
[19:55:07]
<mnewton> hey guys, I have an array of elements that gets displayed on the screen, I want to remove an element by it's index. How do I do that when the elements get sorted as the new index is not the array index http://jsbin.com/piwinuku/6/edit
[19:55:21] *** spencercarnage has quit IRC
[19:55:43] <callmekatootie> postitnote: good for you
[19:55:52] <callmekatootie> mnewton: Does the sort happen through angular?
[19:56:03] *** arizzo_ has joined #angularjs
[19:56:05] *** postitnote has quit IRC
[19:56:10] *** zz_Brocken is now known as Brocken
[19:56:10] *** mikedevita has quit IRC
[19:56:15] *** hugofirth has joined #angularjs
[19:56:19] *** fouzko has joined #angularjs
[19:56:38] <mnewton> callmekatootie: yea, using an orderby filter
[19:57:04] *** ivymike has joined #angularjs
[19:57:17] *** kirfu has joined #angularjs
[19:57:19] *** komakino_ has quit IRC
[19:57:33] *** irc_ido has joined #angularjs
[19:57:49] <callmekatootie> mnewton: I was going to suggest you to use $index, but then I realized that it will not be helpful.
[19:58:08] <callmekatootie> mnewton: In such a case, it is better if your array has a unique field that identifies each element
[19:58:26] <irc_ido> hi, I jsut discovered that all my rootscope and my authentication token are gone as soon as a user opens a new window in the same browser. Is this correct?
[19:59:00] <callmekatootie> That is, if your array is an array of objects, attach a unique id to it. If it just simple string or number, then pass that to a function that will loop through the array and remove it manually
[19:59:12] *** drej has quit IRC
[19:59:18] *** spencercarnage has joined #angularjs
[19:59:38] *** arizzo has quit IRC
[19:59:42] <callmekatootie> irc_ido: There was a question here earlier if new windows share scope
[20:00:08] <irc_ido> callmekatootie: is there a transcript?
[20:00:28] <callmekatootie> irc_ido: and it turns out that it is possible - you have to be explicit about it though
[20:00:43] *** admix is now known as admix|away
[20:01:00] <callmekatootie> irc_ido: There are some SO answers on that - maybe you can google it out
[20:01:19] <callmekatootie> don't remember the link posted, not sure who posted it and who asked for it
[20:01:45] <irc_ido> yes I just found some. But this was quite a shock for me now. So much work, and now its completely rubbish.
[20:02:18] *** lyanchih has joined #angularjs
[20:02:24] *** spencercarnage has quit IRC
[20:02:40] *** mike123 has quit IRC
[20:02:53] *** knackebrod has quit IRC
[20:03:23] *** chrisramon has joined #angularjs
[20:04:38] *** J0514H has joined #angularjs
[20:04:40] *** mdix has joined #angularjs
[20:04:47] *** mike123 has joined #angularjs
[20:05:05] *** valli_ has quit IRC
[20:05:48] *** uipros has joined #angularjs
[20:06:01] <uipros> Hey guys, anyone know the best way to do redirectTo in UI-Router?
[20:06:30] *** lostInParadise has quit IRC
[20:06:38] <irc_ido> ok. They share some cookie.
[20:06:42] *** mike123 has quit IRC
[20:06:43] <uipros> Basically I have multiple URLs that all need to map to the same state ('/', 'index.html', '/home' all should render the home page)
[20:06:48] <irc_ido> uipros: $state.transitionTo("users");
[20:06:49] *** spencercarnage has joined #angularjs
[20:06:57] <uipros> I mean in the config
[20:07:38] *** spencercarnage has quit IRC
[20:07:59] *** irc_ido has left #angularjs
[20:09:28] *** richardbaker has joined #angularjs
[20:10:56] *** mreq has joined #angularjs
[20:13:22] *** subnl2 has quit IRC
[20:13:30] *** arizzo_ has quit IRC
[20:14:06] *** ivymike has quit IRC
[20:15:13] *** stephen has quit IRC
[20:15:25] *** KushS_ has quit IRC
[20:16:21] *** cam_y has joined #angularjs
[20:16:46] *** posicks has joined #angularjs
[20:17:41] <posicks> what is the best method to validate HTML before using $sce.trustAsHtml()? is there a built in validator I'm missing or any suggestions for one?
[20:18:31] *** stephen has joined #angularjs
[20:18:43] *** hikumealan has quit IRC
[20:19:07] *** foofoobar_ has quit IRC
[20:20:38] *** ghostbar has joined #angularjs
[20:20:46] *** mary5030 has joined #angularjs
[20:20:52] <snurfery> I might be shot for saying this
[20:21:08] <snurfery> but the jquery function does a great job of fixing up gnarly html
[20:21:14] *** cam_y has quit IRC
[20:21:16] *** hikumealan has joined #angularjs
[20:21:23] <snurfery> $('<span>')
[20:21:24] *** rxdazn has joined #angularjs
[20:21:25] <snurfery> that thing
[20:21:49] <snurfery> or perhaps angular's built-in jqLite can accomplish the same thing
[20:22:19] *** shaisnir has quit IRC
[20:22:21] *** nags has joined #angularjs
[20:22:24] *** rocahenry has joined #angularjs
[20:22:56] *** Freeman42 has joined #angularjs
[20:23:15] *** shaisnir has joined #angularjs
[20:23:37] <davek> posicks, validate in what way?
[20:24:08] *** ilmgb_ has quit IRC
[20:24:27] *** Freeman42x has quit IRC
[20:24:30] *** pineapple25 has joined #angularjs
[20:24:51] *** shaisnir_ has joined #angularjs
[20:24:55] *** shaisnir has quit IRC
[20:25:36] *** ilmgb has joined #angularjs
[20:25:51] *** lithiumjake has joined #angularjs
[20:26:07] *** rxdazn has quit IRC
[20:26:38] *** dancek has joined #angularjs
[20:27:42] <posicks> more so for XSS or other script injection
[20:28:15] <posicks> because I'm rendering a template which potentially could contain them
[20:28:24] *** jwoww has joined #angularjs
[20:28:39] <jwoww> Hello all, anyone here who can offer me some assistance
[20:28:48] *** jwoww is now known as Guest15561
[20:28:55] <Guest15561> hmmns
[20:29:06] *** Guest15561 has quit IRC
[20:29:25] *** jwowwz has joined #angularjs
[20:29:31] <jwowwz> sorry cant stand guest
[20:29:37] *** disorder20 has joined #angularjs
[20:29:51] *** shadowbroker has joined #angularjs
[20:30:26] *** stephen has quit IRC
[20:30:32] *** posicks has quit IRC
[20:31:15] *** drej has joined #angularjs
[20:31:16] *** jamto11 has joined #angularjs
[20:32:06] *** ianpirro has joined #angularjs
[20:32:10] *** mreq has quit IRC
[20:33:14] *** hychen has quit IRC
[20:35:05] *** posicks has joined #angularjs
[20:35:30] *** danielpquinn has joined #angularjs
[20:35:52] *** bmac has quit IRC
[20:36:19] *** ianpirro has quit IRC
[20:36:58] *** mzehrer_ has quit IRC
[20:37:05] *** lyanchih has quit IRC
[20:38:27] <Foxandxss> Fox and xss injection
[20:38:29] *** lostInParadise has joined #angularjs
[20:39:35] *** klaut has joined #angularjs
[20:39:51] *** danielpquinn has quit IRC
[20:39:51] *** shoelessone has joined #angularjs
[20:41:34] *** rq60 has quit IRC
[20:43:17] *** mrwn has quit IRC
[20:43:43] *** nszceta_ has joined #angularjs
[20:44:19] *** shoelessone has quit IRC
[20:44:21] *** mfunkie_____ has joined #angularjs
[20:44:44] *** sigurding has quit IRC
[20:45:11] *** salah has quit IRC
[20:45:59] *** hekaronkiros has joined #angularjs
[20:46:05] *** mfunkie_____ has quit IRC
[20:46:11] *** spencercarnage has joined #angularjs
[20:46:18] *** uipros has quit IRC
[20:46:25] *** spencercarnage has quit IRC
[20:46:49] *** nszceta has quit IRC
[20:47:07] *** devish has quit IRC
[20:47:18] *** dhval has joined #angularjs
[20:48:45] *** DrMabuse has joined #angularjs
[20:49:07] *** chrisbirk has joined #angularjs
[20:49:22] <davek> posicks, that's actually quite interesting. The docs have separate trustAsHTML and trustAsJS methods but there's no indication whether script elements parsed with a trusted HTML source are executed.
[20:50:46] *** Browser_ has quit IRC
[20:51:08] *** DrMabuse_ has joined #angularjs
[20:51:10] *** illume has joined #angularjs
[20:51:44] *** Reptar has joined #angularjs
[20:52:03] *** recidive has quit IRC
[20:53:29] *** nukulb has quit IRC
[20:53:39] *** DrMabuse has quit IRC
[20:53:47] *** jaxtrx has joined #angularjs
[20:53:50] <posicks> they are. If I escape the HTML on the server the scripts are not run but leads to a less than ideal client side (sorry for vague, just don't wanna drag us into minutia)
[20:54:13] <posicks> so trustAsHTML does just that, trust it…. which makes sense
[20:54:38] *** instence has joined #angularjs
[20:54:38] <davek> I'd expect it to trust the HTML content but not included script content.
[20:54:39] <posicks> but immediately vulenerable to XSS with shoddy client code
[20:55:37] <posicks> it would be nice, but the angular codebase would have to parse the html and strip any script tags which I think is beyond their intended scope for the function. I may be misunderstanding what you mean though
[20:56:00] *** dhval_ has joined #angularjs
[20:56:43] *** fouzko has quit IRC
[20:56:58] *** davi has quit IRC
[20:57:02] *** libsysguy has joined #angularjs
[20:57:10] *** fouzko has joined #angularjs
[20:57:37] *** milodigital has joined #angularjs
[20:57:38] <libsysguy> so I was watching the vids from ng-conf and I would like to gather any opinions on class injection via requirejs or browserify
[20:58:03] *** LuxuryMode has joined #angularjs
[20:58:05] <robdubya> it sicks
[20:58:07] <robdubya> *sucks even
[20:58:15] <robdubya> but never fear, fun new things are coming
[20:58:19] *** J0514H has quit IRC
[20:58:47] *** dmexs has joined #angularjs
[20:59:08] *** MathiasM has joined #angularjs
[20:59:38] *** lostInParadise has quit IRC
[21:00:04] *** shaisnir_ has quit IRC
[21:00:43] *** DerekPerkins has quit IRC
[21:00:56] *** milodigital has left #angularjs
[21:00:57] *** milodigital has joined #angularjs
[21:01:14] *** fouzko has quit IRC
[21:01:19] *** milodigital has left #angularjs
[21:01:39] *** milodigital has joined #angularjs
[21:01:58] <posicks> is it possible to bind the "template scope" of a directive to the object in an "ng-repeat"?
[21:02:03] *** user123 has joined #angularjs
[21:02:18] *** toriniaga has joined #angularjs
[21:02:37] <davek> posicks, if the directive in the repeat does not have isolate scope simply compiling the template with $compile(html)(scope) should work.
[21:02:49] *** TothAndras has joined #angularjs
[21:02:58] *** illume has quit IRC
[21:03:04] *** InezK_away is now known as InezK
[21:03:07] *** milodigital has quit IRC
[21:03:15] *** user123 has quit IRC
[21:03:16] <posicks> davek, thanks! I'm kinda new so directives are unfamiliar, but I think they may be a valid workaround
[21:03:18] *** partikus has joined #angularjs
[21:03:26] *** milodigital has joined #angularjs
[21:03:34] *** nodweber has joined #angularjs
[21:03:35] *** TorpedoSkyline has joined #angularjs
[21:03:52] *** dalinaum has quit IRC
[21:03:56] *** user1620696 has joined #angularjs
[21:04:05] *** jshsu has joined #angularjs
[21:04:41] *** SonikBoom has quit IRC
[21:04:42] <toriniaga> i have a list view that lists a set of blogs
[21:04:44] *** posicks has quit IRC
[21:04:52] <toriniaga> each item should be able to be editted
[21:05:21] <toriniaga> i’m planning to create a route for edit action to look like: /blog/{blogid}/edit
[21:05:37] <toriniaga> is it a good practice to include the action “edit” as part of the route itself?
[21:06:04] *** chrisramon has quit IRC
[21:06:15] *** ewooy has quit IRC
[21:06:34] *** RandomStranger- has joined #angularjs
[21:06:50] *** mreq has joined #angularjs
[21:07:24] *** Tentra has joined #angularjs
[21:07:43] *** sdarby2000 has quit IRC
[21:07:48] <davek> toriniaga, it's entirely up to you as the designer of the API. Or do you mean a client route?
[21:07:57] <davek> That seems totally sensible to me either way.
[21:08:01] *** JeroenGerits has joined #angularjs
[21:08:06] <toriniaga> client route - yeah
[21:08:12] *** AndChat|107604 has quit IRC
[21:08:14] <milodigital> looking for support (3-5 hrs / day) on a 6 month angular project. on-site in los angeles (burbank). hit me up if you're interested.
[21:08:27] *** KushS has joined #angularjs
[21:08:52] *** RandomStranger has quit IRC
[21:09:42] *** DerekPerkins has joined #angularjs
[21:09:51] <toriniaga> davek, for service APIs i know it’s not a good practice to include a verb as part of the route
[21:09:59] <toriniaga> wasn’t sure for client side routes
[21:10:06] *** calumet has joined #angularjs
[21:10:22] <davek> toriniaga, it really doesn't matter for either. It's all preference.
[21:10:23] *** chrisbirk has quit IRC
[21:10:43] <davek> Some APIs include specific verbs in their routes so that the client can interact with all resources through simple GET requests alone.
[21:10:47] *** robdubya has quit IRC
[21:11:23] <toriniaga> the REST principles state using HTTP verbs for that .. but anyhow
[21:11:44] *** bbankes has quit IRC
[21:11:52] *** cam_y has joined #angularjs
[21:11:53] <davek> The REST principles are principles and not rules. They are opinionated and, in many cases, impractical to implement.
[21:11:56] <jwowwz> anyone intrested in helping me with a itlle problem ?
[21:12:24] <davek> jwowwz, post the problem (corollary of don't ask to ask).
[21:12:35] *** sigurding has joined #angularjs
[21:12:46] <jwowwz> kk , just being polite :)
[21:13:29] <davek> And good on you too, just letting you know.
[21:13:48] *** tfennelly has joined #angularjs
[21:14:17] *** jordandotdev has joined #angularjs
[21:14:44] *** intellix has quit IRC
[21:14:49] *** nemothekid has quit IRC
[21:15:05] *** idvb has joined #angularjs
[21:15:08] *** davorb has quit IRC
[21:15:46] <jwowwz> ok the problem is that the number input us bitr set to the model vaule .... but updates / changes the model .... plus if i change it to a text field its all good ... any ideas (line 33)
[21:15:52] *** nemothekid has joined #angularjs
[21:15:53] <davek> jwowwz, plnkr is preferred if you wouldn't mind.
[21:16:08] <jwowwz> plnkr ?
[21:16:11] *** davorb has joined #angularjs
[21:16:13] <davek> plnkr.co
[21:16:23] <jwowwz> let me look
[21:16:31] <davek> Allows you to create a working (failing) model of your problem.
[21:16:33] *** n00bdy has quit IRC
[21:16:35] *** bmac has joined #angularjs
[21:16:41] *** n00bdy has joined #angularjs
[21:16:49] <callmekatootie> jwowwz: can't make out your problem. I mean could not understand what you have written
[21:17:00] <jwowwz> haha sorry
[21:17:48] *** MathiasM has quit IRC
[21:18:03] <jwowwz> ok the problem is that the number input (line 33) is set to the model value size.quantity .... it updates / changes the model but initialises without a value .... but if i change it to a text field its all good ... any ideas (line 33)
[21:18:14] <jwowwz> does that make it any better ?
[21:18:16] *** cam_y has quit IRC
[21:18:24] *** valli_ has joined #angularjs
[21:18:38] *** tfennelly has quit IRC
[21:18:54] *** dmexs has quit IRC
[21:19:54] *** MathiasM has joined #angularjs
[21:20:12] <callmekatootie> initializes without a value
[21:20:24] <callmekatootie> can you explain that part
[21:20:32] <callmekatootie> You mean the input is empty?
[21:20:44] *** olivererxleben has quit IRC
[21:20:55] *** dmexs has joined #angularjs
[21:20:58] *** sdarby2000 has joined #angularjs
[21:21:11] *** jhulten has joined #angularjs
[21:21:38] *** admix|away is now known as admix
[21:21:39] <davek> jwowwz, it initializes to null as all models do. Do you have min="0" set?
[21:21:46] *** gauravsaini03 has quit IRC
[21:22:05] <davek> Alternatively you could simply set the default value of the model yourself if this is an issue.
[21:22:08] *** pratik has joined #angularjs
[21:22:10] *** rxdazn has joined #angularjs
[21:22:12] <jwowwz> but if its a text field it works fiine
[21:22:29] *** cam_y_ has joined #angularjs
[21:22:33] <jwowwz> i tried <input type=number value={{size.quantity}}
[21:22:42] <jwowwz> is that what u mean ?
[21:23:14] <davek> jwowwz, yes but what is size.quantity set to initially?
[21:23:36] <jwowwz> its from a json file
[21:23:41] <jwowwz> so its unset
[21:23:43] <jwowwz> i guess
[21:23:49] <jwowwz> untill thge json is fetched
[21:24:09] <jwowwz> must i defind it in $scope ? first
[21:24:14] *** cam_y_ has quit IRC
[21:24:30] <jwowwz> i can display the quantity to teh screen fine
[21:24:33] *** Khruu has quit IRC
[21:24:40] <jwowwz> its littelry just the number input
[21:24:58] <davek> jwowwz, did you create a plnkr?
[21:25:13] <davek> It's difficult to give an answer without eliminating other sources of error.
[21:25:18] <jwowwz> im working on it .....trying to work out how i set up a json file
[21:25:42] *** Khruu has joined #angularjs
[21:26:17] <user1620696> Hello, I'm converting the JS code from a theme made with jQuery to AngularJS
[21:26:18] *** evotuned has joined #angularjs
[21:26:28] <davek> jwowwz, don't worry about the JSON you can simply create the object manually in the scope for this.
[21:26:32] *** ewooy has joined #angularjs
[21:26:37] *** dasraab has quit IRC
[21:26:39] <user1620696> and I'm in doubt on how some things should be done within angular
[21:26:54] <libsysguy> is anybody using browserify with angular?
[21:27:08] *** Reptar has quit IRC
[21:27:13] <jwowwz> ill let u know when im done dave, thanks for the help so far
[21:27:35] *** nodweber has quit IRC
[21:27:49] <davek> libsysguy, a couple of people have come through asking that. Virtually all of them returned several times to help fix issues related to that decision despite being dissuaded by many other people.
[21:27:50] *** kimmmm123 has joined #angularjs
[21:28:01] *** Reptar has joined #angularjs
[21:28:06] <milodigital> is there an easy way to clear the $http cache? i've got a $http({
[21:28:06] <milodigital> method: 'GET',
[21:28:06] <milodigital> url: Config.apiPath + '/providers',
[21:28:06] <milodigital> params: configObject,
[21:28:07] <milodigital> cache: true
[21:28:07] <milodigital> }) object that I need to reset after some other changes are made in another controller.
[21:28:15] *** rxdazn has quit IRC
[21:28:19] <libsysguy> I'm glad I asked before I started writing code against it then davek :p
[21:28:36] <davek> milodigital, please use a pastbin/plnkr for multiline code samples.
[21:28:37] <libsysguy> same deal with requirejs davek?
[21:28:50] *** pratik has left #angularjs
[21:28:59] *** sigurding has quit IRC
[21:29:01] <milodigital> davek, will do.
[21:29:03] <davek> libsysguy, nah some people have used requirejs successfully for large projects that require lazy loading modular components of the application.
[21:29:05] <davek> There are plenty of guides on that.
[21:29:19] *** Cronoh has quit IRC
[21:29:27] <user1620696> I'm in doubt mainly with a function "handleNavigation" used to initialize the functionality of dropdown menus
[21:29:38] <user1620696> On the jQuery version, this is a simple funciton that runs when the app initializes
[21:29:41] *** Asiajey has quit IRC
[21:30:14] <user1620696> But how this would be done on angularjs? I thought on using directives, but inside the function there are manipulations to other elements
[21:30:14] *** rocahenry has quit IRC
[21:30:24] *** mary5030 has quit IRC
[21:30:32] <user1620696> That are not part of the navigation directly, like resizing the main container
[21:30:40] *** dhval has quit IRC
[21:30:46] *** d1val has joined #angularjs
[21:31:00] *** mary5030 has joined #angularjs
[21:31:06] *** AndreasLutro has quit IRC
[21:31:06] *** intellix has joined #angularjs
[21:31:09] *** admix is now known as admix|away
[21:31:28] <user1620696> I thought on posting it on plnkr, but there's not really a problem, it's just really a design decision
[21:31:38] *** evotuned has quit IRC
[21:31:52] <davek> user1620696, I'd suggest referring to existing implementations of drop down menus like in ui-bootstrap. Otherwise there are a number of guides on how to communicate between related directives available.
[21:32:34] <milodigital> found the solution
[21:32:48] *** mtho11 has quit IRC
[21:32:51] *** ianpirro has joined #angularjs
[21:32:58] *** AndreasLutro has joined #angularjs
[21:33:14] *** morenoh152 has quit IRC
[21:33:40] *** r0ok has joined #angularjs
[21:34:12] *** dcherman has joined #angularjs
[21:34:27] <user1620696> darek, I'm already using ui-bootstrap, it aided me in converting most of the theme. This is more specific, should I post the function to make it easier to get advice ?
[21:34:46] *** J0514H has joined #angularjs
[21:34:53] *** rhp has joined #angularjs
[21:35:12] *** mary5030 has quit IRC
[21:35:33] *** rocahenry has joined #angularjs
[21:35:46] *** mary5030 has joined #angularjs
[21:35:58] *** akersof has quit IRC
[21:36:11] *** robdubya has joined #angularjs
[21:36:17] *** danielpquinn has joined #angularjs
[21:36:38] *** dcherman2 has quit IRC
[21:36:39] *** cam_y has joined #angularjs
[21:36:50] *** morenoh152 has joined #angularjs
[21:36:55] *** callmekatootie has quit IRC
[21:37:07] *** ianpirro has quit IRC
[21:37:10] *** mreq has quit IRC
[21:37:12] <davek> user1620696, I'd suggest changing your name as well, yes.
[21:37:35] <jwowwz> there u go davel
[21:37:38] <jwowwz> davek
[21:37:44] *** nodweber has joined #angularjs
[21:38:07] *** user1620696 is now known as jsdev
[21:38:37] *** jsdev is now known as daniel
[21:38:46] *** daniel is now known as jsdev
[21:38:57] *** jhulten has quit IRC
[21:39:24] *** Deseaus has joined #angularjs
[21:39:52] <jwowwz> !davek
[21:40:11] *** TorpedoSkyline has quit IRC
[21:40:18] *** hekaronkiros has quit IRC
[21:40:50] *** danielpquinn has quit IRC
[21:40:54] <jwowwz> but i want them set to the json data not 0 :/
[21:41:41] <jwowwz> its just a text box
[21:41:53] <jwowwz> and its exacly how i want it except a number scroller
[21:43:06] *** bjr217 has joined #angularjs
[21:43:37] *** mnewton has quit IRC
[21:44:16] *** tfennelly has joined #angularjs
[21:44:48] <davek> jwowwz, how are you parsing this JSON object? This seems to indicate that your data value is not a number.
[21:45:00] *** maveneagle has quit IRC
[21:45:13] *** mreq has joined #angularjs
[21:45:36] *** mfunkie_____ has joined #angularjs
[21:45:44] *** samson has joined #angularjs
[21:45:47] <jwowwz> didnt mean to leave that address in
[21:46:17] *** nemothekid has quit IRC
[21:46:22] <jwowwz> its on the pastebin
[21:46:39] <thevishy> is it a good idea to have sorting in client side if paging is done on server side ?
[21:46:53] <jwowwz> if u look at lines 66
[21:47:08] <jsdev> It attaches some handlers to the clicks of the sidebar links, applies the right behavior and also resizes another div if needed
[21:47:11] <jwowwz> and
[21:47:13] <thevishy> is there a real point doing that i mean , ofcourse you get a sorting over a small data set but thats not sensible
[21:47:23] <jsdev> The point is that this resizing is done on many other places, via the same function
[21:47:23] *** slainer68_ftw has joined #angularjs
[21:47:29] *** partikus has left #angularjs
[21:47:31] <jwowwz> 75
[21:47:32] <jsdev> Thus I don't really know how to handle this in angular
[21:47:34] *** nodweber has quit IRC
[21:47:43] <jwowwz> line 66 and 75(ish) does the parsing
[21:47:55] *** akersof has joined #angularjs
[21:48:06] *** robdubya has quit IRC
[21:48:09] <jsdev> Should I create just one directive "dropdown-menu", put in the main ul and handle everything inside? If so, what to do with the resize function ?
[21:48:42] *** bjr217 has quit IRC
[21:49:16] *** sdarby2000 has quit IRC
[21:50:31] *** nemothekid has joined #angularjs
[21:50:31] *** rocahenry has quit IRC
[21:51:22] <jaawerth> jsdev: Any code that uses jquery to manipulate the dom (which is presumably what you're doing with the resize function) should be done in the link function of a directive
[21:52:41] <jsdev> That's my doubt jaawerth, but this resizing function is used in different places: inside the sidebar code, after loading other views and so on
[21:52:54] <davek> jwowwz, that's not valid JSON it is a valid JS object where all your number values are strings.
[21:53:10] *** Rahul_Roy has joined #angularjs
[21:53:41] *** mfunkie_____ has quit IRC
[21:53:43] *** nodweber has joined #angularjs
[21:53:44] *** walden|gone has quit IRC
[21:54:19] *** Gambit- has quit IRC
[21:54:26] <jaawerth> jsdev: Is it a single function you're calling in multiple places to act on the same element(s), or a single function you're using on different parts of the dom?
[21:54:31] *** mikedevita has joined #angularjs
[21:55:08] <jsdev> It is a single function called from multiple places to act on the same element. It is meant to resize the main container in some situations, like when content is loaded
[21:55:35] <jsdev> I thought on using one single "resizable" directive, for instance, on the container and communicate with it on the others, triggering the behavior
[21:55:38] <jsdev> Is this the way to go?
[21:55:57] <davek> jsdev, create a directive for the container and have descendant directives require it through their definition.
[21:56:05] *** AWAW has quit IRC
[21:56:12] <jwowwz> thanks
[21:56:12] <davek> Expose a function to accomplish your task on the container directive's controller.
[21:56:16] <davek> jwowwz, np.
[21:56:51] <jwowwz> .... now id better work on sorting this out :/
[21:57:48] *** DanBangWTFRajib has joined #angularjs
[21:57:48] *** lithiumjake has quit IRC
[21:58:30] *** KushS_ has joined #angularjs
[21:58:37] *** n00bdy has quit IRC
[21:58:38] *** mikedevita has quit IRC
[21:58:47] *** n00bdy has joined #angularjs
[21:58:48] *** shaisnir has joined #angularjs
[21:58:56] <jaawerth> jsdev: what davek said would work. I'd consider WHREE you really need to be able to trigger it. Worst case scenario you could $scope.$watch a 'resize' flag that lives on a service (thus ensuring the resize function will always trigger at an appropriate time), but this could get messy fast
[21:59:12] *** idvb has quit IRC
[21:59:18] *** jae has joined #angularjs
[21:59:20] *** endash has joined #angularjs
[21:59:49] *** idvb has joined #angularjs
[22:00:03] *** TorpedoSkyline has joined #angularjs
[22:00:11] *** knackebrod has joined #angularjs
[22:00:14] *** ghostbar has quit IRC
[22:00:30] *** teddyp1cker has joined #angularjs
[22:00:57] *** DoubleAW has joined #angularjs
[22:00:58] *** KushS has quit IRC
[22:01:21] *** idvb has quit IRC
[22:01:34] *** idvb has joined #angularjs
[22:02:05] *** justjae|slp has quit IRC
[22:02:13] <jsdev> jaawerth, the function is just called when the UI initializes, on the resize and orientationchange events of window, on the sidebar's dropdowns and on the changing of some template options. I think that in this case davek's idea works fine
[22:02:39] <jaawerth> oh, definitely
[22:02:39] *** fels_zh has quit IRC
[22:02:41] *** teddyp1c_ has quit IRC
[22:02:46] <jaawerth> in that case, yeah
[22:03:05] *** sdarby2000 has joined #angularjs
[22:03:14] *** fels_zh has joined #angularjs
[22:03:25] *** quantax- has joined #angularjs
[22:03:35] *** Yahkob has joined #angularjs
[22:03:35] *** benjf has joined #angularjs
[22:04:02] *** nemothekid has quit IRC
[22:04:05] *** pineapple25 has quit IRC
[22:04:45] *** MTGap has quit IRC
[22:05:07] <jsdev> Also, that handleInitialization function I've posted, would it be better to have one "dropdownMenu" directive on the main ul that handles everything or do it in some other way?
[22:05:08] *** nemothekid has joined #angularjs
[22:05:20] <jsdev> sorry, I mean handleNavigation
[22:05:52] <jaawerth> ... I finally got chef-solo + vagrant working! Hurray!
[22:06:08] *** walden|gone has joined #angularjs
[22:06:13] <jaawerth> my days of manually installing all my tools into my dev environments are OVER
[22:06:48] *** d1val has quit IRC
[22:06:48] *** dhval has joined #angularjs
[22:07:16] *** MTGap has joined #angularjs
[22:07:27] *** Brocken is now known as zz_Brocken
[22:07:35] *** ceephax has joined #angularjs
[22:07:44] *** fels_zh has quit IRC
[22:08:26] *** mike123 has joined #angularjs
[22:09:48] <toriniaga> I have a BlogFactory that uses $resource to fetch a list of blog entries from an API service
[22:09:51] *** knackebrod has quit IRC
[22:10:39] <toriniaga> is it ok to pass in the $scope to the factory function getAllBlogs() so that when the async call to the external service is done the scope is initialized with the result
[22:10:40] <toriniaga> ?
[22:11:35] *** fbenoit has joined #angularjs
[22:11:46] <jaawerth> probably better to have the factory function return a promise
[22:11:58] *** MathiasM has quit IRC
[22:12:00] <jaawerth> and then you can do things with the result right from the appropiate scope
[22:13:23] *** simonc has joined #angularjs
[22:14:14] *** desmond_ has quit IRC
[22:14:45] *** dmexs has quit IRC
[22:14:59] *** idvb has quit IRC
[22:15:03] *** hekaronkiros has joined #angularjs
[22:15:34] *** idvb has joined #angularjs
[22:15:35] *** jsdev has left #angularjs
[22:15:53] *** DerekPerkins has quit IRC
[22:16:19] *** caitp- has joined #angularjs
[22:18:10] *** libsysguy has quit IRC
[22:18:28] *** hugofirth has quit IRC
[22:18:57] *** caitp is now known as Guest15526
[22:20:01] *** NickT has joined #angularjs
[22:20:05] *** idvb has quit IRC
[22:20:13] *** mdix has quit IRC
[22:20:26] *** thevishy has quit IRC
[22:20:54] <NickT> hey guys. I'm having some issues with angular+unit testing+browserify. Is there anyone in here who made these work together?
[22:21:46] *** dotproto has joined #angularjs
[22:21:49] <caitp-> browserify sucks at everything, but have you tried using karma-browserify?
[22:21:51] *** w00tner has joined #angularjs
[22:22:00] <w00tner> hello
[22:22:07] <davek> caitp-++
[22:22:07] *** nukulb has joined #angularjs
[22:22:08] <UniBot> caitp- Karma: 1
[22:22:12] *** unstable has quit IRC
[22:22:15] <w00tner> any advice to incorporate Foundation to my angular project ?
[22:22:22] <davek> delete caitp-
[22:22:26] <davek> Worth a shot.
[22:22:28] *** InezK is now known as InezK_away
[22:22:37] <caitp-> supposedly rob eisenberg has been talking to zurb about better angular integration
[22:22:40] <davek> w00tner, use Foundation!
[22:22:44] <caitp-> who knows what will happen with that
[22:22:50] <caitp-> maybe something maybe nothing
[22:22:55] <NickT> yep. didnt manage to make it work. so im working with karma-bro. I have the tests running great. It's the integration with angular that confuzes me. for example how do i add the angular-mocks.module method
[22:22:56] <davek> Oh they're making an angular foundation they've announced it.
[22:23:11] *** sdarby2000 has quit IRC
[22:23:15] <davek> They're splitting foundation into three components, something for email, one for angular and then just the regular framework.
[22:23:25] <jaawerth> that's fantastic
[22:23:51] *** dcherman has quit IRC
[22:23:56] <davek> Yeah pretty great news.
[22:24:09] <jaawerth> I like foundation quite a bit but it's so jquery-dependent (though there is an unofficial foundation version of ui-bootstrap)
[22:24:19] <davek> mm-foundation yeah its excellent.
[22:24:24] *** dcherman has joined #angularjs
[22:24:43] *** rxdazn has joined #angularjs
[22:25:10] *** KushS_ has quit IRC
[22:25:20] <jaawerth> okay, chef is weird. I set up a recipe to install nvm and it did, but.. I try running "which nvm" and it instead executies nvm
[22:25:24] <davek> I'm curious about how to structure a REST route for user posts... I've made it a level 1 resource (/api/posts?user_id=xx). Anyone have any alternatives or is this sort of how you have it as well?
[22:25:44] <w00tner> im reading about "mm.foundation "
[22:25:52] <w00tner> davek: good experience?
[22:26:12] <jaawerth> also it somehow installed nvm in such a way that I can't install libraries because it wants to put them into /usr directories where I don't have write permission, but I can't do it as sudo either since it didn't install to root's parth
[22:26:14] *** wilmoore has quit IRC
[22:26:14] <jaawerth> path*
[22:26:16] <jaawerth> so weird
[22:26:21] <davek> I don't think I've used all that much of it but what there is works perfectly yeah.
[22:26:33] <davek> jaawerth, chef is my undoing.
[22:26:40] <davek> I despise it.
[22:26:57] <jaawerth> for something that should theoretically be making life easier, it sure is a pain to figure out
[22:27:11] *** evotuned has joined #angularjs
[22:27:25] <caitp-> anything written in ruby sucks by default
[22:27:49] <caitp-> there are exceptions like hub or travis-ci
[22:27:51] *** hswolff has joined #angularjs
[22:27:55] <caitp-> but they're in the minority
[22:28:05] <jaawerth> :(
[22:28:12] *** Cronoh has joined #angularjs
[22:28:15] <jaawerth> hmm.. compass! I do like compass
[22:28:17] *** AndreasLutro has quit IRC
[22:28:34] <caitp-> just like most things written in node suck
[22:28:35] *** NickT has quit IRC
[22:28:37] <caitp-> and most things written in python
[22:28:40] <caitp-> and objc and c++
[22:28:44] <caitp-> and java
[22:28:50] <jaawerth> qbasic though, that is LEGIT
[22:28:50] *** shoelessone has joined #angularjs
[22:29:00] <caitp-> yes, nothing terrible has ever been produced in qbasic
[22:29:04] <caitp-> because nothing has been produced in qbasic
[22:29:08] <jaawerth> hahaha
[22:29:08] <caitp-> it's kinda like rust, in that regard
[22:29:19] *** rxdazn has quit IRC
[22:29:25] *** dmexs has joined #angularjs
[22:29:32] <w00tner> mm-foundation.offcanvas .. take my moneyyy
[22:29:46] *** AndreasLutro has joined #angularjs
[22:29:54] <jaawerth> Not true! gorrillas was produced in qbasic and theat was like the best game ever
[22:30:04] <jaawerth> gorillas*
[22:30:07] *** idvb has joined #angularjs
[22:30:10] *** benjf has quit IRC
[22:30:28] *** simonc has quit IRC
[22:30:38] *** _BlackMage_ has quit IRC
[22:30:46] *** MathiasM has joined #angularjs
[22:31:03] *** milodigital has left #angularjs
[22:31:04] <ajf-> What are cows?
[22:31:14] *** evotuned has quit IRC
[22:31:25] *** dasraab has joined #angularjs
[22:31:28] *** _BlackMage_ has joined #angularjs
[22:31:52] <benjamingr> Hey, how do I get an app's injector?
[22:32:55] <caitp-> element.injector()
[22:32:58] *** shoelessone has quit IRC
[22:33:36] *** ianpirro has joined #angularjs
[22:33:36] <w00tner> holy crap jaawerth
[22:33:51] *** leonprou has quit IRC
[22:33:56] *** d1val has joined #angularjs
[22:34:01] *** dhval has quit IRC
[22:34:12] *** hannesvdvreken has joined #angularjs
[22:34:28] <jaawerth> ha!
[22:34:42] <jaawerth> that is impressive
[22:34:47] *** ianpirro has quit IRC
[22:34:59] <benjamingr> caitp-: I don't have an element, only the app, I guess I'll just run it in a run block. DI > SL I guess.
[22:35:21] <jwowwz> !davek Thansk alot buddy everything i wasing great now !! thanks
[22:35:21] *** ianpirro has joined #angularjs
[22:36:03] <davek> jwowwz, no problem! Glad I could help.
[22:36:18] <jwowwz> working*
[22:36:24] <jwowwz> :)
[22:36:30] <benjamingr> caitp-: While I'm here, want to see Bluebird 2.0 running for $q in Angular :) (running digests)
[22:36:45] <jwowwz> anyone here used the Yii framwork ?
[22:36:48] *** sdarby2000 has joined #angularjs
[22:37:02] *** danielpquinn has joined #angularjs
[22:37:08] *** DanBangWTFRajib has quit IRC
[22:37:18] *** cam_y has quit IRC
[22:37:21] *** ghostbar has joined #angularjs
[22:37:25] *** teddyp1cker has quit IRC
[22:37:36] *** dutis has joined #angularjs
[22:37:41] *** caitp- is now known as caitp
[22:37:46] <caitp> finally my nick is free!
[22:37:46] <davek> benjamingr, I wanna see performance reports on that.
[22:38:10] *** TothAndras has quit IRC
[22:38:11] *** dotproto has quit IRC
[22:38:19] <benjamingr> davek: it still uses Angular's $evalAsync, but Bluebird is two orders of magnitude faster than $q, then again - performance doesn't matter.
[22:38:34] <benjamingr> What matters is that Bluebird does unhandled rejection detection, and has a much richer API :)
[22:38:37] *** TothAndras has joined #angularjs
[22:38:52] *** Fire-Dragon-DoL has joined #angularjs
[22:38:54] <caitp> how many lines of code does it add
[22:38:55] *** Deseaus has quit IRC
[22:39:14] *** dcherman has quit IRC
[22:39:17] *** AndreasLutro has quit IRC
[22:39:19] <benjamingr> caitp: zero, it's opt in, It's not swapping $q out, it's opting Bluebird in by using $evalAsync as its scheduler instead.
[22:39:26] *** randomnick_ has joined #angularjs
[22:39:31] *** ianpirro has quit IRC
[22:39:43] *** randomnick_ has left #angularjs
[22:39:55] <caitp> no, I'm asking you how many lines of code is it adding to your project
[22:39:56] <benjamingr> So the core library is still $q, but you can write your modules using bluebird and it will interop seamlessly with $q (since both are A+ and will schedule digests)
[22:40:09] *** ghostbar_ has joined #angularjs
[22:40:23] <benjamingr> caitp: My project as in Bluebird, or my SPAs using Angular?
[22:40:31] *** randomnick_ has joined #angularjs
[22:40:33] <caitp> the latter
[22:40:47] *** dotproto has joined #angularjs
[22:40:49] <benjamingr> Bluebird in my browser build is about 10kb, there are 5kb builds but I like the rich functionality.
[22:40:58] <caitp> for instance, the angular library, + bluebird, + patching code
[22:40:59] *** AndreasLutro has joined #angularjs
[22:41:01] *** ilmgb has quit IRC
[22:41:01] <caitp> or decorators
[22:41:12] <benjamingr> The full build is 30kb, but that does a lot of things I don't need like Node automatic promisification.
[22:41:13] *** dotproto has quit IRC
[22:41:18] *** ghostbar has quit IRC
[22:41:26] *** randomnick_ has quit IRC
[22:41:31] <benjamingr> The 10kb of Bluebird are negligible compared to things like jQuery or Angular itself.
[22:41:35] *** isthisreallife has joined #angularjs
[22:41:42] *** negval has quit IRC
[22:41:55] *** danielpquinn has quit IRC
[22:41:57] *** isthisreallife has left #angularjs
[22:42:06] <benjamingr> The interop code is 5 lines of code, since we've patched being able to do that ourself. The only change is that those 5 LoC tell Bluebird to run its promises through $evalAsync in a .run block.
[22:42:35] <caitp> so 5 loc + bluebird
[22:42:41] <benjamingr> Yeah
[22:42:48] <caitp> that would be an adequate answer ;)
[22:43:10] *** TothAndras has quit IRC
[22:43:11] *** simonc has joined #angularjs
[22:43:15] <benjamingr> So I can write modules using Bluebird, and still use features using $q like $resource , and the two integrate seamlessly. I'm working on a version now that does a 'using' block, so I can only run a digest when I want to.
[22:43:19] *** dccc_ has quit IRC
[22:44:04] *** Cronoh has quit IRC
[22:45:07] *** taylorrf has joined #angularjs
[22:46:14] <benjamingr> It's all in the fiddle, really
[22:46:15] *** admix|away is now known as admix
[22:46:17] *** stayarrr has joined #angularjs
[22:46:26] *** AndreasLutro has quit IRC
[22:47:03] *** benjf has joined #angularjs
[22:48:05] *** simonc has quit IRC
[22:49:04] *** AndreasLutro has joined #angularjs
[22:49:18] *** kimmmm123 has quit IRC
[22:51:36] *** J0514H has quit IRC
[22:52:44] *** mary5030 has quit IRC
[22:54:07] *** laurensvanpoucke has joined #angularjs
[22:54:12] *** toriniaga has quit IRC
[22:54:25] <benjamingr> that just does setScheduler
[22:56:14] <Foxandxss> ja
[22:56:29] *** samson has quit IRC
[22:56:37] *** mikedevita has joined #angularjs
[22:56:54] *** overflow has joined #angularjs
[22:56:56] *** cam_y has joined #angularjs
[22:57:23] *** hekaronkiros has quit IRC
[22:57:29] *** fouzko has joined #angularjs
[22:57:53] *** Nurbs has joined #angularjs
[22:57:55] *** laurensvanpoucke has quit IRC
[22:58:31] *** laurensvanpoucke has joined #angularjs
[22:58:39] *** ilmgb has joined #angularjs
[22:58:47] *** nodweber has quit IRC
[22:59:10] *** idvb has quit IRC
[22:59:40] *** ceephax has quit IRC
[22:59:42] *** idvb has joined #angularjs
[23:00:03] *** bjr217 has joined #angularjs
[23:00:17] *** Planet_EN has joined #angularjs
[23:00:32] *** fouzko_ has joined #angularjs
[23:00:46] *** doodlehaus has joined #angularjs
[23:01:22] <w00tner> where do i have to place my mm-foundation-0.2.2min.js ?
[23:01:31] <w00tner> var Blog = angular.module("Blog", ["mm.foundation",
[23:01:39] *** doodlehaus has quit IRC
[23:01:44] <w00tner> Uncaught Error: No module: mm.foundation
[23:01:44] *** fouzko has quit IRC
[23:01:53] <jaawerth> on your index.html
[23:01:57] <jaawerth> <script src=
[23:02:12] <w00tner> thanks
[23:02:18] *** calumet has quit IRC
[23:02:19] <w00tner> i am noobstah
[23:03:09] *** laurensvanpoucke has quit IRC
[23:04:10] *** idvb has quit IRC
[23:04:19] *** dancek has quit IRC
[23:05:05] *** fouzko_ has quit IRC
[23:05:14] *** Gambit- has joined #angularjs
[23:05:19] *** postitnote has joined #angularjs
[23:06:26] *** Raydiation has joined #angularjs
[23:06:36] *** mzehrer_ has joined #angularjs
[23:08:14] *** avree has joined #angularjs
[23:08:18] *** nemothekid has quit IRC
[23:08:49] *** avree has joined #angularjs
[23:08:50] *** mary5030 has joined #angularjs
[23:08:51] *** avree has quit IRC
[23:08:59] *** azer_ has joined #angularjs
[23:09:02] *** azer_ is now known as az3r
[23:09:05] *** amargherio has joined #angularjs
[23:09:12] *** jr3 has quit IRC
[23:09:22] *** idvb has joined #angularjs
[23:09:28] <w00tner> to what is var Blog = angular.module("Blog", ["mm.foundation" binded?
[23:09:31] *** avree has joined #angularjs
[23:10:03] *** pers3us has joined #angularjs
[23:10:13] *** avree has joined #angularjs
[23:10:30] <w00tner> i included: foundation.min.js, mm-foundation-tpls-0.2.2.min.js, foundation.min.css.. i added the modude "mm.foundation" to my app.js
[23:10:38] <w00tner> var Blog = angular.module("Blog", ["mm.foundation",
[23:10:54] *** avree has joined #angularjs
[23:10:55] <w00tner> Uncaught SyntaxError: Unexpected token < mm-foundation-tpls-0.2.2.min.js:6 Uncaught Error: No module: mm.foundation angular.min.js:17
[23:10:57] *** avree has quit IRC
[23:11:34] *** avree has joined #angularjs
[23:11:39] *** mary5030 has quit IRC
[23:11:46] *** moritzs has quit IRC
[23:11:50] *** danecando has joined #angularjs
[23:12:03] *** moritzschaefer has joined #angularjs
[23:12:28] *** Al` has quit IRC
[23:12:42] *** richardbaker has quit IRC
[23:12:45] *** moritzschaefer has quit IRC
[23:12:49] *** cam_y has quit IRC
[23:13:11] *** cam_y has joined #angularjs
[23:13:41] *** calumet has joined #angularjs
[23:13:51] *** caitp has quit IRC
[23:14:41] *** cam_y has quit IRC
[23:15:02] *** davorb has quit IRC
[23:15:41] *** rxdazn has joined #angularjs
[23:16:06] *** fouzko has joined #angularjs
[23:16:18] *** davorb has joined #angularjs
[23:16:27] *** dancek has joined #angularjs
[23:17:42] *** cam_y has joined #angularjs
[23:17:54] *** jr3 has joined #angularjs
[23:18:21] *** Snugug has joined #angularjs
[23:18:44] *** fels_zh has joined #angularjs
[23:19:11] *** calumet has quit IRC
[23:19:18] *** TorpedoSkyline has quit IRC
[23:19:28] *** valli_ has quit IRC
[23:19:46] *** knicholes has joined #angularjs
[23:19:53] *** TorpedoSkyline has joined #angularjs
[23:21:22] *** tarkus has quit IRC
[23:21:40] *** rxdazn has quit IRC
[23:22:18] *** nemothekid has joined #angularjs
[23:24:28] *** herzi has quit IRC
[23:25:22] *** r0ver has joined #angularjs
[23:25:28] *** gaboesquivel has joined #angularjs
[23:25:53] *** Snugug has quit IRC
[23:27:30] *** stayarrr has quit IRC
[23:27:30] *** bjr217 has quit IRC
[23:27:47] *** evotuned has joined #angularjs
[23:27:49] *** r0ver_ has joined #angularjs
[23:27:58] *** r0ver has quit IRC
[23:28:24] *** stayarrr has joined #angularjs
[23:28:24] *** r0ver has joined #angularjs
[23:28:44] *** nszceta_ has quit IRC
[23:28:44] *** mikedevita has quit IRC
[23:29:13] *** hivearts has quit IRC
[23:29:45] *** drej has quit IRC
[23:30:01] *** mennea has quit IRC
[23:30:06] *** drej has joined #angularjs
[23:30:12] *** Drako has quit IRC
[23:30:13] *** salah has joined #angularjs
[23:30:39] *** ilmgb has quit IRC
[23:30:47] *** apetro__ has joined #angularjs
[23:31:17] *** ilmgb has joined #angularjs
[23:31:18] *** jshultz has joined #angularjs
[23:31:19] *** intellix has quit IRC
[23:31:28] *** Snugug has joined #angularjs
[23:31:55] *** apetro__ has quit IRC
[23:32:28] *** apetro__ has joined #angularjs
[23:32:38] *** r0ver has quit IRC
[23:32:59] *** fbenoit has quit IRC
[23:33:10] *** evotuned has quit IRC
[23:33:13] *** stayarrr has quit IRC
[23:33:31] *** cam_y has quit IRC
[23:35:42] *** n00bdy has quit IRC
[23:36:06] *** ianpirro has joined #angularjs
[23:36:43] *** apetro__ has quit IRC
[23:36:44] *** sqwk has joined #angularjs
[23:36:59] *** ilmgb has quit IRC
[23:37:02] *** sqwk has quit IRC
[23:37:33] *** Snugug has quit IRC
[23:37:40] *** n00bdy has joined #angularjs
[23:37:49] *** danielpquinn has joined #angularjs
[23:37:55] *** Foxandxss has quit IRC
[23:38:35] *** Ir1sh has quit IRC
[23:38:50] *** avree has quit IRC
[23:38:50] *** TorpedoSkyline has quit IRC
[23:39:11] *** Ir1sh has joined #angularjs
[23:39:31] *** Planet_EN has quit IRC
[23:39:40] *** mdel has joined #angularjs
[23:40:00] *** TorpedoSkyline has joined #angularjs
[23:40:04] *** Ir1sh has quit IRC
[23:40:19] *** ianpirro has quit IRC
[23:40:19] *** Ir1sh has joined #angularjs
[23:40:30] *** mkc has joined #angularjs
[23:40:46] *** Foxandxss has joined #angularjs
[23:41:32] *** nukulb has quit IRC
[23:41:34] <mkc> I’m getting 'ngMidwayTester' is not defined in jshint, but when I run my test the files are included. How do I tell jshint where the file is?
[23:41:46] <shaisnir> callmekatootie: But it doesn't really matters because I don't want a specific handle for the '/' to view a specific template, I want that the whole website will be rooted to /Client/...
[23:41:53] *** Planet_EN has joined #angularjs
[23:41:59] <shaisnir> *Sorry
[23:42:44] *** LuxuryMode has quit IRC
[23:42:44] *** woebtz has joined #angularjs
[23:42:50] *** nemothekid has quit IRC
[23:42:55] *** danielpquinn has quit IRC
[23:42:59] *** roymiloh has quit IRC
[23:43:29] *** artemk has joined #angularjs
[23:43:38] *** MathiasM has quit IRC
[23:44:42] *** robdubya has joined #angularjs
[23:44:45] *** BlinkyBill has joined #angularjs
[23:46:01] *** LuxuryMode has joined #angularjs
[23:46:51] *** mzehrer_ has quit IRC
[23:47:05] *** AnonymousPrime has quit IRC
[23:47:07] *** SomeKittens has joined #angularjs
[23:47:49] *** dotproto has joined #angularjs
[23:48:22] *** InezK_away is now known as InezK
[23:48:34] *** cristatus has quit IRC
[23:49:07] <mkc> oh, you just ignore the hintjs varialbles. Problem solved =P
[23:49:37] *** Snugug has joined #angularjs
[23:50:00] *** quatron has quit IRC
[23:50:36] *** az3r has quit IRC
[23:50:48] *** amargherio has quit IRC
[23:51:16] *** rocahenry has joined #angularjs
[23:51:38] *** d1val has quit IRC
[23:51:53] *** dhval has joined #angularjs
[23:51:59] *** LuxuryMode has quit IRC
[23:52:29] *** caitp has joined #angularjs
[23:52:37] *** shinnya has joined #angularjs
[23:54:20] *** tfennelly has quit IRC
[23:56:07] *** mreq has quit IRC
[23:56:19] *** jwowwz has quit IRC
[23:57:34] *** nipps has joined #angularjs
[23:58:18] *** n00bdy has quit IRC
[23:58:28] *** n00bdy has joined #angularjs
[23:58:31] *** InezK is now known as InezK_away
[23:58:37] *** Snugug has quit IRC
[23:58:52] *** artemk has quit IRC
[23:59:14] *** sdarby2000 has quit IRC