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

Toggle Join/Part | bottom
[00:00:00] <ctanga> jcool: how would you represent the second object?
[00:00:02] *** tkdaj has quit IRC
[00:00:06] *** jonathanpglick has joined #angularjs
[00:00:25] *** elrabin_ has quit IRC
[00:00:27] *** alexw has joined #angularjs
[00:00:36] <jaawerth> jcool, ctanga: I'm guessing {1:{a:a,b:b}}
[00:00:42] <jcool> ctanga, 0=>[[name]=>value,[number]=>value] if we write this in json
[00:00:42] *** danflies has quit IRC
[00:00:43] *** doginal_ has joined #angularjs
[00:00:58] <jcool> it will be {0:{name,number}}
[00:01:01] <jcool> right?
[00:01:01] <ctanga> yes please JSON, your syntax is mindnumbing
[00:01:10] *** doginal has quit IRC
[00:01:10] *** doginal_ is now known as doginal
[00:01:18] <ctanga> that’s not json
[00:01:23] <jcool> ctanga, like jaawerth said
[00:01:24] <ctanga> not valid
[00:01:52] *** bmac has quit IRC
[00:02:16] *** Slowintrepid has quit IRC
[00:02:18] *** ccohn has joined #angularjs
[00:02:28] <jcool> Its not 2d json?>
[00:02:37] <odinn_> jcool: {"0":{name:"theName",number:42}} would be valid
[00:02:40] <ctanga> you can have arrays and you can have objects
[00:02:48] *** bade has joined #angularjs
[00:02:51] *** jr3 has quit IRC
[00:02:52] <jcool> odin_, I meant that :/
[00:03:02] <jcool> I am sorry
[00:03:05] *** scythe__ has joined #angularjs
[00:03:08] *** mmealling has quit IRC
[00:03:12] *** FunnyLookinHat has quit IRC
[00:03:18] <jcool> {"0":{name:"theName",number:42}} this is the thing I wish for
[00:03:21] *** _TAS_ has joined #angularjs
[00:03:22] *** jstroem has quit IRC
[00:03:26] *** mbildner has quit IRC
[00:03:34] <ctanga> and the second object you want like {"0":{name:"theName",number:42}, “1”: { name: “another”, number: 665} }?
[00:03:43] <jcool> ctanga, yep
[00:03:51] <ctanga> aah
[00:03:52] *** ccohn has quit IRC
[00:04:01] <odinn_> jcool: are you sure? because you can also use arrays... [{name:"theName","number":42},{name:"another","number":665}]
[00:04:11] *** ccohn has joined #angularjs
[00:04:23] *** eamonn has joined #angularjs
[00:04:38] *** phuh has quit IRC
[00:04:41] <odinn_> jcool: I make example just do you can think about (and understand the difference)
[00:04:46] *** mbildner has joined #angularjs
[00:04:56] *** jstroem has joined #angularjs
[00:04:58] *** vtali_ has quit IRC
[00:05:01] *** phuh has joined #angularjs
[00:05:05] <jcool> odin_, yep
[00:05:28] *** mbildner has quit IRC
[00:05:37] *** emkei has quit IRC
[00:05:39] *** enigmarm has quit IRC
[00:06:04] *** _TAS has quit IRC
[00:06:12] *** Joe_knock has left #angularjs
[00:06:22] *** crewshin has joined #angularjs
[00:06:37] <odinn_> jcool: so having throught about it, the thing you wish for is the ordinal position number as a string as a key to one larger object (the 1st kind not using array [] ) ?
[00:06:47] *** DigitallyBorn has quit IRC
[00:07:12] <odinn_> backends can be a bit picky about this stuff :)
[00:07:29] <jcool> odin_, yeah.
[00:07:37] <jcool> the problem is I tried what you told
[00:08:02] <jcool> but backend doesnt considers that as array. as in. [{name:value,number"value}]
[00:08:05] <jcool> I tried this
[00:08:29] <_rmt> themine: here is a plunkr using $resource
[00:08:31] *** grogs_ has joined #angularjs
[00:08:34] <_rmt> themine: http://plnkr.co/edit/JIA4xsqvnAZamkAlyEJz
[00:08:39] <odinn_> that is not what I wrote, as my intrepretation of what you meant to say
[00:08:54] *** ccohn has quit IRC
[00:08:58] <jcool> odin_, can you see this? http://stackoverflow.com/questions/24363106/cakephp-3-hasmany-form-data-save
[00:09:10] *** mbildner has joined #angularjs
[00:09:12] *** s3shs has joined #angularjs
[00:09:35] <jcool> odin_, there is nested array in links
[00:09:49] <jcool> I am trying to generate that in angular
[00:10:02] *** davek has joined #angularjs
[00:10:20] *** woah has quit IRC
[00:10:28] <jaawerth> jcool: http://plnkr.co/edit/hDcJ1HtnJV1gmgN5T3Ks?p=preview
[00:10:30] <jaawerth> boom!
[00:10:37] *** jpstone has quit IRC
[00:10:55] *** cboden has joined #angularjs
[00:11:14] *** garbanzio has quit IRC
[00:11:15] <jaawerth> you could also just do var obj = {}; obj[yourArray.length] = {a:a, b:b}; but using a constructor function when I'm doing here will play nicer with JIT compilation (aka it should be faster)
[00:11:36] *** yelvert has quit IRC
[00:11:55] *** icfantv has quit IRC
[00:12:04] <jcool> jaawerth, thanks for the same :) must solve my issue.
[00:12:06] <davek> The JIT optimizations that are going to be possible with the ES6 spec make me moist.
[00:12:07] *** uru is now known as uru|away
[00:12:20] <wafflej0ck> AlexZan: ah stepped away for a bit there, you get it sorted?
[00:12:29] <odinn_> jcool: looking
[00:12:34] *** tplaner has quit IRC
[00:12:38] *** Nijikokun has quit IRC
[00:12:40] *** MalteJ has quit IRC
[00:12:42] *** kuadrosx has quit IRC
[00:13:08] *** dsdeiz has joined #angularjs
[00:13:22] <jaawerth> davek: yeah, for real
[00:13:30] <jaawerth> davek: because that stuff is pretty hard to do reliably as-is
[00:13:48] <jaawerth> even if you use constructors, doing all the things so that, say, an array always has a single "type" when possible..
[00:13:49] *** mbildner has quit IRC
[00:13:52] <jaawerth> it's a lot to keep track of by hand
[00:14:14] <jcool> odin_, there is key called link over there. which has nested array.
[00:14:23] <jcool> I wish to pass same struct to my backend
[00:14:28] *** jaydubya has quit IRC
[00:15:28] *** mary5030 has quit IRC
[00:15:34] <jaawerth> what backend is this?
[00:15:42] *** kuadrosx has joined #angularjs
[00:15:43] <jcool> jaawerth, cakephp.
[00:15:57] <jaawerth> okay. so those arrays there are referential arrays
[00:16:02] <jcool> jaawerth, yep
[00:16:06] <odinn_> jcool: the format you want is like: {links:['0':{[{site:"www.google.com",user_id:1}]}], '1':{[{site:"abc.com",user_id:2}]} }
[00:16:19] *** TheAceOfHearts has quit IRC
[00:16:21] <odinn_> PHP for you kids! stay clear of that trash! :P
[00:16:53] *** michaelfavia has quit IRC
[00:16:54] <ctanga> jcool: demo: http://plnkr.co/edit/fvGjYSikAGOwbwL6zRCb?p=preview
[00:17:09] <jcool> odin_, hehe. actually: {links:{0:{name:value,number:value}} should do :)
[00:17:12] <jcool> ctanga, looking :)
[00:17:32] <davek> jaawerth, yeah you can force some of those optimizations now with things like typed arrays, etc but some of that is just never going to get easier in such a loosely typed language.
[00:17:51] <odinn_> jcool: your SO link clearly whos there are Array's in between as well
[00:17:59] <odinn_> s/whos/shows/
[00:18:05] <jcool> odin_, yep
[00:18:21] *** mchapman has joined #angularjs
[00:18:24] <odinn_> jcool: so the extra [] in the above might be important to get that structure back
[00:18:56] *** maikowblue has joined #angularjs
[00:19:04] <jcool> odin_, umm yes.
[00:19:24] *** cboden has quit IRC
[00:19:57] <odinn_> jcool: a PHP Array is not the same as a Hashtable/Dictionary/Map/assoiciative-array (many terms for the same concept) ?
[00:20:05] *** mven has quit IRC
[00:20:18] <jcool> odin_, It is
[00:20:27] *** jdcasey has quit IRC
[00:20:44] *** mandric has quit IRC
[00:20:47] *** woah has joined #angularjs
[00:20:57] <odinn_> jcool: the notation VARIABLE['key'] = 42; // is not an array, but a Map, I thought in PHP an Array is an array
[00:21:53] *** hiptobecubic has quit IRC
[00:21:58] <odinn_> jcool: so I would think the extra [] are needed if you require that exact structure, presumably you can ask server side to dump what it sees like that SO article ? then test by sending different JSON to it
[00:22:12] <jcool> odin_, yep
[00:22:15] *** angularjs321 has joined #angularjs
[00:22:16] <jcool> sounds better
[00:22:24] <angularjs321> hey guys
[00:22:29] <jcool> ctanga, that is wonderful :)
[00:22:30] <jcool> thanks
[00:22:35] <angularjs321> i want to use isotope on my angular app
[00:22:40] *** cs44 has quit IRC
[00:22:45] <angularjs321> would it be ok to just use it as jquery or should i make a directive
[00:22:46] <ctanga> np
[00:22:52] <angularjs321> which will be a huge pain :)
[00:23:14] *** Johnny13371337 has quit IRC
[00:23:17] *** alexw has quit IRC
[00:23:18] <angularjs321> similar to how masonry was adapted for angular
[00:23:34] *** jstroem has quit IRC
[00:24:13] *** jstroem has joined #angularjs
[00:24:20] *** vtali has joined #angularjs
[00:24:47] *** walbert has quit IRC
[00:25:06] *** yelvert has joined #angularjs
[00:25:16] *** darlanalves has quit IRC
[00:26:18] <davek> angularjs321, use it as a directive. Also isotope has a number of sticking points trying to crowbar it into an angular directive, I'd highly suggest simply using packery.js instead.
[00:26:45] <davek> Isotope is based on packery IIRC, so packery contains a superset of isotope's functionality but allows you to more flexibility when combining it with angular.
[00:27:25] <angularjs321> i see
[00:27:28] <angularjs321> many thx davek
[00:27:42] *** alexw has joined #angularjs
[00:28:06] *** AtomicCookie has quit IRC
[00:28:14] *** joshontheweb has joined #angularjs
[00:28:20] *** dcherman has joined #angularjs
[00:28:32] *** jstroem has quit IRC
[00:28:38] *** phishy_ has quit IRC
[00:28:49] *** phishy_ has joined #angularjs
[00:29:52] *** phishy_ is now known as phishy
[00:31:04] *** iribarne has quit IRC
[00:31:06] <angularjs321> man angular basics is easy
[00:31:10] *** jillesme has joined #angularjs
[00:31:15] <angularjs321> then difficulty jumps like 500% after that
[00:31:28] *** tomzx is now known as tomzx`afk
[00:32:07] *** joshontheweb has quit IRC
[00:32:09] <davek> angularjs321, then 2.0 after that.
[00:32:33] *** joshontheweb has joined #angularjs
[00:32:45] <odinn_> angularjs321: are you ready for my transclusion questions ?? haha
[00:32:53] *** thedodd has quit IRC
[00:32:58] *** rtpg has joined #angularjs
[00:34:02] *** jasonp has quit IRC
[00:35:25] *** jillesme has quit IRC
[00:35:32] *** pingupingu has quit IRC
[00:35:37] *** P1RATEZ has quit IRC
[00:36:07] *** blomman has joined #angularjs
[00:36:18] *** TheAceOfHearts has joined #angularjs
[00:37:52] *** dannyc has joined #angularjs
[00:38:29] *** AngularUI has joined #angularjs
[00:38:29] <AngularUI> [ng-grid] PaulL1 pushed 3 new commits to master: http://git.io/5zkNhw
[00:38:30] <AngularUI> ng-grid/master e2fdc8a jcompagner: scrollbars can be enabled per instance (horizontal or vertical)...
[00:38:30] <AngularUI> ng-grid/master 26a4683 jcompagner: the horizontal scrollbar should not fall oout of the view...
[00:38:30] <AngularUI> ng-grid/master bb45941 Paul: Merge pull request #2009 from Servoy/scrollbars2...
[00:38:30] *** AngularUI has left #angularjs
[00:38:34] *** jonnybro1 has joined #angularjs
[00:39:04] *** mmealling has joined #angularjs
[00:39:04] *** whunt has quit IRC
[00:40:10] <jaawerth> jcool: so wait, is your issue that the JSON has to not show as a true array for the outer object? it's gotta be { {0: {a:a,b:b} },{1: {a:a,b:b} } }?
[00:40:28] *** blomman has quit IRC
[00:40:38] <jcool> jaawerth, yes
[00:40:42] *** Jdubs has joined #angularjs
[00:40:51] *** jonnybro has quit IRC
[00:41:16] <jaawerth> jcool: ah, then all you need is something that walks like an array, talks like an array, quacks like an array, but doesn't look like an array
[00:41:19] <jaawerth> jcool: http://plnkr.co/edit/hDcJ1HtnJV1gmgN5T3Ks?p=preview
[00:41:20] <jaawerth> BOOM
[00:41:57] <jcool> jaawerth, http://plnkr.co/edit/fvGjYSikAGOwbwL6zRCb?p=preview
[00:42:07] <jcool> simpler one may be? :)
[00:42:21] *** esad has joined #angularjs
[00:42:22] *** dannyc has quit IRC
[00:42:34] *** mikwat has quit IRC
[00:42:35] <jcool> jaawerth, ctanga wrote that.
[00:42:47] *** AngularUI has joined #angularjs
[00:42:48] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/lE49ow
[00:42:48] <AngularUI> ng-grid/master ed3d54c Josh Kropf: include header,footer,scrollbar when calculating initial grid height
[00:42:48] <AngularUI> ng-grid/master f7ea294 Paul: Merge pull request #2008 from Envisage/master...
[00:42:48] *** AngularUI has left #angularjs
[00:42:52] <jaawerth> either way will work
[00:42:57] <jcool> jaawerth, yeah ;)
[00:42:59] <jaawerth> I like the only I wrote because it's all object oriented and stuff
[00:43:04] *** esad has quit IRC
[00:43:11] *** richardlitt has joined #angularjs
[00:43:11] *** emmesswhy has joined #angularjs
[00:43:19] *** whitebook has joined #angularjs
[00:43:32] <jcool> jaawerth, It will help me learn :)
[00:43:41] *** AngularUI has joined #angularjs
[00:43:41] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/CZNwog
[00:43:41] <AngularUI> ng-grid/master 080a224 Mathias Dosé: Fix #1955 (expandable): Left panel features coexistance
[00:43:41] <AngularUI> ng-grid/master 349fd91 Paul: Merge pull request #2006 from mathiasdose/issue#1955...
[00:43:41] *** AngularUI has left #angularjs
[00:43:46] <jaawerth> you're just using object inheritance to create a data type that acts like an array in every way but still isn't one - so doesn't get converted into JSON as an array
[00:43:49] *** _ritchie_ has quit IRC
[00:43:59] *** CitizenKane has joined #angularjs
[00:44:19] <jcool> jaawerth, ah. I was in that frame of mind.
[00:44:29] *** liri has quit IRC
[00:44:45] *** sheplu has quit IRC
[00:44:57] *** vtali has quit IRC
[00:46:36] *** the-anconia has joined #angularjs
[00:46:56] *** phaggood has joined #angularjs
[00:47:16] *** pen has quit IRC
[00:47:41] *** Shilon has quit IRC
[00:47:51] *** pen has joined #angularjs
[00:47:54] *** DLSteve has quit IRC
[00:47:56] *** saucey has quit IRC
[00:48:40] *** acmehandle has joined #angularjs
[00:48:45] <angularjs321> odinn_ i think i can answer a couple :) i have a general idea of how transclusion works
[00:49:02] *** pdillinger has quit IRC
[00:49:08] <angularjs321> i did my homework kind of :)
[00:49:17] *** knownasilya has quit IRC
[00:49:44] <angularjs321> also when does angular 2.0 come out
[00:49:53] <angularjs321> i hope not soon :/
[00:50:13] *** seiyria is now known as swirly
[00:50:30] *** MaxV_ has joined #angularjs
[00:50:33] *** whunt has joined #angularjs
[00:50:44] *** niop has quit IRC
[00:51:03] <sakustar> was it 2016
[00:51:07] *** bbankes has quit IRC
[00:51:24] *** cads has joined #angularjs
[00:51:26] *** hell_razer has quit IRC
[00:51:41] *** swirly is now known as seiyria
[00:51:58] *** vtali has joined #angularjs
[00:52:08] *** ctanga has left #angularjs
[00:52:12] *** ctanga has joined #angularjs
[00:52:13] *** mjs2600 has joined #angularjs
[00:53:05] *** caitp has quit IRC
[00:53:30] *** salbertson has joined #angularjs
[00:53:49] *** ctanga has quit IRC
[00:54:13] *** autolycus has joined #angularjs
[00:54:56] *** mzabriskie has quit IRC
[00:54:56] *** MaxV_ has quit IRC
[00:55:30] <johnnyfive> Can someone explain to me the $scope involved in pertaining to the $data object? : http://plnkr.co/edit/xtw9G0 Are local variables not in the scope, but still accessible in the HTML?
[00:55:36] *** Limix has joined #angularjs
[00:55:53] <johnnyfive> wow, terrible english. drugs are bad, mkay? But still... looking for an answer
[00:55:59] *** Sgeo_ has joined #angularjs
[00:56:04] *** mandric has joined #angularjs
[00:56:23] *** MistahKurtz has quit IRC
[00:57:11] *** mjs2600 has quit IRC
[00:58:04] *** phaggood has quit IRC
[00:58:27] *** phaggood has joined #angularjs
[00:58:28] *** Sgeo has quit IRC
[00:58:34] *** opiates has quit IRC
[00:58:53] *** danecando has joined #angularjs
[01:00:00] *** c00ljs has joined #angularjs
[01:01:13] *** ome has joined #angularjs
[01:01:30] *** MistahKurtz has joined #angularjs
[01:01:39] *** vtali has quit IRC
[01:02:11] *** vtali has joined #angularjs
[01:03:09] <odinn_> johnnyfive: what $data? there is 'var data = ...' inside your function scope, so anything inside the surrounding function block can access it
[01:03:32] <johnnyfive> in the HTML, it is using ng-repeat: "user in $data"
[01:03:53] <johnnyfive> odin_, for the highlight in case you're a busy man
[01:04:32] *** phuh has quit IRC
[01:04:34] *** ki0 has joined #angularjs
[01:04:43] <odinn_> ok so maybe your table should be setup as: $scope.$data= ...
[01:04:50] *** ccohn has joined #angularjs
[01:04:59] *** phuh has joined #angularjs
[01:05:14] *** bade has quit IRC
[01:05:15] <johnnyfive> odinn_, "should be?" I works as-is, right now. I'm trying to understand what mechanic allows it to do so
[01:05:22] *** AciD` has quit IRC
[01:05:25] *** asher^ has joined #angularjs
[01:05:25] *** AciD`` has quit IRC
[01:05:26] <odinn_> remember ng-repeat is angular specific, so angular looks through $scope and its parent, until $rootScope
[01:05:34] *** mary5030 has joined #angularjs
[01:05:51] *** darlanalves has joined #angularjs
[01:06:03] <odinn_> ah i dont know ngTable at all, so I guess the documentation for that module will explain
[01:06:31] *** vtali has quit IRC
[01:06:47] <odinn_> im guessing <table ng-table="tableParams" ...> sets it up
[01:07:29] *** jharbaugh has joined #angularjs
[01:07:38] <jaawerth> yeah, that module must be setting $scope.$data
[01:07:59] <johnnyfive> Oh good guess. That would make more sense. Thanks i'm going to look into that.. That makes so much more sense, I was getting confused as to how that was possible
[01:08:08] *** CitizenKane has quit IRC
[01:08:34] <odinn_> johnnyfive: possible like pseudo code of: $scope.$data = tableParam.getData(defer, {count:5,page:1});
[01:09:18] *** MuffinMan` has joined #angularjs
[01:09:22] *** ccohn has quit IRC
[01:09:33] *** whitebook has quit IRC
[01:09:59] *** mccarrontr1ck has quit IRC
[01:10:00] <jaawerth> johnnyfive, odinn_: boom https://github.com/esvit/ng-table/blob/master/ng-table.js#L411
[01:10:15] <johnnyfive> Ty odinn_, I was beginning to think I completely misunderstood how scopes worked.. lol but that makes sense
[01:10:18] *** Sgeo has joined #angularjs
[01:10:26] *** joshontheweb has quit IRC
[01:10:32] *** sonofdirt has quit IRC
[01:10:33] <johnnyfive> jaawerth, nice, ty ;)
[01:10:43] *** _ritchie_ has joined #angularjs
[01:10:45] <jaawerth> it's the same way ng-repeat works, really
[01:11:02] <wafflej0ck> nice lasering jaawerth :)
[01:11:08] *** rtpg has quit IRC
[01:11:17] <jaawerth> ng-repeat="item in items" - each iteration of the repeat gets a child scope, and its $scope.item gets set to that iteration/child scope, and $index gets set for that iteration, etc
[01:11:22] <jaawerth> wafflej0ck: why thank you
[01:11:22] *** fragiletag has quit IRC
[01:11:29] *** pushpak has quit IRC
[01:11:53] *** jharbaugh has quit IRC
[01:12:11] *** AciD`` has joined #angularjs
[01:12:40] *** gordroidJS has joined #angularjs
[01:13:04] *** AciD` has joined #angularjs
[01:13:38] *** yoshokatana has joined #angularjs
[01:13:47] <jaawerth> more specifically it's being done in the ngTableParams function https://github.com/esvit/ng-table/blob/master/src/scripts/03-params.js#L362
[01:13:51] <jaawerth> and with that, I'm off!
[01:13:59] *** Sgeo_ has quit IRC
[01:14:02] *** oktapodi has joined #angularjs
[01:14:13] *** yoshokatana has quit IRC
[01:14:13] *** Sgeo_ has joined #angularjs
[01:14:24] *** CitizenKane has joined #angularjs
[01:14:37] *** SonikBoom has quit IRC
[01:15:20] <johnnyfive> What's the recommended standard for naming variables with $?
[01:15:50] <jaawerth> the party line from Angular is "don't, it might cause confusion since that's what we use for built-in things"
[01:16:06] <johnnyfive> Right, thought so. Thanks
[01:16:17] <jaawerth> some people do it anyway - when they do, they do so for included services and special properties in their modules
[01:16:30] <jaawerth> I prefer not to, since then I have to pay attention just in case angular introduces something with the same name
[01:16:41] *** marshall has quit IRC
[01:16:49] <jaawerth> (even though it annoys me that they took $, it's a useful special variable for that stuff)
[01:16:54] *** Sgeo has quit IRC
[01:16:57] <jaawerth> er, special character that is
[01:17:05] <jaawerth> okay, now I'm leaving for real ;-)
[01:17:15] <johnnyfive> I'll believe you when I stop seeing text.
[01:17:19] <johnnyfive> Forever. Oh and thanks ;)
[01:18:08] *** odinn_ has quit IRC
[01:18:42] *** oktapodi has quit IRC
[01:19:02] *** JohnBat26 has quit IRC
[01:19:43] *** mchapman has quit IRC
[01:20:16] *** disorder20 has quit IRC
[01:20:18] *** pelll0 has quit IRC
[01:20:35] *** pell0 has joined #angularjs
[01:21:04] *** alexw has quit IRC
[01:21:42] *** ki0 has quit IRC
[01:21:48] *** frankblizzar has quit IRC
[01:22:04] *** nesquerra has joined #angularjs
[01:22:40] *** vtali has joined #angularjs
[01:22:59] *** grogs_ has quit IRC
[01:23:08] *** jonatha__ has joined #angularjs
[01:23:27] *** tomzx`afk is now known as tomzx
[01:23:27] *** gnrlbzik has joined #angularjs
[01:24:13] *** balr0g has quit IRC
[01:24:23] *** CiE has quit IRC
[01:24:47] *** CiE has joined #angularjs
[01:24:52] *** klaut has quit IRC
[01:24:53] *** cacts|wtf has quit IRC
[01:25:49] *** jonathanpglick has quit IRC
[01:25:51] *** Sgeo has joined #angularjs
[01:26:12] *** intellix has quit IRC
[01:26:37] *** SP1966 has joined #angularjs
[01:27:11] *** Sgeo_ has quit IRC
[01:27:49] *** _rmt has quit IRC
[01:27:50] *** eamonn has quit IRC
[01:28:06] *** gnrlbzik has quit IRC
[01:28:17] *** conan_the_destro has quit IRC
[01:28:27] *** artisangoose has quit IRC
[01:28:32] *** shinnya has quit IRC
[01:29:00] *** mjs2600 has joined #angularjs
[01:29:04] <ProLoser> !remember consulting is If you'd like to get some brief paid remote consulting help ProLoser can assist you via CodeMentor: https://www.codementor.io/proloser
[01:29:13] <ProLoser> !consutling
[01:29:16] *** shampine_ has joined #angularjs
[01:29:18] <ProLoser> !consulting
[01:29:18] <UniBot> If you'd like to get some brief paid remote consulting help ProLoser can assist you via CodeMentor: https://www.codementor.io/proloser
[01:29:22] *** gordroidJS has quit IRC
[01:29:30] <Foxandxss> or consult me as well
[01:29:33] *** dman777_alter has quit IRC
[01:29:39] <Foxandxss> https://www.codementor.io/foxandxss
[01:29:40] <Foxandxss> ha
[01:29:44] *** whitebook has joined #angularjs
[01:29:46] *** autolycus has quit IRC
[01:30:03] *** nycdevgirl has quit IRC
[01:30:10] *** gordroidJS has joined #angularjs
[01:30:57] *** cthrax has quit IRC
[01:31:23] *** mmealling has quit IRC
[01:31:56] *** mary5030 has quit IRC
[01:32:01] *** richiebkr has quit IRC
[01:32:17] *** Sgeo_ has joined #angularjs
[01:32:22] *** sheplu has joined #angularjs
[01:32:39] *** nycdevgirl has joined #angularjs
[01:33:10] *** ccohn has joined #angularjs
[01:33:28] *** tfennelly has quit IRC
[01:33:48] *** dman777_alter has joined #angularjs
[01:34:20] *** dman777_alter has quit IRC
[01:34:25] *** snapwich has quit IRC
[01:34:53] *** SP1966 has quit IRC
[01:34:59] *** alexw has joined #angularjs
[01:35:23] *** Nizumzen has quit IRC
[01:35:43] <scythe__> has anyone here developed with windows?
[01:35:57] <odin_> sure
[01:36:04] *** Sgeo has quit IRC
[01:36:12] <stylemistake> is there an easy way to include templates into directive relative to its javascript file?
[01:36:25] *** phaggood has quit IRC
[01:36:28] <stylemistake> like, i have some component
[01:36:39] *** nesquerra has quit IRC
[01:36:39] *** nycdevgirl has quit IRC
[01:36:42] <stylemistake> there is directive.js and view.html
[01:36:51] *** ctanga has joined #angularjs
[01:36:54] *** Sgeo_ has quit IRC
[01:36:59] <stylemistake> i tried templateUrl: '/view.html', but that doesn't work for me
[01:37:10] <Foxandxss> no
[01:37:37] *** Freeman42x has joined #angularjs
[01:37:39] *** freeman42 has quit IRC
[01:37:49] <scythe__> odin_: did you use a virtual server in order to develop?
[01:38:06] *** ki0 has joined #angularjs
[01:38:06] <Foxandxss> scythe__: vagrant is a must for windows
[01:38:35] <odin_> scythe__, huh? what do you mean? what does the term 'virtual server' mean to you?
[01:38:41] *** moritzs has joined #angularjs
[01:39:15] <stylemistake> scythe__: my colleagues setup is on windows, and we just used plain Virtualbox and Ubuntu
[01:39:17] *** mmealling has joined #angularjs
[01:39:39] <odin_> scythe__, is windows your IDE environment? your browser (but I would have through you'd simply use the term IE10 or whatever) target ? or is windows your webserver ? or what ?
[01:39:40] *** farski has joined #angularjs
[01:39:56] <stylemistake> scythe__: directory share via samba
[01:40:06] *** tkimmel has quit IRC
[01:40:11] *** darlanalves has quit IRC
[01:40:14] *** ozooner__ has quit IRC
[01:40:36] *** stirlingw has quit IRC
[01:40:36] <odin_> I am long time linux user, but I use window for development, as linux IDE and UI tech is not very good (IMHO), command line is excellent
[01:40:37] *** dejanr has quit IRC
[01:40:43] <scythe__> odin_: yes Windows IDE environment I should've been more clear, my apologies. I was trying to use vagrant with virtualbox/ubuntu but there are so many issues...whether it's symlinks or the 260 character limit for Windows folders
[01:41:06] *** AngularUI has joined #angularjs
[01:41:06] <AngularUI> [ng-grid] PaulL1 opened pull request #2021: Enh(menus): simplify animation, add back tests for 1.2.8 as no mock need... (master...animations_1.2) http://git.io/4ppgsQ
[01:41:06] *** AngularUI has left #angularjs
[01:41:07] *** _ritchie_ has quit IRC
[01:41:12] <odin_> maybe if all desktop apps were using Qt with wayland, things might approach the experience I get with windows
[01:41:33] *** frop_ has joined #angularjs
[01:41:38] <stylemistake> scythe__: i think if you use samba shares, there won't be any issues
[01:41:38] *** josh-k has quit IRC
[01:41:50] <odin_> scythe__, I use IntelliJ IDEA/Webstorm (I also Java dev), also Eclipse, I do not use any linux for any part of development
[01:41:53] <frop_> Hello
[01:42:11] *** josh-k has joined #angularjs
[01:42:14] <scythe__> odin_ how do you set up grunt/yeoman/npm etc?
[01:42:21] <scythe__> Do you use virtualbox/vagrant then?
[01:42:34] *** ryst has joined #angularjs
[01:42:49] <odin_> scythe__, I thought it was Linux and EXT3 with 256 char limit on a filename, but windows will do maybe 4096 in the full path, but what kind of project has this concern? maybe rethink things
[01:43:41] *** jonatha__ has quit IRC
[01:43:42] <odin_> scythe__, why would I use a VM/hybervisor ? I have both wind64/linux64 infront of me, but I don't development much on linux these days GUI and IDE not very good
[01:43:57] <scythe__> it's just when using generators it surpasses the limit due to the folder hierarchy
[01:43:58] <odin_> scythe__, NodeJS/Ruby all work on Windows just fine
[01:44:05] *** codeman has joined #angularjs
[01:44:16] <davek> "fine"
[01:44:31] *** angularjs321 has quit IRC
[01:44:32] *** josh3336 has quit IRC
[01:44:51] <frop_> I'm creating an html string inside of a factory that contains directives that I have already created and defined. I'm trying to insert this string into the dom, but it's coming out as a string.
[01:44:51] *** krawek has quit IRC
[01:45:00] <frop_> How can I go about compiling that string?
[01:45:00] <scythe__> davek why the quotes?
[01:45:15] <Foxandxss> well, ruby, windows and fine in the same sentence is not good for me
[01:45:26] *** mmealling has quit IRC
[01:45:28] *** poolside has joined #angularjs
[01:45:36] <Foxandxss> davek: even "fine" is too much
[01:45:38] <odin_> frop_, your want to use angular.element($ele).innerHTML = myDataHtmlAsString; // I think
[01:45:42] *** caitp has joined #angularjs
[01:45:54] <scythe__> Fox have you used vagrant on windows?
[01:46:01] <Foxandxss> I don't use windows
[01:46:07] <Foxandxss> but it is not uncommon
[01:46:15] <scythe__> Mac?
[01:46:19] <Foxandxss> yup
[01:46:23] <stylemistake> scythe__: why don't you install a full virtualbox'd environment (without vagrant), share sources via samba share, and run builds via virtualbox terminal?
[01:46:31] <odin_> well I have no problem with it, maybe I just know what I am doing on windows, having switch to it after being fed up for Linux desktop for 10 years, GTK widgets suck! UI responiveness is laggy and slow
[01:46:33] *** josh-k has quit IRC
[01:46:42] *** AngularUI has joined #angularjs
[01:46:42] <AngularUI> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/rrEa6w
[01:46:42] <AngularUI> ng-grid/master 1ab31ef Paul Lambert: Enh(menus): simplify animation, add back tests for 1.2.8 as no mock needed...
[01:46:42] <AngularUI> ng-grid/master a671237 Paul: Merge pull request #2021 from PaulL1/animations_1.2...
[01:46:43] *** AngularUI has left #angularjs
[01:46:57] *** _ritchie_ has joined #angularjs
[01:47:03] *** BillCriswell has joined #angularjs
[01:47:04] <odin_> like I say Qt+wayland hope to fix, now I just need Eclipse IDE, Firefox/Mozilla/etc.. to all re-write with Qt
[01:47:05] <Foxandxss> ruby on windows is such a pain
[01:47:08] <Foxandxss> like 5 times slower
[01:47:09] <stylemistake> scythe__: there was not a single problem with this kind of setup
[01:47:20] <scythe__> stylemistake: That's way beyond my abilities I believe
[01:47:43] *** Fire-Dragon-DoL has quit IRC
[01:47:49] <odin_> I only use it for compass, I thought that was the thing with Ruby, it is slow! not as much as PHP, but this is why I use Java you see :) that is fast!
[01:47:59] *** RobinBAwesome has quit IRC
[01:48:04] <Foxandxss> PHP is faster than ruby AFAIK
[01:48:10] <stylemistake> scythe__: you should try
[01:48:13] <ProLoser> are you joking?
[01:48:18] <Foxandxss> but is not about ruby slowness
[01:48:28] <Foxandxss> it is about ruby being optimized for unix filesystems
[01:48:30] <davek> scythe__, because the vast majority of linux-sourced technologies that run "fine" on windows mean they run "fine" on cygwin which runs "shit" on windows.
[01:48:30] <odin_> yes you maybe right there, for some use cases PHP is faster, but add a framework or two in!
[01:48:31] <ProLoser> any sailsjs experts here?
[01:48:44] <Foxandxss> so in windows a task that should take 13 secs, takes 55
[01:48:55] *** shampine_ has quit IRC
[01:48:59] <davek> ProLoser, is rubdubya here?
[01:49:06] *** jonathanpglick has joined #angularjs
[01:49:07] <ProLoser> nope
[01:49:09] *** vtali has quit IRC
[01:49:09] *** akrikos has joined #angularjs
[01:49:13] *** nuizzy has quit IRC
[01:49:15] <ProLoser> davek: you note i cleaned up my code?
[01:49:18] <ProLoser> i removed all the bacon
[01:49:23] <davek> Well fuck, he's my go-to guy for sails.
[01:49:23] <ProLoser> wrote a custom impl
[01:49:25] *** bkuberek has joined #angularjs
[01:49:26] *** lw has quit IRC
[01:49:28] <davek> NO! Awesome. I'll check it out later.
[01:49:30] *** ngbot has joined #angularjs
[01:49:30] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e4eb382 to 2a2fd14: http://git.io/scnRXQ
[01:49:30] *** ngbot has left #angularjs
[01:49:40] *** vectra has joined #angularjs
[01:49:42] *** emmesswhy has quit IRC
[01:49:49] <odin_> what things are based on top of cygwin, it is only git tools? but they are not really that performance critical, yet they hit FS when in use but the amount of time executing a git command per week is very small
[01:49:57] *** tripu has joined #angularjs
[01:50:00] <ProLoser> davek: do you use it? you work withs ockets at all? it's a simple qustion
[01:50:00] *** Foxandxss has quit IRC
[01:50:12] *** iribarne has joined #angularjs
[01:50:12] *** nesquerra has joined #angularjs
[01:50:18] <odin_> compared to amount of time executing node.exe
[01:50:22] *** vampi-the-frog has quit IRC
[01:50:27] *** ngbot has joined #angularjs
[01:50:27] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 2a2fd14 to b477058: http://git.io/dhQTSg
[01:50:28] *** ngbot has left #angularjs
[01:50:55] <stylemistake> scythe__: at least when you do it yourself, you control everything that happens :)
[01:51:08] *** MaxV_ has joined #angularjs
[01:51:20] *** ngbot has joined #angularjs
[01:51:20] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b477058 to e69c180: http://git.io/HfYZwg
[01:51:20] *** ngbot has left #angularjs
[01:51:21] *** phaggood has joined #angularjs
[01:51:44] *** bpmj has quit IRC
[01:51:59] <stylemistake> tell me what's cool in angular 2.0
[01:51:59] *** shampine_ has joined #angularjs
[01:52:05] <scythe__> stylemistake: fair but in doing so I've already been wasting so much time to even get code running in the first place
[01:52:09] <stylemistake> or give me the link
[01:52:20] <odin_> scythe__, no I won't use virtualbox on windows to develop, I use Intellij IDEA/WebStorm IDE, and built in builds/console to run grunt/npm/cordova/bower/gulp/node
[01:52:27] *** emmesswhy has joined #angularjs
[01:52:29] *** ngbot has joined #angularjs
[01:52:29] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e69c180 to ba731ab: http://git.io/AQLxmw
[01:52:29] *** ngbot has left #angularjs
[01:52:46] <odin_> @AngularTwoIsCool
[01:53:09] <odin_> I think I maybe using Dart before Angular2 myself
[01:53:12] *** richiebkr has joined #angularjs
[01:53:20] *** RobinBAwesome has joined #angularjs
[01:53:24] *** ngbot has joined #angularjs
[01:53:25] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from ba731ab to e0198c1: http://git.io/zOSu3w
[01:53:25] *** ngbot has left #angularjs
[01:53:34] *** _ritchie_ has quit IRC
[01:53:56] *** mary5030 has joined #angularjs
[01:53:59] <davek> ProLoser, sorry yeah I've worked with sails very briefly and sockets more extensively.
[01:54:03] <davek> Wsup?
[01:54:08] <odin_> if you've gotta relearn everything for web3.0 on top of ES6, then might as well move towards a more typesafe frontend language that still ends up as JavaScript
[01:54:13] <stylemistake> bb, hf! o/
[01:54:19] *** bkuberek has quit IRC
[01:54:20] *** Limix has quit IRC
[01:54:24] *** ngbot has joined #angularjs
[01:54:24] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from e0198c1 to 0b16d10: http://git.io/jonJOg
[01:54:25] *** ngbot has left #angularjs
[01:54:28] *** edrocks_ has joined #angularjs
[01:54:31] *** jackdpeterson has quit IRC
[01:55:14] *** ngbot has joined #angularjs
[01:55:14] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0b16d10 to d906ed3: http://git.io/eaWwAQ
[01:55:15] *** ngbot has left #angularjs
[01:55:19] *** richardlitt has quit IRC
[01:55:31] <odin_> angular 1.x has done a great job of making it possible to put together some large project in keep in control, but really, there are still a lock of JS hackery going on
[01:55:31] <davek> odin_, uhh Dart isn't supposed to end up as JS, that's just ducktape until they get browser support.
[01:55:32] *** hiptobecubic has joined #angularjs
[01:55:49] *** {DV8} has joined #angularjs
[01:55:57] <ProLoser> davek: i don't know how to create endpoints specifically for use in digestion by the sockets
[01:55:57] <odin_> they already have browser support, its just only google's, no other is adopting it, due to NIH
[01:56:00] *** subr0utine has joined #angularjs
[01:56:08] *** MaxV_ has quit IRC
[01:56:15] *** phaggood has quit IRC
[01:56:19] *** ngbot has joined #angularjs
[01:56:19] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from d906ed3 to 9a26ab5: http://git.io/rc0dzg
[01:56:19] *** ngbot has left #angularjs
[01:56:21] *** opiates has joined #angularjs
[01:56:35] <frop_> odin_: Can angular.element be used in a controller? I'm building the html string in a factory, assigning that to a variable in the scope of a controller, and then accessing that variable in a template.
[01:56:53] *** optikalmouse has quit IRC
[01:56:57] *** Hippo has joined #angularjs
[01:57:03] *** nesquerra has quit IRC
[01:57:04] *** icarus75 has quit IRC
[01:57:17] <sacho_> why
[01:57:26] <davek> ProLoser, uhh if this is specifically for sails and I'm understanding you correctly, they use namespaces/rooms conventions to map HTTP endpoints to corresponding socket subscriptions.
[01:57:33] *** ngbot has joined #angularjs
[01:57:33] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 9a26ab5 to 0f7bcfd: http://git.io/WxDeZA
[01:57:33] *** ngbot has left #angularjs
[01:57:37] <sacho_> you can access angular.element from everywhere, since angular is a global
[01:57:39] <odin_> frop_, well you are meant to use directive's to modify DOM, that this means if you annotate the element you wish to change, then attach the DOM editing code to this
[01:58:13] <davek> odin_, since when is this?
[01:58:13] *** josh-k has joined #angularjs
[01:58:19] <davek> Last I checked you needed to download Dartium with it to get it to run natively.
[01:58:36] *** phzon has joined #angularjs
[01:58:39] *** ngbot has joined #angularjs
[01:58:39] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0f7bcfd to 0c19482: http://git.io/TwCDEg
[01:58:39] *** ngbot has left #angularjs
[01:58:42] *** MistuhKurtz has joined #angularjs
[01:58:50] <odin_> frop_, <div my-special-attr></div> then you attach your DOM manipulation code to the directive 'my-special-attr'
[01:58:52] *** {DV8} has quit IRC
[01:58:53] *** jbeaudry has quit IRC
[01:59:19] *** MistahKurtz has quit IRC
[01:59:44] *** doug64k has quit IRC
[01:59:48] *** ngbot has joined #angularjs
[01:59:48] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0c19482 to b7e2b01: http://git.io/0zp-uA
[01:59:48] *** ngbot has left #angularjs
[02:00:18] *** johnstorey has joined #angularjs
[02:00:18] *** dejanr has joined #angularjs
[02:00:35] *** pootpoot has quit IRC
[02:00:35] <odin_> davek, maybe you are right on that, because I have yet to write helloworld in dart, it is on my list to examine more closely, especially before Angular2
[02:00:49] <frop_> odin_: I'm doing my dom manipulations in directives, but should insertion also be done in directives? In my case I have a string that looks like "<highlight word="hello">Hello</highlight> world how are <highlight word="you">you</highlight>"
[02:00:55] *** ngbot has joined #angularjs
[02:00:55] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b7e2b01 to 0ccc4fc: http://git.io/0bGjpA
[02:00:56] *** ngbot has left #angularjs
[02:01:09] <deweydb> i will murder a corrupt senator on your behalf if you can tell me how to get this module to work: https://github.com/umurkontaci/angular-raven
[02:01:09] <odin_> frop_, insertion into the DOM, is also "DOM manipulation"
[02:01:13] *** katsuki has joined #angularjs
[02:01:55] *** Guest34111 has quit IRC
[02:02:05] *** ngbot has joined #angularjs
[02:02:06] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 0ccc4fc to 56138bd: http://git.io/gqz2OQ
[02:02:06] *** ngbot has left #angularjs
[02:02:06] <ProLoser> davek: how do you return data?
[02:02:20] <ProLoser> i tried ding res.send(data) and it says i'm trying to render some html file
[02:02:35] *** mary5030 has quit IRC
[02:02:53] *** phzon has quit IRC
[02:03:00] <ProLoser> nvm guess i was looking at something else
[02:03:02] <ProLoser> ig ot it now
[02:03:04] <ProLoser> super weird
[02:03:08] *** ngbot has joined #angularjs
[02:03:08] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 56138bd to dc4b065: http://git.io/BV-MaQ
[02:03:08] *** ngbot has left #angularjs
[02:03:11] <davek> Excellent.
[02:03:27] *** Owner__ has joined #angularjs
[02:03:30] *** ccohn has quit IRC
[02:03:39] *** grantfunke_ has quit IRC
[02:03:39] <ProLoser> do i have to restart sails every time i change a controller?
[02:03:45] <edrocks_> anyone here work on angular/material?
[02:03:46] <Hippo> is there a angular helper function like .length? I want to call .length when I don't know if its going to be a objet or a array.
[02:03:51] *** Owner__ is now known as Guest86203
[02:03:51] <Hippo> object*
[02:03:53] <odin_> frop_, $ele.html('<highlight word="hello">Hello</highlight> world how are <highlight word="you">you</highlight>');
[02:03:55] *** dnull has joined #angularjs
[02:03:59] *** tfennelly has joined #angularjs
[02:04:02] *** ccohn has joined #angularjs
[02:04:04] *** jbeaudry has joined #angularjs
[02:04:13] *** ngbot has joined #angularjs
[02:04:13] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from dc4b065 to 74981c9: http://git.io/gNfU1g
[02:04:13] *** ngbot has left #angularjs
[02:04:19] *** optikalmouse has joined #angularjs
[02:04:32] *** Guest86203 has quit IRC
[02:04:34] *** phuh has quit IRC
[02:04:41] *** marshall has joined #angularjs
[02:04:44] <davek> ProLoser, yeah just make a little watch task.
[02:04:54] <ProLoser> hmm
[02:04:59] <ProLoser> feel like sails lift should do it built in
[02:05:03] *** phuh has joined #angularjs
[02:05:05] <ProLoser> or do hot-swapping for me
[02:05:08] *** AciD`` has quit IRC
[02:05:28] *** ngbot has joined #angularjs
[02:05:28] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 74981c9 to da96054: http://git.io/nFKUVQ
[02:05:28] *** ngbot has left #angularjs
[02:05:46] *** whitebook has quit IRC
[02:05:57] <frop_> odin_: Okay that makes more sense. Is $ele something you're accessing in a directive's link function or something? What is $ele?
[02:06:02] <frop_> odin_:
[02:06:04] *** mdedetrich has quit IRC
[02:06:13] *** Rejected has quit IRC
[02:06:14] <davek> ProLoser, yeah or provide an option to do that. sails lift --watch
[02:06:17] <odin_> frop_, in link function I think $ele is the "element" argument
[02:06:31] *** junmin has quit IRC
[02:06:32] <ProLoser> you had my hopes raised for a minute lol
[02:06:35] <Grokling> ProLoser: nodemon app.js does the trick for me..
[02:06:41] <odin_> frop_, $ele is my way of saying: angular.element(blah) === $ele
[02:06:44] <ProLoser> Grokling: with sails?
[02:06:48] <Grokling> Yup.
[02:06:55] <ProLoser> what command do you do?
[02:06:55] *** {DV8} has joined #angularjs
[02:07:04] <ProLoser> just nodemon sails?
[02:07:05] <frop_> odin_: Thank you
[02:07:14] <Grokling> nodemon app.js
[02:07:18] <davek> He's using sails.
[02:07:24] <Grokling> So am I.
[02:07:25] *** zeroquake has joined #angularjs
[02:07:29] *** rtpg has joined #angularjs
[02:07:38] <ProLoser> what about grunt and all that jazz
[02:07:39] *** shampine_ has quit IRC
[02:07:42] *** jharbaugh has joined #angularjs
[02:08:00] *** rtpg has quit IRC
[02:08:08] *** rtpg has joined #angularjs
[02:08:15] *** chrisbirk has quit IRC
[02:08:34] <Grokling> ProLoser: Have a look at app.js.. it does a sails.lift, so grunt is taken care of for you.
[02:08:44] <ProLoser> okay
[02:08:46] <ProLoser> danke
[02:08:49] *** ccohn has quit IRC
[02:08:52] *** snapwich has joined #angularjs
[02:08:59] <ProLoser> i can't figure out why the AuthController won't let me add more methods
[02:09:09] <ProLoser> like every action in the controller is trying to render some view
[02:09:35] *** ngbot has joined #angularjs
[02:09:35] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from da96054 to 841c090: http://git.io/feBv4Q
[02:09:35] *** ngbot has left #angularjs
[02:09:37] *** cannap has joined #angularjs
[02:09:51] *** araujo has quit IRC
[02:09:58] <davek> ProLoser, I have limited experience with sails but I believe the convention may be to use Services for that sort of thing.
[02:10:13] <ProLoser> for what?
[02:10:23] <ProLoser> i just want to add an endpoint to the authcontroller to see info about who's logged in
[02:10:32] <davek> oh oh.
[02:10:37] <ProLoser> over socket
[02:10:40] *** tfennelly has quit IRC
[02:10:45] *** ngbot has joined #angularjs
[02:10:45] <ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 841c090 to 91834bc: http://git.io/pkCQ1g
[02:10:45] *** ngbot has left #angularjs
[02:11:25] *** jbeaudry has quit IRC
[02:11:51] *** ngbot has joined #angularjs
[02:11:51] <ngbot> [angular.js] jeffbcross merged master into g3_v1_3: http://git.io/BRRosQ
[02:11:51] *** ngbot has left #angularjs
[02:11:54] *** rchavik has joined #angularjs
[02:12:14] *** lw has joined #angularjs
[02:13:58] *** jharbaugh has quit IRC
[02:14:22] *** frankblizzar has joined #angularjs
[02:14:33] *** michaelSharpe has joined #angularjs
[02:14:39] *** ccohn has joined #angularjs
[02:14:41] *** Freeman42x has quit IRC
[02:15:00] <Grokling> ProLoser: You can add endpoints until the cows come home, no trouble. Making them work with sockets I'm not sure about. Blueprint routes get set up for sockets by default, but I _think_ that custom ones you have to configure yourself, and I haven't done it yet.
[02:15:38] *** Sgeo has joined #angularjs
[02:15:42] *** scythe__ has quit IRC
[02:15:54] <davek> It's a bitch, which is one of the reasons I didn't go with sails.
[02:15:57] *** scythe__ has joined #angularjs
[02:16:03] *** shampine_ has joined #angularjs
[02:16:13] <davek> Not really sails fault though, that's the tradeoff of the convention-over-configuration deal.
[02:16:15] *** whitebook has joined #angularjs
[02:16:29] <ProLoser> i just added controller actions and it seems to work
[02:16:37] <ProLoser> BUT for some reason i think the user object is being stripped out of the response
[02:16:50] *** glaksmono has joined #angularjs
[02:17:43] *** tsalb has quit IRC
[02:18:06] *** snapwich has quit IRC
[02:18:14] *** jonnybro1 has left #angularjs
[02:18:29] *** freeman42 has joined #angularjs
[02:18:32] *** araujo has joined #angularjs
[02:19:02] *** optikalmouse has quit IRC
[02:19:11] *** philipd has joined #angularjs
[02:19:48] *** nemothekid has quit IRC
[02:20:04] *** MrBaboon has quit IRC
[02:20:29] *** juanpablo_ has quit IRC
[02:20:33] *** discgo has quit IRC
[02:21:49] *** cigarshark has quit IRC
[02:23:11] *** frankblizzar has quit IRC
[02:23:56] *** jamesalbuquerque has joined #angularjs
[02:24:21] *** marr has quit IRC
[02:25:43] *** nemothekid has joined #angularjs
[02:26:21] *** dannyc has joined #angularjs
[02:26:21] *** phaggood has joined #angularjs
[02:26:24] *** scythe__ has quit IRC
[02:26:34] *** frkout has joined #angularjs
[02:26:45] *** ProLoser has quit IRC
[02:28:37] *** rchavik has quit IRC
[02:28:46] *** AngularUI has joined #angularjs
[02:28:46] <AngularUI> [ng-grid] PaulL1 opened pull request #2022: enh(memory leak testing): added a test case (master...memory_leak) http://git.io/HnUUBA
[02:28:47] *** AngularUI has left #angularjs
[02:29:40] *** BlinkyBill has quit IRC
[02:30:12] *** eamonn has joined #angularjs
[02:30:21] *** guilbep has quit IRC
[02:31:00] *** glaksmono has quit IRC
[02:31:01] *** frkout has quit IRC
[02:31:04] *** dannyc has quit IRC
[02:31:24] *** the-anconia has quit IRC
[02:31:33] *** AWAW has quit IRC
[02:31:46] *** johnstorey has quit IRC
[02:32:42] *** jbeaudry has joined #angularjs
[02:33:11] *** Nijikokun has joined #angularjs
[02:33:17] *** bpmj has joined #angularjs
[02:34:50] *** junmin has joined #angularjs
[02:35:02] *** tfennelly has joined #angularjs
[02:35:08] *** jbeaudry has quit IRC
[02:35:17] *** rburns has joined #angularjs
[02:35:54] *** shampine_ has quit IRC
[02:36:05] *** tfennell_ has joined #angularjs
[02:36:16] *** whitebook has quit IRC
[02:37:21] *** jeremy has joined #angularjs
[02:37:29] *** blomman has joined #angularjs
[02:37:35] *** warcuy has quit IRC
[02:37:39] *** smelly has joined #angularjs
[02:37:45] *** jeremy is now known as Guest18932
[02:38:03] <Guest18932> hi guys
[02:38:36] *** Limix has joined #angularjs
[02:38:41] *** Limix has quit IRC
[02:38:48] *** Guest18932 has quit IRC
[02:38:50] <davek> So so tired of C++.
[02:38:54] *** cohitre has quit IRC
[02:38:58] *** jamesalbuquerque has left #angularjs
[02:39:00] *** kreiggers has quit IRC
[02:39:05] *** jbeaudry has joined #angularjs
[02:39:20] *** josh3336 has joined #angularjs
[02:39:38] <deweydb> can i do this: https://gist.github.com/deweydb/07878ad2e2af8bcbe57b or will that not work because its a function that gets called right away?
[02:39:39] *** tfennelly has quit IRC
[02:40:03] <sacho_> deweydb, what are you trying to achieve?
[02:40:09] *** mmealling has joined #angularjs
[02:40:21] <deweydb> just want a flag globally on the app so i can enable/disable certain things
[02:40:23] *** doug64k has joined #angularjs
[02:40:28] *** nairys has quit IRC
[02:40:36] *** ctanga has quit IRC
[02:40:39] <deweydb> like logging to sentry vs the console
[02:40:45] *** robdubya has quit IRC
[02:41:07] *** motionman has joined #angularjs
[02:41:08] <deweydb> actually jsut realized i think i can just do this
[02:41:08] <deweydb> .value('developmentMode', (window.location.href.indexOf('gbstool.learningbydoingtools.com') > -1))
[02:41:18] *** numenor has joined #angularjs
[02:41:22] *** cads has quit IRC
[02:41:56] *** richiebkr has quit IRC
[02:42:08] *** rchavik has joined #angularjs
[02:42:14] *** scythe__ has joined #angularjs
[02:42:21] *** blomman has quit IRC
[02:43:24] *** eamonn has quit IRC
[02:44:01] *** smelly has quit IRC
[02:44:22] *** numenor has quit IRC
[02:44:22] *** FIFOd[a] has joined #angularjs
[02:44:48] *** numenor has joined #angularjs
[02:45:03] *** jbeaudry has quit IRC
[02:45:18] *** japhar81 has joined #angularjs
[02:46:23] *** chrisbirk has joined #angularjs
[02:46:24] *** josh3336_ has joined #angularjs
[02:46:33] *** josh3336 has quit IRC
[02:46:33] *** josh3336_ is now known as josh3336
[02:46:46] <opus_> Hello
[02:47:03] *** vassagus has quit IRC
[02:47:15] *** rchavik has quit IRC
[02:47:18] *** tfennell_ has quit IRC
[02:47:52] *** opiates has quit IRC
[02:47:57] <deweydb> wait, can i not inject a .value into a .config ?
[02:48:03] *** cacts has joined #angularjs
[02:48:07] <deweydb> i guess i assumed everything was injectable
[02:48:12] *** jeffszusz has quit IRC
[02:48:54] *** gnrlbzik has joined #angularjs
[02:48:58] *** bpmj has quit IRC
[02:49:36] *** michaelfavia has joined #angularjs
[02:49:52] *** davek has quit IRC
[02:49:52] *** davek has joined #angularjs
[02:50:04] *** vtali has joined #angularjs
[02:50:27] *** tfennelly has joined #angularjs
[02:50:49] *** SoulBlade has joined #angularjs
[02:51:32] *** glaksmono has joined #angularjs
[02:51:50] *** zB0hs has joined #angularjs
[02:51:53] *** MaxV_ has joined #angularjs
[02:52:31] *** SomeKittens has joined #angularjs
[02:52:32] *** cakirke has joined #angularjs
[02:54:16] *** jareddlc has quit IRC
[02:54:23] *** vtali has quit IRC
[02:54:57] *** tfennelly has quit IRC
[02:55:56] *** nesquerra has joined #angularjs
[02:56:24] *** robdubya has joined #angularjs
[02:56:28] *** siovene has quit IRC
[02:56:34] *** MaxV_ has quit IRC
[02:57:39] *** rchavik has joined #angularjs
[02:57:53] *** farski has quit IRC
[02:58:09] *** robdubya has quit IRC
[02:58:09] *** numenor has quit IRC
[02:58:22] *** braidn has quit IRC
[02:58:47] *** numenor has joined #angularjs
[02:58:55] *** g3funk has joined #angularjs
[02:58:58] <rho> m back
[02:59:16] <rho> er, wrong room. sry
[02:59:17] <rho> heh
[02:59:56] *** yelvert has quit IRC
[02:59:56] *** numenor has quit IRC
[03:00:07] *** aoh_ has quit IRC
[03:00:19] *** numenor has joined #angularjs
[03:01:19] *** johnstorey has joined #angularjs
[03:01:28] *** josh-k has quit IRC
[03:01:46] *** johnstorey has quit IRC
[03:01:59] *** TheAceOfHearts has quit IRC
[03:02:13] *** josh-k has joined #angularjs
[03:02:51] *** oktapodi has joined #angularjs
[03:04:04] *** themime has quit IRC
[03:04:06] *** rho has quit IRC
[03:04:24] *** ColKurtz has quit IRC
[03:04:31] *** emmesswhy has quit IRC
[03:04:32] *** phuh has quit IRC
[03:04:35] *** zumba_addict has joined #angularjs
[03:04:40] *** wa5ted has joined #angularjs
[03:04:49] *** bgerami has quit IRC
[03:05:00] *** phuh has joined #angularjs
[03:05:02] <deweydb> awww and i just got excited
[03:05:07] *** windsurf_ has joined #angularjs
[03:05:13] *** danflies has joined #angularjs
[03:05:19] *** asher^ has quit IRC
[03:05:36] *** rburns has quit IRC
[03:05:44] *** whitebook has joined #angularjs
[03:05:56] <zumba_addict> I posted this earlier but got disconnected while I was on train. I wanted to know if there is a better way to write this or if it's enough - https://gist.github.com/c0debreaker/ebe1137969110399acaa
[03:05:56] *** rburns has joined #angularjs
[03:07:28] *** maikowblue has quit IRC
[03:07:46] *** jolts has quit IRC
[03:08:01] *** oktapodi has quit IRC
[03:08:03] *** dejanr has quit IRC
[03:08:07] *** gunn has joined #angularjs
[03:08:11] *** Limix has joined #angularjs
[03:08:14] *** vtali has joined #angularjs
[03:08:33] *** zB0hs has quit IRC
[03:08:52] <windsurf_> just reading an angularjs book on the topic of $resource. What if for a valid transaction I needed to save multiple things? Updating one resource would in theory complete when others may fail thus the transacton isn’t atomic. What’s the convention for this use case?
[03:09:04] *** cannap has quit IRC
[03:09:07] <windsurf_> I think it’s db agnostic but i plan on using mongo fyi
[03:09:11] *** elrabin has joined #angularjs
[03:09:14] *** yoshokatana has joined #angularjs
[03:09:18] <windsurf_> and this is a theoretical scenario for now
[03:09:55] *** xastey- has joined #angularjs
[03:10:08] *** MrBaboon has joined #angularjs
[03:11:21] *** Aliks has quit IRC
[03:12:30] *** dllama has quit IRC
[03:12:30] *** phaggood has quit IRC
[03:12:34] *** RedOrangeZ has quit IRC
[03:12:42] *** alexw has quit IRC
[03:12:51] *** dllama has joined #angularjs
[03:13:08] *** fedenunez has joined #angularjs
[03:13:10] *** bpmj has joined #angularjs
[03:13:15] *** salbertson has quit IRC
[03:13:25] *** bpmj has quit IRC
[03:13:41] *** hsttlrjeff has joined #angularjs
[03:13:44] <windsurf_> Maybe I’d define a different kind of resource which encapsulated all of the things that need saving; the db wouldn’t need to mirror the resource?
[03:14:01] *** mclenithan has quit IRC
[03:14:08] *** xastey has quit IRC
[03:14:45] <davek> windsurf_ that's a back-end issue... your client shouldn't interact directly with your database.
[03:15:18] *** walbert has joined #angularjs
[03:15:19] *** hsttlrjeff has quit IRC
[03:15:21] *** alexw has joined #angularjs
[03:16:26] *** GeneralChoomin has joined #angularjs
[03:16:27] *** motionman has quit IRC
[03:16:50] *** shampine has quit IRC
[03:17:09] *** whitebook has quit IRC
[03:18:01] *** adpirz_ has joined #angularjs
[03:18:25] *** vtali has quit IRC
[03:18:32] *** zB0hs has joined #angularjs
[03:18:45] *** rchavik has quit IRC
[03:19:21] <windsurf_> thank you for your opinion davek
[03:19:23] *** adpirz has quit IRC
[03:20:16] *** plexiv has quit IRC
[03:20:23] *** yoshokatana has quit IRC
[03:20:32] *** alexw has quit IRC
[03:20:54] *** motionman has joined #angularjs
[03:21:20] *** alexw has joined #angularjs
[03:21:33] <davek> windsurf_, less opinion and more widely accepted convention.
[03:21:45] *** deanclkclk has joined #angularjs
[03:22:15] *** windsurf_ has quit IRC
[03:22:38] *** dcherman has quit IRC
[03:22:40] *** plexiv has joined #angularjs
[03:22:55] *** rchavik has joined #angularjs
[03:23:23] *** whunt has quit IRC
[03:24:22] *** junmin has quit IRC
[03:24:31] *** pen has quit IRC
[03:24:38] *** Hippo has quit IRC
[03:24:39] *** doug64k has quit IRC
[03:24:52] *** junmin has joined #angularjs
[03:25:09] *** alexw has quit IRC
[03:25:15] *** nick_ampush has joined #angularjs
[03:26:23] *** marshall has quit IRC
[03:26:26] *** akrikos has quit IRC
[03:26:56] *** Nizumzen has joined #angularjs
[03:27:20] <nick_ampush> Hello
[03:27:34] *** MrBaboon has quit IRC
[03:27:42] *** ccohn has quit IRC
[03:28:19] *** ccohn has joined #angularjs
[03:28:24] *** alexw has joined #angularjs
[03:28:38] *** tkimmel has joined #angularjs
[03:28:40] *** kakashiA1 has joined #angularjs
[03:28:54] <nick_ampush> Looking for a lead front-end developer. We're building an insane growth machine for business with angularjs. Ping me if interested.
[03:29:05] <nick_ampush> nick.shah at ampush dot com
[03:29:08] *** rchavik has quit IRC
[03:29:18] <davek> Those buzzwords!
[03:29:31] <Senjai> Buzzwordpocalypse
[03:29:31] *** junmin has quit IRC
[03:29:57] <Senjai> nick_ampush: So you're a startup that just got VC funding and needs a place to put it? :P
[03:30:40] <nick_ampush> haha i figured i would get shit for this... but gotta take risks
[03:30:51] *** jbeaudry has joined #angularjs
[03:30:53] *** jonathanpglick has quit IRC
[03:31:00] *** Limix has joined #angularjs
[03:31:12] <nick_ampush> we're actually bootstrapped believe it or not!
[03:31:15] <Senjai> nick_ampush: I'm just joshing you
[03:31:16] *** jbeaudry has quit IRC
[03:31:23] *** joshontheweb has joined #angularjs
[03:31:25] <Senjai> nick_ampush: But yeah, that is the image you'd give off :P
[03:31:42] *** patrick99e99 has quit IRC
[03:31:48] *** kakashiAL has quit IRC
[03:31:59] *** alexw has quit IRC
[03:32:05] <walbert> Looking at your site, I have absolutely no idea what you do.
[03:32:11] <Senjai> walbert: Advertising mang
[03:32:13] <Senjai> It's a thing
[03:32:20] <nick_ampush> fair enough... im a founder of ampush... about 8 months ago we had to part ways with our head of engineering, so the whole org has been reporting up to me... its been a fun ride but still figuring it out :)
[03:32:29] <Senjai> They hire people from facebook apparently.
[03:32:35] <Senjai> nick_ampush: Been there, scary times man.
[03:32:37] *** RobinBAwesome has quit IRC
[03:32:45] *** ccohn has quit IRC
[03:33:07] *** tkimmel has quit IRC
[03:33:11] *** ki0 has quit IRC
[03:33:27] <nick_ampush> yea it was... but a lot of fun. the team has rallied, culture has gotten way better... and we just hired a new awesome vp of engineering... older guy but a real mentor... so things looking good
[03:33:44] *** alexw has joined #angularjs
[03:34:07] *** hell_razer has joined #angularjs
[03:34:11] *** zB0hs has quit IRC
[03:34:14] <nick_ampush> walbert - we just re-did the website! what don't you understand? you come off as a curmudgeon... :) That said, I'm open to feedback
[03:34:34] <Senjai> nick_ampush: I'd have the effects be static
[03:34:39] <Senjai> But besides that, it's fine
[03:34:41] *** frkout has joined #angularjs
[03:35:00] *** the-anconia has joined #angularjs
[03:35:10] *** anapitupulu has joined #angularjs
[03:35:14] <nick_ampush> yea thats fair... i like that it gives an 'alive' feeling, but could be distracting
[03:35:17] <Senjai> The whole popping stuff into the page as you scroll down is way overdone :P Sometimes people just like a crisp clean interface that doesn't make their eyes work. Just my $0.02
[03:35:34] *** Juanchito has quit IRC
[03:36:04] *** dejanr has joined #angularjs
[03:36:04] *** rburns has quit IRC
[03:36:19] *** rburns has joined #angularjs
[03:36:28] *** MrBaboon has joined #angularjs
[03:36:38] <walbert> nick_ampush: Are you a source of traffic/publisher? A consultant? Are you selling me a tool? The site is itself is very pretty, but I don't know what your product is.
[03:36:45] *** opiates has joined #angularjs
[03:36:50] *** dejanr has quit IRC
[03:36:54] <nick_ampush> so senjai - what advice do you have for me as I'm trying to build out a baller front-end team...
[03:37:31] <Senjai> nick_ampush: I pinged you :)
[03:37:32] *** frkout_ has joined #angularjs
[03:37:46] *** mjs2600 has quit IRC
[03:38:17] <nick_ampush> walbert - we run facebook/twitter advertising for business
[03:38:38] <nick_ampush> using our platform and our great people
[03:38:48] <davek> Social media management consultant.
[03:39:16] *** hell_razer has quit IRC
[03:39:43] <nick_ampush> davek - sure thats not an incorrect assessment
[03:39:49] *** frkout has quit IRC
[03:39:57] <Senjai> nick_ampush: Can you see your PM's ?
[03:40:00] *** blomman has joined #angularjs
[03:40:17] *** fedenunez has quit IRC
[03:40:25] <dllama> sup Senjai
[03:40:29] <Senjai> dllama: o/
[03:40:30] *** vtali has joined #angularjs
[03:40:31] *** mven has joined #angularjs
[03:40:42] <dllama> i always forget that with u that means wave
[03:40:50] <dllama> i immediately think its a frowning face soon as i msg u lol
[03:41:01] *** rchavik has joined #angularjs
[03:41:04] *** woah has quit IRC
[03:41:09] <dllama> hello everyone else as well :)
[03:41:10] *** jonathanpglick has joined #angularjs
[03:41:16] *** junmin has joined #angularjs
[03:41:16] <nick_ampush> hello
[03:41:53] *** vtali has quit IRC
[03:42:04] *** caitp has quit IRC
[03:42:18] <davek> Why would I use you over any of the thousands of other consultancies?
[03:42:36] *** frkout_ has quit IRC
[03:43:17] *** caitp has joined #angularjs
[03:43:21] <Senjai> dllama: Nope :P Waves!
[03:43:23] <Senjai> \o/
[03:43:57] <dllama> that just looks like someone drowning in the water lol
[03:44:01] *** doug64k has joined #angularjs
[03:44:23] *** numenor has quit IRC
[03:44:27] *** blomman has quit IRC
[03:44:46] <Senjai> (>'.')>
[03:44:50] <nick_ampush> davek - ultimately it comes down to performance - we deliver measurable business results in a better fashion. in addition to that, we provide actionabile insights... and make it easy. those are the reasons our customers join and stay with us...
[03:45:15] <nick_ampush> its never about one feature here and there... but rather the first principles I mention above
[03:45:16] <davek> Wow you've got such a bad case of the meaningless buzzwords mate.
[03:45:30] <davek> I mean no offense, but its a real put off from my perspective.
[03:45:39] *** joshontheweb has quit IRC
[03:45:49] *** hecatonicosachor has joined #angularjs
[03:46:15] *** boneskull has quit IRC
[03:46:20] <nick_ampush> haha I think your usage of buzzwords here is in fact the trite buzzword
[03:46:30] <nick_ampush> But I hear you... the reality is our business is quite simple
[03:46:43] <nick_ampush> Performance, Insights and Ease
[03:46:57] <nick_ampush> how we do it can be far more complex... but thats what it comes down to
[03:47:14] <nick_ampush> first principles... or as you call it 'buzzwords'
[03:47:16] *** frkout has joined #angularjs
[03:47:33] <davek> Right but my question was how are you better than the already flooded market? "We're better because we're better." is not an answer.
[03:47:43] *** frkout has joined #angularjs
[03:48:01] *** neoadventist has joined #angularjs
[03:48:19] *** RobinBAwesome has joined #angularjs
[03:48:48] <hiptobecubic> davek, he said how he thinks he's better.
[03:49:03] *** sacho_ has quit IRC
[03:49:09] *** rchavik has quit IRC
[03:49:16] *** RobinBAwesome has quit IRC
[03:49:18] <hiptobecubic> you can call it meaningless buzzwords if you want to, but those are standard marketing terms for real things.
[03:49:57] *** emmesswhy has joined #angularjs
[03:50:06] *** balr0g has joined #angularjs
[03:50:12] <dllama> nick_ampush: i see u guys are in empire state building, are you using wework space?
[03:50:12] <walbert> They're real things, but it's a tall order for us to assume that he does all of those things better than, per se, his strongest competitor.
[03:50:13] <davek> And yet none of them are quantified... all of the other guys "deliver measurable business results" and "actionable insights" as well.
[03:50:37] *** frkout has quit IRC
[03:50:40] *** rho has joined #angularjs
[03:50:51] <Senjai> davek: <3
[03:50:53] *** moritzs has quit IRC
[03:51:02] <nick_ampush> Yea... thats fair.. and 'how' we deliver those three things is really what makes the value proposition different...
[03:51:17] <nick_ampush> and its two things: (1) Platform and (2) People.
[03:51:39] *** pelll0 has joined #angularjs
[03:52:10] <nick_ampush> Platform has unique data integrations to bring in a business' CRM... downstream revenue data... tie that to ad stat data and make intelligent ad optimization decisions... for example.
[03:52:32] *** junmin has quit IRC
[03:52:41] *** MaxV_ has joined #angularjs
[03:52:43] <Senjai> nick_ampush: What was your job on wall st?
[03:52:53] <nick_ampush> and People are more intelligent, knowledgeable and strategic which sets apart from traditional marketing
[03:52:55] <Senjai> nick_ampush: Says on your site you guys left wall st to start this co :P
[03:52:58] *** phaggood has joined #angularjs
[03:53:00] *** jonathanpglick has quit IRC
[03:53:01] <dllama> nick_ampush: are u in the wework space @ empire or do u have have a sepearte suite there? i'm asking cuz i was looking into wework
[03:53:37] <nick_ampush> yea we were all on wall street. investment bankers at morgan stanley for me
[03:53:54] *** pell0 has quit IRC
[03:53:56] *** eamonn has joined #angularjs
[03:54:01] <Senjai> Called it
[03:54:03] <Senjai> :P
[03:54:03] *** frop_ has quit IRC
[03:54:26] *** mary5030 has joined #angularjs
[03:54:27] <davek> Whew... you've got a lot of preconceptions to work through. I wish you the best.
[03:54:28] <Senjai> I was in the junior mining industry for a while :P
[03:54:33] *** ac360 has joined #angularjs
[03:54:35] *** scythe__ has quit IRC
[03:54:54] <GeneralChoomin> is there any project out there to replace ello after it replaces facebook?
[03:54:54] <davek> Senjai, I didn't know you could mine children.
[03:55:00] *** lvegerano-home has joined #angularjs
[03:55:01] <Senjai> I think what davek is hinting at, is there's a lot of sales talk there that really doesnt suggest anything of merit. Beating around the bush if you will.
[03:55:04] <Senjai> davek: It's the new fad
[03:55:23] <Senjai> nick_ampush: Simply: You make lots of money making clients lots of money is sufficient
[03:55:29] <Senjai> and you do it better than X competitor
[03:55:47] <Senjai> If people want to know why you, direct them to your nearest reference
[03:55:55] <davek> And then why you do it better than the competitor with case studies and side-by-side comparisons of your tool features.
[03:56:08] <Senjai> We're programmers, can't sales pitch us :P
[03:56:09] *** Soop has joined #angularjs
[03:56:10] *** MaxV__ has joined #angularjs
[03:56:23] <dllama> i looked at their site and i dont really get why people are jumping down on him, from what i'm gathering, they do insight and data aggregation for metrics,
[03:56:34] <GeneralChoomin> side by side comparison of your tool feature? sounds like taking a peek at another guy at the urinal
[03:56:49] <nick_ampush> haha
[03:56:49] <davek> I'm actually in the strip mining business. We extract strippers from quarries.
[03:56:50] <Senjai> GeneralChoomin: I won't tell if you won't
[03:57:00] <nick_ampush> we're in SOMA in SF... 9th and Bryant
[03:57:01] *** MaxV_ has quit IRC
[03:57:01] <Senjai> davek: What a humanitarian cause
[03:57:10] <Senjai> davek: Do you guys issue tax receipts for donations?
[03:57:18] <GeneralChoomin> but davek wants to peek
[03:57:28] <ac360> Anyone want to contribute on a cool open-source project? You could play an easy roll in something that could be very big today: https://github.com/servant-cmes/json-archetypes
[03:57:35] <ac360> It's called JSON Archetypes, and Archetypes are simply JSON standards for the most common types of data applications make over and over again (Products, Blog Posts, Events, Reviews, etc.)
[03:57:43] *** TheAceOfHearts has joined #angularjs
[03:57:43] <ac360> We’re slowly building momentum and we’re just looking for people to contribute types of data.
[03:57:50] <ac360> Otherwise, a simple star on the github repo really helps. Cheers
[03:57:59] <Senjai> ac360: linky?
[03:58:07] *** MrBaboon has quit IRC
[03:58:10] <ac360> https://github.com/servant-cmes/json-archetypes
[03:58:11] *** TheAceOfHearts has quit IRC
[03:58:15] <davek> ac360, don't get the value here.
[03:58:21] <GeneralChoomin> all i can contribute is my imagination
[03:58:36] *** eamonn has quit IRC
[03:58:43] *** asher^ has joined #angularjs
[03:58:45] <davek> dllama, I wasn't jumping on him for his company's product just his pitch and I was just giving honest feedback.
[03:58:46] *** neoadventist has quit IRC
[03:58:52] *** rburns has quit IRC
[03:59:04] <GeneralChoomin> feedback is never honest
[03:59:15] <davek> Like that?
[03:59:19] *** BillCriswell has quit IRC
[03:59:30] <GeneralChoomin> its feedback
[03:59:39] <walbert> dllama: I don't think anyone is jumping down his throat. There are a million and one shady and fly-by-night social media marketers, who do an awful job, and who I would never work for in a million years. If there's an example of somebody jumping into the market and bringing (what I would consider) actual value, I'm not going to reach that conclusion without asking.
[03:59:41] <GeneralChoomin> an opinion
[03:59:49] <Senjai> ac360: I also don't know the value there, sorry, JSON is simply too simple to have to strictly keep to a specific archetype. Especially when everything for everything is sent through API's that expect their own structure
[03:59:51] <GeneralChoomin> a reacton
[03:59:55] <GeneralChoomin> reaction
[03:59:56] *** jolts has joined #angularjs
[04:00:18] <davek> Which can be honest, hence the phrase "honest opinion". You're confusing it with "truth".
[04:00:23] <nick_ampush> good point walbert
[04:00:38] <GeneralChoomin> 1 and 0 either ur wrong or ur right
[04:00:45] *** MaxV__ has quit IRC
[04:00:50] <davek> walbert++
[04:00:50] <UniBot> walbert Karma: 1
[04:00:58] <ac360> The goal is to build applications that can undestand these data structures, so users can simply bring their data with them when they sign up.
[04:01:16] <GeneralChoomin> what if they get hacked
[04:01:22] <Senjai> ac360: But they don't work. What if I add tags to my blog post
[04:01:26] <GeneralChoomin> and all their data is compromised
[04:01:30] *** rchavik has joined #angularjs
[04:01:31] *** alexw has quit IRC
[04:01:32] <Senjai> ac360: What if I add shortlinks?
[04:01:41] <Senjai> ac360: Or other information?
[04:01:50] *** codeman has quit IRC
[04:01:51] <davek> ac360, this is what APIs and decentralized auth is for.
[04:01:58] <Senjai> Either way I'm going to be modifying it pretty quickly
[04:02:13] <davek> There will inevitably be more exceptions to the standard than true implementations of that standard.
[04:02:14] *** TheAceOfHearts has joined #angularjs
[04:02:40] <ac360> Senjai: The FAQ covers that. But, in short, make meta data objects that extend the Archetypes. Remember, the goal is just to allow your users to bring their data with them. Then they don't have to enter it in again when they sign up for your apps
[04:02:45] *** zeroquake has quit IRC
[04:03:08] * Senjai shrugs
[04:03:13] *** rburns has joined #angularjs
[04:03:15] *** shackleford has joined #angularjs
[04:03:16] <davek> ac360, again this is the purpose of APIs and the things Senjai mentions are not meta-data.
[04:03:26] <Senjai> It's simple enough for me not to want to depend on some external standard/library
[04:03:26] *** shackleford has quit IRC
[04:03:36] <davek> Senjai++
[04:03:37] <UniBot> davek: you must wait an hour between giving karma
[04:03:42] *** marcjs has quit IRC
[04:03:47] <davek> Senjai--
[04:03:47] <UniBot> davek: you must wait an hour between giving karma
[04:03:57] <davek> Senjai, you're immutable.
[04:03:59] <davek> Sorry bud.
[04:04:01] *** shackleford has joined #angularjs
[04:04:15] <ac360> But, there is no dependency
[04:04:23] *** iateadonut has left #angularjs
[04:04:24] *** subr0utine has quit IRC
[04:04:34] <ac360> You just structure your data so that people can bring in data they've already made.
[04:04:35] *** phuh has quit IRC
[04:04:35] <Senjai> davek: I'll take a voucher
[04:04:59] *** bmac has joined #angularjs
[04:05:01] *** phuh has joined #angularjs
[04:05:12] *** junmin has joined #angularjs
[04:05:20] <davek> ac360, there's a soft dependency on maintaining compliance with the standard. You're asking people to restructure their application data on the off chance that the user will want to download their data and move it to some other product? Why would I even want that to happen?
[04:05:21] <Senjai> ac360: If people want my data, they will have to format requests in a way that my API will understand it. I dont want to design an API around something that my application has no control over.
[04:05:22] *** nemothekid has quit IRC
[04:05:27] *** D9 has joined #angularjs
[04:05:41] <Senjai> If they wont do it because of a standard, then they don't want my datas bad enough
[04:05:43] <Senjai> :P
[04:05:46] * Senjai roars
[04:06:21] <ac360> Alright, there is one piece missing which I haven't mentioned yet.
[04:06:57] *** xavia has joined #angularjs
[04:07:18] <hiptobecubic> Is this the NSA's preferred format? That's the real question.
[04:07:33] <ac360> https://www.servant.co is a host for the JSON Archetypes. The purpose of Servant is to allow People to host their data themselves, instead of their data being hosted across the applications they use. Servant is cloud storage for these Archetypes.
[04:07:38] *** cakirke has quit IRC
[04:08:10] *** anjumkaiser has joined #angularjs
[04:08:11] <davek> Single-point of failure/vulnerability, always a great idea.
[04:08:18] <ac360> Except every API Request between Servant and an application is tracked, and the application is paid.
[04:08:35] <GeneralChoomin> what if some1 hacks servant.co
[04:08:39] <GeneralChoomin> and gets all the data
[04:08:51] <ac360> Basically, users pay for hosting, and that money is distributed to the places their data is sent to
[04:08:54] <davek> <davek> Single-point of failure/vulnerability, always a great idea.
[04:08:55] <GeneralChoomin> and then all their info for everything is out there
[04:09:00] *** pen has joined #angularjs
[04:09:24] <davek> ac360, why would i want to do that?
[04:09:40] <ac360> Do what?
[04:09:51] <davek> Pay someone to host my sensitive data in a single location?
[04:10:10] <nick_ampush> taking off - great meeting you dllama - senjai - davek - walbert
[04:10:19] <ac360> Servant doesn't really host sensitive data. It hosts the JSON Archetypes, which is data that is meant to be public (Products, Blog Posts, Reviews, Events, etc.)
[04:10:20] <davek> nick_ampush, take care and best of luck.
[04:10:45] *** firelinks has joined #angularjs
[04:10:55] *** reported_ has quit IRC
[04:11:00] <ac360> The point is to give Users control of the data they make, and let them do whatever they want with it via hosting it themselves in standard formats.
[04:11:01] *** joshontheweb has joined #angularjs
[04:11:02] <davek> ac360, okay so there's absolutely no value to it then? Not only is the data stored in once central location AT COST, but this is data that is normally public anyway?
[04:11:24] *** lud has quit IRC
[04:11:39] *** themime has joined #angularjs
[04:12:10] <walbert> take care, nick. thank you for taking the time to answer our questions.
[04:12:17] <ac360> davek: It's data that you want to show to the world, but is usually trapped in one service or the other. This is an attempt to get your data out of the single places it is stuck in, and use it everywhere
[04:12:44] *** ludkiller has joined #angularjs
[04:12:48] *** Soop has quit IRC
[04:12:52] <davek> I can already do that for free.
[04:13:05] <ac360> Right now, we all use at least 40 apps a month on average. Every single one of those places is storing part of our data, where we can't do anything with it.
[04:13:10] *** mange has joined #angularjs
[04:13:16] <davek> What do I want to do with it?
[04:13:18] <ac360> Other than what that application offers.
[04:13:19] <Senjai> nick_ampush: Adios
[04:13:34] *** mange is now known as Guest2556
[04:13:55] *** ajk27 has quit IRC
[04:14:06] <ac360> Well, for example, let's say you have blog posts, and you've spent all of your time optimizing your site, hoping people will show up to read your posts, but then no one comes...
[04:14:28] <GeneralChoomin> u buy some ads
[04:14:33] *** vtali has joined #angularjs
[04:14:34] <ac360> You made a blog, your posts are stuck in whatever blogging platform you used, and no one cares about it.
[04:14:51] <ac360> Wouldn't it be better if you could just send those blog posts everywhere?
[04:14:55] *** the-anconia has quit IRC
[04:14:59] <hiptobecubic> why?
[04:15:04] <hiptobecubic> If no one wants to read them
[04:15:09] *** dannyc has joined #angularjs
[04:15:26] <hiptobecubic> and where would you send them if not you blog website?
[04:15:31] <ac360> Merchants should be able to distribute their Products everywhere, Bloggers should be able to distribute their blog posts everywhere, real estate listings, events, etc... This stuff shouldn't be confined to just one application.
[04:15:34] <GeneralChoomin> you start a raffle for a free car
[04:15:38] <GeneralChoomin> and people come
[04:15:44] <GeneralChoomin> and u dont have a car
[04:15:47] <ac360> hiptobecubic: I would send them to 1,000 blog sites
[04:15:58] <davek> ac360, they can distribute their products everywhere? How would that work?
[04:16:07] <GeneralChoomin> that just sounds like clutter ac360
[04:16:10] <davek> Seriously.
[04:16:23] <hiptobecubic> yes that's a terrible example
[04:16:26] <hiptobecubic> i'd stop using it
[04:16:32] <Senjai> ac360: RSS is a thing isn't it
[04:16:33] *** michaelSharpe has quit IRC
[04:16:41] <GeneralChoomin> then blogs of goatse and people will have to go through 1000s of goatse blogs
[04:16:54] <Senjai> ac360: Also, who uses blogging platforms anymore? I can generate a blog with two commands
[04:16:56] <Senjai> :P
[04:16:57] *** TheAceOfHearts has quit IRC
[04:16:58] <ac360> davek: Every applciation that connects with Servants. You just click connect, and it has access to your data.
[04:17:01] * Senjai brushes shoulders off
[04:17:11] <GeneralChoomin> man i wouldnt ever want that
[04:17:14] <davek> Senjai, octopress?
[04:17:14] <Senjai> ac360: That's a lot of work
[04:17:15] <hiptobecubic> :D
[04:17:16] <Senjai> and bad
[04:17:17] <hiptobecubic> this is great
[04:17:31] *** carif has joined #angularjs
[04:17:47] <GeneralChoomin> its like ur trying to invent the yellow pages for the internet
[04:17:49] <davek> ac360, so you want a bunch of applications to tailor their sites to accept a single form of data from a single source?
[04:17:50] <ac360> The point here is to make data free to go everywhere. What comes after we do that, I dunno, but I think it will get interesting.
[04:18:08] <Senjai> davek: rails g scaffold Posts title:string author:string body:text && echo "root to: 'posts#index'" >> config/routes.rb
[04:18:10] <davek> It is free to go everywhere, when I authorize it.
[04:18:10] <ac360> davek: Well, we pay them for the API Requests their applciations generate
[04:18:17] <ac360> It's a whole new revenue source
[04:18:20] <GeneralChoomin> yellow pages for the internet
[04:18:30] <GeneralChoomin> ac360 u ever read the yellow pages?
[04:18:33] <ac360> They make money whenever they cause an API Request to Servant
[04:18:42] <ac360> Now, tons of applications that normally can't be monetized, can.
[04:18:55] <ac360> I'm even monetizing the Servant documentation, it's awesome.
[04:18:59] *** vtali has quit IRC
[04:19:06] <davek> This is a joke right
[04:19:08] <Senjai> ac360: I can monitize anything. Every third message on IRC costs you $0.05, due monthly payable to me
[04:19:14] <GeneralChoomin> you know what people hate.. when free things get monetized
[04:19:19] <Senjai> Woo, IRCaaS
[04:19:20] <walbert> ac360: How do you mitigate fraud?
[04:19:22] *** MaxV_ has joined #angularjs
[04:19:28] <doginal> why would ng-init=“number=1;” not be a number in my controller? i see the value in the view and i am using .watch()
[04:19:32] <ac360> walbert: What type of fraud?
[04:19:34] <Senjai> owait, slack did that
[04:19:38] *** dannyc has quit IRC
[04:19:39] <davek> walbert, by charging for it!
[04:19:42] <Senjai> ac360: The kind that makes police angry?
[04:20:10] *** josh-k_ has joined #angularjs
[04:20:10] <ac360> Users have analytics on which applications are causing API Requests and how many
[04:20:20] *** wallerdev has quit IRC
[04:20:24] <GeneralChoomin> you know the best way for people to reject ur idea is when you charge them money for free stuff
[04:20:25] *** pikapp has joined #angularjs
[04:20:27] <ac360> If apps use to many of their API Request allowances, they just disconnect the application
[04:20:46] <davek> Which is awesome for my application that depends on data consistency!
[04:21:00] *** SoulBlade has quit IRC
[04:21:02] <Senjai> Idk man, I use databases
[04:21:09] <Senjai> I heard they're a thing
[04:21:13] <davek> Yeah but do you PAY for databases?
[04:21:13] *** boneskull has joined #angularjs
[04:21:15] *** nick_ampush has quit IRC
[04:21:21] *** onats has joined #angularjs
[04:21:26] *** TheAceOfHearts has joined #angularjs
[04:21:27] <ac360> User pay the hosting costs
[04:21:31] <ac360> Not developers
[04:21:37] <GeneralChoomin> im not even a programmer and its such a stupid idea
[04:21:41] <walbert> ac360: Maybe I misunderstand. Suppose I have a documentation site and I want to host servant's documentation. If I present your documentation to someone else, do I need to pay you to do that, or do you (as the content owner) pay for the content distribution?
[04:21:56] <GeneralChoomin> users wont pay anything thats the easiest way to make them not want to see a blog
[04:22:01] <ac360> Basically, instead of you maintaining a database, and paying to host your user's data, you get paid via Servant.
[04:22:06] <Senjai> davek: Can't you make S3 do that?
[04:22:27] <ac360> walbert: enter your email list on the site" https://www.servant.co
[04:22:32] <ac360> And I will send you information shortly
[04:22:33] *** MaxV_ has quit IRC
[04:22:41] *** marshall has joined #angularjs
[04:22:41] *** ajk27 has joined #angularjs
[04:22:45] *** vtali has joined #angularjs
[04:22:50] <GeneralChoomin> i wouldnt do that he might charge u
[04:22:50] *** MaxV_ has joined #angularjs
[04:22:52] <themime> smells kinda scammy in here
[04:22:56] <ac360> It's really just an efficient dispersal of hosting revenue
[04:22:57] <themime> but i only just arrived
[04:23:27] <ac360> Anyway, I'm off
[04:23:31] <Senjai> ac360: night!
[04:23:32] *** josh-k has quit IRC
[04:23:34] <davek> themime, I don't think its malicious, just poorly conceived.
[04:23:36] <ac360> Goodbye
[04:23:39] *** LakWork has joined #angularjs
[04:23:47] *** ac360 has quit IRC
[04:23:53] <davek> Senjai, oh Amazon will charge you for whatever you want.
[04:23:54] <pikapp> In my parent controller I am getting a promise then on success creating some things in scope, how can I access these properties added to $scope in my parent controller inside my child controller?
[04:23:58] *** thepro4ever has joined #angularjs
[04:24:16] <pikapp> I am waiting on the promise in my child controller, but how can I wait for the parent’s .success() function to finish in my child controller?
[04:24:23] *** thepro4ever has left #angularjs
[04:24:25] <LakWork> i have the following markup in an ng-repeat element and i'd like to reduce the number of calls to getProgram to 1 for performance sake, what's the right way to do that?
[04:24:27] <LakWork> {{item.getProgram(data.quantity, programType, purchaseType).pointsPrice * data.quantity | number}}
[04:24:27] <LakWork> {{item.getProgram(data.quantity, programType, purchaseType).loyaltyCurrency}}
[04:24:32] <themime> pikapp: not familiar with scope inheritance yet but you may also consider a service with caching instead
[04:24:33] *** gnrlbzik has quit IRC
[04:24:35] <walbert> pikapp: Sounds like a job for services
[04:24:43] <themime> ^
[04:24:53] <Senjai> davek: Can't you make amazon charge the people who request the file though? :P
[04:25:14] <pikapp> So the promise returned in my parent controller in the first place is from a service, what should I be doing with my service to solve this problem?
[04:25:25] <GeneralChoomin> amazon just gave me a buck for free
[04:25:27] <pikapp> $scope.configPromise = configService.getConfig();
[04:25:28] <davek> Senjai, oh you're seriously asking, yes.
[04:25:28] <themime> LakWork: i almost skipped over your question because of the spam, try a pastebin (we seem to all prefer plunker around here)
[04:25:35] <LakWork> k
[04:25:40] <GeneralChoomin> well one of their amazon bucks
[04:25:50] <davek> We gave you money for you to give to us
[04:25:51] *** ClarusCogitatio has quit IRC
[04:25:54] *** AviMarcus has joined #angularjs
[04:25:55] *** Sontakey has quit IRC
[04:25:56] *** subr0utine has joined #angularjs
[04:26:08] <pikapp> then in the .then() I am adding some properties to scope
[04:26:11] *** MaxV__ has joined #angularjs
[04:26:15] <GeneralChoomin> its like adding another middleman and making things more complicated
[04:26:18] *** angularjs355 has joined #angularjs
[04:26:19] <themime> LakWork: to answer your question though thats kind of impossible because of how digests work. itll probably get called ~6 times
[04:26:26] <pikapp> I want my child controller to access these properties
[04:26:42] <angularjs355> i have a very strange problem here, i have a directive transcluded that only works if i add a css border to the transcluded element
[04:26:46] *** ClarusCogitatio has joined #angularjs
[04:27:15] <themime> pikapp: get rid of the parent, have the controllers call the same service, have the server save the data after it gets it and return the data if it already exists
[04:27:19] *** MaxV_ has quit IRC
[04:27:21] *** vtali has quit IRC
[04:27:31] *** elrabin has quit IRC
[04:27:41] *** Hackwar1 has joined #angularjs
[04:27:44] *** whitebook has joined #angularjs
[04:27:48] <LakWork> themime is there a not awful way to do it? http://pastebin.com/gDzhdSsa
[04:28:19] *** Nizumzen has quit IRC
[04:28:34] *** marshall has quit IRC
[04:28:59] <LakWork> that call to getProgram filters a list and selects a child, it's pretty intensive computationally (despite the list being small)
[04:28:59] *** nycdevgirl has joined #angularjs
[04:29:05] *** Hackwar has quit IRC
[04:29:08] *** jharbaugh has joined #angularjs
[04:29:10] <themime> LakWork: ideally youd write the functions with that fact in mind - but if you don't need two way binding you can use angular 1.3's one way binding.
[04:29:26] <LakWork> interesting
[04:29:43] *** jaaames has joined #angularjs
[04:30:14] <themime> LakWork: it may or may not be possible but you may be able to rethink your filters to be less intensive, maybe caching certain things, etc. its hard to say without seeing more - plus thats not really one of my strengths haha
[04:30:34] *** nemothekid has joined #angularjs
[04:30:53] *** MaxV__ has quit IRC
[04:31:05] *** Jdubs has quit IRC
[04:31:10] <jaaames> hi guys, having an issue where when I set the value of an input element programatically angular doesn't update the model
[04:31:16] *** mdedetrich has joined #angularjs
[04:31:25] <LakWork> alright themime thanks
[04:31:26] *** yoshokatana has joined #angularjs
[04:31:34] <jaaames> if i manually give the element focus and make a keystroke the model updates, but focus/blur event doesn't do the trick
[04:31:41] <LakWork> i think i'll just define a helper method which wraps up that call
[04:31:59] <jaaames> i've tried manually triggering a keypress() event on the element with no success, any suggestions?
[04:32:06] *** nycdevgirl has quit IRC
[04:32:09] *** whitebook has quit IRC
[04:32:22] <walbert> jaaames: Wrong way round. Two way binding on the input element means that you need to change the data in the model, and do it in the right way.
[04:33:30] <jaaames> bah, thanks walbert. how can i access the model outside of angular? i'm using the geocomplete jquery plugin to do address validation, it can prepopulate a form, then binding that form to a model. you suggest data going straight into the model instead correct?
[04:33:32] *** Jdubs has joined #angularjs
[04:34:07] *** ki0 has joined #angularjs
[04:34:07] <walbert> jaaames: yep.
[04:34:13] *** Jdubs has joined #angularjs
[04:34:16] *** yoshokatana has quit IRC
[04:34:24] *** ZGirl has joined #angularjs
[04:34:46] <doug64k> jaaames: outside? your whole app is "outside angular"
[04:35:16] <ZGirl> If I have a $resource, is there any way to set up a bit of code to run whenever one of those resources are instantiated and saved? I’m trying to hook up some event tracking whenever a new piece of data is saved, but I want multiple controllers to be able to create them
[04:35:29] <jaaames> doug64k: i'm new to this, bear with me for a tick.
[04:35:29] *** yoshokatana has joined #angularjs
[04:35:51] <davek> ZGirl, wrap resource in a factory and implement that logic.
[04:35:53] <jaaames> doug64k: any script within the body of my document should be able to access the angular namespace then?
[04:36:07] <themime> jaaames: the way angular works is the view is based on the model. you'd set the model, and the view would update itself
[04:36:18] *** mary5030 has quit IRC
[04:36:24] *** bkuberek has joined #angularjs
[04:36:59] <walbert> jaaames: the angular object, which doesn't get you where to be. if anything, you should be making the results of your query available to the block of code you're using to define your controller
[04:37:05] *** frkout has joined #angularjs
[04:37:09] *** _ritchie_ has joined #angularjs
[04:37:19] *** josh3336 has quit IRC
[04:37:32] *** trustyhank has joined #angularjs
[04:38:03] <jaaames> walbert: that's what i need yes. so i call my query from inside the controller i might be in luck?
[04:38:03] <themime> jaaames: oh hold up
[04:38:11] <doug64k> jaaames: don't try to reach into the dom and do things, do things in the controller and update the model with the data to show
[04:38:31] <themime> jaaames: you can populate your form and have the model update - the reason its not is your jquery is being called before the controller is started up
[04:38:33] *** rchavik has quit IRC
[04:38:50] <themime> so going with walbert and doug64k suggestions - youd probably make a service you call from the controller
[04:38:52] *** bmac has quit IRC
[04:38:52] *** stirlingw has joined #angularjs
[04:39:04] *** Left_Turn has quit IRC
[04:39:08] *** ClarusCogitatio has quit IRC
[04:39:12] *** ki0 has quit IRC
[04:39:14] <themime> that encapsulates the jquery behavior - so that way when its called youll know everything is set up
[04:39:16] *** ZGirl has quit IRC
[04:39:23] *** Aliks has joined #angularjs
[04:39:28] <jaaames> ok cool thanks i'll give that a try
[04:39:36] <jaawerth> dom-manipulating jquery should happen inside a directive
[04:39:43] <themime> big thing to keep in mind when jquery is involved: you aren't just waiting for the ready() event anymore, youre waiting for the routes, controllers, etc
[04:39:49] <walbert> jaaames: that may work, if you're able to operate on the data. I usually like to separate calls to another library -- i.e. a jquery plugin -- into separate objects which encapsulate it, as themime is suggesting.
[04:39:53] <jaaames> appreciate the help themime doug64k walbert, forgot all about irc as a resource, cheers.
[04:40:23] <jaaames> thanks walbert
[04:40:54] *** jaaames has quit IRC
[04:41:03] <themime> jaaames: jaawerth has a good call too, if you change the DOM a directive is a good call - probably a directive and controller linked by a service - sometimes you can get away with just the directive
[04:41:10] *** frkout_ has joined #angularjs
[04:41:17] <themime> er just the directive+service
[04:41:33] <jaawerth> well.. it depends on the use-case
[04:41:47] *** ClarusCogitatio has joined #angularjs
[04:42:00] <themime> yea. just something else to consider
[04:42:08] <jaawerth> but think of a directive as a 'hook' that defines whatever markup (element, attribute, class, etc) for your DOM manipulation, and it also makes sure it executes in the right order within angular's event cycle
[04:42:25] *** wallerdev has joined #angularjs
[04:43:03] <jaawerth> among other things, it's a way around needing to add pointless ids and classes to your code because you aren't using jquery selectors anymore, and when you use a directive and have jquery in your app, the element param of your link function automatically wraps the directive's element in jquery for you
[04:43:12] *** stirlingw has quit IRC
[04:43:51] *** grantfunke_ has joined #angularjs
[04:43:53] <jaawerth> but yeah, sometimes you gotta inject services in there for the data manipulation stuff. it depends though - lately I've been avoiding it because it can make my directives more reusable if I'm always passing data in from a controller
[04:44:18] *** frkout has quit IRC
[04:45:04] *** wallerdev has quit IRC
[04:45:18] *** scriptThis has joined #angularjs
[04:45:28] *** emmesswhy has quit IRC
[04:45:29] *** mmealling has quit IRC
[04:46:06] *** mmealling has joined #angularjs
[04:46:15] *** linojon has quit IRC
[04:46:47] *** wallerdev has joined #angularjs
[04:46:52] *** rchavik has joined #angularjs
[04:48:39] *** lw has quit IRC
[04:48:51] *** junmin has quit IRC
[04:48:56] *** L42y has joined #angularjs
[04:50:36] *** davesidious_ has joined #angularjs
[04:51:30] *** mogaj has joined #angularjs
[04:51:41] *** oktapodi has joined #angularjs
[04:51:41] *** bkuberek_ has joined #angularjs
[04:52:44] *** ClarusCogitatio has quit IRC
[04:53:06] *** justind has joined #angularjs
[04:53:13] *** LakWork has quit IRC
[04:53:23] *** bkuberek has quit IRC
[04:53:43] *** justind has quit IRC
[04:54:01] *** stephanbuys has joined #angularjs
[04:54:13] *** davesidious__ has quit IRC
[04:54:25] *** Sontakey1 has joined #angularjs
[04:54:48] *** ClarusCogitatio has joined #angularjs
[04:55:21] *** mjs2600 has joined #angularjs
[04:55:22] *** yoshokatana has quit IRC
[04:56:36] <themime> jaawerth: interesting, using transcode?
[04:56:36] *** justind has joined #angularjs
[04:56:42] <themime> er whatever its called
[04:56:44] <themime> transclude?
[04:56:44] *** oktapodi has quit IRC
[04:57:30] *** lw has joined #angularjs
[04:58:07] *** Sontakey2 has joined #angularjs
[04:59:12] *** justind has quit IRC
[04:59:35] *** niop has joined #angularjs
[04:59:56] *** ClarusCogitatio has quit IRC
[05:00:00] *** Sontakey2 has quit IRC
[05:00:19] *** ClarusCogitatio has joined #angularjs
[05:00:40] *** Sontakey has joined #angularjs
[05:00:40] *** Sontakey1 has quit IRC
[05:01:00] *** justind has joined #angularjs
[05:01:01] *** Sontakey has quit IRC
[05:01:13] *** Sontakey has joined #angularjs
[05:01:19] *** Jon31 has joined #angularjs
[05:01:35] *** CodeTroth has quit IRC
[05:01:37] *** justind has quit IRC
[05:02:03] *** justind has joined #angularjs
[05:02:08] <davek> jaawerth, yeah there should probably be a better convention for that... I suppose DI is meant to cover that issue but it would be kinda messy.
[05:02:14] *** iribarne has quit IRC
[05:02:45] *** spinningarrow has quit IRC
[05:02:48] <jaawerth> themime: hm?
[05:03:03] *** Sontakey has quit IRC
[05:03:04] *** iribarne has joined #angularjs
[05:03:12] *** maikowblue has joined #angularjs
[05:03:13] <themime> jaawerth: how are you passing data from the controller? i assume you meant without a service
[05:03:19] *** Sontakey has joined #angularjs
[05:03:33] *** freeman42 has quit IRC
[05:03:34] *** anjumkaiser has quit IRC
[05:03:45] <themime> and the only way i could see that is with the directive option transclude or whatever it is that gives the directive access to the controllers scope
[05:03:45] *** rburns has quit IRC
[05:03:50] *** farski has joined #angularjs
[05:03:51] <jaawerth> oh. isolate scope usually. sometimes inherited scope, but that depends
[05:03:53] *** justind has quit IRC
[05:04:01] *** lw has quit IRC
[05:04:08] *** lw_ has joined #angularjs
[05:04:09] *** justind has joined #angularjs
[05:04:23] *** rburns has joined #angularjs
[05:04:23] *** freeman42 has joined #angularjs
[05:04:45] *** jolts has quit IRC
[05:04:55] *** ClarusCogitatio has quit IRC
[05:05:04] *** wallerdev has quit IRC
[05:05:15] <themime> jaawerth: do you have an example? i did feel like i have a good understanding of that but im having a hard time conceptualizing now
[05:05:54] <jaawerth> well, there are a few different options. I typically use the scope: { foo: '=' } option, but lately I've been doing more with '&' which is the hardest one to understand, but pretty awesome
[05:06:29] *** spinningarrow has joined #angularjs
[05:06:39] *** Sontakey1 has joined #angularjs
[05:08:08] *** shackleford has quit IRC
[05:08:12] *** Sontakey has quit IRC
[05:08:48] *** josh-k_ has quit IRC
[05:09:02] *** Sontakey1 has quit IRC
[05:09:05] <themime> wut that seems like totally new concepts to me. guess i have some reading to do
[05:09:16] *** Sontakey has joined #angularjs
[05:09:41] <jaawerth> themime: http://plnkr.co/edit/JVELaICw2oDPlNyC9aiq?p=preview here you go
[05:09:59] <jaawerth> themime: the whole API is documented in the docs for $compile (under isolate scope)
[05:10:11] <jaawerth> but you may want to search around for some better longform examples, there are some good blog posts out there
[05:10:20] *** ClarusCogitatio has joined #angularjs
[05:10:22] <jaawerth> (I'll see if I can find the ones I remember being good in a bit)
[05:10:51] *** Sontakey has quit IRC
[05:11:05] *** Sontakey has joined #angularjs
[05:11:27] <themime> holy crap
[05:11:40] <themime> ugg so many options now
[05:14:17] *** joshontheweb has quit IRC
[05:14:26] *** nycdevgirl has joined #angularjs
[05:15:15] *** dcherman2 has joined #angularjs
[05:15:43] *** boneskull has quit IRC
[05:15:46] <pikapp> why can i not use this on line 25 of this gist: https://gist.github.com/jonfaulkenberry/e64d3f1ae93973547a20
[05:15:57] <pikapp> this the keyword I mean :-)
[05:16:56] <themime> "this" refers to the success function
[05:17:06] <themime> var vm = this; then use vm.configData = data;
[05:17:42] <themime> pikapp: oh eek why not use a factory?
[05:17:45] <themime> and a singleton
[05:18:33] <themime> var configService = {isConfigured: false, configData: null...}; return configService; then in that success you can just do configService.configData = data;
[05:18:34] *** Sontakey has quit IRC
[05:18:36] *** justind has quit IRC
[05:18:44] *** Sontakey has joined #angularjs
[05:19:01] <themime> pikapp: 99.9% of the time you will always use a factory
[05:19:15] *** kuadrosx has quit IRC
[05:19:24] *** jolts has joined #angularjs
[05:19:33] *** subr0utine has quit IRC
[05:19:40] <pikapp> can you point me to a place where I can learn the difference between service and factory? They seem very similar, and I have not found a simple explanation of the differences between the two
[05:19:57] <mogaj> How to get routeparams in routeprivider?
[05:20:10] *** devinandrews has joined #angularjs
[05:20:30] *** iribarne has quit IRC
[05:20:37] *** hippobottamus2 has joined #angularjs
[05:21:01] *** rtpg has quit IRC
[05:21:07] <themime> pikapp: its a common point of confusion. the easy version is "always use a factory", but anything id give you would just be me googling "factory vs service"
[05:21:25] <themime> a service you make using the new keyword
[05:21:32] <themime> a factory is a singleton
[05:22:03] *** rburns has quit IRC
[05:22:16] <pikapp> but why do I not need to instantiate my service object?
[05:22:17] *** opiates has quit IRC
[05:22:23] *** hippobottamus has quit IRC
[05:22:33] *** opiates has joined #angularjs
[05:22:44] *** boneskull has joined #angularjs
[05:22:48] <pikapp> why does $scope.config = configService.configure(); work?
[05:22:50] *** rburns has joined #angularjs
[05:23:04] <pikapp> I am not making an instance of my service using the new keyword?
[05:23:15] <themime> this gets ovewritten in the anonymous function called by success()
[05:23:16] *** frkout_ has quit IRC
[05:23:18] *** Sontakey has quit IRC
[05:23:41] <themime> pikapp: not if you use a factory. you can do everything you can do with a service and more with a factory
[05:23:42] <jaawerth> the only difference between a service and a factor is the angular.module('foo').service function automatically instantiates the function you pass into it as a constructor for you
[05:24:08] *** marshall has joined #angularjs
[05:24:18] <jaawerth> I uses services all the time, but I create them with factories cause I can do more with them (add stuff to prototype on the constructor, etc)
[05:24:20] *** numenor has joined #angularjs
[05:24:30] <themime> like i said: a common point of confusion. honestly if you want to be efficient, use a factory for now then down the road, youll know when youll need to look at the difference.
[05:24:34] *** suyog has joined #angularjs
[05:24:39] <suyog> hi there
[05:24:43] <themime> yea what jaawerth said
[05:24:48] <suyog> i have angularJs app
[05:24:51] <themime> suuuup suyog
[05:24:57] <themime> so do i!
[05:24:59] <pikapp> i will take your advice, thanks :-)
[05:25:05] <suyog> in iphone sometimes i get weired exprience
[05:25:11] *** frkout has joined #angularjs
[05:25:24] <jaawerth> pikapp: this might help, I've gone into a few nearly-identical ways of making a "service" http://plnkr.co/edit/PgGjSZ0zMXoOOOHUZ0Cx?p=info
[05:25:25] *** gnrlbzik has joined #angularjs
[05:25:25] <themime> pikapp: np. imo not something worth fussing over
[05:25:30] <suyog> that angularjs doesnt work
[05:25:36] *** mdedetrich has quit IRC
[05:25:39] *** frkout_ has joined #angularjs
[05:25:52] <suyog> and it shows angularjs tags only,doesnt bind the data
[05:26:22] *** Sontakey has joined #angularjs
[05:26:22] <dllama> whats the correct way to call a directive inside of another? for example i was using a plugin to truncate text, but i need to print it as html-safe, but still maintain truncating
[05:26:27] <suyog> even after refreshing the page it still shows the same screen
[05:26:35] <jaawerth> pikapp: er, here it is running http://plnkr.co/edit/PgGjSZ0zMXoOOOHUZ0Cx?p=preview
[05:26:50] *** MaxV_ has joined #angularjs
[05:27:02] <jaawerth> suyog: that usually happens if there's an error in the js
[05:27:20] <jaawerth> stops angular from finishing its work
[05:27:33] <pikapp> jaawerth: this is very helpful, thank you
[05:27:34] <suyog> yes, but most of the time it works well and suddenly it stops
[05:27:39] *** bmac has joined #angularjs
[05:27:59] <jaawerth> so.. an error in the code caused by specific conditions/bad data/something
[05:28:00] <suyog> after page refresh at least it should work.
[05:28:18] <jaawerth> depends
[05:28:26] *** annlewis has joined #angularjs
[05:28:37] <jaawerth> if there's session data stored or a specific route or something causing it, it may cause those conditions to repeat
[05:28:39] <suyog> can you please tell me what cause to not load the after page refresh?
[05:28:44] *** mandric has quit IRC
[05:28:59] <suyog> do you mean in cookies?
[05:29:01] <pikapp> this leads me to one last question, it seems a common convention is to name controllers with a *Ctrl convention such as MainCtrl, what is the naming convention for factories?
[05:29:07] <suyog> we store session data in cookies
[05:29:24] *** frkout has quit IRC
[05:29:24] *** marshall has quit IRC
[05:29:28] <jaawerth> couold be cookies, could be sessionstorage, could be a url parameter - SOMETHING would be persisting after the refresh, and that something would be related to your error
[05:29:44] <pikapp> furthermore, what is the convention for storing these in a folder? Do I have a folder called factories that is a sibling of controllers that has files called configFactory.js with the factories named ConfigFct ?
[05:29:48] <jaawerth> I can't say more without seeing the code (and even then, if it's a large app one might need live code)
[05:29:54] <themime> pikapp: i just call it Customer or Logger, seems more common to use all lower case
[05:30:02] <suyog> this is my app url
[05:30:02] *** TyrfingMjolnir has quit IRC
[05:30:02] <suyog> https://www.anzumedical.com/Login/home/login/quest
[05:30:04] <themime> pikapp: https://github.com/johnpapa/angularjs-styleguide#application-structure-lift-principle
[05:30:06] <walbert> pikapp: I don't think there is one. They're generic enough not to group, in my opinion
[05:30:08] <jaawerth> if it's only happening on iPhone, my guess would be there's some sort of javascript going on incompatible with the iphone browser spec
[05:30:12] *** rho has quit IRC
[05:30:14] *** gnrlbzik has quit IRC
[05:30:18] *** annlewis has quit IRC
[05:30:24] <suyog> is there something you finds incorrect
[05:30:24] <suyog> ?
[05:30:31] <themime> suyog: to elaborate on jaawerth, maybe a plugin you are using
[05:30:38] <suyog> if you can rell me will be great help
[05:30:46] <suyog> we are new to angularjs
[05:30:52] <suyog> our site in production
[05:31:11] <suyog> your help will save us :)
[05:31:19] <jaawerth> there isn't, like, a specific list of things. the problem may not even be related to angular itself, it could just be something going wrong that's causing angular to stop
[05:31:46] *** onats has quit IRC
[05:31:48] <walbert> suyog: the /Login/home/login/quest#/login/quest url seems a bit redundant
[05:31:49] *** MaxV_ has quit IRC
[05:31:57] <suyog> is there any way to reset angularjs objects?
[05:32:03] <jaawerth> heck, in IE9 I once ran into an issue that would only come up when I didn't have the console open. So I could never get the error in console, because having the console open would prevent the issue
[05:32:05] <suyog> so on refresh it reloads?
[05:32:08] *** mdedetrich has joined #angularjs
[05:32:17] <jaawerth> turns out I was using console.log, and there IS no "window.console" object unless you have the console open
[05:32:30] *** lvegerano-home has quit IRC
[05:32:37] <jaawerth> (in IE9 and older, anyway)
[05:32:57] *** mdedetrich has quit IRC
[05:33:28] <jaawerth> anguar objects would refresh on reload, that's why I was surmising that it might be pulling bad data from sessionStorage or something
[05:33:33] *** mdedetrich has joined #angularjs
[05:33:34] *** lvegerano-home has joined #angularjs
[05:33:36] <suyog> jaawerth, do u load the site?
[05:33:48] <jaawerth> I don't know what that means
[05:33:56] <suyog> we have remember me functionality
[05:34:03] <suyog> can we turn it off for now?
[05:34:05] *** AviMarcus has quit IRC
[05:34:19] <suyog> https://www.anzumedical.com/Login/home/login/quest
[05:34:23] <jaawerth> oh
[05:34:24] <suyog> this is our app url
[05:34:38] <suyog> i thought u can look into site
[05:34:51] <suyog> and see in log if you finds any incorrect
[05:35:00] *** pikapp has quit IRC
[05:35:17] <jaawerth> ah, well I do see there's an error right away when I load it up
[05:35:21] <jaawerth> https://docs.angularjs.org/error/$rootScope/inprog?p0=$digest
[05:35:36] <jaawerth> that usually happens when you call scope.$apply in a place you shouldn't
[05:35:52] <suyog> ohh
[05:35:55] <suyog> where it is?
[05:36:01] <walbert> jaawerth: I ran into the same problem with console.log on ie9, and remember working around it with a wrapper, e.g. if (window.console && window.console.log) {console.log.apply( ... etc
[05:36:38] <suyog> you mean in our app?
[05:36:48] <suyog> can you explain me in more details?
[05:36:56] <walbert> jaawerth: Then, it only errored when you had the console OPEN, because typeof console.log === 'object' in IE9 (rather than function), and there is no Object.prototype.apply
[05:37:12] <jaawerth> walbert: I think I just did window.console = window.console || {log: function() {} }, same idea ;-)
[05:38:03] <jaawerth> suyog: in your app, someone is likely using $scope.$digest or $scope.$apply in a place they don't need to be
[05:38:17] *** mdedetrich has quit IRC
[05:38:22] <walbert> jaawerth: I think I ended up doing a Function.prototype.bind.call(console.log).apply(console), because bind() wrapped it in a function
[05:38:34] <jaawerth> suyog: scope.$apply should only be used when you are responding to an event outside of angular context (like a jquery event or a 'click' event - not ng-click)
[05:38:46] *** phuh has quit IRC
[05:38:47] *** xastey has joined #angularjs
[05:38:58] *** KernelCurry has quit IRC
[05:39:01] *** neoadventist has joined #angularjs
[05:39:07] <walbert> jaawerth: omitting some args for brevity
[05:39:13] *** phuh has joined #angularjs
[05:39:23] *** mdedetrich has joined #angularjs
[05:39:30] <jaawerth> suyog: both trigger a digest, which is going to cause that error if a digest is already happening. scope.$digest should pretty much never be called manually - anyone who uses that should already have intimate knowledge of how all that stuff works, or shouldn't use it at all
[05:39:50] <jaawerth> suyog: you might want to start by grepping all your source code for the use of scope.$apply
[05:40:10] *** mjs2600 has quit IRC
[05:40:14] <suyog> ok then what should be easy fix for now?
[05:40:33] *** farski has quit IRC
[05:40:39] <suyog> because changing everything may spoil in production system
[05:40:50] <jaawerth> uh, you need to find the misused scope.$apply, if that's what's going on. You don't always get magic bullets for debugging ;-)
[05:41:10] <jaawerth> walbert: haha, of course in angular's case, if you and I had just use the $log service this problem wouldn't have occurred ;-)
[05:41:16] *** pikapp has joined #angularjs
[05:41:29] <jaawerth> but it's annoying to inject that everywhere
[05:41:43] *** D9 has quit IRC
[05:42:07] <suyog> ok jaawerth
[05:42:14] <suyog> if i understood correctly
[05:42:22] *** ProLoser has joined #angularjs
[05:42:28] <suyog> i have to remove digest call if we have added manually
[05:42:35] <suyog> what is alternative?
[05:42:44] <jaawerth> depends on the code
[05:42:46] *** mdedetrich has quit IRC
[05:42:47] *** xastey- has quit IRC
[05:43:03] <jaawerth> usually if you're doing that manually and that error happens, it means you simply don't need to, and whoever used it didn't understand what they were doing
[05:43:19] <suyog> and scope.$apply shouldnot be used in each and every case?
[05:43:21] *** jae has joined #angularjs
[05:43:24] *** mdedetrich has joined #angularjs
[05:43:44] <jaawerth> it should be used in very specific cases, when stuff gets done outside of angular context and the dom needs to be refreshed
[05:44:16] <jaawerth> like if you use setTimeout (instead of $timeout, which calls the digest for you), whatever happens in setTimeout happens in the browser event loop between digests, so then you'd use scope.$apply to call the digest so your changes show up
[05:44:28] <jaawerth> that's one example of where scope.$apply would be fine to use
[05:44:35] *** FIFOd[a] has quit IRC
[05:44:41] *** jae is now known as Jae
[05:45:18] <suyog> how about using safeapply method instead of apply?
[05:45:45] <jaawerth> well, that's one option. but in my experience, it's unnecessary most of the time because typically you just don't need apply if using it throws an error
[05:45:55] <jaawerth> I would do grep of all your code for scope.$apply, see where it turns up. if there are few enough incidents of it, post 'em to a pastebin/gist here
[05:46:23] <jaawerth> safeApply might work as a quick fix, and if it does more power to you, but I wouldn't recommend just leaving it like that
[05:46:52] *** mary5030 has joined #angularjs
[05:46:53] <jaawerth> again - this is assuming that's the issue. it's the most common issue with the error you're getting, but I can't say it definitely is wihtout seeing the code
[05:47:38] <suyog> hmm
[05:48:13] <snurfery> sup yall
[05:48:37] *** mdedetrich has quit IRC
[05:48:49] <themime> sup snurfalurf
[05:48:52] *** neoadventist has quit IRC
[05:48:59] <lilVaratep> how do you guys feel about ang 2.0?
[05:49:08] * themime hides
[05:49:10] *** scriptThis has quit IRC
[05:49:18] <snurfery> yo
[05:49:25] <themime> lilVaratep: it seems like a sore subject haha
[05:49:28] <suyog> jaawerth, we observed this issue only when user first time login and then revist the app.
[05:49:32] *** edrocks_ has quit IRC
[05:49:34] <lilVaratep> ahh i see
[05:49:44] <hiptobecubic> suyog, so as long as no one uses it you're ok
[05:49:50] <jaawerth> lol
[05:49:50] <suyog> as by default remember me is on, we stores session infor in cookies
[05:49:54] <themime> haha
[05:49:56] <lilVaratep> read through /r/programming thread and the medium.com article and its just split opinions right now
[05:49:57] <jaawerth> it's so far off it's kinda not worth worrying over
[05:50:07] <suyog> and then most time in iphone it happens
[05:50:44] *** caitp has quit IRC
[05:50:54] <suyog> do you suggest to remove remember me feature in iphone?
[05:51:05] <suyog> that we can do quickly
[05:51:08] <snurfery> I hope some momentum builds that influences the core dev team to take a more reasonable tack
[05:51:32] *** mary5030 has quit IRC
[05:51:56] <snurfery> no rush, we're still gonna be programmers bruh, you don't need *every* radical change in the next version
[05:52:40] *** akiress has joined #angularjs
[05:52:44] <suyog> jaawerth
[05:52:45] <suyog> do you suggest to remove remember me feature in iphone?
[05:52:52] *** scriptThis has joined #angularjs
[05:52:56] *** gordroidJS has quit IRC
[05:53:11] <dllama> if i'm building a link dynamically inside of a directive, do i need to include ui-router in that directive?
[05:53:12] *** rburns has quit IRC
[05:53:18] *** danflies has quit IRC
[05:53:26] *** rburns has joined #angularjs
[05:53:49] *** carif has quit IRC
[05:53:58] <jaawerth> suyog: I only brought that up as one possible reason the error is persisting. But I think it's something going wrong with your login page in general because I see errors on the console. Which means the browser is just handling your errors better than iPhone does
[05:54:06] *** rchavik has quit IRC
[05:54:25] <walbert> lilVaratep: There's very little public information what what is actually meant by "Angular 2.0", other than a snippet or two of code or html elements. My takeaway is that it's going to be vastly different, more performant, and I have enough faith to believe it's going to be intelligently designed as well.
[05:54:29] <davek> dllama, why would you? You can use ui-sref or just an href to navigate to where you want to be.
[05:54:30] <jaawerth> suyog: I recommend you debug the cause of the errors on console ;-). one possible issue is scope.$apply, but before that I see there appears to be an error about $animate.leave
[05:54:33] <dllama> <a ui-sref="courses.detail({semester_id: f14,id:196})">More</a> — i see that in the html, but nothing is happening when clicking, no errors , or anything
[05:55:09] <davek> I agree with walbert, I'm excited about 2.0 it's what angular should have been from the start.
[05:55:14] <suyog> ok thanks jaawerth
[05:55:24] <suyog> i will get in more details of console log
[05:55:43] *** djazayeri has quit IRC
[05:55:45] *** mdedetrich has joined #angularjs
[05:56:03] <jaawerth> good luck!
[05:56:09] <jaawerth> and with that, I'm going to bed - 'night, folks!
[05:56:17] *** bmac has quit IRC
[05:57:01] <numenor> jaawerth , Good Night !
[05:58:21] *** neurokraft has joined #angularjs
[05:58:38] *** asher^ has quit IRC
[05:58:45] *** neurokraft has left #angularjs
[05:59:00] *** ryst has quit IRC
[05:59:15] *** kirfu has joined #angularjs
[05:59:20] *** neurokraft has joined #angularjs
[05:59:25] *** mdedetrich has quit IRC
[06:01:31] *** akiress has quit IRC
[06:01:38] <numenor> Guys, I defined a constant and would like to access it in a view without DI'ing it in the view's controller, is it possible?
[06:01:46] *** suyog has quit IRC
[06:03:05] *** mven has quit IRC
[06:03:29] <numenor> Guys, I defined a constant and would like to access it in a view without DI'ing it in the view's controller, is it possible? .. davek , walbert Anyone?
[06:03:33] *** kirfu has quit IRC
[06:03:55] *** dannyc has joined #angularjs
[06:06:17] <davek> numenor, if you assign it to $rootScope.
[06:06:18] <deweydb> ragefuck. just spent an hour trying to find a bug. was a single = instead of a ==
[06:06:23] *** patrickarlt has quit IRC
[06:06:28] *** rchavik has joined #angularjs
[06:06:34] <davek> deweydb, jslint.
[06:06:59] <deweydb> yeah i usually use that, but this client has forced me to dev on their server, and its windows, and i have no shell access or tools
[06:07:00] *** trustyhank has quit IRC
[06:07:01] <deweydb> its retarded
[06:07:13] *** acmehandle has quit IRC
[06:07:50] <numenor> davek , K.. Right.. I keep forgetting the root
[06:08:19] *** dannyc has quit IRC
[06:08:25] *** frkout_ has quit IRC
[06:08:51] <davek> deweydb, wow that sounds sketchy as fuck.
[06:09:09] <deweydb> i probably need a better IDE as well
[06:09:13] <deweydb> still using Coda
[06:09:33] <walbert> deweydb: hope you get paid
[06:09:42] <deweydb> pretty decently
[06:09:48] *** nycdevgirl has quit IRC
[06:10:37] *** _ritchie_ has quit IRC
[06:11:05] *** frkout has joined #angularjs
[06:11:36] *** frkout_ has joined #angularjs
[06:11:51] *** Jdubs has quit IRC
[06:11:57] *** Underbyte has joined #angularjs
[06:12:20] *** salbertson has joined #angularjs
[06:12:26] *** ryst has joined #angularjs
[06:13:21] *** nycdevgirl has joined #angularjs
[06:13:48] *** salbertson has quit IRC
[06:15:12] *** FIFOd[a] has joined #angularjs
[06:15:28] *** frkout has quit IRC
[06:16:06] *** ClarusCogitatio has quit IRC
[06:17:11] *** BlinkyBill has joined #angularjs
[06:17:21] *** josh-k has joined #angularjs
[06:17:48] *** quantax- has quit IRC
[06:17:53] *** ClarusCogitatio has joined #angularjs
[06:18:12] *** wd40s has quit IRC
[06:19:02] *** frkout has joined #angularjs
[06:19:30] *** quantax- has joined #angularjs
[06:19:37] *** FIFOd[a] has quit IRC
[06:20:42] *** frkout_ has quit IRC
[06:20:51] *** nesquerra has quit IRC
[06:21:02] *** {DV8} has quit IRC
[06:21:21] *** rtpg has joined #angularjs
[06:21:32] *** SeeThruHead has quit IRC
[06:21:36] *** JohnBat26 has joined #angularjs
[06:22:04] *** Underbyte has quit IRC
[06:22:13] *** jrvlima has joined #angularjs
[06:22:48] *** kirfu has joined #angularjs
[06:23:45] *** deanclkclk has quit IRC
[06:23:45] *** Eiam_ has joined #angularjs
[06:25:51] *** ClarusCogitatio has quit IRC
[06:26:14] *** ProLoser has quit IRC
[06:26:19] *** jrvlima has quit IRC
[06:26:36] *** junmin has joined #angularjs
[06:27:28] *** frkout_ has joined #angularjs
[06:27:37] *** MaxV_ has joined #angularjs
[06:27:54] *** rtpg has quit IRC
[06:28:57] *** ClarusCogitatio has joined #angularjs
[06:29:42] *** tkimmel has joined #angularjs
[06:30:21] *** hippobottamus2 has quit IRC
[06:30:29] *** rtpg has joined #angularjs
[06:31:15] <deweydb> davek: yeah lol. their backend is cold fusion. and they refuse to use appropriate headers on anything, json is sent as text/html
[06:31:22] *** FIFOd[a] has joined #angularjs
[06:31:25] *** angnewbie has joined #angularjs
[06:31:41] *** frkout has quit IRC
[06:31:54] *** BlinkyBill has quit IRC
[06:32:09] *** ProLoser has joined #angularjs
[06:32:14] <angnewbie> Hi, I'm using UI-router for my Angular routing layer. Anybody know how to inject an object into every route (i.e., in this case, the currently logged in user object)?
[06:32:19] *** D9 has joined #angularjs
[06:32:33] *** MaxV_ has quit IRC
[06:33:06] *** nycdevgirl has quit IRC
[06:34:00] *** asher^ has joined #angularjs
[06:34:17] *** tkimmel has quit IRC
[06:36:14] *** pingupingu has joined #angularjs
[06:36:27] *** Eiam_ has left #angularjs
[06:37:18] *** huahax has joined #angularjs
[06:38:47] *** phuh has quit IRC
[06:38:54] *** angnewbie has quit IRC
[06:39:13] *** phuh has joined #angularjs
[06:39:37] *** deanclkclk has joined #angularjs
[06:40:36] *** oktapodi has joined #angularjs
[06:41:17] *** esk4nd4r has joined #angularjs
[06:41:42] *** sigurding has joined #angularjs
[06:41:54] <dllama> https://gist.github.com/mvoloz/621ee32a66ad327929a1 is a slightly modified version of https://github.com/lorenooliveira/ng-text-truncate … can anyone see what would disable clicking there? i can't find anything, and i can't get a link to actually go out. I tried adding ui-sref, nothing, i added a state.go mapped to a function within this plugin, and i can't get any sort of activity out of it. i mean it truncates, but i can't actually l
[06:42:08] *** blomman has joined #angularjs
[06:42:38] <dllama> it did however work when i just created a regular href
[06:43:30] <dllama> my modified code is all the way @ the bottom in WordBasedTruncation
[06:43:56] *** niop has quit IRC
[06:44:16] *** _ritchie_ has joined #angularjs
[06:44:56] *** davek has quit IRC
[06:44:59] *** sinequanon has joined #angularjs
[06:45:09] *** oktapodi has quit IRC
[06:45:30] *** kirfu has quit IRC
[06:46:38] *** caitp has joined #angularjs
[06:46:49] *** niop has joined #angularjs
[06:46:53] *** blomman has quit IRC
[06:46:56] *** nesquerra has joined #angularjs
[06:47:16] *** richiebkr has joined #angularjs
[06:47:42] *** emmesswhy has joined #angularjs
[06:48:11] *** ClarusCogitatio has quit IRC
[06:48:30] *** ClarusCogitatio has joined #angularjs
[06:49:02] *** cschneid has quit IRC
[06:49:33] *** Y_Ichiro has quit IRC
[06:49:40] *** Y_Ichiro has joined #angularjs
[06:49:46] *** davek has joined #angularjs
[06:49:52] *** Y_Ichiro has quit IRC
[06:49:52] *** Y_Ichiro has joined #angularjs
[06:50:13] *** freeman42 has quit IRC
[06:50:18] *** arielserafini has quit IRC
[06:51:07] *** BahamutWC|Work has quit IRC
[06:51:13] *** cschneid has joined #angularjs
[06:51:23] *** joshontheweb has joined #angularjs
[06:51:38] *** nesquerra has quit IRC
[06:52:14] *** bkuberek_ has quit IRC
[06:52:22] *** caitp has quit IRC
[06:52:55] *** dharmit has joined #angularjs
[06:53:25] *** discgo has joined #angularjs
[06:53:51] *** TyrfingMjolnir has joined #angularjs
[06:54:55] *** marshall has joined #angularjs
[06:55:02] *** hell_razer has joined #angularjs
[06:55:10] *** josh-k_ has joined #angularjs
[06:55:21] *** devinandrews has quit IRC
[06:56:56] *** rburns has quit IRC
[06:57:46] *** phaggood has quit IRC
[06:57:47] *** ahmetkapikiran has quit IRC
[06:57:48] <mogaj> I am not able to send param data to server side code the realated code is https://gist.github.com/ekancepts/d0574cbf38e03ac9d750 can someone tell me what am i doing wrong? thankyou
[06:57:51] *** discgo_ has joined #angularjs
[06:58:25] *** NormySan has joined #angularjs
[06:58:37] *** josh-k has quit IRC
[06:58:53] *** sigurding has quit IRC
[06:59:02] *** d4rklit3 has quit IRC
[06:59:14] *** sigurding has joined #angularjs
[06:59:31] *** johnleeee has quit IRC
[06:59:42] *** hell_razer has quit IRC
[06:59:49] *** Somatt_wrk has quit IRC
[06:59:54] *** nesquerra has joined #angularjs
[07:00:16] *** marshall has quit IRC
[07:00:22] *** Somatt_wrk has joined #angularjs
[07:02:04] *** slopjong has joined #angularjs
[07:03:54] *** pen has quit IRC
[07:04:27] *** pen has joined #angularjs
[07:04:29] *** VeeWee has joined #angularjs
[07:04:36] *** frkout_ has quit IRC
[07:04:38] *** _ritchie_ has quit IRC
[07:04:48] *** joshontheweb has quit IRC
[07:06:23] *** zumba_addict has quit IRC
[07:07:44] *** rburns has joined #angularjs
[07:08:34] *** dcherman has joined #angularjs
[07:08:45] *** pen has quit IRC
[07:09:00] *** sigurding has quit IRC
[07:09:35] *** pikapp has quit IRC
[07:09:37] *** marshall has joined #angularjs
[07:10:12] *** tomzx is now known as tomzx`afk
[07:10:13] *** numenor has quit IRC
[07:10:36] *** numenor has joined #angularjs
[07:10:45] *** robdubya has joined #angularjs
[07:10:53] *** dcherman2 has quit IRC
[07:10:53] *** pikapp has joined #angularjs
[07:10:53] *** TyrfingMjolnir has quit IRC
[07:11:18] *** frkout has joined #angularjs
[07:11:23] *** levity_island has joined #angularjs
[07:11:26] <mogaj> How to access routeParams in routeProvideer?
[07:11:29] *** gnrlbzik has joined #angularjs
[07:11:33] *** richiebkr has quit IRC
[07:11:44] *** TyrfingMjolnir has joined #angularjs
[07:12:37] *** robdubya has quit IRC
[07:13:02] *** robdubya has joined #angularjs
[07:13:36] *** TyrfingMjolnir has quit IRC
[07:13:58] *** Evoratec has joined #angularjs
[07:14:17] *** wd40s has joined #angularjs
[07:15:39] *** TyrfingMjolnir has joined #angularjs
[07:16:18] *** josh-k_ has quit IRC
[07:16:41] *** gnrlbzik has quit IRC
[07:16:46] *** josh-k has joined #angularjs
[07:16:58] *** chaohuanghong has joined #angularjs
[07:17:13] *** robdubya has quit IRC
[07:17:24] *** SeeThruHead has joined #angularjs
[07:18:06] *** Aliks has quit IRC
[07:18:40] *** Aliks has joined #angularjs
[07:19:23] *** wd40s has quit IRC
[07:19:35] *** rhp has joined #angularjs
[07:21:07] *** josh-k has quit IRC
[07:21:35] <davek> Whoa when did FF get better than Chrome? Dev tools, rendering, performance all seem so much better.
[07:21:47] *** TyrfingMjolnir has quit IRC
[07:21:58] *** esk4nd4r has quit IRC
[07:22:08] *** hell_razer has joined #angularjs
[07:22:10] *** araujo has quit IRC
[07:22:20] *** SeeThruHead has quit IRC
[07:22:27] *** TyrfingMjolnir has joined #angularjs
[07:22:47] *** niop has quit IRC
[07:23:08] *** Aliks has quit IRC
[07:23:35] *** pnade has quit IRC
[07:23:40] *** Skrypter has joined #angularjs
[07:24:01] *** TyrfingMjolnir has quit IRC
[07:24:02] *** pnade has joined #angularjs
[07:24:26] *** grantfunke_ has quit IRC
[07:25:11] *** NormySan has quit IRC
[07:25:47] *** Xethron has joined #angularjs
[07:27:46] *** frkout has quit IRC
[07:27:49] *** Skrypter has quit IRC
[07:27:50] *** grantfunke_ has joined #angularjs
[07:28:08] *** BlinkyBill has joined #angularjs
[07:28:21] *** emmesswhy has quit IRC
[07:28:23] *** MaxV_ has joined #angularjs
[07:28:33] *** araujo has joined #angularjs
[07:28:54] *** patrick99e99 has joined #angularjs
[07:29:55] *** Flyingdog has joined #angularjs
[07:30:28] *** Sontakey1 has joined #angularjs
[07:30:42] *** Anton_ has quit IRC
[07:31:35] *** sekhar has joined #angularjs
[07:31:42] <nesquerra> mogaj: $stateParams :p
[07:31:45] *** Sontakey has quit IRC
[07:31:52] <sekhar> hi current using 1.3.1 version
[07:32:08] <sekhar> i have input tag not able to get input value
[07:32:09] *** D9 has quit IRC
[07:32:28] <sekhar> can you please suggest me how to get input value
[07:33:05] *** MaxV_ has quit IRC
[07:33:34] *** patrick99e99 has quit IRC
[07:33:39] *** Leon has joined #angularjs
[07:33:48] <nesquerra> sekhar: make sure your ng-model values associated with your inputs have a "." in them
[07:34:36] <nesquerra> so your values should be something like this: ng-model='person.name'
[07:35:07] <sekhar> ng-model="parentIdx[attribute.right[rightIndex].tagName]"
[07:35:13] <sekhar> this my ng-model value
[07:35:31] <sekhar> entering that input value not getting
[07:35:52] *** afuggini has joined #angularjs
[07:36:01] *** jackdpeterson has joined #angularjs
[07:36:06] <sekhar> 1.3.1 version using
[07:36:15] <sekhar> 1.2.1 version working fine
[07:36:43] *** jackdpeterson2 has joined #angularjs
[07:36:44] *** apertoire has quit IRC
[07:36:47] *** benassi has joined #angularjs
[07:37:45] *** josh-k has joined #angularjs
[07:38:02] <nesquerra> hmmm better check the release notes and see if anything catches your eye
[07:38:03] *** rburns has quit IRC
[07:38:20] *** rburns has joined #angularjs
[07:38:38] *** pikapp has quit IRC
[07:38:49] *** phuh has quit IRC
[07:39:15] *** phuh has joined #angularjs
[07:39:25] *** macobo has joined #angularjs
[07:39:55] <sekhar> ok let me check and update
[07:40:22] <sekhar> can you please send me the release notes link
[07:40:42] *** jackdpeterson has quit IRC
[07:41:26] *** lite has joined #angularjs
[07:41:50] *** amphetamines has joined #angularjs
[07:42:07] *** Zeioth has quit IRC
[07:44:15] *** ClarusCogitatio has quit IRC
[07:44:18] *** jackdpeterson2 has quit IRC
[07:44:35] *** TyrfingMjolnir has joined #angularjs
[07:45:24] *** opiates has quit IRC
[07:46:08] *** sekhar has quit IRC
[07:46:34] *** ClarusCogitatio has joined #angularjs
[07:47:58] *** deweydb has quit IRC
[07:48:13] *** tfennelly has joined #angularjs
[07:48:17] *** yakari has joined #angularjs
[07:48:37] *** levity_island has quit IRC
[07:48:43] *** hell_razer has quit IRC
[07:48:46] <yakari> hi
[07:48:52] *** TyrfingMjolnir has quit IRC
[07:49:44] *** jmverges has joined #angularjs
[07:49:53] *** gurke_ has joined #angularjs
[07:50:15] <gurke_> good morning. :)
[07:50:49] *** lite has quit IRC
[07:51:57] *** lite has joined #angularjs
[07:52:24] *** josh-k has quit IRC
[07:52:40] *** dannyc has joined #angularjs
[07:52:41] *** TyrfingMjolnir has joined #angularjs
[07:52:44] *** tfennelly has quit IRC
[07:52:49] *** Greed has left #angularjs
[07:54:33] *** ehalas has joined #angularjs
[07:54:33] *** poolside has quit IRC
[07:55:31] *** ehalas has quit IRC
[07:56:32] *** speaking1ode has joined #angularjs
[07:57:06] *** edy has joined #angularjs
[07:57:10] *** dannyc has quit IRC
[07:57:35] <dllama> morning
[07:57:36] *** speakingcode has quit IRC
[07:57:36] *** oktapodi has joined #angularjs
[07:57:53] <dllama> quick question, how do u make ui-router jump to top of page on state change?
[07:58:02] <dllama> on a nested view*
[07:58:45] *** TyrfingMjolnir has quit IRC
[07:59:24] *** Click66 has joined #angularjs
[07:59:30] <dllama> on the 1 hand its cool that it stays where it is position wise, but would be nice to turn it off
[07:59:41] *** esk4nd4r has joined #angularjs
[08:00:01] *** charuru has quit IRC
[08:00:38] *** Raging_Hog has joined #angularjs
[08:01:06] *** ehalas has joined #angularjs
[08:01:21] *** afuggini is now known as _Ariel_
[08:01:26] *** _Ariel_ is now known as afuggini
[08:01:39] *** ggrzybek has joined #angularjs
[08:02:17] *** slopjong has quit IRC
[08:02:27] *** dreambox has joined #angularjs
[08:02:38] *** ehalas has quit IRC
[08:03:08] *** esk4nd4r has quit IRC
[08:03:11] *** bkuberek has joined #angularjs
[08:03:24] *** ehalas has joined #angularjs
[08:03:27] *** oktapodi has quit IRC
[08:04:04] *** themime has quit IRC
[08:04:20] *** ehalas has left #angularjs
[08:04:27] *** ehalas has joined #angularjs
[08:04:29] *** junmin has quit IRC
[08:04:42] *** SomeKittens has quit IRC
[08:04:53] <opus_> hello
[08:05:14] *** TyrfingMjolnir has joined #angularjs
[08:05:20] *** opus_ has quit IRC
[08:05:33] *** slopjong has joined #angularjs
[08:05:38] *** opus_ has joined #angularjs
[08:05:45] *** jstroem has joined #angularjs
[08:06:31] <spinningarrow> exit
[08:06:39] *** spinningarrow has quit IRC
[08:07:06] *** discgo has quit IRC
[08:07:06] *** discgo_ is now known as discgo
[08:07:13] *** TyrfingMjolnir has quit IRC
[08:07:23] *** bkuberek has quit IRC
[08:07:38] *** pnade has quit IRC
[08:08:07] *** pnade has joined #angularjs
[08:09:27] *** nesquerra has quit IRC
[08:09:35] *** maikowblue has quit IRC
[08:10:30] *** huahax has quit IRC
[08:10:54] *** AndreasLutro has joined #angularjs
[08:11:07] *** chrisbirk has quit IRC
[08:11:11] *** pen has joined #angularjs
[08:11:16] *** TyrfingMjolnir has joined #angularjs
[08:11:46] *** MaxV_ has joined #angularjs
[08:12:19] *** gnrlbzik has joined #angularjs
[08:12:34] *** MaxV_ has quit IRC
[08:13:04] *** dcherman has quit IRC
[08:13:08] *** rosieres has joined #angularjs
[08:13:29] *** Skrypter has joined #angularjs
[08:14:07] *** TyrfingMjolnir has quit IRC
[08:14:21] <iivvoo> http://larseidnes.com/2014/11/05/angularjs-the-bad-parts/ has some good points imho, so does the discussion on https://news.ycombinator.com/item?id=8562449
[08:14:43] *** esk4nd4r has joined #angularjs
[08:14:46] *** fairuz has joined #angularjs
[08:15:00] *** wd40s has joined #angularjs
[08:15:14] *** soee has joined #angularjs
[08:15:15] <iivvoo> makes me wonder if it's time to look further into this type of frameworks. angular was an eyeopener coming from 'just jquery'
[08:15:44] *** nfroidure has joined #angularjs
[08:15:58] <iivvoo> I mean, I still don't really 'get' writing directives eventhough it's the solution to 90% of the problems I'm trying to solve
[08:16:05] *** oktapodi has joined #angularjs
[08:16:20] <soee> good morning
[08:16:37] *** gnrlbzik has quit IRC
[08:16:46] *** juristr has joined #angularjs
[08:17:25] <iivvoo> ..and then everything I've learned will be obsolete in 2.0
[08:17:34] *** SeeThruHead has joined #angularjs
[08:18:02] *** discgo has quit IRC
[08:18:30] *** chaohuanghong has quit IRC
[08:18:44] *** Guest2556 has quit IRC
[08:19:09] *** tkimmel has joined #angularjs
[08:19:09] <opus_> angular js 2.0 is obsolete
[08:19:11] <TheAceOfHearts> lol
[08:19:23] <TheAceOfHearts> iivvoo: I have a proposition for you
[08:19:31] <TheAceOfHearts> don't think of it that way
[08:19:41] <TheAceOfHearts> just try to take the lessons learned from angular
[08:19:53] <TheAceOfHearts> and then just don't use angular
[08:19:56] *** chaohuanghong has joined #angularjs
[08:20:14] <TheAceOfHearts> I've slowly been leaning more towards ditching these larger frameworks for smaller composable tools
[08:20:19] <TheAceOfHearts> angular teaches you a lot of good things
[08:20:26] <TheAceOfHearts> and they can be applied in other ecosystems
[08:20:34] *** wd40s has quit IRC
[08:20:50] <iivvoo> what kind of other composable tools?
[08:20:59] <opus_> vi
[08:21:04] * iivvoo is looking at ember.js, react.js to see what they offer and if it "fits" me better
[08:21:10] *** grantfunke_ has quit IRC
[08:21:13] <TheAceOfHearts> for example, you can
[08:21:19] <TheAceOfHearts> I don't know if that's the right mindset
[08:21:23] <TheAceOfHearts> it depends on your goal
[08:21:26] <iivvoo> also, I'm mostly a backend developer trying to make my frontend life as painless as possible
[08:21:31] *** chrisbirk has joined #angularjs
[08:21:32] <TheAceOfHearts> ah
[08:21:33] *** deanclkclk has quit IRC
[08:21:40] <TheAceOfHearts> I think angular would probably be a good choice for you, then
[08:21:41] <TheAceOfHearts> maybe
[08:21:44] <iivvoo> not a rockstar frontend programmer who glues his own tools together
[08:21:47] *** grantfunke_ has joined #angularjs
[08:21:49] <TheAceOfHearts> lol
[08:21:51] *** grantfunke_ has quit IRC
[08:21:52] <iivvoo> (or writes them)
[08:21:55] <TheAceOfHearts> rockstart frontend programmer, haha
[08:22:12] <opus_> hold on, i will explain it after I legally roll a join in my state.
[08:22:31] * iivvoo 's from amsterdam, you don't impress me
[08:22:31] <TheAceOfHearts> so, idk
[08:22:33] <iivvoo> ;)
[08:22:45] *** SeeThruHead has quit IRC
[08:22:49] *** chrisbirk has quit IRC
[08:23:04] *** shampine has joined #angularjs
[08:23:18] <opus_> The main reason you want to learn Angular JS is because of the resources. Chances are if you google it, the problem has been solved.. aka ng-something
[08:23:29] *** TheAceOfHearts has left #angularjs
[08:23:31] *** TheAceOfHearts has joined #angularjs
[08:23:37] *** tkimmel has quit IRC
[08:23:47] <opus_> for example I had a project to do credit card charges and I found ng-strip . I entered into my project without having a learning curve and it just worked. Client is happy and I got paid
[08:23:48] *** SahanH has joined #angularjs
[08:23:53] *** MrBaboon has joined #angularjs
[08:23:59] <TheAceOfHearts> it depends a lot on your needs
[08:24:06] *** chrisbirk has joined #angularjs
[08:24:20] <opus_> It takes a while for you to understand exactly how angular js saves you time. The youtube tutorial video that made it "click" for me was 50 examples of angular js
[08:24:44] <TheAceOfHearts> I'd argue it's probably better to compose some directives yourself :p
[08:24:47] <TheAceOfHearts> it's usually not that hard
[08:24:50] *** levity_island has joined #angularjs
[08:25:03] *** rhp has quit IRC
[08:25:10] <TheAceOfHearts> I tend to look for a third party directive
[08:25:15] <TheAceOfHearts> but if it takes me more than 5 mins to make it work how I want it
[08:25:17] <TheAceOfHearts> I just make my own
[08:25:42] <TheAceOfHearts> totally not worth the hassle hacking around other people's code
[08:25:45] <opus_> TheAceOfHearts, I am curious how did you finally agree to the framework,
[08:25:50] <opus_> what was your thought process?
[08:26:05] <TheAceOfHearts> I don't agree with angular 100%
[08:26:09] <TheAceOfHearts> I think angular is great for a lot of stuff
[08:26:23] *** one0one has quit IRC
[08:26:25] <TheAceOfHearts> my reasoning 2 years ago was that it was just really cool
[08:26:33] <TheAceOfHearts> and I figured i'd pick up something new
[08:26:56] <TheAceOfHearts> now, 2 years later
[08:27:04] <TheAceOfHearts> I disagree with a lot of things about angular
[08:27:08] <TheAceOfHearts> but it's still a great tool
[08:27:19] *** nemothekid has quit IRC
[08:27:20] <iivvoo> angularjs does save me a lot of time and it does work well for me, but it has its issues (or at least I have issues with it) and I didn't realize until now that it may not be just me who's having these issues
[08:27:35] <TheAceOfHearts> if I had to create an app that I know I'll be maintaining for a couple years, I wouldn't go to angular.
[08:27:38] <GeneralChoomin> http://pastebin.com/GHf1tQ1v yogi is a pedophile
[08:27:43] <iivvoo> also I like to stick to a single framework in stead of trying a new one for each project
[08:27:54] <opus_> you guys are wussies
[08:28:07] <TheAceOfHearts> lol
[08:28:07] * iivvoo 's done some amazing stuff with angular, pouchdb and couchdb, couldn't have done it without angular
[08:28:43] <TheAceOfHearts> it depends on your priorities
[08:28:45] <opus_> well, then I take your adivce with a lot of weight
[08:28:57] <TheAceOfHearts> I think angular is a great hackathon tool
[08:29:08] <TheAceOfHearts> I don't think it works well for large apps, though
[08:29:23] <TheAceOfHearts> I think that's an outright lie
[08:29:24] <opus_> hey so last night I was here and there was this guy setec
[08:29:30] *** oktapodi has quit IRC
[08:29:31] <opus_> he invented this JS-DOM sync tool
[08:29:37] <opus_> so all the client code ran in the server
[08:29:48] <opus_> and it did a DOM swap update
[08:29:53] *** jstroem has quit IRC
[08:30:10] *** iksik has quit IRC
[08:30:11] *** jstroem has joined #angularjs
[08:30:25] *** Ch4rAss has joined #angularjs
[08:30:25] *** TyrfingMjolnir has joined #angularjs
[08:30:41] *** iksik has joined #angularjs
[08:30:47] *** jstroem has joined #angularjs
[08:30:52] *** pdillinger has joined #angularjs
[08:31:05] *** dnull has quit IRC
[08:31:06] <opus_> I think Angular does a great effort towards whats possible
[08:31:14] <TheAceOfHearts> I've used jsdom for crawling sites
[08:31:15] <opus_> also I like stupid standards that just work
[08:31:16] *** mupkoo has joined #angularjs
[08:31:22] *** Shai-Tan has quit IRC
[08:31:40] <opus_> https://github.com/stq/jsdom-sync
[08:32:38] *** niop has joined #angularjs
[08:33:12] *** jacuqesdancona has joined #angularjs
[08:33:19] <opus_> so the idea is to shadow a huge thick-client angular js app, but use jsdom-sync to only have the view 100% view, and controller/model on the server side
[08:33:21] *** yelvert has joined #angularjs
[08:33:47] <opus_> So move the angular js client code to the server
[08:34:03] *** asher^ has quit IRC
[08:34:21] <TheAceOfHearts> cool idea
[08:34:34] <TheAceOfHearts> but sounds like it'd break down as soon as you have a couple users
[08:34:44] *** afuggini has quit IRC
[08:35:24] *** jstroem has quit IRC
[08:36:13] <opus_> its gotta scale
[08:36:50] *** joker666 has joined #angularjs
[08:37:13] *** caitp has joined #angularjs
[08:37:43] *** nesquerra has joined #angularjs
[08:38:09] <opus_> I got a shitty scaling algorithm
[08:39:13] *** mtsr has joined #angularjs
[08:39:13] *** rburns has quit IRC
[08:39:28] *** rburns has joined #angularjs
[08:39:38] *** Pyppe has joined #angularjs
[08:39:58] *** sheplu has quit IRC
[08:40:24] *** sacho_ has joined #angularjs
[08:40:47] *** mjs2600 has joined #angularjs
[08:41:17] *** grantfunke_ has joined #angularjs
[08:41:33] <Pyppe> howdy. is there an easy way to cancel all the $http-promises of $q.all?
[08:41:48] *** caitp has quit IRC
[08:42:33] *** chrisbirk has quit IRC
[08:43:15] *** cajone has joined #angularjs
[08:43:27] *** hecatonicosachor has quit IRC
[08:45:33] *** mjs2600 has quit IRC
[08:45:34] *** siovene has joined #angularjs
[08:45:37] *** katsuki has quit IRC
[08:47:05] *** slopjong has quit IRC
[08:48:24] *** jstroem has joined #angularjs
[08:48:27] *** rosieres has quit IRC
[08:48:53] *** svycka has joined #angularjs
[08:48:54] *** uru|away is now known as uru
[08:48:58] <opus_> Just don't implement the promise?
[08:51:12] *** slopjong has joined #angularjs
[08:51:30] *** blomman has joined #angularjs
[08:51:55] *** Ajans has joined #angularjs
[08:52:53] *** Evoratec has quit IRC
[08:53:10] <opus_> angular.module('noodles', ['ionic']).factory('KFCfactory', [$window, function($window) { return set: function(mcnugget_number,value dow.nuggetnumber =value ; }, );
[08:53:28] *** shampine has quit IRC
[08:53:29] *** blomman has quit IRC
[08:54:08] *** spazbite has joined #angularjs
[08:54:08] *** lexek_ has joined #angularjs
[08:54:22] *** jstroem has quit IRC
[08:54:39] <opus_> Poor noodles.
[08:54:40] *** jstroem has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:55:50] *** deyna has joined #angularjs
[08:56:09] *** nemothekid has joined #angularjs
[08:56:18] *** pingupingu has quit IRC
[08:57:00] *** firelinks has quit IRC
[08:58:14] *** ClarusCogitatio has quit IRC
[08:59:29] <dreambox> goooood morning angulars :)
[09:00:02] <numenor> Good Eve dreambox
[09:00:17] *** wd40s has joined #angularjs
[09:00:41] *** ClarusCogitatio has joined #angularjs
[09:00:44] *** shaisnir has joined #angularjs
[09:00:55] <Grokling> dreambox: Trust you had a great sleep, and are all ready for another round of plunkering :-p
[09:01:21] *** phuh has quit IRC
[09:01:47] *** phuh has joined #angularjs
[09:02:07] <dreambox> Grokling: :D
[09:02:27] *** Evoratec has joined #angularjs
[09:02:33] *** edy has quit IRC
[09:02:37] <dreambox> Grokling: I'm more motivated in the morning so more possible to create plunkers :D But I'll just try to figure shit out solo :)
[09:03:16] <Grokling> figure away my friend.. there's always plenty to figure out in this game!
[09:03:45] *** AngularUI has joined #angularjs
[09:03:45] <AngularUI> [bootstrap] dkuerner opened pull request #2934: traverse parent scopes to evaluate the expression given in init-date (master...master) http://git.io/Jwl51Q
[09:03:45] *** AngularUI has left #angularjs
[09:04:12] *** grantfunke_ has quit IRC
[09:04:37] *** avree has joined #angularjs
[09:04:47] *** frkout has joined #angularjs
[09:04:50] *** kwd has joined #angularjs
[09:05:10] *** klaut has joined #angularjs
[09:05:59] *** wd40s has quit IRC
[09:06:34] *** frkout has quit IRC
[09:07:01] *** frkout has joined #angularjs
[09:07:23] *** moritzs has joined #angularjs
[09:07:27] *** icarus75 has joined #angularjs
[09:09:37] *** Evoratec has quit IRC
[09:10:14] *** drugs has joined #angularjs
[09:10:20] *** jstroem_ has joined #angularjs
[09:10:31] *** shaisnir has quit IRC
[09:10:33] *** jstroem has quit IRC
[09:11:09] *** ProLoser has quit IRC
[09:12:36] *** ProLoser has joined #angularjs
[09:13:33] *** phzon has joined #angularjs
[09:14:03] *** amphetamines has quit IRC
[09:15:45] *** Usuario has joined #angularjs
[09:15:45] *** Usuario is now known as foobs
[09:15:58] *** emmesswhy has joined #angularjs
[09:16:28] *** emmesswhy has quit IRC
[09:17:09] *** thomastuts has joined #angularjs
[09:17:15] *** TyrfingMjolnir has quit IRC
[09:17:38] *** TyrfingMjolnir has joined #angularjs
[09:17:47] *** phzon has quit IRC
[09:18:09] *** mityaz has joined #angularjs
[09:18:21] *** SeeThruHead has joined #angularjs
[09:18:33] *** StryKaizer has joined #angularjs
[09:19:37] <thomastuts> morning everyone!
[09:19:48] *** jstroem_ has quit IRC
[09:20:12] *** tfennelly has joined #angularjs
[09:20:14] *** Xethron has quit IRC
[09:20:35] *** \du has joined #angularjs
[09:20:51] *** onats has joined #angularjs
[09:20:55] *** monir has quit IRC
[09:21:21] *** monir has joined #angularjs
[09:21:22] *** michaelfavia has quit IRC
[09:22:32] *** sheplu has joined #angularjs
[09:22:36] *** edy has joined #angularjs
[09:22:54] *** monir has quit IRC
[09:23:02] *** SeeThruHead has quit IRC
[09:23:21] *** monir has joined #angularjs
[09:23:22] *** glosoli has joined #angularjs
[09:25:28] *** HelperW has joined #angularjs
[09:26:52] *** MaxV_ has joined #angularjs
[09:27:42] *** elxa has quit IRC
[09:28:14] *** monir has quit IRC
[09:28:38] *** yelvert has quit IRC
[09:29:12] *** yelvert has joined #angularjs
[09:30:18] *** patrick99e99 has joined #angularjs
[09:30:29] *** frkout has quit IRC
[09:30:47] *** ClarusCogitatio has quit IRC
[09:32:29] *** edy has quit IRC
[09:32:31] *** atomi has quit IRC
[09:32:40] *** edy has joined #angularjs
[09:32:46] *** ClarusCogitatio has joined #angularjs
[09:32:46] *** doginal has quit IRC
[09:32:49] *** Sjimi has joined #angularjs
[09:33:45] *** Caroga_afk is now known as Caroga
[09:33:54] *** phzon has joined #angularjs
[09:34:01] *** benassi has quit IRC
[09:34:26] *** onats has quit IRC
[09:34:46] *** tbo_ has joined #angularjs
[09:34:49] *** patrick99e99 has quit IRC
[09:35:13] *** tbo_ has quit IRC
[09:35:13] *** doginal has joined #angularjs
[09:35:21] *** t_p has joined #angularjs
[09:35:27] *** yelvert has quit IRC
[09:36:16] *** onats has joined #angularjs
[09:36:46] *** sittman has joined #angularjs
[09:37:19] *** frankblizzar has joined #angularjs
[09:37:31] *** tfennelly has quit IRC
[09:38:20] *** ClarusCogitatio has quit IRC
[09:39:17] *** ClarusCogitatio has joined #angularjs
[09:39:58] *** grogs_ has joined #angularjs
[09:39:58] *** rburns has quit IRC
[09:40:36] *** cornerma1 has joined #angularjs
[09:40:38] *** rburns has joined #angularjs
[09:40:59] *** frkout has joined #angularjs
[09:41:47] *** canthugeverycat has joined #angularjs
[09:41:53] *** saucey has joined #angularjs
[09:42:21] *** phuh has quit IRC
[09:42:21] *** frkout_ has joined #angularjs
[09:43:41] *** sinequanon has quit IRC
[09:43:46] *** cornerman has quit IRC
[09:43:52] *** muffinman has joined #angularjs
[09:43:55] *** cornerma1 is now known as cornerman
[09:44:07] *** marshall has quit IRC
[09:45:16] *** ome is now known as __me
[09:45:27] *** nemothekid has quit IRC
[09:45:33] *** jlebrech has joined #angularjs
[09:45:36] *** whisky has joined #angularjs
[09:45:38] *** Evoratec has joined #angularjs
[09:45:40] *** fbenoit has joined #angularjs
[09:46:23] *** MuffinMan` has quit IRC
[09:46:33] *** frkout has quit IRC
[09:46:38] *** guilbep has joined #angularjs
[09:46:38] *** tech2 has joined #angularjs
[09:46:50] <jacuqesdancona> morning
[09:47:32] *** HelperW has quit IRC
[09:47:37] *** joker666 has quit IRC
[09:47:38] <setec> evening
[09:48:11] *** MaxV_ has quit IRC
[09:48:25] *** fbenoit has quit IRC
[09:48:37] *** ogdabou has joined #angularjs
[09:49:07] *** whisky has quit IRC
[09:51:48] *** favetelinguis has joined #angularjs
[09:53:21] *** Anton_ has joined #angularjs
[09:53:39] *** Skrypter_ has joined #angularjs
[09:53:57] *** herpless has joined #angularjs
[09:54:46] *** Sontakey1 has quit IRC
[09:55:00] *** nemothekid has joined #angularjs
[09:55:34] *** jdj_dk has joined #angularjs
[09:56:17] *** mchammer has joined #angularjs
[09:56:20] *** frkout_ has quit IRC
[09:56:50] <numenor> afternoon
[09:57:10] *** Skrypter has quit IRC
[09:58:08] *** phuh has joined #angularjs
[09:59:01] *** eamonn has joined #angularjs
[09:59:06] *** \du has quit IRC
[09:59:10] *** jillesme has joined #angularjs
[09:59:26] *** \du has joined #angularjs
[09:59:51] *** m99 has joined #angularjs
[10:00:02] <deyna> any experiences input type="email" not working in angular 1.2?
[10:00:35] <m99> hi everybody. is there any angular-dart room on irc?
[10:01:05] *** gnrlbzik has joined #angularjs
[10:01:36] *** tfennelly has joined #angularjs
[10:01:43] *** fbenoit has joined #angularjs
[10:01:59] *** MrBaboon has quit IRC
[10:02:29] *** m99 has quit IRC
[10:03:02] *** grogs_ has quit IRC
[10:03:31] *** lite has quit IRC
[10:03:36] *** basiclaser_ has joined #angularjs
[10:03:49] *** lite has joined #angularjs
[10:03:58] *** nocturne777 has joined #angularjs
[10:04:14] *** quantax has joined #angularjs
[10:04:47] *** quantax- has quit IRC
[10:05:17] *** tech2 has quit IRC
[10:06:06] *** gnrlbzik has quit IRC
[10:06:08] *** sk87 has joined #angularjs
[10:06:29] *** _lexjm has quit IRC
[10:08:02] *** tkimmel has joined #angularjs
[10:08:31] *** joker666 has joined #angularjs
[10:09:27] *** lumio has joined #angularjs
[10:09:28] *** mnngfltg has joined #angularjs
[10:09:41] *** Raging_Hog has quit IRC
[10:09:54] *** Skrypter has joined #angularjs
[10:10:23] *** jrvlima has joined #angularjs
[10:10:39] *** HelperW has joined #angularjs
[10:12:38] *** tkimmel has quit IRC
[10:12:53] *** milka has joined #angularjs
[10:13:11] *** Skrypter_ has quit IRC
[10:14:24] <elnur> Anyone looking for a job? Ping me in private if you are.
[10:14:50] *** m8 has joined #angularjs
[10:14:52] *** m8 has joined #angularjs
[10:15:01] *** ClarusCogitatio has quit IRC
[10:15:27] *** thomastuts has quit IRC
[10:16:34] *** niop2 has joined #angularjs
[10:16:51] *** rchavik has quit IRC
[10:17:17] <deyna> wow got some weird behaviour trying to hide a font awesome spinner
[10:17:24] <deyna> ng-show doesnt work, ng-if does
[10:17:46] <deyna> but if you add display:none, it does hide it
[10:17:57] *** rchavik has joined #angularjs
[10:18:04] *** oktapodi has joined #angularjs
[10:18:31] *** TrevDev has quit IRC
[10:18:44] *** AciD` has quit IRC
[10:18:46] *** TrevDev has joined #angularjs
[10:18:47] *** tripu has quit IRC
[10:18:48] *** ClarusCogitatio has joined #angularjs
[10:19:07] *** SeeThruHead has joined #angularjs
[10:19:17] *** jillesme has quit IRC
[10:19:35] *** AciD` has joined #angularjs
[10:19:55] *** niop has quit IRC
[10:20:24] *** intellix has joined #angularjs
[10:20:34] *** emmesswhy has joined #angularjs
[10:20:44] *** iksik has quit IRC
[10:20:48] *** jstroem has joined #angularjs
[10:20:56] *** ki0 has joined #angularjs
[10:21:57] *** Typher has joined #angularjs
[10:21:58] *** milka has quit IRC
[10:22:01] *** dannyc has joined #angularjs
[10:22:27] *** TheAceOfHearts has quit IRC
[10:22:28] *** milka has joined #angularjs
[10:22:40] *** iksik has joined #angularjs
[10:22:41] *** oktapodi has quit IRC
[10:22:46] *** josh-k has joined #angularjs
[10:22:55] *** thomastuts has joined #angularjs
[10:23:15] <thomastuts> anyone using browsersync? i'm getting a 404 on the browser-sync-client script it tries to inject all of a sudden, it worked fine yesterday
[10:23:47] *** SeeThruHead has quit IRC
[10:23:55] *** chovy2 has joined #angularjs
[10:24:01] *** denny009 has joined #angularjs
[10:24:05] <chovy2> what's the best way to handle i18n in angular?
[10:24:38] *** levity_island has quit IRC
[10:24:53] *** marr has joined #angularjs
[10:25:17] *** jstroem has quit IRC
[10:25:37] <denny009> hello all. I've a directive that inside do scope.$new() and it works well (create a json tree). The problem now is that I want communicate with the parent. The first time the communication works well but the second when the scope change I lost it
[10:25:50] <denny009> <json-tree json="jsonData" collapsed-level="1" edit-level="low" send-status="sendRequest(request)"></json-tree>
[10:25:56] *** caitp has joined #angularjs
[10:26:16] <denny009> where send-status inside the directive is: sendStatus: "&",
[10:26:37] <denny009> someone has idea how I can preserve the scope?
[10:26:49] *** XanManZA has joined #angularjs
[10:26:53] *** monir has joined #angularjs
[10:28:21] <Grokling> denny009: MOAR dots..
[10:28:41] *** MikeyB has joined #angularjs
[10:28:44] <denny009> Grokling: sorry?
[10:28:47] <MikeyB> hi
[10:28:56] *** mrded has joined #angularjs
[10:29:10] *** jaznow has joined #angularjs
[10:29:24] *** mchapman has joined #angularjs
[10:29:24] *** Owner__ has joined #angularjs
[10:29:36] *** phzon has quit IRC
[10:29:42] *** ozooner__ has joined #angularjs
[10:29:52] *** Owner__ is now known as Guest39580
[10:29:52] <Grokling> http://bit.ly/1tD38QQ
[10:29:54] *** phzon has joined #angularjs
[10:30:19] *** MrBaboon has joined #angularjs
[10:30:20] <denny009> Grokling: what mean "MOAR dots"
[10:30:22] *** Guest39580 has quit IRC
[10:30:34] *** caitp has quit IRC
[10:30:41] *** rburns has quit IRC
[10:31:14] <Grokling> denny009: Javascript passes objects by reverence, and primitives by value. You have a primitive 'jsonData' there, so you're copying the value, and it has no reference to any new value you might replace it with.
[10:31:21] *** rburns has joined #angularjs
[10:31:28] *** luggage has joined #angularjs
[10:31:35] <Grokling> reverence:reference.. nothing to do with clergy ;-)
[10:31:49] <denny009> Grokling: the problem isn't jsonData but send-status="sendRequest(request)".
[10:31:49] *** wd40s has joined #angularjs
[10:32:23] <MikeyB> Guys, just trying to get a bit of visibility on an angular question on SO would be great if anyone could help me out as I'm struggling! http://stackoverflow.com/questions/26768333/angular-dialogs-service-scoping-doesnt-seem-to-work
[10:32:31] *** sybarite has joined #angularjs
[10:32:32] <Grokling> The problem is the same.. request is not a property of an object.
[10:33:03] <sacho_> what's angular-dialogs-service?
[10:33:11] <sacho_> MikeyB, try making a plunker
[10:33:21] *** mityaz has quit IRC
[10:33:31] <MikeyB> I've not used plunker, will have a look
[10:33:47] <Grokling> plunker ftw.
[10:33:49] <MikeyB> sacho its just a nice layer on top of $modal
[10:33:54] <MikeyB> bbr
[10:34:06] *** mrded_ has joined #angularjs
[10:35:02] <Grokling> denny009: You should always have a dot in your bindings (hence: MOAR dots). sendrequest(thing.request) would be an example.
[10:35:14] *** Xethron has joined #angularjs
[10:35:21] *** ehalas has quit IRC
[10:35:26] *** bengillies has joined #angularjs
[10:35:42] <denny009> Grokling: I try... and I pastebin the solution
[10:35:50] *** solidevolution has joined #angularjs
[10:35:52] *** tech2 has joined #angularjs
[10:36:00] <Grokling> denny009: plunker is better.. then we can interact with it.
[10:36:07] <Dragory> MikeyB are you sure the template (modals/error.html) itself is loading?
[10:36:18] *** solidevolution has quit IRC
[10:36:42] *** wd40s has quit IRC
[10:36:58] <denny009> Grokling: sorry but you think that the problem is the parameter? I don't think becouse if I put an alert inside I don't see it..or in other words the function isn't called
[10:37:06] *** foofoobar has joined #angularjs
[10:37:16] <denny009> Grokling: samething like that http://pastebin.com/YjWf0wFv
[10:37:22] <\du> somebody is using ng-grid/ui-grid ? i am searching for an example of editable row with a select (dropdown) in the cell
[10:37:41] *** mrded has quit IRC
[10:38:12] <denny009> Grokling: this code works well the first time but not the second
[10:38:23] *** ehalas has joined #angularjs
[10:38:50] <Grokling> denny009: So, between the first and second times, something is changing $scope.request?
[10:39:55] <denny009> Grokling: if you think that the problem is the parameter inside i remove it and i try
[10:40:01] <denny009> Grokling: just one sec
[10:40:36] *** cannap has joined #angularjs
[10:40:53] *** joker666 has quit IRC
[10:41:58] *** saucey has quit IRC
[10:42:10] <denny009> Grokling: the problem isn't the parameter. I remove it and I've the same behaviour. According to me the problem is in the directive becouse it do: link: function(scope, element, attrs){ var childScope = scope.$new()
[10:42:15] *** plotic has joined #angularjs
[10:42:35] <denny009> Grokling: so the scope isn't the same and lose the communication
[10:42:54] *** foobs is now known as frobs
[10:43:13] *** fedenunez has joined #angularjs
[10:43:14] <denny009> Grokling: https://github.com/krispo/json-tree/blob/master/json-tree.js line 336
[10:43:53] *** tarnus has joined #angularjs
[10:44:02] <Grokling> denny009: It works the first time though right? So somewhere in there you're copying a value, and not a reference.
[10:44:08] *** yozilla has joined #angularjs
[10:44:09] *** MBilalch has joined #angularjs
[10:44:20] *** pdillinger has quit IRC
[10:44:20] <MBilalch> hi everyone
[10:44:20] <denny009> Grokling: take a look to the file
[10:44:24] <MBilalch> i have a question
[10:44:28] *** ki0 has quit IRC
[10:44:40] <XanManZA> hey guys. If I have a project already running on Xxamp what's the easiest way to include and start integrating Angular into my pages?
[10:44:41] <MBilalch> i have error 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'direcitve'
[10:45:03] <MBilalch> when i create module object and call driective this error comes
[10:45:09] <MBilalch> can anyone guide me
[10:45:28] *** ki0 has joined #angularjs
[10:45:31] <denny009> Grokling: this's the original code and I try to add something that return the value to the parent controller
[10:45:31] *** darrin has joined #angularjs
[10:45:40] *** Mugo has joined #angularjs
[10:45:42] <Dragory> MBilalch: is that the exact error word for word? because the method is "directive", not "direcitve"
[10:45:52] *** Juanchito has joined #angularjs
[10:46:04] *** jillesme has joined #angularjs
[10:46:21] <Dragory> also, can you paste your code on plnkr.co?
[10:46:22] *** TripTastic has joined #angularjs
[10:46:22] *** jrvlima has quit IRC
[10:46:28] <MBilalch> oh yes it works great
[10:46:41] <MBilalch> thanks dragory
[10:46:47] <Dragory> oh okay, np lol
[10:46:50] *** MBilalch has quit IRC
[10:47:47] *** JBreit has quit IRC
[10:48:00] *** Mugo has quit IRC
[10:48:08] *** gurke_ has quit IRC
[10:48:14] *** favetelinguis has quit IRC
[10:48:34] *** luggage has quit IRC
[10:48:42] *** favetelinguis has joined #angularjs
[10:48:56] <denny009> Grokling: you're still here?
[10:48:57] *** tarnus has quit IRC
[10:49:07] <MikeyB> Dragory: The template is definitely loaded, I've cut the template short (it has a modal-header and modal-footer with a button, which are both rendered)
[10:49:08] <Grokling> XanManZA: Angular is a jealous mistress.. you don't really 'integrate it in your pages' so much as build an angular app which might use some of your existing html as templates.
[10:49:33] *** juampy has joined #angularjs
[10:49:37] <Dragory> alright, that wanted to make sure MikeyB - any luck with plnkr.co?
[10:49:41] <Dragory> just wanted*
[10:50:04] <MikeyB> was just having company standup, so I'll look at setting that up now :)
[10:50:26] <XanManZA> I see, thanks
[10:50:32] *** jtimon has joined #angularjs
[10:50:39] *** marshall has joined #angularjs
[10:51:00] <XanManZA> I'm just struggling to start up my own page. I replaced the index.html in the app directory with my own but its still bringing up the google phone app
[10:51:27] <Grokling> denny009: Yes - was just refreshing myself on scope inheritance. Too much guessing for me at this time of the night, and I've never tried to properly wrestle with directive scopes manually like you seem to be doing (I've never needed to)
[10:52:10] <Grokling> XanManZA: Have you covered off any of the angular fundamentals? Phonegap et al?
[10:52:26] <Grokling> Sorry.. not phonegap.. I mean phoneCat..
[10:52:53] *** cacts has quit IRC
[10:53:10] <XanManZA> Sorry if it sounds silly, but what is "covered off"? haha
[10:53:12] *** ozooner has joined #angularjs
[10:53:24] *** favetelinguis has quit IRC
[10:53:45] *** ozooner__ has quit IRC
[10:53:47] *** Xethron has quit IRC
[10:53:53] *** Skrypter has quit IRC
[10:54:01] <Grokling> XanManZA: Do you understand how angular hangs together, controllers, directives, states, templates, factories, filters... that sort of thing?
[10:54:02] <denny009> Grokling: according to you exists another way to pass the value from the directive to the parent ? i.e. I want when I click something in the directive pass the selected value to the parent.
[10:54:27] <MikeyB> Dragory:Aha! I was just going through the example code building up my issue and noticed the custom dialog controller gets data parameter injected, then sets $scope.data *facepalm*
[10:54:28] *** Skrypter has joined #angularjs
[10:54:35] <XanManZA> yes, I've completed the tutorial on codeschool etc
[10:54:45] <Dragory> ahhhhhh haha, I know that feel MikeyB
[10:54:54] <Dragory> oh well, good thing if it works now :)
[10:55:24] <Grokling> denny009: From my quick read of the docs, it seems that your child scope is inheriting from the parent, so functions you've made on scope in your controller should be available to the directive.
[10:55:34] <MikeyB> :) yep, will answer my own SO question (I seem to do that a lot recently)
[10:55:42] *** marshall has quit IRC
[10:56:07] <Grokling> XanManZA: Good. So, where are you up to with making your first angular app?
[10:56:25] *** joker666 has joined #angularjs
[10:56:47] *** chanced has joined #angularjs
[10:56:57] *** monir has quit IRC
[10:57:17] <chanced> anyone awake?
[10:57:21] <frankblizzar> anybody know why this: .constant('API_ENDPOINT', 'http://localhost:8882/1.0/stream'); becomes this: http://localhostundefined/1.0/stream
[10:57:24] *** phuh has quit IRC
[10:57:44] *** warcuy_ has joined #angularjs
[10:57:48] *** Sebastien-L has joined #angularjs
[10:57:50] *** phuh has joined #angularjs
[10:57:53] *** VeeWee has quit IRC
[10:57:56] <chanced> i'm getting some funky behavior w/ ui-router state recog inside a directive
[10:57:57] <denny009> Grokling: sorry? It's clear my problem? I want to obtain the result of the directive inside the parent controller...I haven't anderstood what you meen
[10:59:02] *** Skrypter has quit IRC
[10:59:27] <XanManZA> Grokling: I haven't started creating my own from scratch, that's the thing. I followed the tutorial for installation on the angularjs.org website. I then cleared the contents of the index.html file in the angular-phonecat/app folder but it doesn't seem to change. Do I somehow need to recompile the app or something?
[11:00:03] <chanced> oh, sonofa
[11:00:17] *** anapitupulu has quit IRC
[11:00:26] *** MaxV_ has joined #angularjs
[11:00:30] <chanced> in UI Router, if I have an abstract state with a template
[11:00:30] <Grokling> denny009: In your controller, you can make a function. You can assign this function to $scope. $scope is inherited by your directive's childScope (so the function is available in the directive too). If your function was to take some parameter, and assign it to some variable in your controller, or in your scope, you'd be just about there..
[11:00:35] *** colljesu has quit IRC
[11:00:56] *** MaxV_ has quit IRC
[11:01:12] *** favetelinguis has joined #angularjs
[11:01:15] <chanced> i cant use $state.includes('childState') if that statement is called from a directive which is inside of the parent view?
[11:01:34] <chanced> (did that Q make sense? i'm pretty tired)
[11:02:04] *** muffinman has quit IRC
[11:02:17] <chanced> this freaking worked before; ugh
[11:02:17] *** warcuy_ has quit IRC
[11:02:25] <Grokling> chanced: I didn't get it. But then, that might not be a failing of the question ;-)
[11:02:36] <Grokling> Getting late here too.
[11:02:43] <chanced> its getting early here :(
[11:02:58] *** HelperW has quit IRC
[11:03:01] *** Xethron has joined #angularjs
[11:03:19] *** JohnBat26 has quit IRC
[11:03:23] <Grokling> XanManZA: You shouldn't need to compile .html. How are you serving it? (I forget what that tutorial says to do..)
[11:03:59] *** mrded_ has quit IRC
[11:04:04] *** MrBaboon has quit IRC
[11:04:15] <XanManZA> I'm serving it through Git and Node.js (very unfamiliar territory to me)
[11:05:08] *** D-Boy has quit IRC
[11:05:09] *** nocturne777 has quit IRC
[11:05:15] *** D-Boy has joined #angularjs
[11:06:22] <XanManZA> So I can't simply include the angular.min.js file in my html and start changing my html and javascript from there?
[11:06:34] *** jstroem has joined #angularjs
[11:06:53] <chanced> i have an abstract parent state. Inside of the abstract parent template I'm using a directive that needs to know which child state is active. I'm using the method $state.includes('child-state-name') but that is null. However if I do $state.includes('abstract-parent-state-name') it returns true as expected
[11:06:59] *** JohnBat26 has joined #angularjs
[11:07:33] <Grokling> XanManZA: You might need to restart node to pick up the changes?
[11:08:12] <MikeyB> If I define something on $rootScope, is that accessible in ever other scope?
[11:08:29] <chanced> MikeyB: yes
[11:08:37] <Grokling> MikeyB: Yes, unless you create an isolate scope.
[11:08:39] <MikeyB> good, my understanding of scopes is as I thought -_-
[11:08:41] <\du> would be nice if bower update detect the latest version, and not edit manually the bower file to upgrade versions
[11:08:47] <MikeyB> how does one create an isolated scope?
[11:08:56] <Grokling> Best not to put stuff in rootscope though..
[11:09:03] <MikeyB> $rootScope.$new() creates a child of $rootScope right?
[11:09:14] *** t_p has quit IRC
[11:09:17] <Grokling> MikeyB: yes, and inherits from it.
[11:09:34] <Grokling> Isolate scopes are a directive thing.
[11:10:24] <MikeyB> yes, I can understand that - I just seem to need to know a few pieces of information in many different views (in a game?) and in every controller, i subscribe to game list changing and see if I own any of them, if I do, set $scope.hasGame - so it would remove lots of duplication if I could just set that in 1 places on $rootScope
[11:10:30] <MikeyB> can you suggest a better way to do that?
[11:10:53] *** motionman has quit IRC
[11:11:08] *** jstroem has quit IRC
[11:11:43] *** Evoratec has quit IRC
[11:11:46] <Grokling> MikeyB: Using ui-router, you can nest states. I put that kind of stuff in the scope of my outermost state.
[11:12:16] <setec> is it valid way to inject service into provider methods?
[11:12:18] <setec> this.$get = [ '$http', function ($http) {
[11:12:18] <setec> return function () {
[11:12:19] <setec> this.hello = function () {
[11:12:19] <setec> }
[11:12:19] <setec> };
[11:12:19] <setec> }];
[11:12:20] <MikeyB> but the outermost scope is almost rootScope anyway right?
[11:12:38] <Grokling> Almost.
[11:12:42] <MikeyB> setec: use a gist.github.com or plnkr.co
[11:12:47] <setec> sorry
[11:12:48] <Grokling> +1
[11:14:14] *** azizur has joined #angularjs
[11:14:24] <XanManZA> Grokling: After several restarts it eventally picked up on the changes :) thanks
[11:14:54] *** jstroem has joined #angularjs
[11:15:00] *** tangorri has joined #angularjs
[11:15:05] *** rosieres has joined #angularjs
[11:18:20] *** Rejected has joined #angularjs
[11:18:58] <deyna> any ideas why two models in the same scope that get updated take different times to render to screen?
[11:19:06] *** samuelsimoes has joined #angularjs
[11:19:32] <deyna> my error message pops up immediately, yet my spinner takes an extra 2-3 seconds to hide
[11:19:44] <deyna> but they'd be in the same $digest
[11:19:53] *** SeeThruHead has joined #angularjs
[11:20:00] <chanced> theres gotta be a damn way to do this
[11:20:06] <chanced> grrrr
[11:20:11] *** ozooner_ has joined #angularjs
[11:20:23] *** ozooner has quit IRC
[11:20:25] <sacho_> setec, no - add injection to the function you're returning.
[11:20:32] <sacho_> to do what?
[11:21:30] <setec> sacho tnx
[11:21:41] *** rtpg has quit IRC
[11:21:50] *** ludkiller has quit IRC
[11:21:51] <chanced> sacho_: in ui-router, check state.includes of a child state from a directive hung on the parent template
[11:21:57] *** doginal has quit IRC
[11:22:12] *** stephanbuys has quit IRC
[11:22:13] *** milka has quit IRC
[11:22:30] <chanced> sacho_: copy/paste from earlier: i have an abstract parent state. Inside of the abstract parent template I'm using a directive that needs to know which child state is active. I'm using the method $state.includes('child-state-name') but that is null. However if I do $state.includes('abstract-parent-state-name') it returns true as expected
[11:23:11] *** motionman has joined #angularjs
[11:23:44] *** ludkiller has joined #angularjs
[11:24:39] <deyna> can anyone take a gander at http://pastebin.com/8G4fAx2c
[11:24:39] *** SeeThruHead has quit IRC
[11:24:51] *** c00ljs has quit IRC
[11:24:53] <deyna> for some reason the message is render 2-3 before the spinner disappears
[11:24:57] <deyna> cant see why
[11:25:03] *** mrded has joined #angularjs
[11:26:20] *** glosoli has quit IRC
[11:26:23] <Grokling> deyna: Them primitives, nothing but trouble.
[11:26:47] *** caitp has joined #angularjs
[11:26:59] *** glosoli has joined #angularjs
[11:27:05] <deyna> better to use isLoading() isFatal() etc?
[11:27:08] *** nemothekid has joined #angularjs
[11:27:19] <Grokling> $scope.loading = false; Bad.
[11:27:19] *** edzez_ has joined #angularjs
[11:27:26] *** lumio has quit IRC
[11:27:28] <deyna> could you suggest a better alrenative/
[11:27:33] *** Yankie has joined #angularjs
[11:27:36] <Grokling> $scope.status.loading = false; Good.
[11:27:46] <Grokling> {{status.loading}}
[11:28:35] <deyna> thanks for the tip, why are they bad?
[11:28:35] *** MaxV_ has joined #angularjs
[11:28:40] <deyna> may as well learn something
[11:28:41] <MikeyB> What is the cause of having to do blah.something ?
[11:29:01] *** XanManZA has quit IRC
[11:29:09] <Grokling> Primitives are copied by value. Objects are "copied" by reference.
[11:29:22] *** denny009 has quit IRC
[11:29:44] <Grokling> So, $scope.loading will never change the 'loading' that's bound to your view - they're no longer related.
[11:29:57] <MikeyB> oh goddit
[11:30:12] *** atomatt has joined #angularjs
[11:30:23] <Grokling> Changing a property of an object is fine though - the reference is still valid, so we can find the property.
[11:30:25] <deyna> ahhh
[11:30:27] *** MaxV_ has quit IRC
[11:30:32] *** edzez has quit IRC
[11:30:41] *** zanea is now known as zanea|away
[11:30:42] *** rburns has quit IRC
[11:31:07] *** angularjs355 has quit IRC
[11:31:09] <MikeyB> I have $scope.hasGame = Games.getMine() inside an event handler, that works fine?
[11:31:10] *** caitp has quit IRC
[11:31:24] *** coder2 has joined #angularjs
[11:31:25] <Grokling> It's a javascript thing - nothing to do with angular (apart from being in the top 5 answers to why stuff doesn't work)
[11:31:35] <deyna> So basically never use primitives in your viewModel
[11:31:37] <MikeyB> Games.getMine() != undefined or whatever I mean
[11:31:51] *** sk87 has quit IRC
[11:32:17] <Grokling> deyna: pretty much. If there's no dot, it's probably wrong.
[11:32:37] *** jstroem has quit IRC
[11:32:41] *** fairuz has left #angularjs
[11:33:28] <deyna> havent come across that in the angular docs, assumed it dealt with that under the hood
[11:33:30] *** jstroem has joined #angularjs
[11:33:39] <deyna> seems pretty fundamental
[11:33:41] <MikeyB> in my view I just do ng-if="hasGame" and that works and updates correctly
[11:34:15] <Grokling> MikeyB: as long as that function returns a reference to an object, that'll work fine.
[11:34:38] *** coder2 has quit IRC
[11:35:11] <MikeyB> its not a function, its just me setting $scope.hasGame = t/f from the controller when its notified the list of active games has changed
[11:35:36] *** moritzs has quit IRC
[11:35:39] <MikeyB> ah, maybe thats because for me to test it, I leave that view (go and create a game), then come back to it, where it would be updated :D
[11:35:41] <Grokling> In that case, no. That's not the way..
[11:35:42] *** ProLoser has quit IRC
[11:36:18] <MikeyB> ok, I'll fix that :D
[11:36:19] <Grokling> Actually, if you're going away, and then returning to this view, it'll work. It's only a problem if the value changes while you're 'in' this view/state.
[11:36:23] *** mokush has joined #angularjs
[11:36:31] <MikeyB> yeah, I got it
[11:36:37] *** josh-k has quit IRC
[11:36:47] *** onats has quit IRC
[11:36:48] *** Joscha has joined #angularjs
[11:37:09] *** josh-k has joined #angularjs
[11:37:31] *** fbenoit has quit IRC
[11:37:34] <Joscha> Hi, does someone know whether I can filter on a boolean property in an ng-repeat? I tried item in items | filter:{prop: false} track by item.name
[11:37:40] <MikeyB> if the scope wasn't "copied" it would work right? couldn't scopes decorate their parent scope some how, so the whole thing was byref
[11:37:49] <MikeyB> man.. writing byref reminds me of VB6 days
[11:37:57] <Grokling> deyna: I think they just assume that you know how javascript works. I didn't.. so had to learn this myself.
[11:38:03] *** fbenoit has joined #angularjs
[11:38:14] <deyna> :D
[11:38:25] <deyna> didnt cross my mind at all!
[11:39:23] *** gunn has quit IRC
[11:39:24] *** jethr0 has joined #angularjs
[11:39:31] <jethr0> hi
[11:39:44] <jethr0> I have a question regarding ng-include inside ng-repeat
[11:39:56] *** carlosmantilla has joined #angularjs
[11:40:03] <jethr0> i guess reuse/components/modularization is quite important to angular
[11:40:17] *** josh-k_ has joined #angularjs
[11:40:30] <jethr0> is there some way to (pre)compile an ng-repeat in such a way that one can still reuse code with ng-include inside?
[11:41:56] *** edzez_ is now known as edzez
[11:42:03] *** jstroem has quit IRC
[11:42:26] *** jstroem has joined #angularjs
[11:42:35] *** onats has joined #angularjs
[11:42:37] *** gunn has joined #angularjs
[11:42:42] *** jstroem has quit IRC
[11:42:55] <jethr0> any ideas? (ng-include inside ng-repeat)?
[11:43:09] *** jstroem has joined #angularjs
[11:43:41] *** josh-k has quit IRC
[11:44:11] *** eamonn_ has joined #angularjs
[11:44:42] *** carlosmantilla has quit IRC
[11:46:17] *** jstroem has quit IRC
[11:46:19] *** eamonn has quit IRC
[11:46:24] *** Xethron has quit IRC
[11:46:40] *** jstroem has joined #angularjs
[11:46:42] *** glosoli has quit IRC
[11:46:45] *** rosieres has quit IRC
[11:47:21] *** glosoli has joined #angularjs
[11:47:27] *** Click66 has quit IRC
[11:48:00] *** favetelinguis has quit IRC
[11:48:25] *** favetelinguis has joined #angularjs
[11:48:29] *** emmesswhy has quit IRC
[11:48:46] *** Xethron has joined #angularjs
[11:49:52] *** gnrlbzik has joined #angularjs
[11:49:57] *** __me is now known as ome
[11:49:58] *** cakirke has joined #angularjs
[11:50:00] *** sk87 has joined #angularjs
[11:50:05] *** Joscha has quit IRC
[11:52:53] *** qdk has quit IRC
[11:53:10] *** favetelinguis has quit IRC
[11:53:29] <sacho_> I'm not sure what you're asking
[11:53:39] *** spaceonline has joined #angularjs
[11:54:20] <setec> yes you are asking for something not angularish
[11:54:46] *** foofoobar has quit IRC
[11:54:56] *** gnrlbzik has quit IRC
[11:55:15] *** bleda has joined #angularjs
[11:55:27] *** favetelinguis has joined #angularjs
[11:55:32] <Grokling> setec: the official word for that is 'ungular'
[11:55:50] *** joker666 has quit IRC
[11:56:00] <setec> gtk
[11:56:03] *** RedOrangeZ has joined #angularjs
[11:56:48] *** AndreasLutro has quit IRC
[11:56:52] <MikeyB> heh
[11:56:55] *** tkimmel has joined #angularjs
[11:57:04] *** AndreasLutro has joined #angularjs
[11:57:10] <frobs> jethr0, you can do it, but i have a doubt....maybe you can copy your html tempalte content in a scope.variable and after show this variable content inside ng-repeat, the advantage is if it works you only access one time to the html file, the other times the html code is in memory in a variable
[11:57:28] *** phuh has quit IRC
[11:57:36] *** Caroga is now known as Caroga_afk
[11:57:42] <frobs> i don't test it, i don't know if this works
[11:57:44] *** gurke_ has joined #angularjs
[11:57:51] *** phuh has joined #angularjs
[11:58:26] <MikeyB> the template cache does what it says right - caches templates? It should only load it once?
[11:59:01] *** davesidious_ has quit IRC
[11:59:01] *** sacho_ has quit IRC
[11:59:18] *** davesidious_ has joined #angularjs
[11:59:25] *** sacho_ has joined #angularjs
[11:59:43] *** ozooner__ has joined #angularjs
[11:59:43] *** jstroem has quit IRC
[11:59:50] *** favetelinguis has quit IRC
[12:00:01] *** ozooner_ has quit IRC
[12:00:10] *** jstroem has joined #angularjs
[12:01:15] *** tkimmel has quit IRC
[12:01:20] *** AciD`` has joined #angularjs
[12:01:51] *** yelvert has joined #angularjs
[12:01:56] *** Raging_Hog has joined #angularjs
[12:02:10] <Grokling> MikeyB: Yeah, unless you do some dynamic template stuff, and it doesn't (happened to me.. worked around it..)
[12:02:28] *** redders has joined #angularjs
[12:03:14] *** diffalot has quit IRC
[12:03:20] *** devops has joined #angularjs
[12:03:23] *** chanced has quit IRC
[12:03:46] <jaznow> Hi, i'm trying to use ui-grid 3.x on my Symfony project, alltogether with twig, and I'm having problem with the curly braces, ui grid seems to be using {{ ,and I changed it to [[ ... anyone has any idea on how to solve this?
[12:04:03] <devops> hello all, I've a directive that do inside the link: var childScope = scope.$new(): there's a way to save my original scope before the new?
[12:04:17] *** jstroem has quit IRC
[12:04:17] *** moritzs has joined #angularjs
[12:04:22] <Grokling> jaznow: symfony is a PHP framework right?
[12:04:41] *** jstroem has joined #angularjs
[12:04:42] <yakari> no.
[12:04:47] <MikeyB> yes it is
[12:04:52] *** MistuhKurtz has quit IRC
[12:04:52] <yakari> It's not just a php Framework
[12:04:59] <yakari> is THE php framework
[12:05:10] <yakari> For chicks and Bats
[12:05:20] <Grokling> Unless you ask a Zendian. in which case it's lame. So I hear.
[12:05:23] <jaznow> Grokling, yes it is, but the problem is that twig uses {{ }} also
[12:05:23] *** tech2 has quit IRC
[12:05:34] <redders> I'm trying to bind ng-model to a non-existant field on an object on the scope using angular 1.3.1. Previously angular would have added this field to the object as soon as I type but it doesn't seem to be working. It's the same behaviour as 'user.data' in the first example on this doc page: https://docs.angularjs.org/api/ng/directive/ngModelOptions
[12:05:39] *** chanced has joined #angularjs
[12:05:42] *** jstroem has quit IRC
[12:05:51] <redders> is that a bug or working as intended? If the latter how do I add new properties to an object through ngmodel
[12:05:51] *** jstroem has joined #angularjs
[12:05:57] *** favetelinguis has joined #angularjs
[12:05:59] <jaznow> yakari, yes Symfony is pretty awesome =)
[12:06:07] *** yelvert has quit IRC
[12:06:30] <frobs> jaznow, i have this same problem, and i solve it in symfony / route return the plain html index.html of angular
[12:06:44] <frobs> all the others gui routes are managed by angular
[12:06:54] <Grokling> So you're using PHP to generate an angular front end?
[12:07:04] *** oktapodi has joined #angularjs
[12:07:12] <jaznow> frobs, I'm not sure I'm following you... what does routes have to do with my problem?
[12:07:30] <jaznow> Grokling, yes that's it
[12:07:37] *** diffalot has joined #angularjs
[12:07:47] *** juristr has quit IRC
[12:08:05] <jaznow> Grokling, also I managed to change the {{ for [[ in angular
[12:08:38] <frobs> jaznow, sorry my english is so bad, the thing is instead of use twig use plain html for your templates
[12:08:40] <redders> oh, nevermind, it's not like the example I Linked.
[12:08:41] <redders> ignore me.
[12:09:04] <devops> hello all, I've a directive that do inside the link: var childScope = scope.$new(): there's a way to save my original scope before the new
[12:09:05] *** cotko has joined #angularjs
[12:09:08] <jaznow> frobs, I'm allready in a middle stage of my project, can't do that,would mean a huge step backward... :(
[12:09:41] *** nesquerra has quit IRC
[12:09:52] <jaznow> frobs, also my problem is only with ui-grid, angular is working seamesly
[12:10:09] *** anderskristo has quit IRC
[12:10:38] *** japhar81 has quit IRC
[12:10:57] *** Mattias has quit IRC
[12:11:59] <frobs> but...if you are in the middle of the project you should solve this problem at the beginning... if you have implemented now angular you must write your templates using angular directives, is it?
[12:12:05] *** oktapodi has quit IRC
[12:12:18] *** redders has quit IRC
[12:12:34] <yakari> Sacré Louis Lin
[12:13:12] *** moritzs has quit IRC
[12:13:44] <jaznow> frobs, angular is working perfectly, and I'm using [[ instead of {{, since angular permits changing that, my problem si that now , in this stage of the project, I want to add ui grid (angular addon), this addon, is programed in a way, that uses some internal templatings that use {{ ...
[12:14:38] <jaznow> frobs, I don't know if there's any kind of workaround for this... :(
[12:14:55] *** slopjong has quit IRC
[12:15:00] *** Oddman has joined #angularjs
[12:15:12] <frobs> ok, i understand you now, sorry by the mistake
[12:15:18] *** eamonn_ has quit IRC
[12:15:24] <jaznow> http://ui-grid.info/
[12:15:25] *** ogdabou has quit IRC
[12:15:34] *** eamonn has joined #angularjs
[12:15:43] <jaznow> frobs, no problem, thank you for taking your time to help me :)
[12:15:52] *** stephanbuys has joined #angularjs
[12:16:06] *** fedenunez1 has joined #angularjs
[12:16:51] *** BlinkyBill has quit IRC
[12:17:31] *** wd40s has joined #angularjs
[12:18:10] *** dharmit has quit IRC
[12:18:32] *** dc has joined #angularjs
[12:18:38] *** e0ipso|away is now known as e0ipso
[12:18:42] *** eamonn has quit IRC
[12:19:00] *** jstroem has quit IRC
[12:19:13] *** mupkoo has quit IRC
[12:19:23] *** fedenunez has quit IRC
[12:19:29] *** jstroem has joined #angularjs
[12:20:36] *** eamonn has joined #angularjs
[12:20:37] *** SeeThruHead has joined #angularjs
[12:20:39] *** jstroem has quit IRC
[12:20:46] *** dnull has joined #angularjs
[12:21:05] *** jstroem has joined #angularjs
[12:22:41] *** wd40s has quit IRC
[12:22:42] *** jstroem has quit IRC
[12:22:54] *** Mattias has joined #angularjs
[12:23:30] *** jstroem has joined #angularjs
[12:23:39] *** mogaj has quit IRC
[12:23:40] <frobs> jaznow, i don't found how do this, in ui grid project they have this file https://github.com/angular-ui/ng-grid/blob/master/src/js/core/constants.js but i don't see where curlys can be changed...maybe you could send a email to repository master and ask him or change you and do a pull request
[12:23:45] *** anderskristo has joined #angularjs
[12:23:49] *** dreambox has quit IRC
[12:23:55] *** nemothekid has quit IRC
[12:24:02] *** dreambox has joined #angularjs
[12:24:05] *** jstroem has quit IRC
[12:24:28] *** ogdabou has joined #angularjs
[12:24:32] *** jstroem has joined #angularjs
[12:25:32] *** SeeThruHead has quit IRC
[12:25:43] *** wallerdev has joined #angularjs
[12:26:18] *** barny_ has joined #angularjs
[12:27:25] *** darrin has quit IRC
[12:27:31] *** wallerdev has quit IRC
[12:27:44] *** Left_Turn has joined #angularjs
[12:27:53] *** barny_ has quit IRC
[12:30:14] *** Sebastien-L has quit IRC
[12:30:30] *** milka has joined #angularjs
[12:31:16] *** MaxV_ has joined #angularjs
[12:31:31] *** canthugallthecat has joined #angularjs
[12:32:02] <canthugallthecat> Hey guys. How do I use .then method on ngResource call ?
[12:32:12] <canthugallthecat> The documentation is quite unclear
[12:33:08] *** tarnus has joined #angularjs
[12:34:01] *** stephanbuys has quit IRC
[12:34:13] *** Sebastien-L has joined #angularjs
[12:34:29] *** milka_ has joined #angularjs
[12:36:12] *** larsam has joined #angularjs
[12:36:22] *** onats has quit IRC
[12:36:26] <jaznow> frobs, I've checked out the sourcecode for ui grid, and I see some {{ hardcoded, so does not seem that can be changed at constants. I think that if there is a workaround this, should be, by shanging the open tag only for inside this component maybe...
[12:36:44] *** milka has quit IRC
[12:37:23] *** tarnus has quit IRC
[12:37:26] <jaznow> But I think I'll open a request at github so that they can improve that, or tell me the solution. :)
[12:37:27] *** chaohuanghong has quit IRC
[12:37:33] *** tech2 has joined #angularjs
[12:37:53] *** VeeWee has joined #angularjs
[12:38:25] *** mrded has quit IRC
[12:39:25] *** uru is now known as uru|away
[12:40:28] *** Click66 has joined #angularjs
[12:40:45] *** intellix has quit IRC
[12:42:02] *** duall has joined #angularjs
[12:42:02] *** ehalas has quit IRC
[12:42:35] *** Nivag has quit IRC
[12:42:51] *** whitebook has joined #angularjs
[12:43:07] *** Typher has quit IRC
[12:43:17] <duall> why finally does not work promise.catch(catchFn).finally(finallyFn) only catchFn gets called on 400, not finallyFn :(
[12:43:17] *** monir has joined #angularjs
[12:44:45] *** mupkoo has joined #angularjs
[12:45:17] *** rtpg has joined #angularjs
[12:46:17] *** sk87 has quit IRC
[12:47:51] *** night-owl is now known as zz_night-owl
[12:48:43] <masscrx> what is the efficient way of storing a lot of data like countries ? I have page with customer personal info and ui-select with all countries from $scope.countries but storing in web browseer memory 300 records cause performance issue
[12:48:49] *** ClarusCogitatio has quit IRC
[12:50:12] *** Caroga_afk is now known as Caroga
[12:50:31] *** ClarusCogitatio has joined #angularjs
[12:50:32] <MikeyB> masscrx: 300 items in an array won't cause performance issues. its not 1995
[12:50:36] *** gnrlbzik has joined #angularjs
[12:51:05] *** Jon31 has quit IRC
[12:51:16] *** juristr has joined #angularjs
[12:51:27] *** jstroem has quit IRC
[12:51:44] *** chanced has quit IRC
[12:51:48] <masscrx> MikeyB: I have about 1 sec lag between states
[12:51:56] *** jstroem has joined #angularjs
[12:52:02] <masscrx> without array with countries there is no lag
[12:52:39] <MikeyB> O.o
[12:53:15] *** onats has joined #angularjs
[12:53:21] *** RangerRick has quit IRC
[12:53:24] *** jstroem has quit IRC
[12:53:31] *** mmealling has quit IRC
[12:53:41] *** RangerRick has joined #angularjs
[12:54:15] *** XanManZA has joined #angularjs
[12:54:53] *** gnrlbzik has quit IRC
[12:54:57] *** chanced has joined #angularjs
[12:55:44] <XanManZA> guys how can I run a php file from a Xxamp server I'm hosting? Or otherwise host the file on the Angular framework? I'm trying the $http service but getting all kinds of errors
[12:56:30] *** tangorri has quit IRC
[12:56:50] *** jstroem has joined #angularjs
[12:57:08] *** MaxV_ has quit IRC
[12:57:12] <frobs> XanManZA, sorry i don't understand you, more things mixed
[12:57:18] *** jstroem has quit IRC
[12:57:22] *** ThomasBeauvais has joined #angularjs
[12:57:27] *** phuh has quit IRC
[12:57:27] *** caitp has joined #angularjs
[12:57:35] *** jstroem has joined #angularjs
[12:57:50] *** foofoobar has joined #angularjs
[12:57:52] *** phuh has joined #angularjs
[12:58:59] <XanManZA> frobs: I'm trying to get some data on the server-side by running a php file that returns some json data. Unfortunately I'm not sure how to do this with Angular.js and my current setup
[12:59:16] *** ThomasBeauvais has quit IRC
[12:59:37] <MikeyB> XanManZA: can you call the php script manually in the browser and get it to return data?
[12:59:48] *** Fire-Dragon-DoL has joined #angularjs
[13:00:07] *** Oddman has quit IRC
[13:00:20] <XanManZA> MikeyB: yes
[13:01:06] *** Fire-Dragon-DoL has quit IRC
[13:01:16] *** deyna has quit IRC
[13:01:22] *** Fire-Dragon-DoL has joined #angularjs
[13:01:51] <frobs> XanManZA, you should write a php script inside your xampp html directory that return you a json, after you can run a angular application with grunt for example and inside a controller make a $http.get('locahost/my_php_script.php')
[13:01:56] *** jillesme has quit IRC
[13:02:17] *** caitp has quit IRC
[13:02:17] *** samuelsimoes has quit IRC
[13:02:42] *** caitp has joined #angularjs
[13:02:48] <frobs> then you must get the json that is returned from your php script in your angular app
[13:02:58] <frobs> should get*
[13:03:14] *** deyna has joined #angularjs
[13:03:26] <snurfery> masscrx: how are you using the array of countries?
[13:03:33] <XanManZA> I do have the $http.get method in there,but it's still running on the Git server. So I need to grunt the angular application and then deploy it on my Xxamp server?
[13:03:57] <snurfery> masscrx in a <select ng-options> ?
[13:04:57] *** deyna has quit IRC
[13:05:29] *** jlebrech has quit IRC
[13:05:56] *** marcjs has joined #angularjs
[13:06:24] <bd-> is there a proper way to get the enter key to fire click handlers on nested forms?
[13:06:45] <snurfery> click handlers?
[13:06:47] <frobs> grunt is a server itself, grunt is a equivalent to apache for php, yes, you can put your angular app in apache html directory go to /localhost/my_angular_app.html and see your index
[13:07:03] *** claprap has joined #angularjs
[13:07:07] <bd-> well, a ng-click handler on a button[type=submit]
[13:07:18] *** thirdknife has joined #angularjs
[13:07:33] <snurfery> can you change it to ng-submit instead?
[13:07:40] <snurfery> on the form itself
[13:07:42] *** kp666 has joined #angularjs
[13:07:47] <bd-> no, ng-submit only works on <form> and <form> can't be nested
[13:07:47] *** advy has joined #angularjs
[13:08:01] *** moritzs has joined #angularjs
[13:08:14] <snurfery> "ng-form" can I think
[13:08:17] <snurfery> lemme look it up
[13:08:23] <bd-> ng-submit doesn't work on ng-form either
[13:08:37] *** oktapodi has joined #angularjs
[13:09:18] <snurfery> yeah you're right
[13:09:38] <snurfery> nested forms eh
[13:10:54] *** slopjong has joined #angularjs
[13:11:06] <bd-> the problem with ng-form is when you nest them, it fires the first ng-click handler on type=submit it finds, rather than skipping over handlers inside other ng-forms
[13:11:28] *** lite has quit IRC
[13:11:34] *** josh-k_ has quit IRC
[13:11:37] <snurfery> http://angular-ui.github.io/ui-utils/#/keypress
[13:11:46] *** Foxandxss has joined #angularjs
[13:11:49] <soee> what would be teh solution to send hidden field value ?
[13:12:01] *** josh-k has joined #angularjs
[13:12:26] <snurfery> bd-: seems like you can have pretty granular control with that lib
[13:12:34] *** lite has joined #angularjs
[13:12:36] *** milka_ is now known as milka
[13:12:46] <juristr> need some help with testing a directive that removes the element it is bound to
[13:12:54] <juristr> anyone has a couple of minutes?
[13:13:06] *** ludkiller is now known as lud
[13:13:36] *** niop2 has quit IRC
[13:14:27] *** qdk has joined #angularjs
[13:14:58] *** onats has quit IRC
[13:15:09] *** mjs2600 has joined #angularjs
[13:15:30] *** monir has quit IRC
[13:15:31] <bd-> i don't really want to add keydown handlers to every input field
[13:15:37] *** lite_ has joined #angularjs
[13:16:05] *** machty has quit IRC
[13:16:32] *** canthugallthecat has quit IRC
[13:16:32] *** canthugeverycat has quit IRC
[13:16:44] <snurfery> you can always create a directive, add it to the nested form tag, and it can attach the keypress event to all its children input elements
[13:16:47] *** josh-k has quit IRC
[13:16:51] *** motionman has quit IRC
[13:16:55] *** whitebook has quit IRC
[13:17:16] <Foxandxss> juristr: a directive that removes the element it is bound to?
[13:17:24] *** moritzs has quit IRC
[13:17:44] *** jstroem has quit IRC
[13:17:57] *** lite has quit IRC
[13:18:03] *** phaggood has joined #angularjs
[13:18:08] *** jstroem has joined #angularjs
[13:18:42] <juristr> Foxandxss: Yep. Here's the plunkr: http://plnkr.co/edit/oNz6FmgIJb2XKayFmaGa?p=preview
[13:19:27] <juristr> Foxandxss: it works when having it live on my app, but doesn't in the test setup of the plunkr
[13:19:36] *** PrinceAMD has joined #angularjs
[13:19:58] *** diosney has joined #angularjs
[13:20:03] <Foxandxss> (I would just use ng-if btw)
[13:20:14] *** machty has joined #angularjs
[13:20:17] *** josh-k has joined #angularjs
[13:20:19] *** XanManZA has quit IRC
[13:20:31] <juristr> Foxandxss: Yea, sure. But there's more behind. The Plunkr just shows a simplified version of it
[13:20:37] <Foxandxss> sure
[13:20:57] *** Oddman has joined #angularjs
[13:21:22] *** SeeThruHead has joined #angularjs
[13:22:09] *** jstroem has quit IRC
[13:22:11] <juristr> Foxandxss: Here for instance it works like charm: http://plnkr.co/edit/tzDqRKMd3eCqeljmMYMr
[13:22:36] *** jstroem has joined #angularjs
[13:22:40] <juristr> Foxandxss: must be something related to manually compiling the HTML, but I don't get it
[13:22:49] <Foxandxss> yeah, let me think
[13:22:59] *** deyna has joined #angularjs
[13:23:51] *** amphetamines has joined #angularjs
[13:24:00] *** thirdknife has quit IRC
[13:24:04] *** dsdeiz_ has joined #angularjs
[13:24:06] *** ProLoser has joined #angularjs
[13:24:27] *** MaxV_ has joined #angularjs
[13:24:30] *** larsam has quit IRC
[13:24:35] *** dsdeiz has quit IRC
[13:25:30] *** nodedfree has quit IRC
[13:25:53] *** SeeThruHead has quit IRC
[13:26:00] *** zbzzn has quit IRC
[13:26:04] *** whitebook has joined #angularjs
[13:26:08] *** ThatTreeOverTbnc has quit IRC
[13:26:10] *** XanManZA has joined #angularjs
[13:26:13] *** lite_ has quit IRC
[13:26:20] *** oktapodi has quit IRC
[13:26:44] *** jstroem has quit IRC
[13:26:54] *** ThatTreeOverTbnc has joined #angularjs
[13:27:00] *** nodedfree has joined #angularjs
[13:27:05] *** jstroem has joined #angularjs
[13:27:16] <XanManZA> so if I understand correctly, I can just copy my Angular.js files to my Xxamp htdocs directory and it should work?
[13:27:25] *** drugs has quit IRC
[13:27:44] *** eamonn has quit IRC
[13:27:52] *** jstroem has quit IRC
[13:27:53] *** favetelinguis has quit IRC
[13:28:04] <Foxandxss> juristr: I have some idea but not really understanding why it fails, it shouldn't
[13:28:13] <Foxandxss> XanManZA: yes
[13:28:13] *** jstroem has joined #angularjs
[13:28:14] <juristr> Foxandxss: great
[13:28:16] *** oncenull has joined #angularjs
[13:28:21] *** favetelinguis has joined #angularjs
[13:28:25] *** lite has joined #angularjs
[13:28:27] *** ProLoser has quit IRC
[13:28:28] <frobs> XanManZA, yes
[13:28:37] <Foxandxss> gonna try something
[13:29:00] *** motionman has joined #angularjs
[13:29:21] <XanManZA> frobs: what do I copy? Everything under the "app" directory?
[13:30:02] *** jstroem has quit IRC
[13:30:08] <Foxandxss> you workflow should have an option to generate a production version of your app
[13:30:12] <Foxandxss> and that is what you should copy
[13:30:26] *** jstroem has joined #angularjs
[13:30:28] <frobs> XanManZA, your index.html and all subdirectories
[13:30:51] *** oktapodi has joined #angularjs
[13:31:20] *** MaxV_ has quit IRC
[13:31:28] <frobs> if is all inside a app you should copy this to apache and in browser go to localhost/app/index.html
[13:31:30] *** nytrm has joined #angularjs
[13:31:36] *** patrick99e99 has joined #angularjs
[13:31:47] <Foxandxss> juristr: the thing is (apart from a typo on scope instead of $scope) is that the element.remove() is deleting the entire element even the outer div
[13:31:53] <Foxandxss> so element is always undefined
[13:31:57] *** MaxV_ has joined #angularjs
[13:32:16] <nytrm> Can anyone help me with caching a state in ui-route ?
[13:32:23] <juristr> Foxandxss: it even deletes the outer div?
[13:32:27] <Foxandxss> yes
[13:32:34] <Foxandxss> that is what I don't understand
[13:32:47] *** favetelinguis has quit IRC
[13:32:54] *** favetelinguis has joined #angularjs
[13:33:08] <juristr> that's indeed kinda strange...
[13:33:08] <nytrm> i am switching state but keeping the DOM, when switching to the parent state i already have the dom but i lost all the events.
[13:33:12] <Foxandxss> tElement is still the right div
[13:34:29] <Foxandxss> I would check if the element is undefined in the case your are not granted access or check that the element is there (with the right stuff) if you have access
[13:34:44] <XanManZA> frobs, I get an error "unexpected token {" but I'm almost dead sure there are no syntax faults in my code
[13:34:52] <nytrm> I am able to cache a state's DOM but i lose all events (like ng-click) when going back to that state and push the DOM in the view using a directive.
[13:34:58] *** juampy is now known as juampy_brb
[13:35:17] <XanManZA> frobs: it worked on the Git server and now I copy it to Xxamp and it gives the error
[13:35:31] *** tangorri has joined #angularjs
[13:35:33] <juristr> Foxandxss: where exactly would you insert that check?? 'cause the expect() is not even executed
[13:35:40] *** mewm has joined #angularjs
[13:35:51] <Foxandxss> it is
[13:36:01] <juristr> Foxandxss: well ok, it is, but if I comment it, it fails already during $compile(...)
[13:36:02] <Foxandxss> see the "there is no children of undefined" error at the right
[13:36:23] *** MaxV_ has quit IRC
[13:36:32] *** patrick99e99 has quit IRC
[13:36:57] <juristr> Foxandxss: updated the plunkr...if I add an empty it(...) it still fails
[13:37:38] *** jstroem has quit IRC
[13:38:10] *** jstroem has joined #angularjs
[13:38:16] *** sk87 has joined #angularjs
[13:38:29] *** kirfu has joined #angularjs
[13:39:08] <Foxandxss> yes
[13:39:12] *** Efrem has joined #angularjs
[13:39:20] <Foxandxss> I am not really into deleting stuff, but shouldn't fail
[13:39:27] *** juampy_brb has quit IRC
[13:39:28] *** whitebook has quit IRC
[13:39:36] <Foxandxss> the issue is on the tElement.remove()
[13:39:39] *** dc has quit IRC
[13:39:57] <juristr> Foxandxss: yep definitely. So you'd rather only hide it?
[13:40:04] <Foxandxss> nah
[13:40:34] <juristr> Foxandxss: and it works in the app, just not in the test :) ...oh...btw if I move the logic into the "link" function it works (maybe that helps)
[13:40:38] <juristr> Foxandxss: just don't get it...
[13:40:56] <Foxandxss> now that you say that
[13:41:28] *** devops has quit IRC
[13:41:30] <juristr> Foxandxss: (but it works when running it inside the app ;) ) See the other plunkr I sent ... * confused *
[13:41:32] <Foxandxss> uhmmm
[13:41:40] *** XanManZA has quit IRC
[13:42:03] *** SeeThruHead has joined #angularjs
[13:42:32] <Foxandxss> not sure if deleting the entire element on compile time is a good idea
[13:42:33] <Foxandxss> even if it works
[13:42:46] <Foxandxss> I am looking into ngIf code
[13:42:55] *** kirfu has quit IRC
[13:43:11] <juristr> Foxandxss: yea, did that as well and they do it (and lots of other stuff) in the link function. So yes, you're right
[13:43:14] *** ssawickik has joined #angularjs
[13:43:27] *** oktapodi has quit IRC
[13:43:34] <juristr> Foxandxss: my reasoning was simple: don't need any bound data, nor the scope, so...do it in the compile function * newbie reasoning *
[13:43:49] <Foxandxss> as today, no one uses the compile function
[13:43:51] *** nodedfree has quit IRC
[13:43:51] *** ThatTreeOverTbnc has quit IRC
[13:43:54] *** kirfu has joined #angularjs
[13:44:02] <Foxandxss> it was used for performance but nowadays, that is not true anymore
[13:44:14] <Foxandxss> still your reasoning is correct, I don't need to bound the data
[13:44:21] <Foxandxss> but maybe angular is expecting to do that
[13:44:29] <Foxandxss> but instead it finds that there is no element anymore
[13:44:51] <nytrm> Anyone who can help me with this UI-Route problem i am having ?
[13:44:55] *** whitebook has joined #angularjs
[13:44:58] *** bkuberek has joined #angularjs
[13:44:59] *** caitp has quit IRC
[13:45:10] <Foxandxss> sorry, not my thing
[13:45:23] <juristr> Foxandxss: yea, did some debugging to find the difference between running the code in the app and when running it from the tests, adding breakpoints where it fails.
[13:45:29] <thomastuts> can you not use the controllerAs syntax in ng-grid?
[13:45:33] *** jstroem has quit IRC
[13:45:40] <thomastuts> all the issues i've found so far seem to point towards 'no'
[13:45:45] *** tkimmel has joined #angularjs
[13:45:59] *** jstroem has joined #angularjs
[13:46:20] *** jlebrech has joined #angularjs
[13:46:27] *** japhar81 has joined #angularjs
[13:46:59] *** hecatonicosachor has joined #angularjs
[13:47:21] *** japhar81 has quit IRC
[13:47:26] *** dnull has quit IRC
[13:47:58] <Foxandxss> juristr: http://plnkr.co/edit/SdWsaLGIiqvEsk7vJIpW?p=preview
[13:48:04] <Foxandxss> definitely better to use link
[13:48:26] *** ThatTreeOverTbnc has joined #angularjs
[13:48:31] <Foxandxss> ngIf does the same (more or less) and also in link function
[13:48:32] <juristr> Foxandxss: sure, that works...
[13:48:39] *** dc has joined #angularjs
[13:48:52] *** diosney has quit IRC
[13:48:55] *** tripu has joined #angularjs
[13:48:56] *** intellix has joined #angularjs
[13:49:03] *** nodedfree has joined #angularjs
[13:49:09] *** juampy_brb has joined #angularjs
[13:49:15] <juristr> Foxandxss: so I should follow them ;) Just wanted to understand it, given that it works in one scenario and doesn't in the other...
[13:49:22] *** amphetamines has quit IRC
[13:49:33] <Foxandxss> juristr: my best bet
[13:49:45] *** danflies has joined #angularjs
[13:49:47] <Foxandxss> is that angular expect an element to keep doing all the life cycle
[13:49:50] *** lena_ has quit IRC
[13:50:09] *** tkimmel has quit IRC
[13:50:09] *** sacho_ has quit IRC
[13:50:11] <Foxandxss> and you delete
[13:50:29] <Foxandxss> delete it*
[13:50:45] *** phzon has quit IRC
[13:50:51] <juristr> Foxandxss: Yep, sure. Sounds reasonable, but again, it works in the app :) http://plnkr.co/edit/tzDqRKMd3eCqeljmMYMr?p=preview
[13:51:02] *** juampy_brb is now known as juampy
[13:51:09] <Foxandxss> yes
[13:51:10] <juristr> Foxandxss: kinda strange :) I'll switch to link and keep going
[13:51:15] *** naneau has joined #angularjs
[13:51:16] <Foxandxss> but again, that doesn't mean you're doing it right tho
[13:51:23] <juristr> Foxandxss: Any idea where I could post this issue to have others give it a look... just out of curiousity? Stackoverflow or the Angular Google group? Which is normally the better choice
[13:51:25] *** wd40s has joined #angularjs
[13:52:02] <Foxandxss> juristr: waiiit
[13:52:07] <Foxandxss> have you seen the console?
[13:52:10] <Foxandxss> on that working example?
[13:52:17] *** larsam has joined #angularjs
[13:52:20] <Foxandxss> I was right
[13:52:32] *** oktapodi has joined #angularjs
[13:52:38] *** danflies has quit IRC
[13:52:38] *** villavida has joined #angularjs
[13:53:09] <juristr> Foxandxss: ype, noticed that. but if you delete the console, stop running the sample and restart it, it works...hmm..
[13:53:26] *** Fishy has quit IRC
[13:53:27] *** MikeyB has quit IRC
[13:53:27] <Foxandxss> no, keeps failing
[13:53:33] <Foxandxss> I am reading the source
[13:53:50] *** eamonn has joined #angularjs
[13:53:58] *** jillesme has joined #angularjs
[13:54:15] <Foxandxss> juristr: let me explain what is the issue, I was somehow on the right track
[13:54:23] <Foxandxss> are you aware of how directives works internally?
[13:54:36] <Foxandxss> and how the lifecycle works on them and more when there is child directives?
[13:54:43] *** hecatonicosachor is now known as sacho
[13:54:43] *** philipd has joined #angularjs
[13:54:46] <juristr> Foxandxss: I'm quite a newbie, so somewhat yes, but I'm sure I'm missing a whole lot
[13:54:53] *** phaggood has quit IRC
[13:55:02] <Foxandxss> so basically you have an entry point, compile
[13:55:07] <juristr> Foxandxss: ok
[13:55:13] <Foxandxss> which will eventually call the link function
[13:55:18] *** philipd has quit IRC
[13:55:24] <juristr> Foxandxss: yep
[13:55:26] <Foxandxss> compile: function(tElement) { return function(scope, element) } ...
[13:55:31] <Foxandxss> that return is the link function
[13:55:52] <juristr> Foxandxss: got it. I've seen that during debugging.
[13:55:59] *** mewm has quit IRC
[13:56:02] <Foxandxss> imagining an element with directive and a child with another directive and another child with directive
[13:56:03] <Foxandxss> it does
[13:56:05] *** crunch-choco has joined #angularjs
[13:56:10] <crunch-choco> hi there
[13:56:17] <Foxandxss> compileA, compileB, compileC, linkC, linkB, linkA
[13:56:27] *** crunch-choco is now known as Guest482
[13:56:29] <Foxandxss> first it runs all the compiles from parent to children and the link goes backwards
[13:56:37] <Guest482> is it possible to put conditions in {{ variable }} ?
[13:56:40] <juristr> Foxandxss: ok
[13:56:42] *** jstroem has quit IRC
[13:56:45] *** nicholaswyoung has joined #angularjs
[13:57:12] *** jstroem has joined #angularjs
[13:57:22] *** mandric has joined #angularjs
[13:57:30] <Foxandxss> basically compileA will then check the children elements of that element so it can trigger the inner directives
[13:57:41] <Foxandxss> but in your case, there is no element
[13:57:44] <Foxandxss> and it tries to do a
[13:57:52] <Foxandxss> element.childNodes
[13:57:58] *** stephanbuys has joined #angularjs
[13:58:01] <Foxandxss> but remember, you did a element.remove()
[13:58:09] <juristr> Foxandxss: sure
[13:58:31] <Foxandxss> so there is no element to check for its children and it fails
[13:58:39] <Foxandxss> childLinkFn = (nodeLinkFn && nodeLinkFn.terminal ||
[13:58:39] <Foxandxss> !(childNodes = nodeList[i].childNodes) ||
[13:58:39] <Foxandxss> !childNodes.length)
[13:58:41] *** danflies has joined #angularjs
[13:58:49] <juristr> Foxandxss: yep, it breaks there
[13:58:55] <Foxandxss> nodeList[i].childNodes
[13:58:59] *** jillesme has quit IRC
[13:59:02] <Foxandxss> since there is no element (nodeList), it fails
[13:59:03] *** whitebook has quit IRC
[13:59:10] <Foxandxss> so you shouldn't remove your element in a compile function
[13:59:17] *** jdcasey has joined #angularjs
[13:59:17] <Foxandxss> any DOM manipulation but removing the directive itself
[13:59:21] <Foxandxss> with the element
[13:59:23] *** dsdeiz_ has quit IRC
[13:59:25] <Foxandxss> that breaks the lifecycle
[13:59:31] *** jstroem has quit IRC
[13:59:33] *** duall has quit IRC
[13:59:37] *** eBureau has joined #angularjs
[13:59:56] *** jstroem has joined #angularjs
[14:00:25] *** tarnus has joined #angularjs
[14:00:27] <juristr> Foxandxss: makes sense...
[14:00:55] <Foxandxss> yeah, you broke the entire lifecycle and angular started to complain
[14:00:59] *** josh-k has quit IRC
[14:01:09] *** jabclab has joined #angularjs
[14:01:11] <Foxandxss> on the link function, all the children are "resolved" so as last step, you can get rid of everything
[14:01:13] <Foxandxss> no complain there
[14:01:26] *** josh-k has joined #angularjs
[14:02:03] *** oktapodi has quit IRC
[14:02:27] <chanced> Foxandxss: thanks for the toastr module
[14:02:34] <Foxandxss> you welcome
[14:02:37] *** moritzs has joined #angularjs
[14:02:39] *** whitebook has joined #angularjs
[14:03:08] *** jillesme has joined #angularjs
[14:03:16] <juristr> Foxandxss: I'm still a bit irritated by the fact it works in my app, but I'll ignore that and move it to the link function. thanks a LOT for your help and explanation!
[14:03:40] *** loverajoel has joined #angularjs
[14:03:40] <Foxandxss> errors in console !== working
[14:03:58] <juristr> Foxandxss: no it really works on the UI level with no errors on the console
[14:04:06] <juristr> Foxandxss: elements are hiding properly based on grants :)
[14:04:15] <juristr> Foxandxss: and showing
[14:04:16] <Foxandxss> yeah, breaking the lifecycle :P
[14:04:24] *** L42y has quit IRC
[14:04:56] *** danflies has quit IRC
[14:05:06] *** yelvert has joined #angularjs
[14:05:49] *** josh-k has quit IRC
[14:05:54] <Foxandxss> lunch time
[14:05:59] *** nicholaswyoung has quit IRC
[14:06:25] *** rchavik has quit IRC
[14:06:38] *** lsiv568 has joined #angularjs
[14:06:51] *** rchavik has joined #angularjs
[14:06:58] *** juampy_ has joined #angularjs
[14:07:47] *** juampy has quit IRC
[14:07:47] *** shinnya has joined #angularjs
[14:08:22] *** L42y has joined #angularjs
[14:09:05] *** DrJae has joined #angularjs
[14:09:17] *** jtimon has quit IRC
[14:09:32] *** bkuberek has quit IRC
[14:10:01] *** yelvert has quit IRC
[14:10:01] *** azizur has quit IRC
[14:10:07] *** gordroidJS has joined #angularjs
[14:10:18] *** juampy_ is now known as juampy
[14:10:46] <juristr> Foxandxss: LOL this works... https://gist.github.com/juristr/8153001bed4f3462c8c7 but I'll ignore it, switch to "link" and don't waste your time ;)
[14:11:22] *** pipoo has joined #angularjs
[14:11:34] *** akrikos has joined #angularjs
[14:11:41] *** AtomicCookie has joined #angularjs
[14:11:44] *** Jae has quit IRC
[14:11:45] *** darrin has joined #angularjs
[14:11:50] *** DrJae is now known as Jae
[14:11:52] <Guest482> is it wise to use filters to do pluralization?
[14:11:52] *** Jae has quit IRC
[14:11:52] *** Jae has joined #angularjs
[14:12:23] *** numenor has quit IRC
[14:12:51] *** monir has joined #angularjs
[14:12:59] *** whiteboo_ has joined #angularjs
[14:13:10] *** villavida has quit IRC
[14:13:21] *** Latros-OS has joined #angularjs
[14:13:31] <nytrm> When cloning a DOM element of a view and placing it back i lose all events, how do i fix this. do i need to link the scope/controller again with the DOM element ?
[14:13:38] *** jedimind has quit IRC
[14:13:44] *** gordroidJS1 has joined #angularjs
[14:14:05] *** whiteboo_ has quit IRC
[14:15:20] *** whitebook has quit IRC
[14:15:42] *** dra_ has quit IRC
[14:16:10] *** jeffszusz has joined #angularjs
[14:16:15] *** niklasmodess has joined #angularjs
[14:16:30] *** spaceonline has quit IRC
[14:16:33] *** mmealling has joined #angularjs
[14:16:51] *** FunnyLookinHat has joined #angularjs
[14:17:04] *** gordroidJS has quit IRC
[14:17:06] *** danecando has quit IRC
[14:18:23] *** storkme has joined #angularjs
[14:19:25] *** MaxV_ has joined #angularjs
[14:19:35] *** tkimmel has joined #angularjs
[14:19:38] *** hiptobecubic has quit IRC
[14:19:46] *** gnrlbzik has joined #angularjs
[14:20:41] *** alxd has left #angularjs
[14:21:04] *** atomatt has quit IRC
[14:22:06] *** tristanp has joined #angularjs
[14:22:56] *** ctanga has joined #angularjs
[14:24:17] *** MikeyB has joined #angularjs
[14:26:04] <Foxandxss> Guest482: well, it is commonly done, but could be a hit on performance
[14:26:07] <Foxandxss> worth the try tho
[14:26:32] *** jabclab has quit IRC
[14:26:34] <Foxandxss> juristr: how is that different of what we had before?
[14:27:07] <juristr> Foxandxss: it's not, but as mentioned. It works, correctly hides/shows and doesn't give errors :) but anyway...let's ignore it
[14:28:02] <soee> when using ui-router with several states defined, if i wan to edit record i shpould first load model and jump to state that loads edit form or first jump to state and than try to load model ?
[14:28:10] *** cakirke has quit IRC
[14:30:32] *** mccarrontr1ck has joined #angularjs
[14:30:51] *** discgo has joined #angularjs
[14:31:01] *** hswolff has quit IRC
[14:31:13] *** phuh has quit IRC
[14:31:25] *** SeeThruHead has quit IRC
[14:31:25] *** motionman has quit IRC
[14:31:40] *** phuh has joined #angularjs
[14:31:52] *** devylon has joined #angularjs
[14:31:52] *** jrist has joined #angularjs
[14:32:07] *** jillesme has quit IRC
[14:32:10] *** gnrlbzik has quit IRC
[14:32:20] *** mmealling has quit IRC
[14:32:20] *** twakey has joined #angularjs
[14:32:28] *** gnrlbzik has joined #angularjs
[14:32:30] *** MaxV_ has quit IRC
[14:32:47] <twakey> i am complete newbie to web development
[14:32:51] *** MaxV_ has joined #angularjs
[14:32:54] *** jstroem has quit IRC
[14:33:03] *** hswolff has joined #angularjs
[14:33:04] *** mmealling has joined #angularjs
[14:33:14] <twakey> i need to ask if javascript is mandatory to learn angular
[14:33:23] *** jstroem has joined #angularjs
[14:33:30] *** Yankie has quit IRC
[14:33:34] <twakey> i know angular is js framework but can it be learned while leaning angular ?
[14:33:37] *** deranged_user has joined #angularjs
[14:33:43] <jethr0> sry, i was afk earlier
[14:33:59] <jethr0> does anyone know how to handle ng-include inside ng-repeat
[14:34:11] <jethr0> i really would like to keep my reusable components, but I also need performance
[14:34:22] *** mchapman has quit IRC
[14:34:25] <jethr0> what's the best way to use an ng-include inside something like ng-repeat?
[14:34:31] <jethr0> is there a way of pre-compiling it?
[14:34:38] *** whitebook has joined #angularjs
[14:36:09] *** dsdeiz has joined #angularjs
[14:36:35] *** arkin has joined #angularjs
[14:36:35] *** arkin has joined #angularjs
[14:36:54] <Foxandxss> twakey: depend on how smart you are and if you have a good development background
[14:37:37] <twakey> hmm..okay
[14:37:48] <twakey> haven't done web development before
[14:37:55] <twakey> a complete newbie
[14:37:57] *** onats has joined #angularjs
[14:38:08] <Foxandxss> and any other type of development?
[14:38:26] <twakey> nothing
[14:38:38] <twakey> i know how to install softwares and run them
[14:38:39] *** dc has quit IRC
[14:38:48] <Foxandxss> so you need to learn development first
[14:38:57] *** moritzs has quit IRC
[14:39:02] <twakey> what will be the good starting point for that ?
[14:39:15] <Foxandxss> javascript can be a little bit daunting
[14:39:17] <zomg> Agreed with Foxandxss on this... definitely just start by learning how to build websites first
[14:39:19] <Foxandxss> I would try to learn it first
[14:39:29] <Foxandxss> yeah, more what zomg says
[14:39:35] <twakey> okay
[14:39:37] <Foxandxss> it is not about jumping onto angular as a first stop
[14:39:44] *** hiptobecubic has joined #angularjs
[14:39:44] <Foxandxss> I would check HTML, CSS and javascript
[14:39:54] <Foxandxss> to get your feet wet at least
[14:39:58] *** dan2k3k4 has joined #angularjs
[14:40:02] <twakey> okay
[14:40:48] *** phzon has joined #angularjs
[14:42:14] <dan2k3k4> let's say I have <body myDirective><footer FooterCtrl></footer></body> - how can I change the footer based on myDirective being present?
[14:42:14] *** jethr0 has quit IRC
[14:42:16] *** danecando has joined #angularjs
[14:42:49] *** quantax has quit IRC
[14:42:55] *** walden|afk is now known as walden
[14:43:11] <m8> where i can set attributes whitelist for ng-bind-html?
[14:43:19] *** quantax- has joined #angularjs
[14:44:19] *** Oddman has quit IRC
[14:45:10] *** chanced has quit IRC
[14:46:05] *** kirfu has quit IRC
[14:46:09] *** tech2 has quit IRC
[14:46:16] *** monir has quit IRC
[14:46:51] *** opiates has joined #angularjs
[14:47:12] *** twakey has quit IRC
[14:47:56] *** sacho_ has joined #angularjs
[14:48:00] *** Click66_ has joined #angularjs
[14:48:12] *** juampy has quit IRC
[14:48:16] *** lsiv568 has quit IRC
[14:48:22] *** Click66 has quit IRC
[14:48:43] *** oncenull has quit IRC
[14:49:02] *** Oddman has joined #angularjs
[14:49:18] *** uru|away is now known as uru
[14:49:39] *** greengriminal has quit IRC
[14:49:58] *** bkuberek has joined #angularjs
[14:50:08] *** atomatt has joined #angularjs
[14:50:18] *** moritzs has joined #angularjs
[14:50:36] *** sacho has quit IRC
[14:50:45] *** lsiv568 has joined #angularjs
[14:51:00] *** Click66_ has quit IRC
[14:51:39] *** glaksmono has quit IRC
[14:51:48] *** ben_dev has joined #angularjs
[14:52:26] *** lemur has quit IRC
[14:52:32] *** elrabin has joined #angularjs
[14:52:40] *** MaxV_ has quit IRC
[14:52:48] *** lite has quit IRC
[14:53:01] *** lemur has joined #angularjs
[14:53:23] *** lite has joined #angularjs
[14:54:09] <intellix> I'm looking to have a ui-router state slide down above my current view.. I figured I could do this with named states like: top and bottom.
[14:54:36] *** cboden has joined #angularjs
[14:54:39] *** slopjong_ has joined #angularjs
[14:54:46] <intellix> but the problem with ui-router I'm having, is that I have to define what goes in the bottom.... which I would like to be the current view or else it just disappears
[14:55:12] *** tripu has quit IRC
[14:55:15] *** bbankes has joined #angularjs
[14:55:39] *** niklasmo_ has joined #angularjs
[14:55:52] *** m8 has quit IRC
[14:55:52] *** danflies has joined #angularjs
[14:55:57] *** oncenull has joined #angularjs
[14:56:03] <intellix> maybe..... I need to look towards stuff like the modal, which takes a templateUrl
[14:56:31] *** m8 has joined #angularjs
[14:56:46] <ctanga> intellix: sounds like a nested view, not a named view
[14:56:48] *** bee_keeper has joined #angularjs
[14:57:09] *** kirfu has joined #angularjs
[14:57:21] <intellix> I would need in alllll of my views in that case: <ui-view></ui-view>, in case I want to slide another one down
[14:57:25] *** ccohn has joined #angularjs
[14:57:57] *** g3funk is now known as braidn
[14:57:58] *** lite has quit IRC
[14:57:59] *** dsdeiz has quit IRC
[14:58:04] <intellix> it's not really a child of the other pages though, it should be on the same level, but above
[14:58:08] <ctanga> so you essentially want a modal-like state that can pop up from anywhere?
[14:58:21] <intellix> yeah I suppose so
[14:58:30] *** niklasmodess has quit IRC
[14:58:39] <intellix> something that pushes the other content down, so it's relatively positioned above the current content
[14:58:48] <ctanga> ^ that part is just CSS
[14:58:52] <intellix> yeah for sure
[14:58:59] <intellix> I also want it to be linkable to
[14:59:05] *** ozooner has joined #angularjs
[14:59:12] *** amphetamines has joined #angularjs
[14:59:22] *** ozooner__ has quit IRC
[14:59:29] <intellix> it's a registration page that slides down without leaving the current page
[14:59:30] <ctanga> have a look at this, it might help: http://christopherthielen.github.io/ui-router-extras/example/stickymodal/#/
[14:59:33] <\du> there is a way to see all the templates key in $templateCache ?
[14:59:50] *** e0ipso is now known as e0ipso|away
[15:00:23] *** cphil has joined #angularjs
[15:00:44] *** cphil has quit IRC
[15:00:59] <bee_keeper> Sorry for newby question: i am getting some json which i then ng-repeat in the template. The objects in question will not be sorted, nor need to be mutated nor need to be held in memory by angular for any reason. What is the recommended way to deal to get the json and render without any other involvement from angular?
[15:01:27] *** glosoli has quit IRC
[15:01:49] *** chanced_ has joined #angularjs
[15:01:58] <ctanga> bee_keeper: you could try bind-once new in 1.3
[15:02:19] <ctanga> http://swirlycheetah.com/native-bind-once-in-angularjs-1-3/
[15:02:38] *** opiates has quit IRC
[15:03:05] *** tech2 has joined #angularjs
[15:03:37] <intellix> ctanga: how about just dynamically ng-including with setting the controller as well?
[15:03:48] <nytrm> when creating a copy of a compiled dom and adding it to the DOM it has no events. I htink it does not have a reference ot the scope. anyone knows more about this ?
[15:04:14] <dan2k3k4> where should I post angularjs questions? stackoverflow or programmers.stackexchane ?
[15:04:15] <ctanga> intellix: smells funny, but do what you want
[15:04:16] <intellix> was thinking perhaps I could create a directive like: "hiddenPanel" and then change the controller/templateUrl on the fly, but it's compiled and doesn't change :P
[15:04:18] <dan2k3k4> exchange* :/
[15:04:23] *** e0ipso|away is now known as e0ipso
[15:04:37] <dan2k3k4> hmm nvm
[15:04:40] <dan2k3k4> stackoverflow
[15:05:18] *** noiserocker has joined #angularjs
[15:05:30] <bee_keeper> ctanga: ok nice. i'll see if that works for my use case. thanks
[15:05:46] *** Linell has joined #angularjs
[15:06:06] *** Typher has joined #angularjs
[15:06:23] *** jheady has joined #angularjs
[15:06:33] *** MaxV_ has joined #angularjs
[15:06:45] *** jheady has left #angularjs
[15:06:54] *** Caroga is now known as Caroga_afk
[15:07:22] *** m8 has quit IRC
[15:07:49] *** m8 has joined #angularjs
[15:08:19] *** Leon has quit IRC
[15:09:31] *** stephanbuys has quit IRC
[15:09:35] <maraneta> how can i make it so that the concatenation of two inputs are binded to a single variable?
[15:09:39] <maraneta> bound*
[15:09:46] <deyna> is it possible to get a reference to two ng models in one directive?
[15:10:02] *** einonm has joined #angularjs
[15:10:08] <noiserocker> hi guys, is there any possibility to just execute a controller when using a $routeProvider.when? this would save me a request...
[15:10:23] <Foxandxss> no
[15:10:26] *** tomzx`afk is now known as tomzx
[15:10:28] <Foxandxss> the controller will be used on the template
[15:10:31] <Foxandxss> but if there is no template...
[15:10:37] *** eBureau has quit IRC
[15:10:51] *** dman777_alter has joined #angularjs
[15:11:20] <Linell> @maraneta You could probably use ng-change to point to a function that concats two seperate models together
[15:11:47] *** Owner__ has joined #angularjs
[15:12:11] *** Owner__ is now known as Guest82807
[15:13:14] *** ProLoser has joined #angularjs
[15:13:15] *** FIFOd[a] has quit IRC
[15:13:54] *** marshall has joined #angularjs
[15:13:57] *** zz_night-owl is now known as night-owl
[15:14:05] *** duall has joined #angularjs
[15:14:06] <maraneta> Linell: i'll look into that , thanks
[15:14:14] *** onats has quit IRC
[15:14:47] <Linell> maraneta: no problem and good luck. Let me know if it doesn't work for you
[15:15:34] *** Siecje has joined #angularjs
[15:16:03] *** Oddman has quit IRC
[15:16:28] <noiserocker> Foxandxss: it seems to work... i just tried passing an empty template and just the controller
[15:17:22] <noiserocker> anyway, thanks :)
[15:18:10] *** ProLoser has quit IRC
[15:18:17] *** caitp has joined #angularjs
[15:18:23] *** adpirz has joined #angularjs
[15:18:30] *** marshall has quit IRC
[15:18:31] *** jillesme has joined #angularjs
[15:18:41] *** oncenull has quit IRC
[15:18:54] <Foxandxss> noiserocker: that will work, yes
[15:19:00] *** oncenull has joined #angularjs
[15:19:03] *** MaxV_ has quit IRC
[15:19:35] *** azizur has joined #angularjs
[15:20:13] *** nagappan_ has quit IRC
[15:20:13] *** livingstn has joined #angularjs
[15:20:23] *** knownasilya has joined #angularjs
[15:20:45] <nytrm> can i link a dom element to the scope without having to compile (programmaticlly) ?
[15:20:46] *** nagappan_ has joined #angularjs
[15:20:59] *** carlosmantilla has joined #angularjs
[15:20:59] <noiserocker> just out of curiosity... when i try it with templateUrl instead of template... angular starts to get into an infinite loop and the memory usage goes waaaay up. Is there any logical reason in doing this?
[15:21:48] *** favetelinguis has quit IRC
[15:22:01] *** MaxV_ has joined #angularjs
[15:22:05] *** adpirz_ has quit IRC
[15:22:19] *** favetelinguis has joined #angularjs
[15:22:42] *** shinnya has quit IRC
[15:23:11] *** thedodd has joined #angularjs
[15:23:32] *** FIFOd[a] has joined #angularjs
[15:23:36] *** Oddman has joined #angularjs
[15:24:57] *** azizur has quit IRC
[15:25:26] *** mary5030 has joined #angularjs
[15:26:09] *** mven has joined #angularjs
[15:26:17] <maraneta> Linell: this is tough because i'm trying to concat two input fields that are within an ng-repeat
[15:26:35] *** tplaner has joined #angularjs
[15:26:49] <maraneta> Linell: not sure how to do that
[15:26:54] *** favetelinguis has quit IRC
[15:27:04] *** VeeWee has quit IRC
[15:27:40] <maraneta> Linell: i'm reading that ngChange needs ngModel to be present, but really i don't have a model for both inputs, i want both inputs to be concatenated and bound to a single 'model'/field
[15:29:08] *** xavia has quit IRC
[15:29:13] *** mven has quit IRC
[15:29:15] *** lw_ has quit IRC
[15:29:30] *** rightnow has joined #angularjs
[15:29:38] *** simplyshipley has joined #angularjs
[15:30:36] *** zuluz has joined #angularjs
[15:30:49] *** tfennelly has quit IRC
[15:31:02] *** vassagus has joined #angularjs
[15:31:03] *** prosper_ has joined #angularjs
[15:31:15] *** phuh has quit IRC
[15:31:40] *** phuh has joined #angularjs
[15:31:57] *** blomman has joined #angularjs
[15:32:39] *** yozilla has quit IRC
[15:32:58] *** patrick99e99 has joined #angularjs
[15:33:30] *** mven has joined #angularjs
[15:33:45] *** esk4nd4r has quit IRC
[15:33:56] <rightnow> my json response has: {id:10, brand.brand:HBla, name:ExAa 512} when i do {{ data.name }} it works, but {{ data.brand.brand }} doesnt
[15:33:58] *** intellix has quit IRC
[15:35:00] *** FunnyLookinHat has quit IRC
[15:35:18] *** esk4nd4r has joined #angularjs
[15:35:23] *** Nizumzen has joined #angularjs
[15:35:43] <Linell> maraneta: hmm.. not really sure how to deal with the ng-repeat part.
[15:35:54] *** duall has quit IRC
[15:36:10] <maraneta> Linell: yeah it's tough
[15:36:13] *** numenor has joined #angularjs
[15:36:17] <Linell> Otherwise, you could just have two "fake" models that the ng-change function concats into the single "real" model that you want
[15:36:33] *** the-anconia has joined #angularjs
[15:36:37] <Linell> If you want to make a fiddle I could play with it. I've had to do some similar stuff but not within a repeat
[15:36:47] <Linell> The scope on that one *might* mess it up, i'm not sure
[15:36:50] *** samuel02 has joined #angularjs
[15:36:51] *** onats has joined #angularjs
[15:36:56] *** hiptobecubic has quit IRC
[15:37:21] *** bkuberek_ has joined #angularjs
[15:37:22] *** poolside has joined #angularjs
[15:37:28] *** patrick99e99 has quit IRC
[15:37:34] *** hiptobecubic has joined #angularjs
[15:37:41] *** danflies has quit IRC
[15:37:48] *** michaelSharpe has joined #angularjs
[15:38:42] <the-anconia> Has anyone here used recaptchas within an angular project of theirs?
[15:38:44] *** bkuberek has quit IRC
[15:38:53] <deyna> is there a way to have ng-model and another-ng-model inside a directive?
[15:39:13] <deyna> reference to both ng model controllers
[15:39:22] *** Sgeo has quit IRC
[15:39:37] *** Sgeo has joined #angularjs
[15:40:45] *** cboden has quit IRC
[15:41:12] <Guest482> $rootScope.$emit allows me to communicate from controllers to controllers
[15:41:26] <Guest482> do i have an alternative to rootScope?
[15:42:04] *** jillesme has quit IRC
[15:42:28] <deyna> rootscope will emit to everything
[15:42:48] <maraneta> Linell: can i just use 'fake' models by specifying a name that isnt actually a model?
[15:43:01] <deyna> do you need to share data between controllers? or does it need ot be real time?
[15:43:09] *** pipoo has quit IRC
[15:43:24] <Linell> maraneta: yessir. 'concat-field-one' and 'concat-field-two' will be $scope.concat-field-one and $scope.concat-field-two
[15:43:48] *** hiptobecubic_ has joined #angularjs
[15:43:50] <Linell> They'll be null until defined, though. You might want to initialize them to be '' instead of null so that the concat function doesn't fail
[15:43:50] *** folippi has joined #angularjs
[15:44:35] *** ozooner_ has joined #angularjs
[15:44:38] *** ozooner has quit IRC
[15:44:44] <folippi> How do you create a button than creates a new instance of a directive, and another button to remove it? I can define a directive in html and it shows up, but how do you do it dynamically?
[15:44:52] <Guest482> deyna: share data
[15:45:01] <deyna> use a service in that case
[15:45:08] <maraneta> Linell: oh wow, thanks that's helpful
[15:45:31] <Guest482> deyna: ok ok
[15:45:39] *** hiptobecubic has quit IRC
[15:45:48] <Guest482> deyna: thank you :)
[15:45:53] <rightnow> my json response has: {id:10, brand.brand:HBla, name:ExAa 512} when i do {{ data.name }} it works, but {{ data.brand.brand }} doesnt
[15:46:16] *** moritzs has quit IRC
[15:46:28] *** djazayeri has joined #angularjs
[15:46:50] *** onats has quit IRC
[15:46:52] <Gabriel403> rightnow: might try data["brand.brand"] ?
[15:46:59] <maraneta> Linell: sorry, so i would just do ng-model='concat-field-one'?
[15:47:11] <Linell> maraneta: yup
[15:47:24] *** catonabike has joined #angularjs
[15:47:29] *** mpaarating has joined #angularjs
[15:47:37] <rightnow> Gabriel403: thanks babe! it worked
[15:47:38] <deyna> youre welcome
[15:47:49] *** cboden has joined #angularjs
[15:47:56] <catonabike> any idea why inject() from angular-mocks is not being included in my karma tests, causing them to fail w/ ReferenceError on inject()? https://bpaste.net/show/42c4535aaf1e
[15:48:19] <catonabike> running this w/ LOG_DEBUG, I see no `bower_components' files being read
[15:48:27] *** gnrlbzik has joined #angularjs
[15:48:33] *** bmac has joined #angularjs
[15:49:01] *** mpaarating has quit IRC
[15:49:31] *** ki0 has quit IRC
[15:49:41] *** dc_ has joined #angularjs
[15:50:01] *** nycdevgirl has joined #angularjs
[15:50:18] *** Cydmax has joined #angularjs
[15:50:21] <catonabike> the files in my `files' config property exist.
[15:50:33] *** oktapodi has joined #angularjs
[15:50:38] *** onats has joined #angularjs
[15:51:15] *** ki0 has joined #angularjs
[15:51:30] <the-anconia> Is there any way to isolate the scope of a directive if multiple instances of that directive require the same scope value?
[15:51:39] *** mary5030 has quit IRC
[15:52:01] *** michaelfavia has joined #angularjs
[15:52:30] <Foxandxss> I dont follow
[15:52:32] *** azizur has joined #angularjs
[15:52:48] <setec> the-anconia u need use parent scope for that
[15:53:07] *** kirfu has quit IRC
[15:53:12] <AlexZan> wafflej0ck, still around? :D
[15:53:28] *** tsams has joined #angularjs
[15:53:36] *** kirfu has joined #angularjs
[15:53:44] *** mbildner has joined #angularjs
[15:53:45] *** scriptThis has quit IRC
[15:53:52] *** foofoobar has quit IRC
[15:53:53] <the-anconia> setec: Okay, because my issue is that each directive element requires the same recaptcha key. So parent scope will solve this?
[15:54:18] *** duall has joined #angularjs
[15:54:37] *** intellix has joined #angularjs
[15:55:43] *** krawek has joined #angularjs
[15:55:48] *** oktapodi has quit IRC
[15:56:26] *** soee has quit IRC
[15:56:42] *** nicholaswyoung has joined #angularjs
[15:57:05] *** thedodd has quit IRC
[15:57:12] <jaznow> frobs, there are some more people that have asked for a solution for my problem: https://github.com/angular-ui/ng-grid/issues/1576
[15:57:12] *** mary5030 has joined #angularjs
[15:57:47] *** trustyhank has joined #angularjs
[15:58:23] *** jtimon has joined #angularjs
[15:58:27] *** jstroem has quit IRC
[15:58:50] *** yoshokatana has joined #angularjs
[15:58:54] *** jstroem has joined #angularjs
[15:59:00] *** monir has joined #angularjs
[15:59:01] *** anjumkaiser has joined #angularjs
[15:59:13] *** zB0hs has joined #angularjs
[15:59:21] *** Oddman has quit IRC
[15:59:32] *** jillesme has joined #angularjs
[15:59:33] *** yoshokatana has quit IRC
[15:59:51] *** jrist has quit IRC
[16:00:05] *** mary5030 has quit IRC
[16:01:02] *** anatr has joined #angularjs
[16:01:17] *** kirfu has quit IRC
[16:01:26] *** plotic has quit IRC
[16:01:39] *** thedodd has joined #angularjs
[16:01:51] *** lw has joined #angularjs
[16:01:51] <frobs> jaznow, fine :), i found this option also...but i don't know if is a good option {% raw %}
[16:01:51] <frobs> your angular code here
[16:01:51] <frobs> {% endraw %}
[16:02:11] <frobs> sorry by '\ n'
[16:03:31] <frobs> basically say to twig this is raw html not render this
[16:03:41] *** gurke_ has quit IRC
[16:04:02] <Foxandxss> I do that for my blog
[16:04:07] *** sybarite has quit IRC
[16:04:07] <Foxandxss> to escape angular code
[16:04:16] *** zB0hs has quit IRC
[16:04:48] *** bkuberek_ has quit IRC
[16:05:03] *** poolside has quit IRC
[16:05:23] *** bkuberek has joined #angularjs
[16:05:28] *** spaceonline has joined #angularjs
[16:05:32] *** stephanbuys has joined #angularjs
[16:05:42] *** AndreasLutro has quit IRC
[16:05:56] *** sk87 has quit IRC
[16:05:58] <Linell> maraneta: http://plnkr.co/edit/gsiD0h?p=preview
[16:06:39] *** cthrax has joined #angularjs
[16:07:08] *** sk87 has joined #angularjs
[16:07:17] *** rosieres has joined #angularjs
[16:07:26] *** MaxV_ has quit IRC
[16:07:50] *** _ritchie_ has joined #angularjs
[16:07:57] *** nicholaswyoung has quit IRC
[16:07:59] *** FunnyLookinHat has joined #angularjs
[16:08:07] *** MaxV_ has joined #angularjs
[16:08:28] *** ctanga has quit IRC
[16:08:29] *** eamonn_ has joined #angularjs
[16:08:46] *** elxa has joined #angularjs
[16:08:56] *** Kay-z has joined #angularjs
[16:09:04] *** tristanp has quit IRC
[16:09:19] *** tristanp has joined #angularjs
[16:09:22] *** bade has joined #angularjs
[16:09:29] *** icfantv has joined #angularjs
[16:09:36] <tristanp> what is the proper way to trigger an event on a directive from another directive or a controller?
[16:09:57] <sacho_> events aren't triggered on directives, they're triggered on scopes.
[16:10:09] *** spaceonline has quit IRC
[16:10:10] *** eamonn has quit IRC
[16:10:13] <sacho_> (at least angular's, dom events are obviously triggered on dom elements..)
[16:10:21] <ClearsTheScreen> i think "trigger event on directive" means "make a directive's event handler fire"
[16:10:32] *** alinouman has joined #angularjs
[16:10:58] *** lsiv568 has quit IRC
[16:11:01] <tristanp> sacho_: ok, so basically i need some stuff to go down in a directive when some button elsewhere on the page is clicked. i figured triggering an event on the directive was the right way. is it not?
[16:11:05] <sacho_> but that doesn't really explain where the directive's handler was registered.
[16:11:11] *** enigmarm has joined #angularjs
[16:11:14] <sacho_> For example, if you registered the handler to $rootScope, it would be trivial to trigger it
[16:11:29] *** gordroidJS1 has quit IRC
[16:11:42] *** onats has quit IRC
[16:11:47] *** oncenull has quit IRC
[16:11:52] <sacho_> tristanp, sure. One of the simpler ways would be to use $rootScope $emits as a global pub-sub
[16:11:53] *** thedodd has quit IRC
[16:11:55] <ClearsTheScreen> tristanp: that's essentially how i approached an "toggle edit mode' in an app i wrote; button's parental scope and directive talking through $rootscope events
[16:11:58] *** gnrlbzik has quit IRC
[16:12:05] <ClearsTheScreen> ... essentially what sacho_ said, yeah :)
[16:12:15] <tristanp> yeah, but i dont want to use the global scope. im looking to keep it contained to this directive
[16:12:28] <tristanp> using $rootscope seems a messy and bad path to go down
[16:12:29] *** MaxV_ has quit IRC
[16:12:40] *** thedodd has joined #angularjs
[16:12:42] <sacho_> Well, you have multiple alternatives
[16:12:46] *** lsiv568 has joined #angularjs
[16:12:48] <sacho_> you could use a service as your pub-sub
[16:12:49] *** Codefriar has quit IRC
[16:12:50] *** lw has quit IRC
[16:12:58] <tristanp> can i emit it on the controller's scope and listen for it in the directive?
[16:13:02] <sacho_> but that's still global
[16:13:25] <sacho_> if you're talking about a controller whose scope is a nested parent of the directive's scope, sure
[16:13:33] *** jasonp has joined #angularjs
[16:13:41] *** Kay-z has quit IRC
[16:13:42] *** onats has joined #angularjs
[16:13:46] *** MaxV_ has joined #angularjs
[16:13:47] <tristanp> ah, i think i want scope.$broadcast
[16:13:53] <sacho_> yeah.
[16:13:59] *** catonabike has quit IRC
[16:13:59] *** bade has quit IRC
[16:14:01] <ClearsTheScreen> "but -which- scope <o>" ;)
[16:14:34] *** krawek has quit IRC
[16:14:47] <sacho_> hmm
[16:14:48] *** whiteboo_ has joined #angularjs
[16:14:58] *** thedodd has quit IRC
[16:15:11] <sacho_> really, angular's component communication is awful
[16:15:20] <sacho_> it's probably the biggest turnoff of using angular.
[16:15:34] *** dcherman has joined #angularjs
[16:15:37] *** Zeioth has joined #angularjs
[16:15:53] *** eBureau has joined #angularjs
[16:16:06] *** whitebook has quit IRC
[16:17:26] *** FIFOd[a] has quit IRC
[16:17:44] *** jpstone has joined #angularjs
[16:17:47] *** FIFOd[a] has joined #angularjs
[16:17:49] <oniijin> how is communication likely to work for web components?
[16:18:28] *** ctanga has joined #angularjs
[16:18:31] *** ngbot has joined #angularjs
[16:18:32] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/zcb2Wg
[16:18:32] <ngbot> angular.js/master c6909ed Marcy Sutton: docs(guide/accessibility): Add in-depth guide...
[16:18:32] *** ngbot has left #angularjs
[16:19:32] *** rchavik has quit IRC
[16:19:48] <maraneta> Linell: thanks for helping me out, this will definitely be helpful
[16:20:11] *** joker666 has joined #angularjs
[16:20:53] *** TyrfingMjolnir has quit IRC
[16:21:08] *** jstroem has quit IRC
[16:21:32] *** jstroem has joined #angularjs
[16:21:56] *** krawek has joined #angularjs
[16:21:56] *** krawek has joined #angularjs
[16:21:58] *** night-owl is now known as zz_night-owl
[16:22:00] <sacho_> oniijin, I don't think there's anything new built-in, but it's much simpler than with angular 1.x simply because the components, uh, exist and you are in control of them
[16:22:19] *** claprap has quit IRC
[16:22:42] *** bkuberek has quit IRC
[16:22:46] <oniijin> i do agree there's a bit of song&dance with ng components
[16:22:54] <sacho_> in angular, directives are transformations which leave behind a mutated artifact(scope)
[16:22:57] *** carlosmantilla has quit IRC
[16:23:35] *** _ritchie_ has quit IRC
[16:23:49] *** mary5030 has joined #angularjs
[16:24:08] *** mary5030 has quit IRC
[16:24:11] *** a_ghost_irl has joined #angularjs
[16:24:23] <sacho_> you don't get an object you can manipulate after angular's applied a directive
[16:24:39] *** ccohn has quit IRC
[16:24:40] *** TyrfingMjolnir has joined #angularjs
[16:24:40] *** jstroem has quit IRC
[16:24:41] *** Sky[x] has joined #angularjs
[16:24:47] *** mary5030 has joined #angularjs
[16:24:59] *** junmin has joined #angularjs
[16:25:06] *** jstroem has joined #angularjs
[16:25:13] *** a_ghost_irl has quit IRC
[16:25:15] *** mjs2600 has quit IRC
[16:25:16] *** ccohn has joined #angularjs
[16:25:21] *** StryKaizer has quit IRC
[16:25:34] *** mjs2600 has joined #angularjs
[16:25:44] <sacho_> one way is to always have your directives "register back" with a parent directive
[16:25:48] *** tomzx is now known as tomzx`afk
[16:26:01] *** ki0 has quit IRC
[16:26:01] *** mjs2600 has quit IRC
[16:26:12] *** zwacky has joined #angularjs
[16:26:14] <sacho_> passing along controllers or some other object meant to act as the agent of this instance of a directive's application
[16:26:17] <sacho_> meh, rant
[16:26:22] *** ki0 has joined #angularjs
[16:26:33] *** TyrfingMjolnir has quit IRC
[16:26:46] <oniijin> lol I'm all for it being simpler =p directives still confuse me
[16:26:58] *** TyrfingMjolnir has joined #angularjs
[16:27:04] *** danflies has joined #angularjs
[16:27:16] *** moritzs has joined #angularjs
[16:27:18] *** favetelinguis has joined #angularjs
[16:27:28] *** blomman has quit IRC
[16:28:00] *** blomman has joined #angularjs
[16:28:03] *** aranw has joined #angularjs
[16:28:11] *** eBureau has joined #angularjs
[16:28:20] <mbildner> sacho_ what do you mean register back?
[16:28:33] *** a3gis has joined #angularjs
[16:28:38] *** anatr has quit IRC
[16:28:41] *** blomman has quit IRC
[16:28:55] *** blomman has joined #angularjs
[16:28:56] <sacho_> well I'm glad you asked, because now I have an excuse to make a plunker
[16:29:00] *** ctanga has quit IRC
[16:29:02] <aranw> hey what is the angular way of doing the following addEventListener window.addEventListener('native.keyboardshow, function() {}) ?
[16:29:02] <mbildner> haha
[16:29:20] <aranw> I need to update a class on the body tag depending on the result of that event
[16:29:22] *** ccohn has quit IRC
[16:29:44] <jaznow> frobs, ty =) will give it a try
[16:30:01] *** diosney has joined #angularjs
[16:30:09] *** CodeFriar has joined #angularjs
[16:30:39] *** thedodd has joined #angularjs
[16:31:18] *** phuh has quit IRC
[16:31:26] *** monir has quit IRC
[16:31:37] *** edrocks has quit IRC
[16:31:43] *** phuh has joined #angularjs
[16:31:47] *** jdj_dk_ has joined #angularjs
[16:31:54] *** juanpablo_ has joined #angularjs
[16:31:58] *** IvailoStoianov has joined #angularjs
[16:32:20] *** stirlingw has joined #angularjs
[16:32:54] <oniijin> aranw a directive?
[16:33:01] *** Raynor has joined #angularjs
[16:33:06] *** gnrlbzik has joined #angularjs
[16:33:36] *** annlewis has joined #angularjs
[16:33:42] *** favetelinguis has quit IRC
[16:33:47] <aranw> oniijin: make a directive that runs that $window.addEventListener?
[16:34:05] *** eBureau has joined #angularjs
[16:34:14] <oniijin> yes, but dont quote me on that
[16:34:20] <aranw> Oh
[16:34:25] <aranw> Is that how you'd do it?
[16:34:27] *** TyrfingMjolnir has quit IRC
[16:34:34] <aranw> At the moment a developers added it into the .run() method
[16:34:38] <aranw> which I know isn't right
[16:34:49] *** jdj_dk has quit IRC
[16:34:50] *** ___Vlad has joined #angularjs
[16:34:51] *** moritzs has quit IRC
[16:34:55] *** firelinks has joined #angularjs
[16:34:57] *** milka has quit IRC
[16:35:01] <oniijin> well let's say for a more general keyup event, i'd make a onKeyUp directive prob and stick it hwere I need it
[16:35:14] <oniijin> then in that directive u'll have access to the element/attrs
[16:35:21] <aranw> ah ok I see
[16:35:24] *** DenysSene has joined #angularjs
[16:35:26] <aranw> Got an example of that?
[16:35:42] <oniijin> lemme see if i can fumble a directive together
[16:35:48] <oniijin> im pretty nub with directives
[16:35:53] <aranw> Thanks
[16:36:18] *** _TAS_ has quit IRC
[16:37:01] <___Vlad> Hey everybody, can someone help me with this.... <select ng-options="item.name for item in items"></select> is making a trim over name field, how can I prevent trim event???
[16:37:04] *** juampy has joined #angularjs
[16:37:37] *** advy has quit IRC
[16:38:29] *** mtorres1624 has joined #angularjs
[16:38:47] <mtorres1624> I have a quick question
[16:39:17] *** rtpg has quit IRC
[16:39:46] <mtorres1624> I'm trying to make a realy simple controller to fetch a json file, and ive made them before, but right now my json file is loading up, but when i use $scope.members.products = response it returns object is undefined
[16:39:57] *** conan_the_destro has joined #angularjs
[16:40:20] <mtorres1624> I tried setting $scope.members.products = '' and it says the same thing so i'm guessing its a problem with $scope?
[16:40:35] *** sk87 has quit IRC
[16:41:28] <mtorres1624> my code is: http://pastebin.mozilla.org/7148130
[16:41:30] <mtorres1624> can anyone help?
[16:41:41] *** dsdeiz has joined #angularjs
[16:41:47] *** Yankie has joined #angularjs
[16:42:50] *** ozooner_ has quit IRC
[16:43:12] *** ozooner_ has joined #angularjs
[16:43:20] *** azyr has quit IRC
[16:43:29] <aranw> mtorres1624: have you tried console logging that response?
[16:43:35] *** edy has quit IRC
[16:43:48] <oniijin> aranw maybe somethin like http://plnkr.co/edit/D9JB73GTGjK35DF8FGwL?p=preview ?
[16:43:52] <oniijin> pretty bad directive lol
[16:44:13] <oniijin> basically foucs input and press any key
[16:45:02] *** sk87 has joined #angularjs
[16:45:10] *** noiserocker has quit IRC
[16:45:46] <aranw> oniijin: cheers I'll try come up with something similar
[16:46:06] *** annlewis has quit IRC
[16:46:15] <oniijin> I'm asuming you can do someting similar, but watch for the kbshow event
[16:46:37] <aranw> yeah
[16:47:07] *** devinandrews has joined #angularjs
[16:47:49] *** SahanH has quit IRC
[16:48:16] *** MotherMGA1 has joined #angularjs
[16:49:07] *** a3gis has quit IRC
[16:49:13] *** ccohn has joined #angularjs
[16:50:14] <Linell> mtorres1624: did the console.log help anything?
[16:50:29] *** samuel02 has quit IRC
[16:50:42] *** ctanga has joined #angularjs
[16:50:43] <mtorres1624> Linell: nope
[16:51:13] *** jdj_dk_ has quit IRC
[16:51:36] <mtorres1624> Linell: When I open up the page in chrome, I get 'cannot set property products of undefined'
[16:51:42] *** whiteboo_ has quit IRC
[16:52:05] *** sigurding has joined #angularjs
[16:52:14] *** swirlycheetah has joined #angularjs
[16:52:15] *** tomzx`afk is now known as tomzx
[16:52:26] <Linell> mtorres1624: OH
[16:52:33] <Linell> do you have members defined already?
[16:52:36] *** Oddman has joined #angularjs
[16:52:56] *** kuadrosx has joined #angularjs
[16:52:58] <MotherMGA1> So when I $scope.$watch('path.to.some.property') and then $scope.path is set to an new object, with the to.some.property set, the watch does not fire. is that correct behavior? how do I circumvent this?
[16:53:14] <Linell> Try $scope.members = {} (or maybe []?) before the line setting it to ''
[16:53:38] *** zeroquake has joined #angularjs
[16:54:10] <mtorres1624> Linell: Yup, I've got $scope.members = [], should I maybe try that within the actual success function?
[16:54:36] <joker666> Foxandxss, i go react :D
[16:54:48] *** blomman has quit IRC
[16:55:04] *** moritzs has joined #angularjs
[16:55:18] <Linell> Hmm... maybe give it a shot. You're right that it's something to do with the scope, but I'd have thought that defining it on the $scope would make it work just fine.
[16:55:19] <Foxandxss> joker666: what about meteor? got version 1.0 recently and doesn't sound any bad
[16:55:21] *** blomman has joined #angularjs
[16:55:30] <joker666> Just had meteor Day
[16:55:33] <Linell> mtorres1624: it *is* defined within that controller, right?
[16:55:34] <joker666> today
[16:55:36] *** tfennelly has joined #angularjs
[16:55:40] <joker666> there I got a job offer
[16:55:41] *** xastey- has joined #angularjs
[16:55:43] <joker666> for React
[16:55:44] <joker666> LOL
[16:55:55] *** ___Vlad has quit IRC
[16:55:58] *** samuel02 has joined #angularjs
[16:56:11] <joker666> I uttered some fancy words
[16:56:13] *** thomastuts has quit IRC
[16:56:14] <mtorres1624> Linell: Yup I've got the controller as 'memberctr', function($http, $scope){
[16:56:15] <joker666> isomorphic js
[16:56:17] *** michaelfavia has quit IRC
[16:56:22] <joker666> and they wanna hire me
[16:56:24] <joker666> :D
[16:56:37] *** zuluz has quit IRC
[16:56:50] <Foxandxss> joker666: nice, good luck
[16:56:59] *** loverajoel has quit IRC
[16:57:09] <hiptobecubic_> it's weird how the javascript community talks about frameworks like they are jobs
[16:57:13] *** facundor has joined #angularjs
[16:57:16] <joker666> talked to the creator of meteor, thou it's 1.0 it's not still mature
[16:57:18] *** dc_ has quit IRC
[16:57:40] <Foxandxss> hiptobecubic_: I don't follow
[16:57:41] <joker666> they no have sql support
[16:57:52] *** devinandrews has quit IRC
[16:58:05] <joker666> no windows development stack, only unix
[16:58:10] *** devinandrews has joined #angularjs
[16:58:14] *** swirlycheetah has quit IRC
[16:58:19] <Foxandxss> who uses windows this days for dev? :P
[16:58:25] *** kuadrosx_ has joined #angularjs
[16:58:31] <joker666> they are concerned thou
[16:58:59] <joker666> they have this weird thing called mini-mongo for client side
[16:59:06] *** MaxV_ has quit IRC
[16:59:18] <joker666> which keeps in sync the data with real mongo in server side
[16:59:21] <Foxandxss> I see
[16:59:33] <Foxandxss> to be honest, I am pretty happy with angular, I don't need anything else which does the same thing
[16:59:35] *** michaelfavia has joined #angularjs
[16:59:35] <joker666> really weird pattern for isomorphic js
[16:59:54] <joker666> dunno buddy, i just have to create a simple app in react and show tomorrow
[17:00:03] *** oncenull has joined #angularjs
[17:00:09] *** xastey has quit IRC
[17:00:09] <mtorres1624> Linell: Setting it inside the actual success function worked for me
[17:00:26] <jaznow> frobs, It worked, thanks for the IDEA, took some work to replace all the [[ ,but now working well1 ^_^
[17:00:27] *** krawek has quit IRC
[17:00:38] <Foxandxss> joker666: go ahead
[17:00:44] <Linell> mtorres1624: can you now access it from anywhere? Like {{ members.products }} in your html? That's weird.
[17:00:55] *** dcherman2 has joined #angularjs
[17:01:01] *** ggrzybek has quit IRC
[17:01:07] <joker666> meteor wants to give me book
[17:01:10] <joker666> i didn't take it
[17:01:12] <joker666> :D
[17:01:13] <frobs> jaznow, you are welcome :)
[17:01:26] *** nytrm has quit IRC
[17:01:34] <Foxandxss> give you book? what does that mean?
[17:01:40] <joker666> https://www.discovermeteor.com/
[17:01:42] <yakari> cWhat do you do Right now ?
[17:01:43] <joker666> this book
[17:01:56] <joker666> all who attended meteorDay today
[17:02:05] *** ProLoser has joined #angularjs
[17:02:13] *** kuadrosx has quit IRC
[17:02:13] *** borvoh has joined #angularjs
[17:02:28] <Foxandxss> ah, give you A book
[17:02:30] <Foxandxss> right
[17:02:34] *** zz_night-owl is now known as night-owl
[17:02:40] *** Asiajey has joined #angularjs
[17:02:41] <joker666> LOL you know better right
[17:02:43] *** AngularUI has joined #angularjs
[17:02:43] <AngularUI> [ng-grid] mamrehn opened pull request #2028: Fix api documentation for scrollbars. (master...patch-1) http://git.io/GbK_Tg
[17:02:43] *** AngularUI has left #angularjs
[17:02:48] <joker666> if i take it i'm doomed
[17:02:52] *** jdj_dk has joined #angularjs
[17:02:55] <Foxandxss> I thought that "give me book" was an expression
[17:02:56] <joker666> i can't help but read it
[17:03:03] *** numenor has quit IRC
[17:03:30] <joker666> *give me [a] book
[17:03:32] *** spaceonline has joined #angularjs
[17:03:34] <Foxandxss> maybe I take a peek
[17:03:41] *** dcherman has quit IRC
[17:03:43] *** matisoffn has joined #angularjs
[17:03:47] *** juanpablo_ has quit IRC
[17:04:18] *** Xethron has quit IRC
[17:04:21] *** numenor has joined #angularjs
[17:04:30] <chanced_> joker666: pretty sure that site had some kind of tiered access to the book (including free) earlier in the week
[17:04:37] *** night-owl is now known as zz_night-owl
[17:04:49] <chanced_> did they hand out hard copies? im just curious if they have them
[17:04:54] <joker666> hmm, they had hard copies
[17:05:04] <chanced_> roger that
[17:05:21] <Foxandxss> $89 for a book is kinda expensive
[17:05:29] <Foxandxss> for a PDF
[17:05:53] *** slopjong_ has quit IRC
[17:05:53] *** slopjong has quit IRC
[17:05:54] *** MaxV_ has joined #angularjs
[17:06:06] <joker666> aaah, react, huh, how do JS without $scope -_-
[17:06:19] <Foxandxss> you will see
[17:06:19] <joker666> how do I*
[17:06:21] *** mokush has quit IRC
[17:06:27] <Foxandxss> you were the one who refused of angular to do react
[17:06:27] <Foxandxss> :P
[17:06:29] <yakari> Im in love mens
[17:06:32] <yakari> Im in love for my life
[17:06:46] *** ProLoser has quit IRC
[17:06:58] *** mica has joined #angularjs
[17:07:06] *** spazbite has quit IRC
[17:07:20] *** mica has left #angularjs
[17:07:21] <Foxandxss> yakari: that is good
[17:07:29] <yakari> That Fabulous
[17:07:34] <yakari> I have star in eyes
[17:07:40] *** vtali has joined #angularjs
[17:07:52] *** yelvert has joined #angularjs
[17:07:57] *** vtali has joined #angularjs
[17:08:07] *** samuel02 has quit IRC
[17:08:09] *** TyrfingMjolnir has joined #angularjs
[17:08:22] <yakari> Typher, Oh t'arrete ?
[17:08:41] <yakari> Laisse la tranquil !
[17:08:54] <chanced_> dafuq?
[17:08:55] <Typher> ?
[17:09:07] <yakari> hummm
[17:09:18] <Foxandxss> chanced_: french
[17:09:22] *** mfkj has joined #angularjs
[17:09:44] <chanced_> is that an answer to his general behavior or the language
[17:09:50] *** onats has quit IRC
[17:09:58] <Foxandxss> language
[17:10:07] *** sk87 has quit IRC
[17:10:14] *** rhp has joined #angularjs
[17:10:21] <yakari> can i put food in aquarium please ?
[17:10:22] *** jdj_dk has quit IRC
[17:10:27] *** MaxV_ has quit IRC
[17:10:32] <chanced_> right, my bewilderment was regarding the former
[17:10:35] *** spasche has joined #angularjs
[17:10:38] <dan2k3k4> :o
[17:10:39] <mfkj> tomorrow my AngularJS Interview please tell me important question
[17:10:57] *** AngularUI has joined #angularjs
[17:10:58] <AngularUI> [ng-grid] jcompagner opened pull request #2029: Fix #1856(sorting): row order to follow data order when useExternalSort (master...followsourcearray2) http://git.io/d7yPRQ
[17:10:58] *** AngularUI has left #angularjs
[17:11:02] <dan2k3k4> I'm wondering how I would do: http://stackoverflow.com/questions/26781610/add-child-element-based-on-directive-and-recompile
[17:11:03] <chanced_> anyone around w/ a banhammer?
[17:11:04] *** rho has joined #angularjs
[17:11:04] *** rho has joined #angularjs
[17:11:08] <chanced_> :P
[17:11:20] <ClearsTheScreen> mfkj: "what are the most promising approaches to solve the growing need for agricultural production in a ever growing world population?" there's one. :3
[17:11:21] *** chanced_ is now known as chanced
[17:11:21] <dan2k3k4> and also I want to 'override' ng-click for the front page?
[17:11:41] *** jillesme has quit IRC
[17:11:42] *** AngularUI has joined #angularjs
[17:11:43] <AngularUI> [ng-grid] jcompagner closed pull request #1881: this is a patch for #1856 so that the newRawData is really followed (master...followsourcearray) http://git.io/bwCMAQ
[17:11:43] *** AngularUI has left #angularjs
[17:11:52] *** anjumkaiser has quit IRC
[17:11:53] <AciD`> mfkj > "what's the universe?"
[17:12:06] <dan2k3k4> by default there's a slideshow with ng-click="myFunc('something');" - but I want to use in the same myDirective, link: func() { // block ng-click from happening and provide a different click }
[17:12:13] *** Flyingdog has quit IRC
[17:12:13] *** skeletr0n has joined #angularjs
[17:12:19] *** yelvert has quit IRC
[17:12:22] <nickeddy> mfkj: lol are you serious?
[17:12:24] *** MaxV_ has joined #angularjs
[17:13:16] <dan2k3k4> when I do $('.slides').attr('ng-click', '').on('click', myOtherFunc) - it shows up with empty ng-click but they still get run, I guess since angular doesn't know about the changes
[17:13:23] <dan2k3k4> and needs to 'recompile' ? :/
[17:13:32] <skeletr0n> My hamburger icon resets my app template on click with foundation on mobile, anyone know what the quick fix would be?
[17:13:40] <nickeddy> dan2k3k4: http://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background
[17:13:58] *** aranw has quit IRC
[17:14:00] *** svycka has quit IRC
[17:14:31] <dan2k3k4> nickeddy, but we don't use angular templates or routing (ZF2 app handles that)
[17:14:35] *** sk87 has joined #angularjs
[17:14:37] *** CodeFriar has quit IRC
[17:14:43] *** coffey has joined #angularjs
[17:15:00] <nickeddy> sounds like you're trying to cram angular somewhere it doesn't belong
[17:15:08] <oniijin> sounds painful
[17:15:11] <sacho_> dan2k3k4, add a .on() with stopImmediatePropagation.
[17:15:26] *** sigurding has quit IRC
[17:15:35] *** cthrax has quit IRC
[17:15:39] <dan2k3k4> so by default, page clicks are now: ng-click="go(some_url)" -> and that'll do $http().success($('page').html(data); then $compile($('page'))(scope);
[17:15:49] <dan2k3k4> :(
[17:15:52] <ClearsTheScreen> dan2k3k4: or, instead of poking around the attributes with jquery after stuff is all done, wrap/decorate the slideshow and make the ng-click not be there in the first pace
[17:16:00] *** sk87 has quit IRC
[17:16:01] <dan2k3k4> sacho_, hmm I have stopProp but not stopImmediate
[17:16:29] *** devinandrews has quit IRC
[17:16:34] *** jillesme has joined #angularjs
[17:16:46] *** devinandrews has joined #angularjs
[17:16:51] *** mupkoo has quit IRC
[17:17:20] *** sk87 has joined #angularjs
[17:17:51] <chanced> gah, i just noticed lodash's after function. can't believe ive missed that until now
[17:17:56] <chanced> sigh
[17:18:15] *** whitebook has joined #angularjs
[17:18:31] *** jstroem has quit IRC
[17:18:33] *** TyrfingMjolnir has quit IRC
[17:18:35] *** anjumkaiser has joined #angularjs
[17:19:12] <nickeddy> chanced: that's nice to know
[17:19:20] *** arkin has quit IRC
[17:19:34] *** gnrlbzik has quit IRC
[17:20:16] *** jillesme has quit IRC
[17:20:17] <chanced> indeed
[17:20:22] *** JohnBat26 has quit IRC
[17:20:42] *** dsdeiz has quit IRC
[17:21:02] *** gnrlbzik has joined #angularjs
[17:21:04] <Foxandxss> uhhhhh, that $http is awful
[17:21:17] <nickeddy> Foxandxss: *cough*
[17:21:28] *** mfkj has quit IRC
[17:21:30] *** xavia has joined #angularjs
[17:21:42] <storkme> Foxandxss: am I right in saying that you're UK based and you run the angulartips blog?
[17:21:43] <joker666> +1 nickeddy
[17:21:44] *** olanod has joined #angularjs
[17:21:48] *** MaxV_ has quit IRC
[17:21:57] <Foxandxss> nickeddy: what
[17:21:58] <Foxandxss> I am sincere
[17:21:59] <Foxandxss> :P
[17:22:03] <Foxandxss> storkme: half right :P
[17:22:08] *** TyrfingMjolnir has joined #angularjs
[17:22:09] <storkme> ah, okay.
[17:22:16] <Foxandxss> not UK based
[17:22:26] <storkme> i figured :p
[17:22:49] <Foxandxss> what about that anyway? :P
[17:22:49] *** _ritchie_ has joined #angularjs
[17:22:49] <nickeddy> hahah i meant that has emphasis on how right you are
[17:22:53] *** snapwich has joined #angularjs
[17:22:53] <nickeddy> Foxandxss ^
[17:23:07] <Foxandxss> ah
[17:23:09] *** zz_night-owl is now known as night-owl
[17:23:25] *** gnrlbzik has quit IRC
[17:23:26] <storkme> was curious, I'm trying to get into the london javascript scene, I figured if you were UK based you'd probably know a lot about it :p
[17:23:31] *** MaxV_ has joined #angularjs
[17:23:47] <Foxandxss> I see, I think that there should be a lot of scene there
[17:24:01] *** deyna has quit IRC
[17:24:03] *** arkin has joined #angularjs
[17:24:06] <Foxandxss> it is curious, I know half of the channel here but I don't recall any London based
[17:24:09] *** speaking1ode is now known as speakingcode
[17:24:14] *** warcuy has joined #angularjs
[17:24:22] <MikeyB> I'm london based
[17:24:41] <ClearsTheScreen> i think there should be some of us around, yeah :)
[17:24:46] *** MotherMGA1 has left #angularjs
[17:24:47] <Foxandxss> and I don't know you :P
[17:24:55] <MikeyB> I don't know you either
[17:24:56] * Foxandxss writes it down
[17:24:59] *** Fistful_of_coins has quit IRC
[17:25:04] <Foxandxss> Hello, I am Jesus, how are you MikeyB ?
[17:25:11] *** cthrax has joined #angularjs
[17:25:13] *** einonm has left #angularjs
[17:25:19] <storkme> https://skillsmatter.com/meetups/6537-a-few-javascript-ideas-stolen-from-angularjs-source was just looking at this.
[17:25:20] <MikeyB> not really in the Angular scene... I'm a rails developer ;p
[17:25:31] <Foxandxss> Doesn't matter, we are friends now :P
[17:25:32] <ClearsTheScreen> MikeyB: not that surprising, given london's size, i daresay!
[17:25:58] <Foxandxss> Rails is good and works well with Angular
[17:26:19] <MikeyB> Found it pretty fliddly to get angular working via rails asset pipeline, but got there in the end
[17:26:30] *** mjs2600 has joined #angularjs
[17:26:32] *** MaxV__ has joined #angularjs
[17:26:36] *** xavia has quit IRC
[17:26:40] <Foxandxss> MikeyB: that is something you SHOULDN'T do
[17:26:45] <Foxandxss> if you care about your sanityu
[17:26:52] *** MaxV_ has quit IRC
[17:26:58] *** m8 has quit IRC
[17:27:21] *** edy has joined #angularjs
[17:27:29] *** arabot has joined #angularjs
[17:27:29] *** bkuberek has joined #angularjs
[17:27:29] <Foxandxss> mental one
[17:27:31] *** arabot has quit IRC
[17:27:34] *** arkin has quit IRC
[17:27:45] *** m8 has joined #angularjs
[17:27:49] *** afuggini has joined #angularjs
[17:27:49] *** Latros-O_ has joined #angularjs
[17:28:13] *** gnrlbzik has joined #angularjs
[17:28:14] *** MaxV__ has quit IRC
[17:28:21] <nickeddy> anyone have a good select module? ui.select seems to not be so great
[17:28:27] *** blomman has quit IRC
[17:28:31] *** sonofdirt has joined #angularjs
[17:28:35] *** ccohn has quit IRC
[17:28:35] *** cohitre has joined #angularjs
[17:28:37] <Linell> try chosen
[17:28:46] <ctanga> pure angular?
[17:28:51] <nickeddy> ctanga: preferrably
[17:28:52] <MikeyB> Foxandxss: well, it works all nice now, with bower too ;p
[17:28:54] *** krawek has joined #angularjs
[17:28:55] *** krawek has joined #angularjs
[17:28:57] *** TyrfingMjolnir has quit IRC
[17:29:01] *** blomman has joined #angularjs
[17:29:06] <Foxandxss> MikeyB: what about templateUrl paths?
[17:29:11] *** Typher has quit IRC
[17:29:21] *** TyrfingMjolnir has joined #angularjs
[17:29:44] <Linell> https://github.com/localytics/angular-chosen
[17:29:54] <nickeddy> Linell: uses jquery :( thanks though
[17:30:14] *** moritzs has quit IRC
[17:30:20] <ctanga> nickeddy: what features do you need?
[17:30:24] *** ahmetkapikiran has joined #angularjs
[17:30:28] <yakari> monnay !
[17:30:34] <ctanga> select widgets seem to go overboard with too-many-features
[17:30:41] *** TyrfingMjolnir has quit IRC
[17:30:46] <nickeddy> ctanga: just need the fkin thing to work with objects
[17:30:50] <nickeddy> and multi select
[17:30:54] *** Latros-OS has quit IRC
[17:31:01] *** mjs2600 has quit IRC
[17:31:17] *** phuh has quit IRC
[17:31:25] *** djazayeri has quit IRC
[17:31:28] <ctanga> I don’t know the answer. I feel your pain tho
[17:31:44] *** phuh has joined #angularjs
[17:31:49] <ctanga> like, do you really want to pull in 200K libraries to add a multi-select on a page
[17:31:55] <nickeddy> YES
[17:32:00] <nickeddy> no not really
[17:32:10] <nickeddy> but i do need multi-select + typeahead essentially
[17:32:14] *** newbee has joined #angularjs
[17:32:19] <ctanga> nickeddy: why didn’t you comment on ui-router 1501 RFC?
[17:32:33] <nickeddy> users need to be able to find shit in a list and select multiple of them
[17:32:36] *** Latros-OS has joined #angularjs
[17:32:37] <nickeddy> ctanga: link?
[17:32:38] *** newbee is now known as Guest2921
[17:32:38] *** aesinv`w has joined #angularjs
[17:32:49] <ctanga> https://github.com/angular-ui/ui-router/issues/1501
[17:33:09] *** devinandrews has quit IRC
[17:33:19] <oniijin> ctanga what's the current consensus
[17:33:23] <oniijin> come on option C
[17:33:28] *** devinandrews has joined #angularjs
[17:33:33] <ctanga> concensus? on the intarwebs? lul
[17:33:57] *** patrick99e99 has joined #angularjs
[17:33:59] *** blomman has quit IRC
[17:34:08] *** artisangoose has joined #angularjs
[17:34:09] <nickeddy> ctanga: i'd be okay if A was optional, but probably will stick with C
[17:34:21] <nickeddy> explicit > implicit
[17:34:27] *** Latros-O_ has quit IRC
[17:34:39] <ctanga> nickeddy: leave a comment!
[17:34:49] <nickeddy> i'll just say what i just said
[17:34:50] <nickeddy> lol
[17:34:58] <ctanga> the point is for it to be on the RFC not in IRC
[17:35:16] <ctanga> you know, for science
[17:35:20] *** mchammer has quit IRC
[17:35:23] <oniijin> nickeddy same thing happened to me
[17:35:28] <oniijin> then my inbox exploded with updates
[17:35:36] <nickeddy> just unfollow it
[17:35:43] <oniijin> well NOW I did
[17:35:44] *** MotherMGA1 has joined #angularjs
[17:35:44] <nickeddy> err unwatch
[17:36:03] *** IvailoStoianov has quit IRC
[17:36:03] *** ozooner_ has quit IRC
[17:36:25] <MotherMGA1> how can I $scope.$watch() a property that has a period in the name?
[17:36:33] <ctanga> thanks nickeddy
[17:36:38] *** cthrax has quit IRC
[17:36:39] *** brian has joined #angularjs
[17:36:45] <MotherMGA1> as in $scope['some.property']
[17:37:02] *** brian is now known as Guest65248
[17:37:06] *** djazayeri has joined #angularjs
[17:37:08] <nickeddy> can properties have periods in them?
[17:37:14] <MotherMGA1> sure!
[17:37:14] <bd-> they can
[17:37:24] *** Guest65248 is now known as bgerami
[17:37:26] *** cacts|wtf has joined #angularjs
[17:37:27] *** moafoca has joined #angularjs
[17:37:47] *** warcuy has quit IRC
[17:37:51] <bd-> you could $scope.$watch(function() { return $scope['some.property']; }) if nothing else
[17:37:52] <nickeddy> i'll just link this
[17:38:00] <nickeddy> http://i.imgur.com/ZowZ6Ej.jpg
[17:38:07] *** edrocks has joined #angularjs
[17:38:08] *** jillesme has joined #angularjs
[17:38:14] *** whitebook has quit IRC
[17:38:16] *** azizur has quit IRC
[17:38:16] <encryptd_fractl> Does anyone have karma + phantomjs + tests written in es6 working? Seems like traceur's output doesn't work in phantomjs but theres no shortage of es6 compilers these days..
[17:38:31] *** patrick99e99 has quit IRC
[17:38:48] *** frobs has quit IRC
[17:38:49] *** mtsr has quit IRC
[17:39:39] *** oktapodi has joined #angularjs
[17:39:49] *** \du has quit IRC
[17:39:50] *** Typher has joined #angularjs
[17:39:53] <nickeddy> ctanga: lol i didn't know what RFC meant until now :|
[17:40:02] <ctanga> hah :P
[17:40:20] <encryptd_fractl> specifically I'm looking for features like destructoring, not just the es6 module system
[17:41:10] *** atomatt has quit IRC
[17:41:35] <duall> Foxandxss,
[17:41:46] *** lsiv568 has quit IRC
[17:42:07] <duall> how do i do ng-href or ui-sref from angular-toastr ?
[17:42:19] <Foxandxss> I don't follow
[17:42:36] <duall> https://github.com/Foxandxss/angular-toastr
[17:42:37] *** whitebook has joined #angularjs
[17:43:13] <duall> i want to have a link inside allowHtml text
[17:43:27] <Foxandxss> using directives? you can't
[17:43:33] *** kuadrosx_ has quit IRC
[17:43:39] <duall> basicly: ccount does not exist, <a ui-sref="signup"> click here to create a new account</a>
[17:43:42] <Foxandxss> I mean, you can't put directives inside toasts
[17:43:56] *** kuadrosx_ has joined #angularjs
[17:44:00] <duall> i could hardcode the href="/#/signup"
[17:44:02] <Foxandxss> I don't allow that kind of html
[17:44:07] *** monir has joined #angularjs
[17:44:09] <Foxandxss> that could work
[17:44:37] *** oktapodi has quit IRC
[17:44:39] <duall> but it is hackish way, and will cause problems when i switch to html5 :(
[17:45:05] *** soee has joined #angularjs
[17:45:10] <chanced> you could put them inside of toasts
[17:45:19] <Foxandxss> https://github.com/Foxandxss/angular-toastr/issues/3
[17:45:23] *** MikeyB has quit IRC
[17:45:46] *** OliverJAsh has joined #angularjs
[17:46:07] <maraneta> so i have an input field using ng-model. if the field is not '', i want it to display what is saved, but if it is '',i want it to display the concatenated sum of two other inputs, and save that into the model. is this possible?
[17:46:20] <OliverJAsh> anybody familiar with di.js and can consult me on this issue? https://github.com/angular/di.js/issues/82
[17:46:21] <Foxandxss> I think that the can put directives is can't
[17:46:21] *** Psi|4ward has joined #angularjs
[17:46:28] *** folippi has quit IRC
[17:46:39] <Psi|4ward> How to access a required controller within a directive-controller?
[17:46:43] <Foxandxss> yeah, can't
[17:46:50] *** red_horned_rihno has joined #angularjs
[17:47:11] <Psi|4ward> only in the link func?
[17:47:30] *** robdubya has joined #angularjs
[17:47:40] <Foxandxss> only link yes
[17:48:10] <Psi|4ward> hmm damn
[17:48:24] *** drugs has joined #angularjs
[17:48:27] *** Expi1 has joined #angularjs
[17:48:29] *** anjumkaiser1 has joined #angularjs
[17:48:49] *** fbenoit has quit IRC
[17:48:52] *** Efrem is now known as Efrem-Away
[17:49:05] *** anjumkaiser has quit IRC
[17:49:06] <chanced> right, but there are other ways to do it other than flipping the switch on $sce
[17:49:37] *** olanod has left #angularjs
[17:49:49] <Foxandxss> I am listening then
[17:50:09] <djazayeri> Question about angular-ui's ui-bootstrap typeahead. I want to make things behave so that when the user chooses an option, focus jumps to the next element. As far as I can tell, the only way to do this is by doing $timeout(jump, 10) in the typeahead-on-select function. But I want to find a way to do this without needing to rely on an explicit delay (i.e. the 10 in that line).
[17:50:11] <djazayeri> Also posted at http://stackoverflow.com/questions/26725168/how-to-jump-to-the-next-input-field-after-user-selection-on-a-typeahead
[17:50:20] *** red_horned_rihno has quit IRC
[17:50:25] <chanced> if someone wanted to, they could flip explicitly compile on directives their expecting
[17:50:32] *** whitebook has quit IRC
[17:50:51] *** cthrax has joined #angularjs
[17:50:52] <chanced> changed my sentence midthought
[17:50:55] *** shpoont has joined #angularjs
[17:51:11] *** surreal has quit IRC
[17:51:48] *** amphetamines has quit IRC
[17:51:58] <Foxandxss> uhmm
[17:52:05] *** pnade has quit IRC
[17:52:08] *** zackiv31 has joined #angularjs
[17:52:12] *** jacuqesdancona has quit IRC
[17:52:14] *** darrin has quit IRC
[17:52:26] *** darrin has joined #angularjs
[17:52:32] *** richiebkr has joined #angularjs
[17:52:34] *** pnade has joined #angularjs
[17:52:53] *** devylon has quit IRC
[17:53:09] *** whitebook has joined #angularjs
[17:53:10] *** afuggini has quit IRC
[17:53:12] *** ssawickik has quit IRC
[17:53:15] *** azizur has joined #angularjs
[17:53:20] *** devylon has joined #angularjs
[17:53:46] <chanced> Foxandxss: http://plnkr.co/edit/RRzDwxzOqCoUmy0Qye33?p=preview
[17:53:57] *** sk87 has quit IRC
[17:54:02] <the-anconia> I have a modals.html file with multiple modals within it. I have a directive that’s used in a few of these but for some reason that directive only displays in the modal that is closest to EOF. Any ideas why this might be happening?
[17:54:40] *** james1 has joined #angularjs
[17:54:59] <Foxandxss> chanced: let me think, I rejected the idea for some reason
[17:54:59] *** juristr has quit IRC
[17:55:09] *** sonofdirt has quit IRC
[17:55:25] *** james1 has left #angularjs
[17:55:29] *** azizur has quit IRC
[17:55:31] <chanced> that's really crude but good enough to convey the idea
[17:55:38] *** oktapodi_ has joined #angularjs
[17:55:55] *** moritzs has joined #angularjs
[17:56:04] <chanced> yep, i'm really advocating for it one way or another really. i was just saying that you could do it without needing to open the flood gates
[17:56:31] *** sacho_ has quit IRC
[17:56:48] *** sk87 has joined #angularjs
[17:57:11] *** darrin has quit IRC
[17:57:23] *** devylon has quit IRC
[17:57:56] *** AngularUI has joined #angularjs
[17:57:57] <AngularUI> [ng-grid] c0bra pushed 3 new commits to rewrite-cellnav: http://git.io/yq1TTw
[17:57:57] <AngularUI> ng-grid/rewrite-cellnav 080c39f c0bra: WIP
[17:57:57] <AngularUI> ng-grid/rewrite-cellnav 54225e7 c0bra: WIP
[17:57:57] <AngularUI> ng-grid/rewrite-cellnav 31cbd71 c0bra: WIP: vertical navigation working!
[17:57:57] *** AngularUI has left #angularjs
[17:58:07] *** iksik has quit IRC
[17:59:07] *** lsiv568 has joined #angularjs
[17:59:40] *** favetelinguis has joined #angularjs
[17:59:40] *** amortimer has quit IRC
[17:59:52] *** night-owl is now known as zz_night-owl
[17:59:54] *** prosper_ has quit IRC
[17:59:58] *** dan2k3k4 has quit IRC
[18:00:20] *** iksik has joined #angularjs
[18:00:21] *** lsiv568 has quit IRC
[18:00:37] *** walbert has left #angularjs
[18:00:51] <mtorres1624> I've got a question for anyone that feels like helping
[18:01:33] *** ben_dev has quit IRC
[18:02:18] *** Raging_Hog has quit IRC
[18:02:44] *** mnngfltg has quit IRC
[18:02:59] *** Efrem-Away is now known as Efrem
[18:03:10] <chanced> er, i mean't not advocating*... it has been a long week
[18:03:18] *** oncenull has quit IRC
[18:03:21] <mtorres1624> could anyone go into: http://gr8label.com/secure/contract/index.html and help me out in figuring out why my NG repeat isn't working (click on find your contract and it doesn't render anything out but the search bar, which is where my ng-repeat is failing
[18:03:31] *** patrickarlt has joined #angularjs
[18:04:23] *** D9 has joined #angularjs
[18:04:33] *** marshall has joined #angularjs
[18:05:27] <Linell> Well, the console.log of your array does display data.. what does your ng-repeat look like?
[18:05:52] *** Typher has quit IRC
[18:05:57] *** Expi1 has quit IRC
[18:06:23] <Linell> Or rather, I assume that that array is member.people?
[18:06:30] *** grantfunke_ has joined #angularjs
[18:06:45] <mtorres1624> Linell: <div class="morphsearch-content" ng-repeat="people in member.people">
[18:07:04] *** Cydmax has quit IRC
[18:07:17] *** Ch4rAss has quit IRC
[18:07:17] *** patricka_ has joined #angularjs
[18:07:25] *** TheAceOfHearts has joined #angularjs
[18:07:35] *** xeoncross has joined #angularjs
[18:07:48] *** teeray has joined #angularjs
[18:07:57] <mtorres1624> Linell: Yup the array is member.people so i've got that ng-repeat in the container then I've got <div class="dummy-column" ng-repeat="artist in people.artist"> within that first div, but the first ng-repeat isn't spitting out anything
[18:08:39] *** djazayeri has left #angularjs
[18:08:47] *** archpollux has joined #angularjs
[18:08:52] <archpollux> hi all
[18:08:53] <Linell> Hmm... try something like <pre>{{ member.people | json }} to make sure that the array is there in the correct format
[18:09:06] *** TheAceOfHearts1 has joined #angularjs
[18:09:09] *** loverajoel has joined #angularjs
[18:09:26] *** chanced has quit IRC
[18:09:35] *** TheAceOfHearts has quit IRC
[18:09:40] *** wallerdev has joined #angularjs
[18:09:52] *** moritzs has quit IRC
[18:10:20] <jsheely> I can't remember. In ng-repeat that contains a click event
[18:10:24] <mtorres1624> Linell: added that pre but didn't do anything, is that an error with my json?
[18:10:31] <jsheely> You can get the current repeater scope right without passing it to ng-click ?
[18:10:33] *** walden is now known as walden|lunch
[18:10:33] *** patrickarlt has quit IRC
[18:11:18] <mtorres1624> Linell: I used JSONLint to validate my json beforehand
[18:11:32] *** klaut_ has joined #angularjs
[18:11:45] *** klaut has quit IRC
[18:11:48] <mtorres1624> Linell: and I know the style of json works because I also used it in the catalogue and that does work with the same nested ng-repeat style
[18:11:54] <archpollux> is this the right channel for karma questions?
[18:12:06] *** lexek_ has quit IRC
[18:12:10] <Linell> mtorres1624: In that case, it's *probably* some sort of scoping problem. Is that search wrapped in an ng-if or something maybe?
[18:12:20] *** stephanbuys has quit IRC
[18:12:53] *** jfriz has joined #angularjs
[18:13:08] <mtorres1624> Nope, It's just an ng-repeat
[18:13:15] *** Efrem is now known as Efrem-Away
[18:13:46] *** whiteboo_ has joined #angularjs
[18:14:18] <jsheely> Hmm, thought for sure I did it before
[18:14:31] *** jlebrech has quit IRC
[18:15:22] *** m8 has quit IRC
[18:15:23] *** whitebook has quit IRC
[18:15:35] <Linell> mtorres1624: it's not the style of the actual json, it's almost definitely something to do with it not actually being set. If you've got any other scope variables, try to display them that same way
[18:15:42] *** NormySan has joined #angularjs
[18:16:02] *** nya has quit IRC
[18:16:19] *** mjs2600 has joined #angularjs
[18:16:20] *** Johnny13371337 has joined #angularjs
[18:16:41] *** monir has quit IRC
[18:16:55] *** sk87 has quit IRC
[18:17:03] *** rosshuggett has joined #angularjs
[18:17:17] *** sixr420 has quit IRC
[18:17:45] *** FannyChmelar5227 has joined #angularjs
[18:18:39] *** sixr420 has joined #angularjs
[18:19:37] *** lw has joined #angularjs
[18:19:44] *** lw has quit IRC
[18:19:53] *** mvovchak has joined #angularjs
[18:20:18] <mtorres1624> Linell: I tried the same style of ng-repeat with the same json that the catalogue uses and I just copied over the ng-repeats but that doesn't show anything either
[18:20:40] *** lw has joined #angularjs
[18:20:48] *** sheplu has quit IRC
[18:20:49] <mtorres1624> So I'm guessing it's not actually being set. but what's odd is I've used almost the exact same code in the catalogue's angular script and it works like a charm
[18:20:49] *** jonathanpglick has joined #angularjs
[18:21:01] <Linell> mtorres1624: I dunno, really. I can almost promise you it's something simple but without being able to look at all of the code I can't really tell
[18:21:14] *** lw has quit IRC
[18:21:17] <Linell> I've had tons of similar problems that ended up with me sighing and changing a single line here or there before
[18:21:28] *** sk87 has joined #angularjs
[18:22:02] *** joker666 has quit IRC
[18:22:32] *** sk87 has quit IRC
[18:22:52] *** mvovchak has quit IRC
[18:23:10] <mtorres1624> Linell: What code would you have to see, I think you should be able to see it all in chrome with the sources
[18:24:07] *** mvovchak has joined #angularjs
[18:25:19] *** gnrlbzik has quit IRC
[18:26:30] *** Ayman_ has joined #angularjs
[18:26:34] *** ogdabou has quit IRC
[18:27:07] <Ayman_> maybe my questions has nothing to do with angularjs, but please help if you can http://stackoverflow.com/questions/26785394/run-grunt-tasks-on-bitbucket-staging-server
[18:27:21] *** pants_ has joined #angularjs
[18:27:44] *** Sjimi has quit IRC
[18:28:16] *** xavia has joined #angularjs
[18:28:17] <kuadrosx_> mtorres1624: member doesn't have "people" maybe members(reading app.js:6) ...
[18:28:42] *** greengriminal has joined #angularjs
[18:28:59] *** Aerospark has joined #angularjs
[18:29:32] <Linell> mtorres1624: I *think* it's because you're using the controller as member thing. So you'd need to do member.members.people
[18:29:32] *** Oddman has quit IRC
[18:29:44] *** patricka_ has quit IRC
[18:29:45] <mtorres1624> kuadrosx_: people is supposed to be the json data
[18:29:51] <mtorres1624> Linell: alright I'll try that
[18:30:02] *** e0ipso is now known as e0ipso|away
[18:30:18] <kuadrosx_> mtorres1624: yeap but you are assiging it to "members" no?
[18:30:23] *** dannyc has quit IRC
[18:30:52] *** naneau has quit IRC
[18:31:08] <mtorres1624> kuadrosx_: I'm assigning the json data to members.people, and when i output to console the members.people does output the right data
[18:31:18] *** phuh has quit IRC
[18:31:34] <kuadrosx_> also members is an array :S
[18:31:36] *** sonofdirt has joined #angularjs
[18:31:44] *** phuh has joined #angularjs
[18:31:50] *** naneau has joined #angularjs
[18:31:52] <Linell> But in your ng-repeat, you're saying 'people in member.people'
[18:31:56] <mtorres1624> kuadrosx_: yup it's supposed to output the json which i would use with nested ng-repeats
[18:32:00] <maraneta> I'm trying to make an input field that does a few things... if the 'concatenate' checkbox is checked, i want it to run a certain concat function i have. if 'concatenate' is not checked, the user should be able to edit the field and its value will be stored in a certain model. how can i do this?
[18:32:14] *** thedodd has quit IRC
[18:32:16] <kuadrosx_> mtorres1624: you are printing what [].poeple= []; returns
[18:32:28] *** Ayman_ has quit IRC
[18:32:29] <kuadrosx_> people
[18:32:43] <Linell> member is your controller, members is a variable tied to member, and member.members.people is what you're looking for
[18:32:43] *** patrickarlt has joined #angularjs
[18:32:55] <dllama> Foxandxss: does toastr have any dependencies like bootstrap or anything? getting cannot read property 'then' of undefined, so was curious as to where i should start looking to debug it
[18:32:58] *** sonofdirt has quit IRC
[18:33:01] *** e0ipso|away is now known as e0ipso
[18:33:14] *** dc_ has joined #angularjs
[18:33:15] <Foxandxss> dllama: you need angular 1.3.* for the latest version
[18:33:21] <Foxandxss> that is where the .then error comes from
[18:33:45] <Foxandxss> you can use 0.4.0 I believe for 1.2.x
[18:33:46] *** KernelCurry has joined #angularjs
[18:33:48] <dllama> thank you :)
[18:33:49] <mtorres1624> Linell: member.members.people also returns nothing
[18:33:53] <dllama> i didn't realize i had older version here,
[18:33:56] <Foxandxss> 1.3.x had some pretty breaking changes, so I had to break the compatibility
[18:34:09] *** gurke_ has joined #angularjs
[18:34:25] <kuadrosx_> mtorres1624: change "members" to a object {}
[18:34:34] <Linell> Well that's weird. Try member.members? Modifying the code in chrome dev tools doesn't let me run it to try my usual approact of "try things until it works"
[18:34:50] <kuadrosx_> $scope.members = []; in the line:3
[18:34:58] *** whiteboo_ has quit IRC
[18:34:59] <kuadrosx_> change to $scope.members = {};
[18:35:01] <mtorres1624> kuadrosx_: just did
[18:35:03] *** kuadrosx_ is now known as kuadrosx
[18:35:20] *** pgomes_ has joined #angularjs
[18:35:25] <jaawerth> hmmm has anyone ever applied for a job and gotten a technical screen/interview over the phone rather than in person?
[18:35:41] <jaawerth> someone asked me if we should give one over the phone and I just don't know if that's a good idea
[18:36:05] <pgomes_> hey guys, any of you with some time to help me figure out some problem with directives?
[18:36:07] <mtorres1624> Linell: Got it it's actually supposed to be people in members.people
[18:36:13] <Linell> jaawerth: yeah, it wasn't a totally terrible experience. There were a lot more conceptual questions than actually writing code
[18:36:38] <mtorres1624> Since I'm using the controller on the body I can directly access the variables inside apparently
[18:36:50] *** ben_dev has joined #angularjs
[18:36:59] <jaawerth> Linell: yeah, I'm thinking I might just ask some conceptual and procedural questions over the phone to feel the person out, then do more code-based stuff in person
[18:37:02] *** krawek has quit IRC
[18:37:04] *** whitebook has joined #angularjs
[18:37:05] <Linell> mtorres1624: cool cool. Glad it's resolved
[18:37:05] *** RobinBAwesome has joined #angularjs
[18:37:12] *** patrick99e99 has joined #angularjs
[18:37:15] *** Guest482 has quit IRC
[18:37:52] <pgomes_> I'm just banging my head around this
[18:37:59] <mtorres1624> Linell: thanks for the help!
[18:38:20] <mtorres1624> kuadrosx_: thanks!
[18:38:21] <jaawerth> pgomes_: post your problems, someone will be able to help ;-)
[18:38:29] <pgomes_> :D
[18:38:35] <dllama> Foxandxss: just up'ed to 1.3 and same error :/
[18:38:38] <pgomes_> so, to make it short...
[18:38:52] <Foxandxss> dllama: which version of angular-toastr?
[18:39:24] <dllama> 0.5.1
[18:39:24] <pgomes_> I'm implementing an directive for every input
[18:39:30] *** favetelinguis has quit IRC
[18:39:36] <pgomes_> which performs validation on it and everything works fine
[18:39:44] *** Typher has joined #angularjs
[18:40:00] <pgomes_> now, i want to create div to display error messages
[18:40:02] *** favetelinguis has joined #angularjs
[18:40:13] <Foxandxss> dllama: can you click on the error to see to what line gives the error?
[18:40:19] *** D9 has quit IRC
[18:40:25] *** zwacky has quit IRC
[18:40:25] *** favetelinguis has quit IRC
[18:40:30] <pgomes_> and I do now, is get the validators thar are defined on the input
[18:40:40] <pgomes_> for example required and minlength
[18:40:46] *** KernelCurry has quit IRC
[18:40:51] *** bengillies has quit IRC
[18:40:52] <dllama> Foxandxss: https://gist.github.com/mvoloz/fb5ed7f16a531627286f
[18:40:55] *** favetelinguis has joined #angularjs
[18:41:02] *** kakashiA1 has quit IRC
[18:41:14] <pgomes_> and i'm trying to append two divs with something like
[18:41:18] *** bengillies has joined #angularjs
[18:41:23] *** patricka_ has joined #angularjs
[18:41:28] <jaawerth> pgomes_: okay, so far so good. have you checked out ng-message?
[18:41:45] *** salbertson has joined #angularjs
[18:41:48] <pgomes_> <p class="error input-message" ng-cloak ng-if="loginForm.password.$error.required"></p>
[18:41:55] <pgomes_> but in a dynamic way
[18:42:14] <nickeddy> pgomes_: why ng-if?
[18:42:23] <Foxandxss> dllama: clean your compiled stuff and try again, it should work
[18:42:32] <pgomes_> the thing is..
[18:42:39] <pgomes_> it works and i'm compiling it
[18:42:41] <dllama> Foxandxss: how do i do that? lol
[18:42:47] *** KernelCurry has joined #angularjs
[18:42:50] <dllama> bower update?
[18:42:53] <Foxandxss> depend on your workflow
[18:42:56] <pgomes_> but what's happening is that i have two inputs
[18:43:00] <Foxandxss> what are you using?
[18:43:00] *** poolside has joined #angularjs
[18:43:02] <nickeddy> pgomes_: ng-if creates a new scope... bit overkill just for hiding a message
[18:43:10] <dllama> bower
[18:43:21] <jaawerth> yeah, show/hide would be better there
[18:43:26] <Foxandxss> no, no, I mean, you don't use grunt or gulp?
[18:43:31] <dllama> oh grunt
[18:43:31] *** marcospgp has joined #angularjs
[18:43:32] *** archpollux has quit IRC
[18:43:33] <jaawerth> or ngMessages, which exists pretty much for your exact purpose
[18:43:34] *** ccohn has joined #angularjs
[18:43:35] <marcospgp> okay, angular is messing with my head
[18:43:44] <pgomes_> but i want separate messages for required and minlength
[18:43:50] <pgomes_> or required and max length
[18:43:55] <pgomes_> or required and invalid email
[18:43:59] *** IvailoStoianov has joined #angularjs
[18:44:22] <marcospgp> someone please help /: I have a directive that when its scope parameter is set to true, the following error is thrown: Uncaught TypeError: undefined is not a function angular.js:6086
[18:44:28] *** juampy has quit IRC
[18:44:36] <Foxandxss> marcospgp: sure, paste code
[18:44:50] *** phzon has quit IRC
[18:45:09] <Foxandxss> dllama: ah, so if grunt is moving your js around, concat them or something, you should clean and try again (If you updated to 1.3, maybe the project is still use 1.2.x)
[18:45:10] *** patrickarlt has quit IRC
[18:45:12] <marcospgp> that's basically it, just the scope: true throws the error
[18:45:18] *** patricka_ has quit IRC
[18:45:28] *** bengillies has quit IRC
[18:45:34] <marcospgp> the parent has a scope that was assigned through $compile
[18:45:47] *** Shrooms` has joined #angularjs
[18:45:48] <jaawerth> pgomes_: http://plnkr.co/edit/39dBouxIrTYiUjVaeDm5?p=preview - I just helped someone fix their ngMessages yesterday, so this is a fork and not my own code (except for what I fixed), but take a look at the use of ng-message
[18:46:00] <pgomes_> let me check
[18:46:10] <pgomes_> probably i'm overthinking around it
[18:46:11] *** bradmaxs has joined #angularjs
[18:46:21] *** thirdknife has joined #angularjs
[18:46:42] *** Makpoc has quit IRC
[18:46:45] *** mzabriskie has joined #angularjs
[18:46:51] *** ikevin has quit IRC
[18:47:34] *** rosieres has quit IRC
[18:47:45] *** rho has quit IRC
[18:47:59] *** Makpoc has joined #angularjs
[18:48:02] *** kuadrosx has quit IRC
[18:48:16] *** rosieres has joined #angularjs
[18:48:33] *** numenor has quit IRC
[18:48:35] <dllama> sorry if this is a stupid question, but how do i check what version is in the project? i see dependency set to latest
[18:48:52] *** BahamutWC|Work has joined #angularjs
[18:49:03] *** rosieres has quit IRC
[18:49:10] <Foxandxss> you can simply go to the dev tools, sources, click ont he angular one and see the header
[18:49:28] <pgomes_> ok ng-messages is simplier than ng-if
[18:49:36] <pgomes_> but i haven't got to the problem yet
[18:50:07] <dllama> hmm, still 1.2.26 for some reason,
[18:50:18] <pgomes_> what I'm trying to accomplish is to append automatically to the input itself the errors
[18:50:21] <dllama> i dont know how to use grunt effectively, normally i just do bower update
[18:50:23] *** shaisnir has joined #angularjs
[18:50:23] <pgomes_> by getting a template
[18:50:31] *** walden|lunch is now known as walden
[18:50:40] *** tplaner has quit IRC
[18:50:45] *** afuggini has joined #angularjs
[18:50:47] <pgomes_> on this page i'm building it has an login and password inputs
[18:50:55] *** autolycus has joined #angularjs
[18:50:57] *** ProLoser has joined #angularjs
[18:51:04] <pgomes_> and it's duplicating the divs that are being appended
[18:51:07] <pgomes_> that's main issue
[18:51:38] *** Shareyourpeace has joined #angularjs
[18:51:42] *** intellix has quit IRC
[18:51:54] <pgomes_> i want to remove the error messages from my templates
[18:52:04] <pgomes_> and add it dynamically according to the validators defined
[18:52:15] <pgomes_> just to have something like
[18:52:32] <pgomes_> <input required ng-minlength=6></input>
[18:52:59] <pgomes_> and using a directive create the messages for required and minlength
[18:53:20] *** tplaner has joined #angularjs
[18:53:29] *** tech2 has quit IRC
[18:53:42] <dllama> ok now this is incredible irritating. bower.json angualr is set to latest, i tried adding resolution to 1.3, to which bower said it was unecessary, but my app is using 1.2.6
[18:53:54] <Shareyourpeace> Hi and help. Been learning angular and have successfully run several apps. In the course I installe bower_components from command line using 'bower install' and another command. But now I don't even need bower, there isn't any bootstrapcss etc. I am just loading an index.htm and a user controller.js file.
[18:54:02] <Foxandxss> dllama: check if the angular inside bower_components is 1.3 or 1.2
[18:54:20] <Foxandxss> bower suck¡
[18:54:21] <dllama> inside there its 1.2.26, shouldn't that update through bower?
[18:54:24] *** afuggini is now known as _Ariel_
[18:54:31] <Foxandxss> bite me
[18:54:31] <jaawerth> pgomes_: so.. basically you want to save yourself including any extra markup or directives, you want the messages to append themselves automatically?
[18:54:33] <Foxandxss> I don't use bower
[18:54:36] <jaawerth> pgomes_: so what's the issue?
[18:54:36] <Foxandxss> I hate it with all my guts
[18:54:38] *** _Ariel_ is now known as afuggini
[18:54:42] <jaawerth> why?
[18:54:44] <jaawerth> what's to hate?
[18:54:45] <pgomes_> exactly
[18:54:54] <jaawerth> pgomes_: Okay, so what's the issue?
[18:55:02] *** monir has joined #angularjs
[18:55:04] <Foxandxss> jaawerth: you meant... what's NOT to hate, right? :P
[18:55:12] <Foxandxss> horrible way of creating bower packages
[18:55:14] *** monir has quit IRC
[18:55:19] *** ProLoser has quit IRC
[18:55:21] <Foxandxss> you need to release a NEW version if you want to update the bower package
[18:55:28] <Foxandxss> you can't put a fix on it, you need a new release
[18:55:34] <jaawerth> ah, I see, you're talking from the publishing end
[18:55:41] <jaawerth> yeah, in that case it's frustrating to deal with
[18:55:42] <Foxandxss> you can't delete pckages, you need to create an issue for that (that got fixed IIRC)
[18:55:44] *** jbeaudry has joined #angularjs
[18:55:48] <Foxandxss> for consumers
[18:55:54] *** marcospgp has quit IRC
[18:55:59] <jaawerth> from a consumer standpoint it isn't so bad
[18:56:00] <Foxandxss> bad packages pulls you the entire package with its mother in law included
[18:56:14] <jaawerth> lol
[18:56:18] <Foxandxss> so if you're doing some globbing on your gulp, you need to care
[18:56:21] *** lsiv568 has joined #angularjs
[18:56:29] <Foxandxss> because you don't want to include those package "extra stuff"
[18:56:30] *** reported_ has joined #angularjs
[18:56:30] *** reported_ is now known as reported
[18:56:39] *** Aliks has joined #angularjs
[18:56:44] <Shareyourpeace> Oh.. When I launch the index file, I expect to see Charlie Brown in the text field. In the userController I have this.user ={'Charlie brown'} alert('bye:' + this.user.name);
[18:56:49] <Shareyourpeace> No output.
[18:57:12] *** soren_engel has joined #angularjs
[18:57:13] <Foxandxss> I don't really know why I am fucked with images resolutions for a book, damn images, are harder than write
[18:57:19] <pgomes_> the issue is that for those inputs...
[18:57:21] *** tristanp has quit IRC
[18:57:33] *** Efrem-Away is now known as Efrem
[18:57:37] <pgomes_> it repeats all the divs that are updated
[18:57:41] <pgomes_> but for the last input
[18:57:42] <pgomes_> example
[18:57:49] <pgomes_> having email and password input
[18:57:49] *** MotherMGA1 has left #angularjs
[18:58:05] *** Efrem has quit IRC
[18:58:05] <pgomes_> i want two divs with loginForm.email.$error.
[18:58:06] <Linell> Shareyourpe: well, change the alert to this.user instead of this.user.name
[18:58:06] <dllama> this thing seriously sucks big balls
[18:58:16] <pgomes_> and two divs with loginForm.password.$error
[18:58:19] <pgomes_> but it creates foru
[18:58:21] *** esk4nd4r has quit IRC
[18:58:22] <pgomes_> *four
[18:58:28] *** CodeFriar has joined #angularjs
[18:58:29] <dllama> how the hell is does bower think latest version is 1.2.6 when on a different app its running perfectly fine @ 1.3
[18:58:30] <pgomes_> with loginForm.password.$error
[18:58:34] <Shareyourpeace> Help.
[18:58:45] <pgomes_> I'm making the appends on compile
[18:59:14] <jaawerth> post a plunk
[18:59:14] *** atomatt has joined #angularjs
[18:59:14] *** afuggini is now known as _Ariel_
[18:59:36] <johnnyfive> On a directive like ng-dblClick=" " can I pass two methods to be performed on click?
[18:59:41] *** _Ariel_ is now known as afuggini
[19:00:02] *** sonofdirt has joined #angularjs
[19:00:07] <Linell> Shareyourpe: the issue is that this.user.name is undefined. You only assigned this.user
[19:00:10] <johnnyfive> Or maybe that's just dumb and I shouldn't do it that way.. hrm
[19:00:17] *** dug_ has joined #angularjs
[19:00:21] *** Shrooms` has quit IRC
[19:00:22] <dllama> ok i think i finally got it to update
[19:00:35] <Shareyourpeace> I had angular installed but maybe it is not anymore. How do I check
[19:00:40] *** Shrooms` has joined #angularjs
[19:00:40] <dllama> think it was angular animate that was holdig it back
[19:00:42] *** rho has joined #angularjs
[19:00:46] <pgomes_> here's the main function that its called
[19:00:47] <pgomes_> http://pastebin.com/BnP8m7wW
[19:01:03] *** CHC has joined #angularjs
[19:01:13] <Foxandxss> is there a way to zoom the chrome dev tools?
[19:01:24] <pgomes_> it's not great but It's what i could thing off
[19:01:38] *** sacho has joined #angularjs
[19:01:49] *** soren_engel has quit IRC
[19:01:52] *** basiclaser_ has quit IRC
[19:01:55] <Foxandxss> Oh, I can
[19:02:16] *** jbeaudry has quit IRC
[19:02:23] *** afuggini is now known as _Ariel_
[19:02:53] *** Typher has quit IRC
[19:02:54] *** bee_keeper has quit IRC
[19:02:58] <pgomes_> and basically i have a template file
[19:03:12] *** nairys has joined #angularjs
[19:03:13] <jaawerth> pgomes_: $scope.error = controller.$name+"."+input.$name+".$error"; what were you trying to do here?
[19:03:26] *** marcospgp has joined #angularjs
[19:03:28] <pgomes_> following the ng-messages approach
[19:03:41] *** _Ariel_ is now known as afuggini
[19:03:42] *** tkdaj has joined #angularjs
[19:03:42] <marcospgp> why is there no mention of the directive parameter scope: true in the angular docs? Is it even officially supported?
[19:03:49] *** grogs_ has joined #angularjs
[19:03:54] *** tristanp has joined #angularjs
[19:03:57] <pgomes_> i have a template where i define the ng-messages directive
[19:04:10] *** Sky[x] has quit IRC
[19:04:14] <Foxandxss> marcospgp: it is supported
[19:04:22] <pgomes_> this $scope.error defines the something like loginForm.email.$error
[19:04:49] <marcospgp> Foxandxss I can't find it in the docs for the life of me! help?
[19:05:02] *** Jae has quit IRC
[19:05:03] <marcospgp> i think it's what is giving me errors
[19:05:12] <tkdaj> does anyone know why a custom directive I wrote works fine on an html table, except when it is filled by ng-repeat?
[19:05:12] <Foxandxss> you didn't put any plunker
[19:05:14] <Foxandxss> nor even a paste
[19:05:18] <Foxandxss> can't read your mind my friend
[19:05:25] <tkdaj> here are the specifics
[19:05:26] <tkdaj> http://stackoverflow.com/questions/26782543/angularjs-pagination-directive-works-except-with-ng-repeat
[19:05:30] *** mandric has quit IRC
[19:06:18] *** naneau has quit IRC
[19:06:49] <marcospgp> Foxandxss do you know where I can find the description of how scope: true works in the documentation? Just so I can be sure
[19:06:53] <Shareyourpeace> Quit
[19:06:56] <Shareyourpeace> Bye
[19:07:07] <Foxandxss> marcospgp: no, but basically it just creates a new scope inherited from the parent one
[19:07:09] *** devinandrews has quit IRC
[19:07:10] <Foxandxss> nothing fancy
[19:07:16] *** Shareyourpeace has quit IRC
[19:07:18] *** conan_the_destro has quit IRC
[19:07:23] *** sk87 has joined #angularjs
[19:07:28] *** devinandrews has joined #angularjs
[19:07:29] *** Sky[x] has joined #angularjs
[19:07:39] *** joker666 has joined #angularjs
[19:07:45] <pgomes_> originally i was trying to have something like this: http://pastebin.com/XHheP2kV
[19:07:55] *** NaN has joined #angularjs
[19:07:56] *** favetelinguis has quit IRC
[19:07:57] <NaN> hi there
[19:08:12] *** conan_the_destro has joined #angularjs
[19:08:12] *** jillesme has quit IRC
[19:08:13] *** Aerospark has quit IRC
[19:08:14] <pgomes_> where the template was only a file gets the error value
[19:08:14] *** Sky[x] has quit IRC
[19:08:18] *** SomeKittens has joined #angularjs
[19:08:26] <NaN> should I master 1.x or wait to learn 2.0?
[19:08:30] <pgomes_> and creates a div with ng-if={{errorType}}
[19:08:31] *** favetelinguis has joined #angularjs
[19:08:36] *** mvovchak has quit IRC
[19:08:37] <Foxandxss> NaN: you asked that already
[19:08:47] <Foxandxss> so, same answer
[19:08:48] *** Aerospark has joined #angularjs
[19:08:55] <marcospgp> Foxandxss Yep I know, but in my code, using it on a $compile'd element throws undefined is not a function on this angular line: childScope = scope.$new();
[19:08:55] <NaN> Foxandxss: no answer u_u
[19:09:05] *** yelvert has joined #angularjs
[19:09:08] *** sk87 has quit IRC
[19:09:10] *** FezVrasta has joined #angularjs
[19:09:10] <NaN> Foxandxss: mmmm... what was the answer?
[19:09:13] *** Oddman has joined #angularjs
[19:09:15] <Foxandxss> master it
[19:09:30] <maraneta> if i have a text area and i put {{ function }} {{ field }} inside, will the function be executed AND the field be changed?
[19:09:48] <jaawerth> pgomes_: one sec, I'm gonna code something up for you
[19:09:50] <TheAceOfHearts1> http://www.amazon.com/oc/echo who the hell buys these things?
[19:09:51] <tkdaj> does anyone know why a custom directive I wrote works fine on an html table, except when it is filled by ng-repeat? here are the specifics: http://stackoverflow.com/questions/26782543/angularjs-pagination-directive-works-except-with-ng-repeat
[19:09:57] <Foxandxss> marcospgp: shouldn't matter
[19:10:13] *** patrickarlt has joined #angularjs
[19:10:15] <NaN> Foxandxss: so there will be no drastic changes?
[19:10:22] <Foxandxss> TheAceOfHearts1: is that google now? :P
[19:10:27] <Foxandxss> NaN: there will
[19:10:33] <TheAceOfHearts1> Google Now in hardware form
[19:10:41] <Foxandxss> NaN: like converting a man in a woman
[19:10:45] <Foxandxss> still human, but fifferent :P
[19:10:50] <NaN> Foxandxss: :-o
[19:10:55] <marcospgp> Foxandxss well i'll keep trying. it really sucks that angular throws an error but I have no idea where it's coming from other than it only happens when the scope parameter on the directive is set to true /:
[19:11:04] *** oktapodi_ has quit IRC
[19:11:10] <Foxandxss> TheAceOfHearts1: still not _that_ bad idea
[19:11:22] <TheAceOfHearts1> it's $200, or $100 if you have prime
[19:11:26] <Foxandxss> if it works with spotify tho
[19:11:45] *** Shrooms` has quit IRC
[19:12:01] *** levity_island has joined #angularjs
[19:12:04] <Foxandxss> marcospgp: the child directive will just use a new scope based on that childScope
[19:12:05] *** Shrooms` has joined #angularjs
[19:12:27] <Foxandxss> hey Oddman :)
[19:12:33] <Oddman> serp?\
[19:12:53] *** favetelinguis has quit IRC
[19:12:59] <Foxandxss> what's up my friend :)
[19:13:13] <johnnyfive> Yeah I agree. Dumb way to go about it. Thanks
[19:13:15] *** Shrooms` has quit IRC
[19:13:20] *** yelvert has quit IRC
[19:13:23] <Foxandxss> I am trying to move on with my book, this goes slow :P
[19:13:24] *** jbeaudry has joined #angularjs
[19:13:24] <NaN> Foxandxss: I like women more, so I think I should wait, I mean, what's the purpose to learn something that will not be used for 2.0
[19:13:27] *** sonofdir_ has joined #angularjs
[19:13:28] *** michaelfavia has quit IRC
[19:13:33] *** elux has joined #angularjs
[19:13:35] *** Shrooms has joined #angularjs
[19:13:38] *** zz_night-owl is now known as night-owl
[19:13:43] <Foxandxss> NaN: that depend on your objectives
[19:13:47] *** yelvert has joined #angularjs
[19:14:01] <Foxandxss> if you _don't_ need angular or you can pass without it, that is not a bad decision
[19:14:12] <Foxandxss> but 2.0 will need 14~ months minimum
[19:14:33] <Linell> NaN: you could apply that logic to most of life. Learning it now will help learn 2.0 quicker too, I assume
[19:14:34] <joker666> igor is awesome
[19:14:35] *** mvovchak has joined #angularjs
[19:15:00] *** jfriz has quit IRC
[19:15:03] <joker666> guys https://plus.google.com/+IgorMinar/posts/2Uo6yh4AV7L
[19:15:03] *** milka has joined #angularjs
[19:15:15] *** _rmt has joined #angularjs
[19:15:19] <Foxandxss> yeah, read it
[19:15:30] *** whunt has joined #angularjs
[19:15:55] <pgomes_> jaawerth, thanks!
[19:16:11] *** duall has quit IRC
[19:16:16] *** MistahKurtz has joined #angularjs
[19:16:33] *** sonofdirt has quit IRC
[19:16:33] *** hiptobecubic_ has quit IRC
[19:17:06] <_rmt> i cannot figure out for the life of me why my PUT requests aren't updated on my backend
[19:17:08] <tkdaj> anyone know a good source (other than the docs) to go to learn the deep parts of angular directives?
[19:17:16] *** yelvert_ has joined #angularjs
[19:17:16] <_rmt> I receive the 200 success status
[19:17:17] <tkdaj> like the stuff that not every one else covers
[19:17:21] <_rmt> with my PUT request
[19:17:22] *** yelvert has quit IRC
[19:17:25] <Foxandxss> tkdaj: I am writing a book
[19:17:26] <_rmt> but nothing is updated
[19:17:36] <tkdaj> is your book available?
[19:17:36] <Foxandxss> tkdaj: https://leanpub.com/angularjsdirectives/
[19:17:38] <Foxandxss> sign in :P
[19:17:40] <Foxandxss> not yet
[19:17:41] *** yelvert_ has quit IRC
[19:17:44] *** jbeaudry has quit IRC
[19:17:45] *** ki0 has quit IRC
[19:17:50] <Foxandxss> I expect to release a first version in two weeks
[19:17:56] *** RobinBAwesome_ has joined #angularjs
[19:17:59] *** amphetamines has joined #angularjs
[19:18:02] *** RobinBAwesome has quit IRC
[19:18:02] *** RobinBAwesome_ is now known as RobinBAwesome
[19:18:08] *** yelvert has joined #angularjs
[19:18:08] <tkdaj> cool =)
[19:18:13] <NaN> interesting
[19:18:27] <tkdaj> can you tell me why an ng-repeat would not work with my other directive that normally works?
[19:18:29] *** thirdknife has quit IRC
[19:18:41] *** shaisnir has quit IRC
[19:18:53] <Foxandxss> with that information, I can't
[19:19:02] *** anjumkaiser1 has quit IRC
[19:19:07] <tkdaj> did you see the SO link I sent earlier?
[19:19:15] <tkdaj> http://stackoverflow.com/questions/26782543/angularjs-pagination-directive-works-except-with-ng-repeat
[19:19:19] <Foxandxss> no sorry, I am busy with the book
[19:19:25] *** tangorri has quit IRC
[19:19:32] *** ccohn has quit IRC
[19:19:38] *** michaelfavia has joined #angularjs
[19:19:38] <tkdaj> that link contains all the info about it...
[19:19:53] <tkdaj> so, when you use a directive with an ng-repeat it should normally work?
[19:19:57] *** MacWinner has quit IRC
[19:20:01] <NaN> Foxandxss: Jesús Rodríguez? so are you mexican?
[19:20:03] *** patrickarlt has quit IRC
[19:20:07] *** ccohn has joined #angularjs
[19:20:07] <Foxandxss> NaN: no
[19:20:13] *** anjumkaiser has joined #angularjs
[19:20:15] <Foxandxss> why should I be mexican? heh
[19:20:43] <_rmt> anyone know of a good $resource tutorial
[19:20:43] <NaN> Foxandxss: it sounds like a mexican name?
[19:20:47] <_rmt> the angularjs docs are shit
[19:20:50] *** kakashiA1 has joined #angularjs
[19:20:51] *** doginal has joined #angularjs
[19:20:55] <Foxandxss> NaN: it is not
[19:21:01] <Foxandxss> Jesus is hebrew
[19:21:11] *** tsalb has joined #angularjs
[19:21:13] *** drugs has quit IRC
[19:21:34] <Foxandxss> and Rodriguez is a Spanish last name
[19:21:36] <Foxandxss> :)
[19:21:48] *** night-owl is now known as zz_night-owl
[19:21:52] <NaN> Foxandxss: so are you spanish? :p
[19:21:54] <Foxandxss> but yes, also used in mexico
[19:21:55] <Foxandxss> yes
[19:22:08] *** devinandrews has quit IRC
[19:22:11] <NaN> Foxandxss: cool! that means you speak spanish
[19:22:16] <Foxandxss> yes
[19:22:28] <NaN> Foxandxss: can you recommend me some resources about angular in spanish?
[19:22:29] *** devinandrews has joined #angularjs
[19:22:29] <NaN> :B
[19:22:42] *** yelvert has quit IRC
[19:22:44] *** eamonn_ has quit IRC
[19:23:04] <Foxandxss> no, there are some scattered blogs but I don't recall any central place
[19:23:08] <ioudas> how do i wait for a promise with in a promise to fully resolve? I cant seem to figure it out....
[19:23:21] *** kreiggers has joined #angularjs
[19:23:35] *** jwowwz has joined #angularjs
[19:23:42] *** atomatt has quit IRC
[19:24:04] *** emmesswhy has joined #angularjs
[19:24:19] *** teeray has quit IRC
[19:24:23] <Foxandxss> tkdaj: translating that to a plunker is helpful (update the question with it, you will get some answers)
[19:25:07] <tkdaj> okay, thanks
[19:25:15] <NaN> Foxandxss: why don't create one? I mean, you are really good with angularjs
[19:25:34] *** nfroidure has quit IRC
[19:25:37] <Foxandxss> nah, I created several spanish blogs for different technologies
[19:25:46] *** wallerdev has quit IRC
[19:26:03] <_rmt> ioudas: can you try promise.then(function(){ do something });?
[19:26:09] <ioudas> i have that
[19:26:19] <ioudas> within an existing promise
[19:26:20] <Foxandxss> with popular subjects (.net, rails, etc)
[19:26:29] <Foxandxss> and I got like 30 visits per day
[19:26:31] <_rmt> pass the argument to your function(here)
[19:26:40] <hendricius> has anyone here worked with ng-grid before? I am trying to achieve some inline edit. It should then update the remote when the user finished editing the cell.
[19:26:42] <Foxandxss> in 5 years of my .net blog I got 40k visits
[19:26:42] *** wallerdev has joined #angularjs
[19:26:43] <ioudas> what argument?
[19:26:46] *** JohnBat26 has joined #angularjs
[19:26:52] <Foxandxss> I got 40k visits on the first 3 days of my english angular bloog
[19:26:56] <NaN> wow
[19:26:58] <_rmt> do you have some code I can look at?
[19:27:01] <ioudas> sure
[19:27:08] <Foxandxss> 1300+ per day
[19:27:10] *** rosshuggett has quit IRC
[19:27:16] *** atomatt has joined #angularjs
[19:27:17] <Foxandxss> I can't imagine that on a spanish blog
[19:27:26] <Foxandxss> so if I can reach more people, I prefer to do that
[19:27:31] <ioudas> http://pastebin.com/qj0sFkKt
[19:27:32] <_rmt> Foxandxss: are you experienced in $resouce at all?
[19:27:38] *** brownbathrobe has joined #angularjs
[19:27:41] <NaN> you are right but not only the visits count, I mean, you can create courses in spanish
[19:27:42] <Linell> How well does google translate stuff like that? I can't imagine it's great at technical stuff.
[19:27:45] <Foxandxss> any spanish speaker needs to learn english anyway
[19:27:55] <Foxandxss> _rmt: not really, I don't like it
[19:28:07] *** juristr has joined #angularjs
[19:28:10] <ioudas> i need to basically wait for the SlsmService.submitsearch(SlsmNum) entirely if its called
[19:28:16] <_rmt> Foxandxss: what would you recommend instead?
[19:28:19] <ioudas> before the rest of the code for the login service executes.
[19:28:21] <_rmt> ioudas: taking a look now
[19:28:30] <Foxandxss> NaN: I considered making some paid content in spanish, haven't think about that yet tho
[19:28:31] <ioudas> rgr
[19:28:33] <Foxandxss> _rmt: restangular
[19:28:43] <_rmt> Foxandxss: just looked into that
[19:28:50] <_rmt> Foxandxss: will test it out
[19:28:56] <NaN> Foxandxss: let me know if you create something in spanish, my english isn't so good
[19:29:05] *** vtali has quit IRC
[19:29:06] *** juristr has quit IRC
[19:29:14] <Foxandxss> NaN: technical english is not any hard
[19:29:59] <Foxandxss> I remember when I tried to learn C, my brother in law gave me a english book, couldn't read it
[19:30:06] <Foxandxss> but at the end it is not any hard
[19:30:09] <Guest2921> Hey guys. Does any1 has issues with routes in IE9 ?
[19:30:12] *** moafoca has quit IRC
[19:30:13] <jaawerth> pgomes_: sorry for the delay, work comes first ;-). here you go http://plnkr.co/edit/ETvlpCExmP17HYk6jkJl?p=preview
[19:30:49] <jaawerth> pgomes_: this is a basic stub - I set it with sort of a dummy ng-messages template with some stuff hardcoded in, but you can use the isolate scope options I set up to allow you to pass in either custom message text/ng-message conditions as an object OR a custom template url
[19:31:04] <pgomes_> hmm thanks a lot jaawerth
[19:31:09] *** dannyc has joined #angularjs
[19:31:10] <pgomes_> I'll give it a try
[19:31:20] *** phuh has quit IRC
[19:31:25] <NaN> Foxandxss: you are right, it isn't to hard but read in your native language always feels right
[19:31:26] *** Longorl has joined #angularjs
[19:31:30] *** DoubleAW has joined #angularjs
[19:31:32] <pgomes_> I'm at the airport and will have to catch a flight right now
[19:31:32] *** Guest82807 has quit IRC
[19:31:35] <pgomes_> for a vacation
[19:31:44] <pgomes_> but as soon as get this to work
[19:31:49] <pgomes_> I'll give it a try
[19:31:51] *** phuh has joined #angularjs
[19:31:55] <jaawerth> pgomes_: I would make that addErr isolate scope object take your desired error conditions and their appropriate text as objects
[19:32:03] <Foxandxss> NaN: I disagree, I can't read in spanish anymore, in fact, I CANT talk programming in spanish, I teached angular to some friends and I can say scopes isolados, no aislados
[19:32:04] *** LakWork has joined #angularjs
[19:32:22] *** Guest59 has joined #angularjs
[19:32:29] <NaN> hahaha
[19:32:34] <Foxandxss> all the concepts are created in english and some times I don't know the translation
[19:32:35] <pgomes_> and let you know
[19:32:42] <Foxandxss> I always feel weird when I Say.. "Yo concateno my JS"
[19:32:44] <pgomes_> but again, thanks a lot for your support
[19:32:47] *** Owner__ has joined #angularjs
[19:32:58] <Foxandxss> mi JS*
[19:32:58] <pgomes_> it's a totally different approach
[19:33:03] <pgomes_> and probably a correct one
[19:33:07] *** baweaver has joined #angularjs
[19:33:11] *** Owner__ is now known as Guest67759
[19:33:14] <NaN> ok ok, well maybe it's just because I would like to read some angularjs in spanish
[19:33:15] *** baweaver has quit IRC
[19:33:34] *** the-anconia has quit IRC
[19:33:42] *** baweaver has joined #angularjs
[19:33:47] *** ben_dev has quit IRC
[19:33:53] <_rmt> ioudas: when you run SlsmService.submitsearch(SlsmNum) what returns?
[19:34:01] *** baweaver has quit IRC
[19:34:15] *** kadosh has joined #angularjs
[19:34:19] <kadosh> hello
[19:34:19] *** baweaver has joined #angularjs
[19:34:20] <ioudas> data returns, however other code executes and a state.go is executed....
[19:34:22] *** gnrlbzik has joined #angularjs
[19:34:29] <ioudas> data returns after $state.go
[19:34:35] *** Joe_knock has joined #angularjs
[19:34:46] *** Nivag has joined #angularjs
[19:34:49] *** autolycus has quit IRC
[19:34:50] *** autolycus_ has joined #angularjs
[19:34:50] *** patrickarlt has joined #angularjs
[19:35:21] <NaN> Foxandxss: the thing is that it's easier for me to talk in spanish and formulate my questions in spanish even if it the key concepts are in english
[19:35:33] <kadosh> does anybody has setup html5 mode with nginx?
[19:35:33] <ioudas> both sets of promises run independantly
[19:35:39] <kadosh> I have a rule for apache
[19:35:44] <kadosh> but it isnt working on nginx
[19:35:45] *** dannyc has quit IRC
[19:35:49] <yakari> gni
[19:35:55] <kadosh> even when I tryed to translate it
[19:36:12] *** Baluse has joined #angularjs
[19:36:14] *** thirdknife has joined #angularjs
[19:36:15] <Baluse> http://www.liveleak.com/view?i=4c5_1382115025
[19:36:33] *** tubiz has joined #angularjs
[19:36:46] <Foxandxss> NaN: I thought about translating my book, but I am not sure if it worth it
[19:36:46] *** ColKurtz has joined #angularjs
[19:37:17] <_rmt> ioudas: Does LoginService.login(user) trigger the first promise?
[19:37:24] *** ChanServ sets mode: +o Foxandxss
[19:37:27] *** tomzx is now known as tomzx`afk
[19:37:31] <ioudas> yea
[19:37:56] <tkdaj> Foxandxss: here is that updated plunkr. http://plnkr.co/edit/CHO6HbT4emM3VEwcNnzq?p=preview
[19:38:21] <kadosh> NaN: I speak spanish too in case you need help
[19:38:42] *** dug_ has quit IRC
[19:38:48] <Foxandxss> tkdaj: I think I dreamt about that plunker last night :P
[19:38:59] <NaN> kadosh: it's nice to know, thanks man, do you have twitter or blog?
[19:39:12] <NaN> Foxandxss: I'll buy it :)
[19:39:56] *** GreenJello has quit IRC
[19:39:57] <_rmt> ioudas: could you create a variable for that promise something like var loginPromise = LoginService.login(user); loginPromise.then( function(){});...
[19:40:00] <Foxandxss> tkdaj: guide me through it please
[19:40:05] *** rtpg has joined #angularjs
[19:40:06] *** the-anconia has joined #angularjs
[19:40:07] <Longorl> hi, does any of you have any experience with multiselect cascading ?
[19:40:15] *** GreenJello has joined #angularjs
[19:40:20] *** GreenJello has quit IRC
[19:40:33] <_rmt> ioudas: and try the same for the other promise?
[19:40:37] *** baweaver has quit IRC
[19:40:38] *** btyne has quit IRC
[19:40:39] <_rmt> not sure if that would help or not
[19:40:42] *** btyne1 has joined #angularjs
[19:40:43] <ioudas> im not sure how that changes anything...
[19:40:44] *** jareddlc has joined #angularjs
[19:40:52] *** KernelCurry has quit IRC
[19:40:57] *** Cydmax has joined #angularjs
[19:41:03] *** tech2 has joined #angularjs
[19:41:15] *** bpmj has joined #angularjs
[19:41:16] *** d4rklit3 has joined #angularjs
[19:41:29] *** KernelCurry has joined #angularjs
[19:41:34] *** d4rklit3 has quit IRC
[19:42:03] <tkdaj> basically, the directive looks at any table it is on and counts the number of rows (not counting nested tables/rows) so that it knows how to seperate the table once I get to the pagination part. That's what all the jQuery selectors are doing. Then, once it has that it divides the number of rows by how many results per row the user sends in through the cnd-default-page-length attribute, which gives how many pages there should be. It uses the and makes an
[19:42:29] <chovy2> what's a good way to condiionalize this
[19:42:31] <chovy2> {{video.description | truncate:100}}
[19:42:34] <tkdaj> Then, it uses that array with an ng-repeat in my templateUrl (paginatedTable.html in this case)
[19:42:37] <dllama> how do i tell grunt to only build css and nothing else?
[19:42:41] <tkdaj> and creates the page numbers at the bottom
[19:42:45] <chovy2> i only want to truncate if $scope.single is true
[19:42:47] <kadosh> NaN:@LuisValerio11
[19:43:02] <kadosh> normally I dont write about tech stuff ther
[19:43:08] <tkdaj> if you look at the plunkr, the bottom table which is manually filled has 3 pages and works correctly, but the top table which is filled by an ng-repeat does not work properlty
[19:43:11] <tkdaj> that is my problem
[19:43:11] <Foxandxss> NaN: don't be afraid to learn TODAY and in English, you will appreciate it in one year
[19:43:13] *** autolycus_ has quit IRC
[19:43:14] <kadosh> but you can contact me through it
[19:44:22] *** MistahKurtz has quit IRC
[19:44:23] *** jgravois_ has joined #angularjs
[19:44:33] *** jpstone has quit IRC
[19:44:37] *** patrickarlt has quit IRC
[19:44:39] <tkdaj> Foxandxss: did you get all that?
[19:44:42] *** rtpg has quit IRC
[19:44:45] <Foxandxss> kinda
[19:45:09] *** jstroem has joined #angularjs
[19:45:13] *** jgravois_ is now known as jaydubya
[19:45:38] *** prosper_ has joined #angularjs
[19:45:51] <jaydubya> would it be considered a "Bad Practice" to name services and controllers the same in different MODULES?
[19:46:15] *** jbeaudry has joined #angularjs
[19:47:12] <Foxandxss> two services with the same name (even in different modules) will explode
[19:47:23] *** Shadeness has quit IRC
[19:47:34] <_rmt> ioudas: Sorry, it's tough for me to troubleshoot :/
[19:47:35] *** diosney has quit IRC
[19:47:39] <Foxandxss> tkdaj: ng-repeat is not the problem tho
[19:47:50] <NaN> kadosh: it's ok, only for reference... do you came often?
[19:48:18] <tkdaj> oh
[19:48:23] <tkdaj> do you know what is causing the problem?
[19:48:42] <ioudas> no worries
[19:49:33] <yakari> Can you stop this shit please ?
[19:49:50] <Foxandxss> tkdaj: yes, a very bad practice
[19:49:59] <Foxandxss> in angular you shouldn't do any DOM selection like that
[19:50:00] *** MaxV_ has joined #angularjs
[19:50:01] <Foxandxss> they are fragile
[19:50:11] *** cthrax has quit IRC
[19:50:15] <Foxandxss> yakari: what shit?
[19:50:33] <tkdaj> this is my first directive so I am learning everything... What should I do instead
[19:50:42] *** iksik has quit IRC
[19:50:43] *** patrickarlt has joined #angularjs
[19:50:49] <tkdaj> are the angular selectors you would use instead?
[19:50:55] *** MaxV_ has quit IRC
[19:51:03] <Foxandxss> normally for this kind of directives, you use multiple directives related to each others
[19:51:10] *** blomman has joined #angularjs
[19:51:31] <Foxandxss> like when you have a carousel and you have a parent carousel directive and children directives for each slide
[19:51:48] <Foxandxss> so the parent carousel directive can see how many children directives are
[19:51:51] *** joker666 has quit IRC
[19:51:58] <Foxandxss> no need of doing fragile dom selections
[19:52:09] <Foxandxss> in your case, you get the element and search for a children called div
[19:52:10] <tkdaj> I'm sorry, but I don't understand what you mean
[19:52:19] <tkdaj> yes
[19:52:19] <Foxandxss> there is none
[19:52:23] <tkdaj> there is
[19:52:24] <Foxandxss> so rowCount return 0
[19:52:24] *** brownbathrobe has quit IRC
[19:52:31] <tkdaj> because of the template
[19:52:39] <tkdaj> it inserts a div automatically
[19:52:46] <tkdaj> that's the only reason i put that there
[19:52:48] *** iksik has joined #angularjs
[19:53:19] <tkdaj> because I used ng-transclude on the div, do you see what I mean?
[19:53:31] <tkdaj> I would have used replace: true, but that is supposed to be deprecated for some reason..
[19:53:33] <Foxandxss> yes
[19:53:35] <Foxandxss> let me re-chedk
[19:53:45] <Foxandxss> I deleted the other directive usage
[19:53:54] *** teeray has joined #angularjs
[19:54:02] <Foxandxss> oh, plunker is broken
[19:54:15] <tkdaj> ?
[19:54:28] <Foxandxss> can't run the plunker any more
[19:54:40] <tkdaj> http://plnkr.co/edit/CHO6HbT4emM3VEwcNnzq?p=preview
[19:54:45] <tkdaj> that's the one I made
[19:54:49] *** Yankie has quit IRC
[19:55:00] *** ikevin_ has joined #angularjs
[19:55:03] <Foxandxss> yes
[19:55:04] *** kodierkroete has joined #angularjs
[19:55:07] <Foxandxss> but plunker runner is down
[19:55:39] *** monir has joined #angularjs
[19:55:47] <tkdaj> oh, I see... It isn't working for me either once I tried to re-run it
[19:55:48] <LakWork> Looking for a way i can cleanly reduce the number of calls to getProgram 1 once per digest change: http://pastebin.com/gDzhdSsa
[19:56:04] *** joker666 has joined #angularjs
[19:56:07] *** klaut_ has quit IRC
[19:56:17] <ioudas> how do i wait for a promise with in a promise to fully resolve? I cant seem to figure it out.... any help would be appreciated.
[19:57:27] *** Duncanov has joined #angularjs
[19:58:12] *** Skrypter has joined #angularjs
[19:58:19] *** edy has quit IRC
[19:58:40] *** atomatt has quit IRC
[19:58:46] *** btyne1 has quit IRC
[19:58:46] *** ngbot has joined #angularjs
[19:58:46] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/fm7HFQ
[19:58:46] <ngbot> angular.js/master 6550198 Adir: docs(guide,tutorial): fix outdated Protractor API link...
[19:58:46] *** ngbot has left #angularjs
[19:58:51] *** btyne has joined #angularjs
[19:58:52] <tkdaj> How often does plnkr go down like that? I have never seen that happen/
[19:59:00] *** edy has joined #angularjs
[19:59:07] <Foxandxss> like a lot
[19:59:08] *** btyne has quit IRC
[19:59:13] *** btyne1 has joined #angularjs
[19:59:14] *** kodierkroete has quit IRC
[19:59:15] *** ngbot has joined #angularjs
[19:59:15] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/JAls9w
[19:59:15] <ngbot> angular.js/v1.2.x 85e8d5e Adir: docs(guide,tutorial): fix outdated Protractor API link...
[19:59:15] *** ngbot has left #angularjs
[19:59:16] <tkdaj> does the same thing happen with jsfiddle?
[19:59:18] <Foxandxss> and Geoff is in another country busy
[19:59:24] <Foxandxss> no
[19:59:30] <tkdaj> who is Geoff?
[19:59:32] <Baluse> http://i.imgur.com/OuHgLia.jpg
[19:59:35] *** BahamutWC|Work_ has joined #angularjs
[19:59:41] <jaawerth> plnkrking
[19:59:41] <Foxandxss> but I Wouldn't open a fiddle even if it gives free money
[19:59:47] <Foxandxss> tkdaj: plunker creator
[19:59:48] *** Guest59 has quit IRC
[19:59:48] <jaawerth> hahaha
[19:59:50] <tkdaj> lol
[19:59:58] <tkdaj> Why don't you like jsfiddle?
[19:59:59] <Baluse> http://www.liveleak.com/view?i=4c5_1382115025
[20:00:05] *** Guest59 has joined #angularjs
[20:00:08] <jaawerth> Foxandxss: what's second best in your opinion?
[20:00:08] *** exodys has joined #angularjs
[20:00:13] <Foxandxss> Baluse: ?
[20:00:20] <Baluse> yep ?
[20:00:21] *** autolycus has joined #angularjs
[20:00:26] <Foxandxss> don't put crap
[20:00:32] <Baluse> k
[20:00:50] *** nya has joined #angularjs
[20:00:53] <Foxandxss> jaawerth: damn, hard question
[20:01:02] <Foxandxss> probably jsbin
[20:01:06] <Foxandxss> which I used in my blog
[20:01:21] <Foxandxss> but I have a looot of plunker templates, can't think in a different one
[20:01:31] <jaawerth> yeah, jsbin is already
[20:01:58] <jaawerth> I really prefer plunker too, though
[20:02:12] <jaawerth> plus I don't think jsbin supports SASS
[20:02:12] <Foxandxss> I normally bug Geoff when it goes down
[20:02:14] *** DenysSene has quit IRC
[20:02:16] <Foxandxss> but he is busy traveling
[20:02:18] *** BahamutWC|Work has quit IRC
[20:02:18] *** BahamutWC|Work_ is now known as BahamutWC|Work
[20:02:22] <Foxandxss> is the thirteen doctor who or something
[20:02:35] <oniijin> jaawerth https://www.dropbox.com/s/ngls9hfuwmt67qm/Screenshot%202014-11-06%2013.02.31.png?dl=0
[20:02:41] *** scriptThis has joined #angularjs
[20:02:41] *** devinandrews has quit IRC
[20:02:42] <LakWork> ioudas I have something like this:http://pastebin.com/qcNbfuxG
[20:02:42] <Foxandxss> jaawerth: next plunker is awesome sauce
[20:03:01] *** devinandrews has joined #angularjs
[20:03:01] *** Duncanov has quit IRC
[20:03:12] *** vinilios has quit IRC
[20:03:26] <Foxandxss> using material design and you can have infinite panels
[20:03:38] *** milka has quit IRC
[20:03:40] <Foxandxss> preview + js + css + html + js again + js again? :)
[20:03:40] *** vinilios has joined #angularjs
[20:03:55] <tkdaj> can you not have multiple html files in jsbin?
[20:04:09] *** LossFor has joined #angularjs
[20:04:10] <Foxandxss> don't think so
[20:04:12] <oniijin> nop
[20:04:20] <Foxandxss> that is the beauty of plunker
[20:04:26] <tkdaj> yeah..
[20:04:28] <tkdaj> hmm
[20:04:29] <jaawerth> Foxandxss: yeah I remember seeing screenshots
[20:04:38] <jaawerth> is the code up on github somewhere?
[20:04:42] <jaawerth> I'd love to play around with it
[20:04:42] <Foxandxss> sometimes it is live, when it goes live again, I show you
[20:04:48] <Foxandxss> probably, no idae tho
[20:04:56] <LossFor> html5 mode question: I’m using the same codebase for a web app and a phonegap app, but the phonegap app has to have html5 mode disabled (I think) to work. But, if I use # in the hrefs for the html5-enabled web app version, it doesn’t link properly
[20:05:00] *** dcherman has joined #angularjs
[20:05:03] <tkdaj> hey the plnkr is working again. :)
[20:05:03] *** jonnybro has joined #angularjs
[20:05:06] <tkdaj> http://plnkr.co/edit/CHO6HbT4emM3VEwcNnzq?p=preview
[20:05:08] *** mandric has joined #angularjs
[20:05:13] *** AngularUI has joined #angularjs
[20:05:13] <AngularUI> [ng-grid] c0bra pushed 1 new commit to rewrite-cellnav: http://git.io/-E96Xg
[20:05:13] <AngularUI> ng-grid/rewrite-cellnav 3ab2784 c0bra: WIP: cellnav speed improvement
[20:05:13] *** AngularUI has left #angularjs
[20:05:13] <LossFor> Should hrefs have the # in them in both, or not have it in either?
[20:05:19] <jaawerth> looks like it is!
[20:05:41] <jaawerth> https://github.com/filearts/plunker
[20:05:47] *** nemothekid has joined #angularjs
[20:05:53] <Foxandxss> will check later tkdaj , put some dota :P
[20:06:19] *** eamonn has joined #angularjs
[20:06:32] <tkdaj> dota?
[20:06:32] *** dcherman2 has quit IRC
[20:06:42] *** frankblizzar has quit IRC
[20:06:43] <tkdaj> defense of the ancients? :P
[20:06:46] <Foxandxss> ya
[20:06:53] <tkdaj> oh, haha
[20:06:54] *** cacts|wtf has quit IRC
[20:07:05] *** mandric has quit IRC
[20:07:05] <tkdaj> You play league too, or no?
[20:07:10] *** cswelin has quit IRC
[20:07:17] *** netdiablo has joined #angularjs
[20:07:19] <Foxandxss> yeah
[20:08:08] *** BahamutWC|Work has quit IRC
[20:08:23] *** BahamutWC|Work has joined #angularjs
[20:08:45] *** eamonn has quit IRC
[20:08:57] *** Longorl has left #angularjs
[20:09:14] *** blomman has quit IRC
[20:09:30] *** prosper_ has quit IRC
[20:11:33] *** FarLight has joined #angularjs
[20:11:41] *** tomzx`afk is now known as tomzx
[20:12:04] *** cswelin has joined #angularjs
[20:12:06] <FarLight> Has anyone else had issues with $cookies not saving in ie?
[20:12:08] *** grogs_ has quit IRC
[20:12:31] *** mclenithan has joined #angularjs
[20:12:40] <_rmt> ioudas: You still here?
[20:12:56] *** GreenJello has joined #angularjs
[20:13:03] <_rmt> ioudas: You may want to look into $q --> https://docs.angularjs.org/api/ng/service/$q
[20:13:04] *** GreenJello has quit IRC
[20:13:16] *** esk4nd4r has joined #angularjs
[20:13:25] *** GreenJello has joined #angularjs
[20:13:27] *** phaggood has joined #angularjs
[20:13:43] <_rmt> anyone with experience using restangular?
[20:13:53] *** disorder20 has joined #angularjs
[20:13:56] *** esk4nd4r has quit IRC
[20:14:12] *** eamonn has joined #angularjs
[20:14:24] <nickeddy> _rmt: yep
[20:14:50] *** OliverJAsh has quit IRC
[20:15:11] <_rmt> nickeddy: would you recommend it for put requests?
[20:15:35] <nickeddy> i'd recommend it for any request...
[20:15:43] *** jdj_dk has joined #angularjs
[20:15:50] <_rmt> in general, I am having an issue where I can get a succesful 200 status with a custom update method for $resource, but I don't see the change in my mongoDB database
[20:15:57] *** hiptobecubic_ has joined #angularjs
[20:16:19] <nickeddy> that sounds like an issue with your server, not restangular
[20:16:22] <_rmt> I'll give it a try then
[20:16:23] <_rmt> thanks
[20:16:26] *** whitebook has quit IRC
[20:16:30] *** thirdknife has quit IRC
[20:16:35] *** e0ipso is now known as e0ipso|away
[20:16:35] <_rmt> possibly
[20:16:44] <_rmt> haven't used restangular yet
[20:16:58] *** whitebook has joined #angularjs
[20:17:16] <_rmt> just was going to try it out since $resource isn't doing the trick or maybe I should just be posting a new object to an array and use save()? not sure... <--- n00b
[20:17:24] *** ngbot has joined #angularjs
[20:17:24] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/1M_7pA
[20:17:24] <ngbot> angular.js/master 7a4df50 rsperberg: docs(guide/concepts): spell "Angular" with cap "A", fix typos...
[20:17:24] *** ngbot has left #angularjs
[20:17:43] *** e0ipso|away is now known as e0ipso
[20:17:44] *** ngbot has joined #angularjs
[20:17:44] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/RpFC8A
[20:17:44] <ngbot> angular.js/v1.2.x 9128eac rsperberg: docs(guide/concepts): spell "Angular" with cap "A", fix typos...
[20:17:44] *** ngbot has left #angularjs
[20:17:48] *** arkin has joined #angularjs
[20:17:49] *** arkin has joined #angularjs
[20:17:51] *** jdj_dk has quit IRC
[20:17:57] *** jackdpeterson has joined #angularjs
[20:18:06] *** snurfery has quit IRC
[20:18:49] <bradmaxs> I am trying to get a data attribute from an href tag in my controller. Any ideas? http://plnkr.co/edit/jPNQ9PuH6n9zSgdP3H9Q?p=preview
[20:19:13] *** charuru has joined #angularjs
[20:19:23] *** one0one has joined #angularjs
[20:19:25] *** dgncn has joined #angularjs
[20:19:42] *** prosper_ has joined #angularjs
[20:20:15] *** jdummy has joined #angularjs
[20:20:25] <jdummy> Anyone used jaydata in their angular app?
[20:20:37] <jdummy> That might be able to provide some feedback on it?
[20:20:38] *** lemur has quit IRC
[20:21:06] *** dc_ has quit IRC
[20:21:12] *** lemur has joined #angularjs
[20:21:31] *** eamonn has quit IRC
[20:21:50] *** elux has quit IRC
[20:22:25] *** baweaver has joined #angularjs
[20:22:36] *** Linell has quit IRC
[20:23:51] *** moritzs has joined #angularjs
[20:24:07] *** jtimon has quit IRC
[20:24:29] *** devinandrews has quit IRC
[20:24:47] *** devinandrews has joined #angularjs
[20:25:25] *** michaelfavia has quit IRC
[20:25:59] *** lemur has quit IRC
[20:26:47] *** derickf has joined #angularjs
[20:27:15] *** cohitre has quit IRC
[20:28:12] *** LossFor has quit IRC
[20:28:20] *** yelvert has joined #angularjs
[20:28:20] *** hell_razer has joined #angularjs
[20:28:29] *** JohnBat26 has quit IRC
[20:29:08] *** testnic has joined #angularjs
[20:29:09] *** moritzs has quit IRC
[20:29:46] <testnic> test
[20:29:47] *** monir has quit IRC
[20:29:57] <derickf> if I have a resource that fetches a list of books and another that fetches a list of of who has it checked out, can I add a method to the book json so I can say something like book.isCheckedOutByStudent() ?
[20:30:04] *** testnic has quit IRC
[20:30:18] <derickf> $watch looks promising so far, but I’m not sure if it fits this case
[20:31:07] *** levity_island has quit IRC
[20:31:19] *** phuh has quit IRC
[20:31:39] *** whitebook has quit IRC
[20:31:46] *** phuh has joined #angularjs
[20:31:53] *** _ritchie_ has quit IRC
[20:32:07] <nickeddy> yeah that's not what $watch is for
[20:32:13] <jaawerth> derickf: Hm, well, you'd probably want to write a book service that stores the data and updates it from the server
[20:32:26] *** drej has joined #angularjs
[20:32:37] *** patrickarlt has quit IRC
[20:32:59] <jaawerth> the service would be a collection of books, and you could definite a "book" object that has a checkedOut property
[20:33:06] *** phaggood has quit IRC
[20:33:17] *** atomi has joined #angularjs
[20:33:19] <derickf> what if I have book.isOwnedByCurrentUser should I still do that on the server too>
[20:33:22] *** phzon has joined #angularjs
[20:33:26] *** _ritchie_ has joined #angularjs
[20:33:26] <derickf> that is what led me down this path
[20:33:31] *** krawek has joined #angularjs
[20:33:31] *** krawek has joined #angularjs
[20:34:02] *** sittman has quit IRC
[20:34:11] <jaawerth> well, the server would prep the data for the client so yeah
[20:34:44] *** wallerdev has quit IRC
[20:34:58] <derickf> ok, thanks for the informatio
[20:34:59] *** _ritchie_ has quit IRC
[20:35:07] *** ccohn has quit IRC
[20:35:14] <derickf> so I should only use $watch to monitor for changes?
[20:35:20] *** _ritchie_ has joined #angularjs
[20:35:22] *** hell_razer has quit IRC
[20:35:42] *** ccohn has joined #angularjs
[20:35:58] *** phaggood has joined #angularjs
[20:36:15] *** cthrax has joined #angularjs
[20:36:18] <nickeddy> derickf: yes
[20:36:20] *** TripTastic is now known as JBreit
[20:36:32] <derickf> this logic is just for showing the css style, is putting a function to do that in the controller considered a bad practice?
[20:36:32] *** dc has joined #angularjs
[20:36:59] <derickf> for example: ng-class=“determineStyle(Ibook)”
[20:37:16] <derickf> s/Ibook/book/
[20:37:25] *** moritzs has joined #angularjs
[20:37:29] <jaawerth> depends how many possible classes you need
[20:37:32] *** netdiablo has quit IRC
[20:37:35] *** wallerdev has joined #angularjs
[20:37:35] <hendricius> has anyone ever used ng-grid before? Currently trying to implement a table that updates remote models: http://stackoverflow.com/questions/26787969/ng-grid-editing-then-updating-remote-how
[20:37:39] <derickf> just three
[20:37:44] <hendricius> maybe anyone can help on that Stackoverflow :)
[20:37:51] *** zanea|away is now known as zanea
[20:37:55] *** optikalmouse has joined #angularjs
[20:38:01] *** phzon has quit IRC
[20:38:03] <jaawerth> you could also do something like ng-class="{checked-out: book.isCheckedOut, available: book.isAvail}", etc
[20:38:08] *** snurfery has joined #angularjs
[20:38:25] <snurfery> sup yall
[20:38:31] *** _rmt has quit IRC
[20:38:32] <derickf> jaawerth: yeah, that is what I was getting at, but I didn’t think of putting that on the server
[20:38:47] *** Sontakey has joined #angularjs
[20:39:10] <jaawerth> how else would you know whether a book is checked out if not from the server?
[20:39:40] *** jheady has joined #angularjs
[20:39:56] *** ProLoser has joined #angularjs
[20:39:59] *** patrickarlt has joined #angularjs
[20:40:08] *** patrickarlt has quit IRC
[20:40:11] *** ccohn has quit IRC
[20:40:13] <derickf> I have a separate object in the form of books[id] = status
[20:40:14] <ioudas> how do i wait for a promise with in a promise to fully resolve? I cant seem to figure it out.... any help would be appreciated.
[20:40:32] <derickf> so I was trying to add a method to book to look it up in that object
[20:40:46] <tkdaj> Foxandxss: you there?
[20:41:01] <kadosh> anyone has worked with nginx and html5mode?
[20:41:12] *** jheady has left #angularjs
[20:41:23] *** cthrax has quit IRC
[20:41:25] *** michaelfavia has joined #angularjs
[20:42:01] *** cohitre has joined #angularjs
[20:42:11] *** Skrypter has quit IRC
[20:42:24] *** moritzschaefer has joined #angularjs
[20:42:42] *** nuizzy has joined #angularjs
[20:42:44] <Foxandxss> tkdaj: not yet
[20:42:48] *** optikalmouse has quit IRC
[20:42:50] *** pgomes_ has quit IRC
[20:43:15] <tkdaj> Foxandxss: It seems that the error I am having it because my directive tries to count the rows before the ng-repeat fills the table in (I think)... So, it is returning with a zero row count
[20:43:24] <tkdaj> Do you know how to fix that?
[20:43:43] *** jonnybro has quit IRC
[20:43:59] <Foxandxss> your directive is messy
[20:44:09] <tkdaj> sorry =(
[20:44:19] *** mbildner has quit IRC
[20:44:33] *** ProLoser has quit IRC
[20:44:55] *** yelvert has quit IRC
[20:45:02] *** threesixes has joined #angularjs
[20:45:16] <jaawerth> kadosh: sure
[20:45:20] <tkdaj> would using a postlink/prelink function make it run after the ng-repeat has filled in the table?
[20:45:21] *** mjs2600 has quit IRC
[20:45:33] *** yelvert has joined #angularjs
[20:45:35] <jaawerth> kadosh: do you just need some pointers for the right config?
[20:45:40] <tkdaj> because doesn't the ng-repeat fill in the table during its compile step/
[20:45:50] *** mbildner has joined #angularjs
[20:46:14] *** phaggood has quit IRC
[20:46:31] <Foxandxss> ill check in a bit
[20:46:45] <tkdaj> all right
[20:47:16] *** zz_night-owl is now known as night-owl
[20:47:17] *** kirfu has joined #angularjs
[20:48:06] *** bayousoft has joined #angularjs
[20:48:57] *** tilgovi has joined #angularjs
[20:49:52] *** yelvert has quit IRC
[20:50:22] <TheAceOfHearts1> https://sql.treasuredata.com/ so, we did a Hive linter~
[20:51:27] *** Typher has joined #angularjs
[20:51:49] <joker666> i am not liking react
[20:51:50] *** UncleHo has joined #angularjs
[20:51:57] *** Sebastien-L has quit IRC
[20:51:59] <joker666> so many things to do to do simple stuff
[20:52:03] *** robdubya has quit IRC
[20:52:04] <icfantv> tkdaj: Foxandxss requires that all code be neat and tidy before he helps
[20:52:05] <joker666> aaaaaarghhh
[20:52:14] <joker666> y u no let me use nagular? stupid job
[20:52:17] *** ccohn has joined #angularjs
[20:52:18] <oniijin> joker666 sounds like my issue with backbone
[20:52:21] *** Oddman has quit IRC
[20:52:40] *** Cydmax has quit IRC
[20:52:41] *** UncleHo is now known as Cydmax
[20:52:47] *** bencc has joined #angularjs
[20:52:51] *** bencc has left #angularjs
[20:53:04] *** robdubya has joined #angularjs
[20:53:12] *** dreambox has quit IRC
[20:53:14] *** mandric has joined #angularjs
[20:53:31] *** cacts|wtf has joined #angularjs
[20:54:33] *** Joe_knock has left #angularjs
[20:55:19] *** sp00x has quit IRC
[20:55:21] *** bleda has quit IRC
[20:55:31] <tkdaj> icfantv: I didn't know it was that messy, honestly
[20:56:04] *** e0ipso is now known as e0ipso|away
[20:56:04] *** wallerdev has quit IRC
[20:56:18] *** Typher has quit IRC
[20:56:26] *** joker666 has quit IRC
[20:56:32] <tkdaj> but, I am also brand new at directives and professional programming in genereal
[20:56:32] *** ccohn has quit IRC
[20:56:36] <tkdaj> general*
[20:56:53] *** sirkitree is now known as sirkitree|afk
[20:56:56] *** mandric has quit IRC
[20:57:05] *** elux has joined #angularjs
[20:57:08] *** nemothekid has quit IRC
[20:57:32] *** sirkitree|afk is now known as sirkitree|afk|af
[20:57:43] *** tplaner has quit IRC
[20:58:01] *** optikalmouse has joined #angularjs
[20:58:06] *** mjs2600 has joined #angularjs
[20:58:27] <Foxandxss> icfantv: ???
[20:58:57] *** pants_ has quit IRC
[20:58:59] *** mtsr has joined #angularjs
[20:59:26] <Foxandxss> icfantv: help is free here, I help when I want, not when you want
[20:59:32] <icfantv> tkdaj: i was trying to be funny
[20:59:40] <icfantv> Foxandxss: ^^
[20:59:45] <tkdaj> Yeah :P sorry
[20:59:45] *** joker666 has joined #angularjs
[20:59:49] *** kirfu has quit IRC
[20:59:51] <Foxandxss> we have different concepts then, my bad
[20:59:57] *** emmesswhy has quit IRC
[21:00:04] *** oktapodi has joined #angularjs
[21:00:21] <Foxandxss> just m y game is 55 minutes long
[21:00:24] <Foxandxss> but not anymore
[21:00:34] *** Linell has joined #angularjs
[21:00:37] <icfantv> quizás en español
[21:00:48] <tkdaj> anyone know how to ensure ng-repeat fills in a table before you directive examines the DOM there?
[21:00:51] *** scriptThis has quit IRC
[21:01:16] <Foxandxss> I am back now
[21:01:30] <icfantv> tkdaj: directives are parsed/processed at page load time
[21:01:44] *** grantfunke_ has quit IRC
[21:01:49] <icfantv> tkdaj: because they are for modifying the dom
[21:02:11] <tkdaj> yeah, but I want my ng-repeat to fill in a table before my custom directive examines that table.
[21:02:21] *** Guest59 has quit IRC
[21:02:24] <tkdaj> the ng-repeat is actually on a tr inside the table where my custom direct is
[21:02:31] <tkdaj> http://plnkr.co/edit/CHO6HbT4emM3VEwcNnzq?p=preview
[21:02:40] *** matisoffn has quit IRC
[21:02:46] <tkdaj> the top table right inside the body is the one I am talking about
[21:03:08] <Foxandxss> tkdaj: I think you're having a race condition
[21:03:14] <tkdaj> ?
[21:03:18] <tkdaj> what does that mean
[21:03:31] <Foxandxss> trying to see what is in there before it happen
[21:03:34] <Foxandxss> and then, it happen
[21:03:37] <tkdaj> oh yeah
[21:03:41] <Foxandxss> you just log out a second before
[21:03:42] <tkdaj> That's what I think the problem is
[21:03:46] *** avens has joined #angularjs
[21:03:55] *** patrickarlt has joined #angularjs
[21:04:13] *** cohitre has quit IRC
[21:04:21] *** michaelfavia has quit IRC
[21:04:21] *** _rmt has joined #angularjs
[21:04:24] *** L42y has quit IRC
[21:04:29] *** FarLight has quit IRC
[21:04:49] *** oktapodi has quit IRC
[21:04:53] <Foxandxss> yup
[21:04:55] <Foxandxss> it is
[21:04:58] <tkdaj> So, from what I read, compile and prelink functions run from top down, but postlink runs from bottom up... If I made my function a postlink function would that fix it?
[21:05:03] *** cohitre has joined #angularjs
[21:05:15] <Foxandxss> it is a postLink already
[21:05:19] <tkdaj> oh...
[21:05:48] <tkdaj> how do I fix it then?
[21:05:56] *** mjs2600 has quit IRC
[21:06:30] *** salbertson has quit IRC
[21:07:00] *** michaelfavia has joined #angularjs
[21:07:20] <Foxandxss> http://plnkr.co/edit/Ivdhdia12L7vLGEQUT0l?p=preview
[21:07:24] <Foxandxss> this shows the issue
[21:07:34] *** Oddman has joined #angularjs
[21:07:53] *** hiptobecubic_ has quit IRC
[21:07:54] *** anivemin has joined #angularjs
[21:08:03] *** patrickarlt has quit IRC
[21:09:09] <tristanp> angular has a cow if i include $apply() in a certain spot ("$digest is already running blah blah")...yet without that $apply it won't work. so should i ignore the error it throws up?
[21:09:24] <Foxandxss> tristanp: you should not
[21:09:32] <tkdaj> sweet! What did you do to fix it?
[21:09:42] <tristanp> but from the user's perspective it is working
[21:09:46] <Foxandxss> put a $timeout on it
[21:09:53] <tristanp> only someone watching the console would know something was wrong
[21:09:54] <Foxandxss> so angular will let the browser finish the rendering
[21:10:08] <tkdaj> oh... so you put a timeout of 0 and it automatically makes it go last?
[21:10:11] <tristanp> timeout instead of apply?
[21:10:17] <c0bra> you don't need the final argument to $timeout
[21:10:22] *** jonnybro has joined #angularjs
[21:10:26] <Foxandxss> tristanp: that is like having a girlfriend who puts a smile on the street but is not happy at home
[21:10:31] <Foxandxss> c0bra: that is true :)
[21:10:38] *** michaelfavia has quit IRC
[21:10:43] <Foxandxss> tristanp: timeout wasn't for you
[21:10:48] <c0bra> gotta save those bytes!
[21:10:57] <Foxandxss> tkdaj: that timeout will just let the browser finish the html stuff
[21:10:59] <tristanp> well it's angular's bloody fault that i even need the $apply in the first place
[21:11:08] <tkdaj> sweet, thank you! =)
[21:11:12] <Foxandxss> tristanp: you're wrong
[21:11:16] *** pants_ has joined #angularjs
[21:11:32] <Foxandxss> having to use $apply is NOT a problem
[21:11:35] <Foxandxss> it never was
[21:11:40] <Foxandxss> but only when it is needed
[21:11:45] <Foxandxss> not when you think you could use it
[21:11:52] *** gazbond has joined #angularjs
[21:11:56] <Foxandxss> like when I am trying to fix some CSS
[21:11:58] *** avens has quit IRC
[21:11:59] <tristanp> well without the apply, the value doesn't update in the dom correctly. with the apply it does, but angular complains that the $digest was in progress already
[21:12:03] <Foxandxss> and I start putting some display: block, and stuff like that
[21:12:05] *** LakWork has quit IRC
[21:12:06] <Foxandxss> to see if it magically wortks
[21:12:11] *** farn5w0rth has joined #angularjs
[21:12:13] <Foxandxss> tristanp: show code
[21:12:19] *** jdummy has quit IRC
[21:12:43] <tristanp> https://gist.github.com/tristanpendergrass/1a08a3a1d60fc5208c4f
[21:12:52] *** kuadrosx has joined #angularjs
[21:13:08] <Foxandxss> bit more :P
[21:13:19] <Foxandxss> need to see who triggers that setTime
[21:13:25] *** patrickarlt has joined #angularjs
[21:13:43] *** medicineuk has joined #angularjs
[21:13:48] <medicineuk> Boom
[21:13:52] *** salbertson has joined #angularjs
[21:14:07] <tristanp> the controller is an ugly mess, and the functionality for all of this is split between a controller and several directives' link functions, but i will do my best to make another gist with more
[21:14:21] <Foxandxss> just to know who triggers that function
[21:14:25] *** CHC has quit IRC
[21:14:25] <tristanp> (it is not a solo project, so i dont take full responsibility for the mess of it all)
[21:14:34] *** gazbond has quit IRC
[21:14:44] <TommyO> does $resource (or $http for that matter) support a continuous or longpoll connection?
[21:14:46] <Foxandxss> yeah, same I say when someone comes to my house and see the mess :P
[21:14:56] <Foxandxss> TommyO: no
[21:15:04] <TommyO> boo ;)
[21:15:18] <Foxandxss> normally that is done with intervals or timeouts
[21:15:22] <tristanp> https://gist.github.com/tristanpendergrass/15913b4813071dbd51fe
[21:15:26] <tristanp> at the very end there
[21:15:28] <TommyO> yeah, found an example of that
[21:15:29] <Foxandxss> plus cat blood
[21:15:31] <tristanp> is the call that's breaking the bank
[21:15:31] *** emmesswhy has joined #angularjs
[21:15:36] *** Guest2921 has quit IRC
[21:15:41] *** tfennelly has quit IRC
[21:16:02] <TommyO> but couchbase-lite supports both so I was hoping to take advantage of that
[21:16:08] *** shpoont has quit IRC
[21:16:11] *** FezVrasta has quit IRC
[21:16:32] <ioudas> how do i wait for a promise with in a promise to fully resolve? I cant seem to figure it out.... any help would be appreciated.
[21:16:36] *** michaelfavia has joined #angularjs
[21:16:37] <Foxandxss> is that elasticsearchservice doing any $apply?
[21:16:45] <joker666> huh react taking a bash on angular
[21:16:46] <joker666> http://facebook.github.io/react/blog/2013/06/05/why-react.html#reactive-updates-are-dead-simple.
[21:17:03] <Foxandxss> TommyO: good example of polling is ioudas with his issue, which comes back every 20 minutes :P
[21:17:06] *** AngularUI has joined #angularjs
[21:17:07] <AngularUI> [ng-grid] jpuri opened pull request #2031: Fix for issues #2014 and partially #1815 (master...master) http://git.io/c9gORQ
[21:17:07] *** AngularUI has left #angularjs
[21:17:07] *** shaisnir has joined #angularjs
[21:17:16] <tristanp> foxandxss: no, it is thinly wrapping an $http call
[21:17:32] <Foxandxss> uhmm
[21:17:55] <Foxandxss> joker666: the bigger one always get bashed
[21:17:56] <Foxandxss> always
[21:18:00] <Foxandxss> *cough* ember *cough*
[21:18:13] *** derickf has quit IRC
[21:18:35] *** derickf has joined #angularjs
[21:18:46] *** michaelfavia has quit IRC
[21:19:00] <Foxandxss> tristanp: there is a lot of $scope stuff, if any of them are bound, do they update?
[21:19:01] <tristanp> foxandxss: think i may have solved it by moving the $apply to a different spot
[21:19:03] *** dreambox has joined #angularjs
[21:19:59] *** eamonn has joined #angularjs
[21:20:01] <tristanp> foxandxss: the essence of the problem was that setTime was called from two different places. but it would only need the apply when called from one of those, so baking the apply INTO the setTime was a mistake
[21:20:05] *** yelvert has joined #angularjs
[21:20:21] *** capper has joined #angularjs
[21:20:31] <Foxandxss> ah, I see
[21:20:36] *** dannyc has joined #angularjs
[21:20:37] *** dgncn has quit IRC
[21:20:38] <Foxandxss> that function seemed correct
[21:20:46] *** deweydb_ has joined #angularjs
[21:20:51] *** arkin has quit IRC
[21:20:54] <deweydb_> can someone tell me if this is a crazy horrible idea or not
[21:21:08] <ioudas> Foxandxss, I can always poll quicker ;-)
[21:21:16] *** grogs_ has joined #angularjs
[21:21:46] *** michaelfavia has joined #angularjs
[21:21:47] *** michaelfavia has joined #angularjs
[21:22:10] <deweydb_> i am using responsive font sizes for a site, where all the fonts are in view width (vw) units. at some point they get too small. so i was thinking of making a directive, that watches the screen resize event and if the screen gets below a certain size it switches the font size to fixed pixels. but i would have to put this directive on like 100 elements in a page.
[21:22:13] <deweydb_> would that be really bad?
[21:22:23] *** shaisnir has quit IRC
[21:22:26] *** roachiepoopoo has joined #angularjs
[21:22:54] <TommyO> so what's the best way to have a continuous poller that I can turn on and off? attach it to $rootScope?
[21:23:26] *** hiptobecubic_ has joined #angularjs
[21:23:36] *** Oddman has quit IRC
[21:23:41] <Foxandxss> ioudas: always when it doesn't kick back :)
[21:23:47] *** IvailoStoianov has quit IRC
[21:23:51] *** kirfu has joined #angularjs
[21:24:01] <ioudas> i seem to defy the irc code of asking dont i ;-P
[21:24:07] *** michaelfavia has quit IRC
[21:24:08] *** shaisnir has joined #angularjs
[21:24:11] *** capper has quit IRC
[21:24:49] <c0bra> TommyO: $interval?
[21:24:54] *** dannyc has quit IRC
[21:24:55] <Grokling> I have something odd happening - I have a button which fires a scope function, which in turn does a state.go (ui-router). The odd and frustrating part is that the state seems to 'bounce'. I have a console.log statement in the controller, and it fires twice. I can see that $stateParams is slightly different between the two 'hits' on the state. I have no resolve on this state. Any ideas??
[21:25:25] <ctanga> Grokling: you’re probably seeing int->string conversion
[21:25:43] *** gazbond has joined #angularjs
[21:25:47] <ctanga> state.go(state, { param1: 1234 })
[21:25:55] <ctanga> url becomes “#/state/1234"
[21:26:02] <TommyO> deweydb_: you can have two different CSS3 rulesets utilizing @media screen and (max-width: 980px) { ... } etc etc
[21:26:09] <ctanga> router parses that and checks if it matches the current state, but 1234 doesn’t === “1234”
[21:26:15] <tristanp> if i want all instances of a directive to have a certain class, is there a more obvious way than to add it in the link function? seems clunky
[21:26:16] <deweydb_> yeah i could definitely write a billion media queries
[21:26:19] <ctanga> so it sends you to state again with { param1: “1234” }
[21:26:24] <deweydb_> i was just thinking it would be easier as a directive
[21:26:36] *** dcherman2 has joined #angularjs
[21:26:50] <Grokling> ctanga: Could be? The state has two params defined, I'm only setting one. The first hit shows {param1:"10, param2:null}, and the second shows {param1:"10, param2:""}
[21:27:06] *** michaelfavia has joined #angularjs
[21:27:24] <ctanga> Grokling: similar, but not exactly what i described
[21:27:30] *** Sebastien-L has joined #angularjs
[21:27:32] <ctanga> Grokling: 0.2.11, yeah?
[21:27:44] *** bayousoft has quit IRC
[21:27:49] <Grokling> Could be the same mechanism though right? I'll just check my version.
[21:27:58] <ctanga> Grokling: yes, probably same mechanism
[21:28:09] *** Shai-Tan has joined #angularjs
[21:28:10] *** bayousoft has joined #angularjs
[21:28:12] *** dcherman has quit IRC
[21:28:13] *** ngbot has joined #angularjs
[21:28:13] <ngbot> [angular.js] caitp pushed 1 new commit to master: http://git.io/rf3Zig
[21:28:13] <ngbot> angular.js/master 288b531 Lucas Galfaso: docs(CHANGELOG): Document breaking change from 23bc92b1...
[21:28:14] *** ngbot has left #angularjs
[21:28:15] *** derickf has quit IRC
[21:28:18] *** sirkitree|afk|af is now known as sirkitree
[21:28:28] *** ngbot has joined #angularjs
[21:28:28] <ngbot> [angular.js] caitp pushed 1 new commit to v1.2.x: http://git.io/jiaSbA
[21:28:28] <ngbot> angular.js/v1.2.x 9f2a53b Lucas Galfaso: docs(CHANGELOG): Document breaking change from 23bc92b1...
[21:28:29] *** ngbot has left #angularjs
[21:28:42] <Grokling> ctanga currently on 0.2.8
[21:28:46] <maraneta> what's the best way to add checkboxes to my search, and filter the search further, showing only objects that match the criteria in the checked boxes?
[21:28:50] *** shaisnir has quit IRC
[21:28:55] <Foxandxss> does anyone here tried gumroad for publishing?
[21:29:12] <ctanga> Grokling: I recommend coercing your params to strings before $state.go() or just wait for 0.2.12 to drop which fixes these use cases
[21:29:36] <ctanga> *should fix*
[21:29:39] *** mjs2600 has joined #angularjs
[21:30:01] *** eamonn has quit IRC
[21:30:13] <Grokling> ctanga: Thanks so much for your insight.. I was on the verge of coming up with some dirty hack to 'fix' it. I'll do some coercing instead.
[21:30:24] *** dspe has joined #angularjs
[21:30:30] *** Aerospark has quit IRC
[21:30:31] <ioudas> how do i wait for a promise with in a promise to fully resolve? I cant seem to figure it out.... as I need data from the 2nd promise before i execute code within the first promise. any help would be appreciated.
[21:30:46] *** Nizumzen has quit IRC
[21:31:03] <medicineuk> looking at this http://plnkr.co/edit/zTlK3R7AjpoYTGFlvYTw?p=preview anyone know how I can get the ctrl to be the contained inputs ng-model
[21:31:05] <ctanga> ioudas: are they currently chained?
[21:31:11] <Foxandxss> on a .then of the second promise?
[21:31:18] *** Asiajey has quit IRC
[21:31:18] <medicineuk> want to set the $setValidity from the parent directive
[21:31:24] *** phuh has quit IRC
[21:31:26] <ctanga> ioudas: paste some code somewhere
[21:31:33] *** derickf has joined #angularjs
[21:31:34] <ioudas> ctanga, i am new to chanining, i cant really grasp how that works with difference service calls
[21:31:35] <ioudas> sure
[21:31:48] *** phuh has joined #angularjs
[21:31:49] *** ccohn has joined #angularjs
[21:31:56] *** jplussier has joined #angularjs
[21:31:58] *** RobinBAwesome has quit IRC
[21:32:12] *** sonofdir_ has quit IRC
[21:32:12] <TommyO> c0bra: that's exactly what I need. thanks
[21:32:15] *** yts has joined #angularjs
[21:32:15] *** DLSteve has joined #angularjs
[21:32:25] <ioudas> http://pastebin.com/Z0me0Ww1 (code is signinctrl) there are two promises....
[21:32:25] *** monir has joined #angularjs
[21:32:30] <ioudas> which are different
[21:32:34] *** rhp has quit IRC
[21:32:39] <ctanga> ioudas: that’s a ton of code, help me out here
[21:32:54] *** patrick99e99 has quit IRC
[21:32:59] <ioudas> 1 sec
[21:33:11] *** shaisnir has joined #angularjs
[21:33:12] *** shaisnir_ has joined #angularjs
[21:33:20] *** afuggini has quit IRC
[21:33:24] <Grokling> ctanga: It seems happy with an INT in param1 (that doesn't bounce), it's the null in param2 that's upsetting it. Set it to "" and it's peachy. Thanks again.
[21:33:40] <jsheely> What's the easy way to do ng-repeat="i in list | filter: ... " where i.category!=null ?
[21:33:47] <ctanga> ioudas: come in here: http://www.codeshare.io/89Wyv
[21:34:10] *** prosper_ has quit IRC
[21:34:17] <ioudas> http://pastebin.com/ZFzh0jr9 the first call for a login is on line 14. then on line 26 I call a seperate service call to check the list of customers for a salesman. what happens is $state.go executes within the first promise. So if the guy is infact a salesman, we dont have the list of customers when navigating to the view.
[21:34:27] *** mtsr has quit IRC
[21:34:31] *** NormySan has quit IRC
[21:35:07] *** sonofdirt has joined #angularjs
[21:35:08] <c0bra> TommyO: np
[21:35:38] <yakari> Someone seen HarryPoter ?
[21:35:38] *** intellix has joined #angularjs
[21:35:59] <kadosh> fixed my issue xD
[21:36:26] *** cspeak has joined #angularjs
[21:36:27] *** Wentz has joined #angularjs
[21:36:34] *** Aerospark has joined #angularjs
[21:37:46] <Wentz> I had a quick question, don't know why I can't find documentation on it. But, my ng-model bindings are not sanitizing inputs, this seemed atypical to me. Am I correct in that assumption?
[21:37:48] *** jbeaudry has quit IRC
[21:38:09] *** amphetamines has quit IRC
[21:38:19] *** Skrypter has joined #angularjs
[21:38:35] *** patrickarlt has quit IRC
[21:38:49] <Foxandxss> yakari: stop smoking that crap, seriously
[21:38:54] *** shaisnir has joined #angularjs
[21:39:10] *** _Ariel_ has joined #angularjs
[21:39:22] <jplussier> Hey angular, I've got a CMS type app thats starting to get a bit more complicated, and right now I've got a "left nav pane" that contains some information users need everywhere, but also contains some context specific interface -- this whole area of html is separate from my ng-view though, and I'm reaching into $rootScope from my content-area controller to get them to communicate
[21:39:37] <jplussier> Sorry if this is a weak explaination, but, if anyone thinks they could understand I'd like to figure out the "right" approach for this kind of layout
[21:39:49] <Foxandxss> ui-router
[21:39:56] <Foxandxss> allows you to have different "parts" on your page
[21:40:02] <Foxandxss> that you can modify in any route
[21:40:12] <Foxandxss> so you can have a zone in the sidebar and in every route, put what you want there
[21:40:18] <jplussier> Ah okay cool, angular-ui/ui-router ?
[21:40:18] <Foxandxss> apart from what you put on the "main zone"
[21:40:25] <jplussier> Yeees, that's what I want
[21:40:26] <Foxandxss> yes
[21:40:26] *** farn5w0rth has left #angularjs
[21:40:38] <jplussier> Awesome, thanks Foxandxss this sounds like exactly what I hoped for
[21:40:44] *** farn5w0rth has joined #angularjs
[21:40:45] *** shaisnir_ has quit IRC
[21:40:55] *** Sna4x8 has joined #angularjs
[21:40:58] *** michaelfavia has quit IRC
[21:41:04] *** cotko has quit IRC
[21:41:14] *** Baluse has quit IRC
[21:41:18] *** NaN has left #angularjs
[21:41:22] *** Wentz has quit IRC
[21:41:38] *** prosper_ has joined #angularjs
[21:41:59] *** D9 has joined #angularjs
[21:42:03] *** mtsr has joined #angularjs
[21:42:41] *** jonathanpglick has quit IRC
[21:42:44] *** tfennelly has joined #angularjs
[21:43:06] *** dcherman2 has quit IRC
[21:43:30] *** saucey has joined #angularjs
[21:43:34] <saucey> hey guys
[21:43:38] *** mike_f has joined #angularjs
[21:43:39] *** dra_ has joined #angularjs
[21:43:40] *** dcherman2 has joined #angularjs
[21:43:41] <saucey> i need some help
[21:44:35] *** mandric has joined #angularjs
[21:44:36] *** keondas has joined #angularjs
[21:44:39] *** alexw has joined #angularjs
[21:44:42] <baweaver> How evil would it be considered to implement plain partials in Angular? (ie, no scope inheritance, just a partial template to include)
[21:44:46] <saucey> http://laravel.io/bin/6LnMG
[21:44:59] <saucey> this isnt working
[21:45:15] *** richiebkr has quit IRC
[21:45:28] <snapwich> baweaver: that's what ng-include is
[21:45:30] <saucey> im trying to check what root is selected
[21:45:37] *** michaelfavia has joined #angularjs
[21:45:57] *** gazbond has quit IRC
[21:46:21] *** sigurding has joined #angularjs
[21:46:38] <keondas> guys somebody knows how to manage transactions SQL in angular?
[21:46:59] <snapwich> what does SQL and transactions have to do with angular?
[21:47:24] <keondas> that is why I am asking
[21:47:49] *** richiebkr has joined #angularjs
[21:47:55] <keondas> somebody have done a master/detail form?
[21:48:19] *** michaelfavia has quit IRC
[21:48:33] *** davi has joined #angularjs
[21:48:47] <baweaver> ngInclude introduces a child scope
[21:48:49] *** dc has quit IRC
[21:49:02] *** iksik has quit IRC
[21:49:28] *** ahtik has joined #angularjs
[21:49:37] *** dcherman has joined #angularjs
[21:50:08] *** gnrlbzik has quit IRC
[21:50:12] *** keondas has quit IRC
[21:50:45] *** cornerma1 has joined #angularjs
[21:51:27] <baweaver> making it really quite annoying to manipulate the parent scope
[21:51:59] <yakari> ...
[21:52:06] *** dcherman2 has quit IRC
[21:52:10] *** emmesswhy has quit IRC
[21:52:19] *** snurfery has quit IRC
[21:52:21] *** surreal has joined #angularjs
[21:52:26] <yakari> you will encounter some problems
[21:52:32] *** michaelfavia has joined #angularjs
[21:52:33] *** richiebkr has quit IRC
[21:53:19] <baweaver> There are places where you don't necessarily want isolation, mind.
[21:53:53] *** derickf has quit IRC
[21:53:54] *** cornerman has quit IRC
[21:53:56] *** cornerma1 is now known as cornerman
[21:54:41] *** richiebkr has joined #angularjs
[21:54:45] *** ahtik has quit IRC
[21:54:53] *** ahtik has joined #angularjs
[21:55:04] <baweaver> and all that isolating the scope amounts to is putting an extra tag to get up to the parent which is unnecessary
[21:55:34] <snapwich> it's not an isolate scope
[21:55:46] <baweaver> child scope
[21:55:49] <baweaver> with inheritance
[21:55:49] *** dreambox has quit IRC
[21:55:50] *** michaelfavia has quit IRC
[21:56:06] <snapwich> exactly, which means you can read the parent just fine with inheritance
[21:56:14] *** michaelfavia has joined #angularjs
[21:56:16] *** LocusAsaf has joined #angularjs
[21:56:17] *** bradmaxs has quit IRC
[21:56:18] <snapwich> if you're trying to mutate the parent from a child through the scope you're going to have a bad time
[21:56:30] <baweaver> that's most of the annoyance.
[21:56:38] <baweaver> There are times when you want to
[21:56:50] <baweaver> and I've not really found a compelling reason not to.
[21:57:03] <snapwich> sounds like you HAVE found a reason. you're having a bad time
[21:57:04] *** sigurding has quit IRC
[21:57:20] *** patricka_ has joined #angularjs
[21:57:21] *** iksik has joined #angularjs
[21:57:36] <baweaver> Moreover just asking if this is somehow stepping on the angular way and if there's a more 'correct' way about it
[21:57:43] *** nemothekid has joined #angularjs
[21:57:48] <LocusAsaf> hey everyone, my company is looking for experienced angular developers in San Francisco, if anyone is interested I can pass long a resume http://locusenergy.com/Career/frontend-software-engineer/
[21:58:00] *** PrinceAMD has quit IRC
[21:58:21] <baweaver> before I go and make a directive for partials that just interpolates it without creating a child scope that is
[21:58:22] *** tech2 has quit IRC
[21:58:22] *** mbildner has quit IRC
[21:59:01] *** ChadStrat has joined #angularjs
[21:59:12] *** ahtik has quit IRC
[21:59:18] <marcospgp> Foxandxss hey, you here? remember my problem, directive scope: true?
[21:59:23] *** monir has quit IRC
[21:59:57] <marcospgp> Foxandxss I think the reason behind it was that the directive's parent element was $compile'd not with a scope object but with an object object aha
[21:59:58] *** xastey- is now known as xastey
[22:01:16] *** matisoffn has joined #angularjs
[22:01:19] *** ColKurtz has quit IRC
[22:01:20] *** josh-k has joined #angularjs
[22:01:46] *** jillesme has joined #angularjs
[22:01:54] *** robdubya has quit IRC
[22:02:16] *** RobinBAwesome has joined #angularjs
[22:03:01] *** jMyles has joined #angularjs
[22:03:13] *** alinouman has quit IRC
[22:03:28] *** mbildner has joined #angularjs
[22:03:30] *** cotko has joined #angularjs
[22:03:39] *** simplyshipley has quit IRC
[22:03:55] *** basiclaser_ has joined #angularjs
[22:04:09] *** medicineuk has quit IRC
[22:04:24] *** borvoh has quit IRC
[22:04:35] *** rmannibucau has joined #angularjs
[22:04:50] *** Cydmax has quit IRC
[22:04:56] <rmannibucau> hi guys
[22:05:18] <rmannibucau> any way to use ng-click but keep a ng-href (to be able to copy paste url link) but ignore href (ie not reload)
[22:06:06] *** SonikBoom has joined #angularjs
[22:06:13] *** RhinoBoss has joined #angularjs
[22:06:14] *** michaelfavia has quit IRC
[22:06:15] *** dc has joined #angularjs
[22:06:44] *** Cydmax has joined #angularjs
[22:06:46] <rmannibucau> i tried e.preventDefault(); but it doesn't seem enough
[22:06:51] <RhinoBoss> Is it possible to place a checkbox inside a select option when using either ng-options or ng-repeat?
[22:07:27] *** michaelfavia has joined #angularjs
[22:07:47] *** stirlingw has quit IRC
[22:07:51] *** medicineuk has joined #angularjs
[22:07:57] <RhinoBoss> or at all
[22:08:27] *** jstroem has quit IRC
[22:08:33] *** btyne1 has quit IRC
[22:09:09] *** jstroem has joined #angularjs
[22:09:49] <medicineuk> anyone http://stackoverflow.com/questions/26789227/getting-a-child-inputs-ctrl-from-a-parent-directive
[22:10:14] *** stirlingw has joined #angularjs
[22:10:15] *** lsiv568 has quit IRC
[22:10:20] *** danecando has quit IRC
[22:10:49] *** eBureau has quit IRC
[22:10:55] *** michaelfavia has quit IRC
[22:11:04] *** ProLoser has joined #angularjs
[22:11:25] *** dsdeiz has joined #angularjs
[22:11:25] *** michaelfavia has joined #angularjs
[22:11:26] *** michaelfavia has joined #angularjs
[22:11:38] *** surreal is now known as surreal-dreams
[22:12:26] *** prosper_ has quit IRC
[22:12:33] *** JohnBat26 has joined #angularjs
[22:12:49] *** gnrlbzik has joined #angularjs
[22:12:58] <Foxandxss> marcospgp: that makes sense
[22:13:09] *** niklasmo_ has quit IRC
[22:13:14] <marcospgp> Foxandxss the more you know :)
[22:13:25] *** braidn has quit IRC
[22:13:50] *** kirfu has quit IRC
[22:14:31] *** g3funk has joined #angularjs
[22:14:36] *** mjs2600 has quit IRC
[22:15:14] <dman777_alter> how is grunt.start() linked to grunt.run()?
[22:15:17] <dman777_alter> sorry
[22:15:19] <dman777_alter> wrong channel
[22:15:36] *** spaceonline has quit IRC
[22:15:48] *** robdubya has joined #angularjs
[22:16:02] *** teeray has quit IRC
[22:16:35] *** michaelfavia_ has joined #angularjs
[22:16:45] *** Una has joined #angularjs
[22:16:55] *** shaisnir has quit IRC
[22:17:01] *** shaisnir_ has joined #angularjs
[22:17:40] *** m3l720 has joined #angularjs
[22:17:55] *** LossFor has joined #angularjs
[22:18:12] *** marcospgp has quit IRC
[22:19:07] <LossFor> Is there a way to write hrefs that work in both html5 mode and non-html5 mode?
[22:19:11] *** michaelfavia has quit IRC
[22:19:11] *** disorder20 has quit IRC
[22:19:12] *** addddf has joined #angularjs
[22:19:36] *** shaisnir_ has quit IRC
[22:19:45] *** shaisnir has joined #angularjs
[22:19:51] <ioudas> ctanga is my hero
[22:20:03] <ctanga> :)
[22:20:09] <sweeper> rmannibucau: in addition to prevent default, you need to also stop propagation
[22:20:12] <Foxandxss> mine too, did a ctrl+c on the poll
[22:20:45] *** shaisnir_ has joined #angularjs
[22:21:07] *** addddf has quit IRC
[22:21:15] *** mjs2600 has joined #angularjs
[22:21:19] *** patricka_ has quit IRC
[22:21:26] *** arkin has joined #angularjs
[22:21:27] <mmealling> if anyone here is in Atlanta, I'm hiring Angular people!
[22:21:31] *** juampy has joined #angularjs
[22:21:41] <Foxandxss> nice :)
[22:21:52] *** jillesme has quit IRC
[22:22:01] *** shaisnir has quit IRC
[22:22:28] <LossFor> or is there any way to fake $sniffer.history = false to get html5 mode to rewrite links to legacy mode? I can’t get a decorator that does that to work
[22:22:57] <Foxandxss> a href to "/foo" doesn't work in both modes?
[22:23:15] *** AngularUI has joined #angularjs
[22:23:15] <AngularUI> [ng-grid] c0bra pushed 3 new commits to rewrite-cellnav: http://git.io/kYVLGQ
[22:23:15] <AngularUI> ng-grid/rewrite-cellnav c9134d8 c0bra: fix(gridUtil): Allow multiple logDebug params...
[22:23:15] <AngularUI> ng-grid/rewrite-cellnav 6fc5f33 c0bra: fix(GridRenderContainer): Correct prevScroll*...
[22:23:16] <AngularUI> ng-grid/rewrite-cellnav ce5e63d c0bra: WIP: Fixed horizontal scrolling
[22:23:16] *** AngularUI has left #angularjs
[22:23:31] <LossFor> Foxandxss: In normal mode, angular won’t hijack that
[22:23:50] <Foxandxss> that is a good thing from ui-router
[22:23:53] *** jMyles has quit IRC
[22:23:53] <Foxandxss> you point to states
[22:23:55] <Foxandxss> not urls
[22:24:02] *** Nicolas______ has joined #angularjs
[22:24:05] <LossFor> yeah :\ I might need to rewrite this whole project to ui router
[22:24:08] <rmannibucau> sweeper, stopPropagation reloads and preventDefault prevents everything
[22:24:09] <LossFor> its kind of huge though.
[22:24:34] <rmannibucau> sweeper, actually ng-click alone works perfectly but my links needs to be copy-able
[22:24:42] *** Guest59 has joined #angularjs
[22:25:04] *** DLSteve has quit IRC
[22:25:09] *** AngularUI has joined #angularjs
[22:25:09] <AngularUI> [ng-grid] PaulL1 closed pull request #2031: Fix for issues #2014 and partially #1815 (master...master) http://git.io/c9gORQ
[22:25:09] *** AngularUI has left #angularjs
[22:25:13] *** michaelfavia_ has quit IRC
[22:25:23] * Foxandxss clears is throat
[22:25:23] <ctanga> ioudas: everything I learned about promises I learned from rewriting ui-router’s resolve system
[22:25:28] <Foxandxss> robdubya: hey you
[22:25:34] <robdubya> sup dog
[22:25:35] <Foxandxss> his*!
[22:25:40] <Foxandxss> robdubya: did you see restangular 2 video?
[22:25:41] *** DLSteve has joined #angularjs
[22:25:46] *** marshall has quit IRC
[22:26:24] *** arkin has quit IRC
[22:27:18] *** shaisnir_ has quit IRC
[22:27:19] *** P1RATEZ has joined #angularjs
[22:27:28] *** Houssam has joined #angularjs
[22:27:40] *** Sky[x] has joined #angularjs
[22:27:56] *** Shadeness has joined #angularjs
[22:28:31] <dman777_alter> any gulp developers in here? Trying to find out if gulp.start() is going away with the new orchestrator for gulp 4.0
[22:28:37] *** shaisnir has joined #angularjs
[22:28:45] *** AngularUI has joined #angularjs
[22:28:45] <AngularUI> [ng-grid] PaulL1 closed pull request #2028: Fix api documentation for scrollbars. (master...patch-1) http://git.io/GbK_Tg
[22:28:45] *** AngularUI has left #angularjs
[22:28:46] <snapwich> dman: from what I hear it's going away
[22:28:55] *** 64MAAZP9E has joined #angularjs
[22:28:55] <64MAAZP9E> [ng-grid] PaulL1 pushed 2 new commits to master: http://git.io/fD2x-w
[22:28:55] <64MAAZP9E> ng-grid/master 74a61a5 mamrehn: Fix api documentation for scrollbars....
[22:28:55] <64MAAZP9E> ng-grid/master a3f3f7e Paul: Merge pull request #2028 from mamrehn/patch-1...
[22:28:56] *** 64MAAZP9E has left #angularjs
[22:29:57] *** levity_island has joined #angularjs
[22:30:25] *** michaelfavia has joined #angularjs
[22:30:25] *** michaelfavia has joined #angularjs
[22:30:37] *** anapitupulu has joined #angularjs
[22:30:47] *** patrickarlt has joined #angularjs
[22:31:00] *** salbertson has quit IRC
[22:31:11] <TheAceOfHearts1> hey Foxandxss have you ever tried istanbul?
[22:31:17] <dman777_alter> snapwich: well, that is what I thought...but according to https://medium.com/@contrahacks/gulp-3828e8126466 they say it's going under a overhaul
[22:31:28] *** phuh has quit IRC
[22:31:32] <Foxandxss> TheAceOfHearts1: no idea of what is that
[22:31:34] *** borvoh has joined #angularjs
[22:31:38] *** ProLoser has quit IRC
[22:31:38] <ctanga> it’s a city
[22:31:44] <TheAceOfHearts1> have you rever done code coverage? lol
[22:31:49] <Foxandxss> but you can't try a city
[22:31:52] *** dspe has quit IRC
[22:31:56] <Foxandxss> TheAceOfHearts1: not really
[22:32:00] <TheAceOfHearts1> alright
[22:32:02] <Foxandxss> never had a working solution for that
[22:32:05] *** phuh has joined #angularjs
[22:32:06] *** chanced has joined #angularjs
[22:32:10] <TheAceOfHearts1> simplecov is great for Rails, super idiot-proof
[22:32:12] <Foxandxss> is that rails-ish?
[22:32:15] <TheAceOfHearts1> nah
[22:32:18] <TheAceOfHearts1> simplecov is <3
[22:32:19] *** whunt has quit IRC
[22:32:21] *** BahamutWC|Work has quit IRC
[22:32:25] <TheAceOfHearts1> but instanbul looks a bit more tricky
[22:32:34] *** ProLoser has joined #angularjs
[22:32:40] <TheAceOfHearts1> I'm gonna try setting it up with protractor to check that all critical code paths are being run
[22:32:40] *** neoadventist has joined #angularjs
[22:32:58] *** BahamutWC|Work has joined #angularjs
[22:33:22] <c0bra> I just use the coverage reporter in karma
[22:33:38] <robdubya> Foxandxss no, i did not
[22:33:39] <TheAceOfHearts1> yeah, but I wanna check code coverage in protractor lol
[22:33:48] <TheAceOfHearts1> I wanna just check that critical code paths are being run
[22:34:01] <Foxandxss> robdubya: it has relations, hasMany and stuff like that built-in
[22:34:01] *** Houssam has quit IRC
[22:34:03] <Foxandxss> sounds cool
[22:34:04] *** elrabin_ has joined #angularjs
[22:34:13] *** xavia has quit IRC
[22:34:27] *** salbertson has joined #angularjs
[22:34:40] *** mak`` has quit IRC
[22:34:47] <c0bra> and coveralls.io: https://coveralls.io/r/angular-ui/ng-grid?branch=master
[22:35:16] *** whunt has joined #angularjs
[22:36:06] *** jMyles has joined #angularjs
[22:36:26] *** michaelfavia has quit IRC
[22:36:33] *** coffey has quit IRC
[22:36:49] *** deanclkclk has joined #angularjs
[22:37:01] *** shaisnir has quit IRC
[22:37:54] *** borvoh has quit IRC
[22:38:00] *** sonofdirt has quit IRC
[22:38:06] *** platonic has quit IRC
[22:38:09] *** elrabin has quit IRC
[22:38:28] *** danecando has joined #angularjs
[22:38:46] *** michaelfavia has joined #angularjs
[22:38:51] *** jonathanpglick has joined #angularjs
[22:39:08] *** Xethron has joined #angularjs
[22:39:08] *** Xethron has joined #angularjs
[22:39:46] *** RhinoBoss has quit IRC
[22:39:53] *** to0 has joined #angularjs
[22:40:32] *** jplussier has quit IRC
[22:40:34] *** eamonn has joined #angularjs
[22:40:44] *** wallerdev has joined #angularjs
[22:40:53] *** delian66 has quit IRC
[22:40:58] *** walbert has joined #angularjs
[22:41:37] *** jbeaudry has joined #angularjs
[22:42:02] *** anjumkaiser has quit IRC
[22:42:15] *** delian66 has joined #angularjs
[22:43:08] *** Reskp has joined #angularjs
[22:43:23] *** CitizenKane has quit IRC
[22:43:32] *** mjs2600 has quit IRC
[22:44:35] *** richiebkr has quit IRC
[22:44:42] *** SomeKittens has quit IRC
[22:44:50] <TheAceOfHearts1> might try out coveralls
[22:44:57] *** mbildner has quit IRC
[22:44:57] <TheAceOfHearts1> but that's just for logging your results
[22:44:59] *** eamonn has quit IRC
[22:45:13] *** JohnBat26 has quit IRC
[22:45:31] *** shaisnir has joined #angularjs
[22:45:54] *** gnrlbzik has quit IRC
[22:45:57] *** Latros-OS has quit IRC
[22:46:02] *** Oddman has joined #angularjs
[22:46:02] <TheAceOfHearts1> Ruby's so zen, though
[22:46:06] <TheAceOfHearts1> all I had to do was add this one gem
[22:46:10] *** _ritchie_ has quit IRC
[22:46:11] <TheAceOfHearts1> and magically I have code coverage
[22:46:12] *** lsiv568 has joined #angularjs
[22:46:22] <TheAceOfHearts1> Riding the rail is great~
[22:46:26] *** agee has joined #angularjs
[22:46:39] *** michaelfavia has quit IRC
[22:47:10] *** SeeThruHead has joined #angularjs
[22:48:41] *** oktapodi has joined #angularjs
[22:48:44] *** anivemin has quit IRC
[22:49:11] <jaawerth> rails is awesome when performance isn't a huge issue
[22:49:59] <robdubya> i'll check it out
[22:50:05] *** levity_island has quit IRC
[22:50:23] <chanced> or sanity
[22:50:25] *** P1RATEZ has quit IRC
[22:51:01] *** Aerospark has quit IRC
[22:51:21] <robdubya> lol
[22:51:52] *** sp00x has joined #angularjs
[22:52:18] *** g3funk has quit IRC
[22:52:34] <ChadStrat> test driven development.... ugh....
[22:53:17] *** CitizenKane has joined #angularjs
[22:53:18] *** oktapodi has quit IRC
[22:53:19] *** kirfu has joined #angularjs
[22:53:34] *** lsiv568 has quit IRC
[22:53:57] <TheAceOfHearts1> not TDD
[22:54:08] <TheAceOfHearts1> but good testing practices
[22:54:11] <chanced> in all fairness to rails, i drank that koolaid like it was 1978, in the jungle, and 115 degrees outside
[22:54:25] <TheAceOfHearts1> hahahaa
[22:54:30] *** g3funk has joined #angularjs
[22:54:34] <TheAceOfHearts1> Rails is great for a lot of stuff
[22:54:39] <chanced> eh
[22:54:40] *** agee has quit IRC
[22:54:50] <chanced> rails was great for its time
[22:55:05] <TheAceOfHearts1> if you wanna make a simple CRUD app, you can do that with Rails super quickly
[22:55:13] <TheAceOfHearts1> I made a simple CRUD app in like 2 days with tests and stuff
[22:55:21] *** Latros-OS has joined #angularjs
[22:55:22] <chanced> it pushed the industry ahead tremendously
[22:55:24] <TheAceOfHearts1> with all my needed features
[22:55:36] *** autolycus has quit IRC
[22:56:23] *** opiates has joined #angularjs
[22:56:33] *** yts has quit IRC
[22:56:49] *** Nicolas______ has quit IRC
[22:56:51] *** hiptobecubic_ is now known as hiptobecubic
[22:57:14] <hiptobecubic> chanced, it did, yes. violently and without any safety equipment
[22:57:55] <chanced> hiptobecubic: heh, yea
[22:57:57] *** Aerospark has joined #angularjs
[22:58:16] *** _ritchie_ has joined #angularjs
[22:58:35] <chanced> but i think the sudden recklessness of it really made it incredibly appealing
[22:58:43] *** Siecje has left #angularjs
[22:59:53] *** davi has quit IRC
[23:00:49] <chanced> the community at large looked at it like it was a toy until teams of 2 - 3 people started blowing much, much larger java / .net shops out of the water
[23:01:26] *** Schtive2 has quit IRC
[23:01:28] *** Aliks has quit IRC
[23:01:34] <chanced> @hiptobecubic ^
[23:02:00] *** Aliks has joined #angularjs
[23:02:25] *** Nizumzen has joined #angularjs
[23:02:46] *** cboden has quit IRC
[23:02:49] *** agnitio has joined #angularjs
[23:03:06] *** cotko has quit IRC
[23:03:07] *** mzabriskie_ has joined #angularjs
[23:03:12] *** richiebkr has joined #angularjs
[23:03:12] *** mbildner has joined #angularjs
[23:03:27] *** edy has quit IRC
[23:03:32] *** michaelfavia has joined #angularjs
[23:03:42] *** patrickarlt has quit IRC
[23:04:10] *** mzabriskie_ has quit IRC
[23:04:20] *** derickf has joined #angularjs
[23:04:22] *** gnrlbzik has joined #angularjs
[23:04:56] *** agnitio has quit IRC
[23:05:03] *** mzabriskie has quit IRC
[23:05:12] *** michaelfavia has quit IRC
[23:05:51] <dman777_alter> snapwich: but no milestones are listed on githubs Orchestrator page
[23:06:11] *** FIFOd[a] has quit IRC
[23:06:20] *** Una has quit IRC
[23:06:22] *** Aliks_ has joined #angularjs
[23:06:25] *** Aliks has quit IRC
[23:06:28] *** phaggood has joined #angularjs
[23:06:48] *** jmverges has quit IRC
[23:06:52] *** mtsr has quit IRC
[23:06:59] *** patricka_ has joined #angularjs
[23:07:10] <hiptobecubic> chanced, it certainly changed the landscape quite a lot
[23:07:21] *** kirfu has quit IRC
[23:07:41] *** echoecho has joined #angularjs
[23:07:42] <medicineuk> forget rails its all about sails <—— Troll
[23:07:44] *** Oddman has quit IRC
[23:07:49] *** juanpablo_ has joined #angularjs
[23:08:26] <echoecho> What part of angular is responsible for managing instances of running controllers? What component can I read to learn more about how that works? Are controller functions wrapped in a closure to hold onto instance state?
[23:09:21] <snapwich> dman777_alter: https://github.com/gulpjs/gulp/issues/426#issuecomment-41207934
[23:09:32] <echoecho> Basically the route --> resolve controller --> DI --> controller running lifecycle is fascinating & I want to see how it works
[23:09:37] *** jstroem has quit IRC
[23:09:50] *** tristanp has quit IRC
[23:10:11] <medicineuk> echoecho http://teropa.info/build-your-own-angular
[23:10:11] *** beckyconning has joined #angularjs
[23:10:39] *** juampy has quit IRC
[23:10:40] *** doginal has quit IRC
[23:10:45] *** Aerospark has quit IRC
[23:10:46] <echoecho> medicineuk: Will read!
[23:10:47] *** patrick99e99 has joined #angularjs
[23:11:00] *** levity_island has joined #angularjs
[23:11:44] <cspeak> medicineuk: thanks for the link
[23:11:54] *** CitizenKane has quit IRC
[23:12:09] <echoecho> I'd also be interested on how the current project is written though.
[23:12:09] *** woebtz has joined #angularjs
[23:12:36] <chanced> hiptobecubic: yea in a lot of ways. ironically, i think the speed to which it rose to popularity and adoption really hurt it. on the flipside, i think the industry's reaction of jumping back from monolithic, opinionated frameworks has been incredibly positive
[23:13:34] *** mvovchak has quit IRC
[23:14:09] *** yelvert has quit IRC
[23:14:22] *** medicineuk has quit IRC
[23:14:24] <chanced> medicineuk: hah, that's awesome. I've been toying around with the idea of sewing together a framework from micro-frameworks
[23:14:28] <progrock> Anyone else have issues with classes added by ng-class sticking, even tho the expression definitely is false, and there has been a digest cycle?
[23:14:35] *** yelvert has joined #angularjs
[23:14:45] <derickf> what is the ‘@‘ symbol I see in angularjs?
[23:14:57] <Aliks_> derickf: check out isolate scopes
[23:15:01] <Aliks_> it's only used in that context
[23:15:05] <derickf> thanks Aliks_
[23:15:24] *** elrabin_ has quit IRC
[23:15:29] *** cotko has joined #angularjs
[23:15:39] *** icfantv has quit IRC
[23:15:59] *** elrabin has joined #angularjs
[23:16:10] *** yelvert has quit IRC
[23:16:30] *** yelvert has joined #angularjs
[23:17:09] *** shaisnir has quit IRC
[23:17:29] *** mtorres1624 has quit IRC
[23:17:47] *** jbeaudry has quit IRC
[23:18:07] *** mtorres1624 has joined #angularjs
[23:18:33] *** jdj_dk has joined #angularjs
[23:19:42] *** amphetamines has joined #angularjs
[23:19:58] *** klaut has joined #angularjs
[23:20:08] *** akrikos has quit IRC
[23:20:20] *** jdcasey has quit IRC
[23:20:21] *** the-anconia has quit IRC
[23:20:25] *** Oddman has joined #angularjs
[23:20:33] *** bzitzow has joined #angularjs
[23:20:55] *** _rmt has quit IRC
[23:21:01] *** levity_island has quit IRC
[23:21:21] <bzitzow> Using $templateCache and a directive, we are trying to add and remove attributes to the top level element in the directive.
[23:21:22] *** MotherMGA1 has joined #angularjs
[23:21:30] *** Xethron has quit IRC
[23:21:56] <MotherMGA1> in Angular, is there a way to redirect by means of a post?
[23:22:41] <bzitzow> Less experienced with directives, when we try to element.attr() it does not actually change the html. So we tried to $compile(element)(scope) and it appears to be in an infinite loop
[23:22:42] *** jeffisabelle has quit IRC
[23:22:47] *** jdj_dk has quit IRC
[23:22:57] *** Aliks_ has quit IRC
[23:22:58] <bzitzow> Can anyone point us in the right direction?
[23:23:37] *** ThatTreeOverTbnc has quit IRC
[23:23:54] *** mvovchak has joined #angularjs
[23:24:17] *** michaelfavia has joined #angularjs
[23:24:17] *** michaelfavia has joined #angularjs
[23:24:37] *** nodedfree has quit IRC
[23:25:18] <MotherMGA1> element.attr('some attribute', 'some value')
[23:25:33] <MotherMGA1> are you working with the compiler or linker function?
[23:25:39] <bzitzow> link
[23:25:41] *** sacho_ has joined #angularjs
[23:26:01] *** opiates has quit IRC
[23:26:02] *** amphetamines has quit IRC
[23:26:21] *** tripu has joined #angularjs
[23:26:27] <MotherMGA1> are you using transclusion?
[23:26:52] <derickf> am I correct in understanding that each resource in a factory can only have one URL pattern?
[23:26:55] *** ThatTreeOverTbnc has joined #angularjs
[23:27:08] *** _Ariel_ is now known as afuggini
[23:27:25] *** doginal has joined #angularjs
[23:28:42] <chanced> derickf: if you're using $resource, that's generally the best course of action
[23:28:49] *** sacho has quit IRC
[23:28:53] *** krane has joined #angularjs
[23:29:02] <chanced> derickf: you can, however, use the lower-level $http and do as you wish
[23:29:11] *** jeffszusz has quit IRC
[23:29:43] <derickf> chanced, I want the simple promise functionality I get with using resources in states, so I guess I’ll roll with multiple, thanks :)
[23:30:15] *** baweaver has quit IRC
[23:30:30] <chanced> derickf: but the best advice i was given and like to pass along is to minimize responsibilities of each artifact (services, controllers, etc) to 1 concern
[23:31:05] *** nodedfree has joined #angularjs
[23:31:08] <derickf> that sounds good, I just wasn’t sure if I was being too verbose
[23:31:10] <krane> can someone take a look at my code and explain why the style attribute repeats?
[23:31:16] <krane> http://jsfiddle.net/daniloa/9ar6n1kj/
[23:31:17] <m0> Hello, how does directive attribute binding work? http://plnkr.co/edit/YyKDGPfwPaQTQLfk3VSM?p=preview I am binding an attribute in a directive and te controller is changing that scope, but in my plnkr it isn't binding, any ideas?
[23:31:21] <derickf> thanks again for the tips chanced
[23:31:27] <chanced> yep, gl
[23:31:35] *** phuh has quit IRC
[23:31:54] <m0> In my example above , "Foo" should become "Bar" once I click on the button
[23:32:06] *** phuh has joined #angularjs
[23:32:09] *** hiptobecubic has quit IRC
[23:32:27] <shoerain> is there something like https://github.com/substack/watchify (for browserify), but for uglify and concat?
[23:32:47] *** coreyw has joined #angularjs
[23:32:53] <MotherMGA1> so does $location.path have a solution for very long urls?
[23:32:54] <bzitzow> MotherMGA1: Yes, we are using transclusion
[23:33:57] *** coffey has joined #angularjs
[23:34:10] *** Aerospark has joined #angularjs
[23:34:16] <coreyw> trying to use ngOptions, or just ngRepeat on an <option> for object like "{"key": {"value": "one"}}". I couldn't get it working with ngOption to select the correct value, so I used ngRepeat on an <option>, but I'm using ngChange on the select, which requires ngModel, but if I add a model, the selected value isn't correct.
[23:34:20] *** coffey is now known as Guest38147
[23:34:46] *** neoadventist has quit IRC
[23:35:08] *** warehouse13 has joined #angularjs
[23:35:16] *** devinandrews has quit IRC
[23:35:38] *** larsam has quit IRC
[23:35:50] *** josdeha_rt has joined #angularjs
[23:36:07] *** s00pcan has quit IRC
[23:36:16] *** ctanga has quit IRC
[23:36:25] *** dreambox has joined #angularjs
[23:36:29] *** yelvert has quit IRC
[23:36:30] <dreambox> hey everybody !
[23:36:49] *** echoecho has left #angularjs
[23:36:55] *** yelvert has joined #angularjs
[23:37:11] *** phuh_ has joined #angularjs
[23:37:13] <Grokling> coreyw: ngOptions is the way to go. Paste your code somewhere..
[23:37:16] <dreambox> QUick question before bedtime :) anyone has a pattern of a Factory that has the methods.. one to get and cache an object, and one to retrive it?
[23:37:18] *** ProLoser has quit IRC
[23:37:22] *** Left_Turn has quit IRC
[23:37:26] *** discgo_ has joined #angularjs
[23:37:28] <coreyw> Grokling: okay, pasting to plnkr now
[23:37:30] *** rmannibucau has quit IRC
[23:37:40] *** jbeaudry has joined #angularjs
[23:37:44] <dreambox> (sorry for all the typos - its late here)
[23:37:57] <Grokling> dreambox: Think I linked you my recordContext and inheritance example already?
[23:38:16] <progrock> Is there a good migration guid for 1.2 to 1.3?
[23:38:20] <dreambox> Grokling: hmm .. no.. but
[23:38:30] <Foxandxss> progrock: there is almost nothing to do
[23:38:32] <MotherMGA1> bzitzow: I'm uncertain, but its possible that transclusion is obliterating your change. I believe that element is the pre-transcluded entity and then once its linked, its *replaced* with the top element inside it.
[23:38:35] <dreambox> Grokling: could you give it once more?:-)
[23:38:45] *** Aerospark has quit IRC
[23:38:52] *** platonic has joined #angularjs
[23:39:04] <MotherMGA1> gotta run
[23:39:04] *** ProLoser has joined #angularjs
[23:39:10] <Grokling> dreambox: You don't want to look at it just before bedtime ;-)
[23:39:19] <cajone> Hello, I'm trying to learn angularjs ( experience has been good so far ) but I hit an issue with trying to http.get an rss feed the feed (rss.imdb.com/daily/born) is an xml format, which I tried to cater for by using xml2json library, but I'm hitting what I think is a CORS issue, anyone able to point me at soemthign that I can read to try and get around this, thanks
[23:39:21] <bzitzow> MotherMGA1: We’ve got the transclude element as a child element in the template
[23:39:27] <progrock> Foxandxss: oh, ok... is there a good changelog (last one I saw was following all the 1.3 beta/RCs... and didnt have like everything in 1 place)
[23:39:34] <bzitzow> Should we try Post compile?
[23:39:37] <Grokling> dreambox: http://plnkr.co/edit/KghXVJkE0gLL7IqYBvc0
[23:39:38] <dreambox> Grokling: well :) I just need to 1) set a variable and keep it 2) get the value of that variable
[23:39:41] <coreyw> Grokling: http://plnkr.co/edit/08ZCMZy3kcPWiPXIDe3W
[23:39:42] <Foxandxss> progrock: I don't recall any
[23:40:01] <chanced> cajone : cors isn't something you get around on the receiving end. you have to go to the source
[23:40:05] *** cs44 has joined #angularjs
[23:40:06] <chanced> as in on the server itself
[23:40:11] <coreyw> i don't want the first blank option to appear
[23:40:15] <dreambox> Grokling: DUDE !
[23:40:16] <Grokling> coreyw: looking now.
[23:40:26] <chanced> http://enable-cors.org/
[23:40:29] *** phuh has quit IRC
[23:40:34] <dreambox> Grokling: thanks anyway :-) If I understand that code I ll be a JS rockstar
[23:41:00] *** tilgovi has quit IRC
[23:41:02] *** freeman42 has joined #angularjs
[23:41:02] <Grokling> dreambox: no way.. the code is simple.. it's the concepts that'll do your head in ;-)
[23:41:14] *** michaelSharpe has quit IRC
[23:41:17] *** dsdeiz has quit IRC
[23:41:20] *** derickf has quit IRC
[23:41:28] <Grokling> dreambox: happy to walk you through it when/if you want.
[23:41:33] *** chanced has quit IRC
[23:41:34] *** Sky[x] has quit IRC
[23:41:35] *** MotherMGA1 has quit IRC
[23:41:53] *** yelvert has quit IRC
[23:41:55] *** dcherman2 has joined #angularjs
[23:42:05] *** pingupingu has joined #angularjs
[23:42:18] <dreambox> I'm going to Berlin for the weekend so I ll study it in the train.. back on Tuesday
[23:43:12] *** platonic has quit IRC
[23:43:21] <Grokling> dreambox: You can do it without the RecordContext part, just make a cache object in your factory instead. RecordContext is a nice pattern though..
[23:44:47] *** dcherman has quit IRC
[23:45:08] <Grokling> coreyw: that first blank one is because the value of item.county isn't a value in the ng-options. They might have the same 'text' but they're not the same.
[23:45:21] <dreambox> Grokling: https://gist.github.com/anonymous/ccf2f5e2fbd69e603a6d
[23:45:26] *** tsams has quit IRC
[23:45:29] <dreambox> does this seem to half-work?
[23:45:38] <m0> Can someone help me out on figuring out why this snippet cannot communicate from contrller to directive through data bdining? http://plnkr.co/edit/YyKDGPfwPaQTQLfk3VSM?p=preview
[23:46:06] *** warcuy has joined #angularjs
[23:46:06] *** Sky[x] has joined #angularjs
[23:46:22] *** livingstn has quit IRC
[23:46:43] <coreyw> Grokling: is there a way to make them the same?
[23:46:54] <Grokling> dreambox: Not quite.. you need the cache to be in the factory, but outside of your functions which mess with it. In your code, 'value' is only there while the function is running, then it's gone.
[23:46:57] *** monir has joined #angularjs
[23:47:08] *** opiates has joined #angularjs
[23:47:10] <coreyw> or will i have to restructure my data?
[23:47:22] <dreambox> Grokling: aha..
[23:47:44] <dreambox> Grokling: but how do u do that given that a function creates a scope
[23:47:45] *** dcherman2 has quit IRC
[23:48:03] *** jmverges has joined #angularjs
[23:48:22] <Grokling> dreambox: Do it in the context of the factory (which is a singleton - so it's 'scope' is persistent)
[23:48:22] *** gnrlbzik has quit IRC
[23:48:38] *** warcuy has quit IRC
[23:48:45] <dreambox> so, no methods needed, just do it in the factory
[23:49:00] *** warcuy has joined #angularjs
[23:49:02] <dreambox> and then just call the factory itself ? like.. Myfactory();
[23:49:13] *** Kosre has joined #angularjs
[23:49:52] *** walden is now known as walden|afk
[23:50:27] *** baweaver has joined #angularjs
[23:50:48] <Grokling> dreambox: You can have factory methods, and instance methods. either can access the variables of the Factory, but instance methods require that you have an instance first..
[23:50:53] *** baweaver has quit IRC
[23:51:03] *** danecando has quit IRC
[23:51:07] <dreambox> I think I need to see an example :-)
[23:51:19] *** baweaver has joined #angularjs
[23:51:24] *** rmannibucau has joined #angularjs
[23:51:51] <dreambox> i ll check the plunk u gave me 2morro in the train
[23:52:10] <dreambox> Buenos nachos everybody!
[23:52:25] *** dreambox has quit IRC
[23:52:48] *** loverajoel has quit IRC
[23:52:49] *** Cydmax has quit IRC
[23:53:05] <TheAceOfHearts1> ...
[23:53:43] *** neo2k has joined #angularjs
[23:53:52] *** mjs2600 has joined #angularjs
[23:54:58] *** P1RATEZ has joined #angularjs
[23:55:53] <coreyw> Grokling: how can i make those values the same?
[23:56:00] *** snurfery has joined #angularjs
[23:56:28] *** kadosh has quit IRC
[23:56:38] <Grokling> coreyw: I'm attempting to tweak your plunker at the moment.. give me a coupla minutes.
[23:56:48] <coreyw> oh ok sure. thanks
[23:57:04] *** mjs2600 has quit IRC
[23:57:15] *** michaelfavia has quit IRC
[23:57:26] *** saucey has quit IRC
[23:58:09] *** Txandy has quit IRC
[23:58:15] *** bkuberek has quit IRC
[23:58:28] *** marshall has joined #angularjs
[23:58:39] *** Aliks has joined #angularjs
[23:59:01] *** LossFor has quit IRC
[23:59:47] *** reported has left #angularjs
top

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