[00:00:03] *** _dc has joined #angularjs
[00:00:08] *** patrickarlt has quit IRC
[00:00:17] <saucey> i understand but i just want to see other options
[00:00:42] *** juanpablo___ has quit IRC
[00:00:46] <saucey> incase im working on a project that requires simular functionalty without angular
[00:00:49] <Grokling> saucey: you don't need anything beyond pure js to do that.. it's a simple enough thing.
[00:00:57] <Grokling> saucey: use map.
[00:01:04] *** aslate has quit IRC
[00:01:04] *** pbc has joined #angularjs
[00:01:06] *** renanoronfle has joined #angularjs
[00:01:09] <saucey> ive tried maps but it doesnt work
[00:01:18] <oniijin> jq IS just pure js =p
[00:01:19] *** pbc is now known as __pbc__
[00:01:41] *** jaznow has quit IRC
[00:01:44] *** sheplu has joined #angularjs
[00:01:45] <saucey> this works great angular.forEach(user, function(item) {item.email = '12345';});
[00:01:51] *** weems|mac has quit IRC
[00:01:52] <saucey> i could get it to work with js
[00:02:01] <saucey> i want to know why though
[00:02:02] <oniijin> smh
[00:02:05] *** oste has quit IRC
[00:02:12] *** cilkay has joined #angularjs
[00:02:23] *** jonathanpglick has joined #angularjs
[00:02:29] *** patrickarlt has joined #angularjs
[00:03:07] *** baweaver has quit IRC
[00:03:10] <Grokling> saucey: user.map(function(aUser){aUser.email += '12345'; return aUser;}) will give you a new array with your adjusted users.
[00:03:30] *** neoadventist has quit IRC
[00:03:30] <saucey> ok let me check
[00:03:31] * Grokling waits expectantly for jaawerth to post a reduce version
[00:03:35] *** bbankes_ has joined #angularjs
[00:04:01] *** patrickarlt has quit IRC
[00:04:09] *** _dc has quit IRC
[00:04:21] <__pbc__> Hey there, we've got a fairly large project with a number of modules - when run in the browser (minified or not) everything runs well. However, when we attempt to run the unit tests through Karma, we get all sorts of dependency problems (not found). We've tried supplying Karma the angular-loader but to no avail; is there anything specific about testing with Karma and multiple modules that we're missing?
[00:04:36] *** sirkitree is now known as sirkitree|afk
[00:04:36] *** whiteboo_ has quit IRC
[00:04:43] <Grokling> saucey: user.map(function(aUser){aUser.email += '12345';}) will change the user array (the one you already had).
[00:05:07] *** explodes has quit IRC
[00:05:14] <saucey> yea thats kool think that worked too thanks gys
[00:05:16] <saucey> guys
[00:05:29] <saucey> which do i use tho
[00:05:36] <saucey> js or angulars :P
[00:05:37] *** _ritchie has quit IRC
[00:05:46] <nickeddy> they're both JS
[00:05:52] <nickeddy> so i don't know why you keep saying that
[00:05:59] *** bbankes has quit IRC
[00:05:59] <jaawerth> well
[00:06:03] <nickeddy> angular.forEach is cleaner imo
[00:06:20] <jaawerth> using the js utility function will make it work with browsers that don't support forEach for whatever crazy reason
[00:06:29] <jaawerth> (aka old browsers)
[00:06:32] <Grokling> angular.forEach is probably heavier processing wise too.
[00:06:38] <nickeddy> nope
[00:06:45] *** baweaver has joined #angularjs
[00:06:53] <nickeddy> well, if you're really concerned you could just do lodash
[00:06:54] <jaawerth> yeah, IIRC angular has the edge, but not by much, and lodash beats them both
[00:07:16] <jaawerth> of course, they're all super slow compared to using a native for loop but that has its own problems
[00:07:24] *** jonathanpglick has quit IRC
[00:07:36] *** soee_ has joined #angularjs
[00:07:50] *** Browser has joined #angularjs
[00:07:53] <jaawerth> and by the time you're done checking for hasOwnProperty and such, you might as well use forEach
[00:08:47] *** \du has joined #angularjs
[00:08:47] *** \du has joined #angularjs
[00:08:57] *** patrickarlt has joined #angularjs
[00:09:12] <jaawerth> I include lodash in almost every project these days, though
[00:09:16] *** bbankes__ has joined #angularjs
[00:09:21] *** zwier has quit IRC
[00:09:58] <jaawerth> nickeddy: actually I'm sad that lodash doesn't have a polyfill for defineProperty
[00:10:10] *** seriema has joined #angularjs
[00:10:18] *** soee_ has quit IRC
[00:10:39] *** mennea has joined #angularjs
[00:10:51] *** mystronyx has quit IRC
[00:11:15] *** macabre has quit IRC
[00:12:21] *** __pbc__ has quit IRC
[00:12:23] *** jdcasey has quit IRC
[00:12:30] *** kenavr has quit IRC
[00:12:34] *** bbankes_ has quit IRC
[00:12:53] *** jas855 has joined #angularjs
[00:13:01] *** boxmein has joined #angularjs
[00:13:19] <jaawerth> actually I don't even know hot to overload an assignment operator in javascript WITHOUT using defineProperty other than some weird hacks
[00:13:24] *** AlexZ has quit IRC
[00:13:31] *** sari1 has quit IRC
[00:13:33] <jaawerth> actually I dont think you can in pre-5.1
[00:13:51] *** baweaver has quit IRC
[00:14:14] *** jas855 has left #angularjs
[00:14:17] *** Adam91 has quit IRC
[00:14:22] *** dman777 has quit IRC
[00:14:32] *** seriema has quit IRC
[00:14:50] *** mmealling has quit IRC
[00:15:11] *** umib0zu has quit IRC
[00:15:34] *** dman777 has joined #angularjs
[00:16:28] *** ahtik has quit IRC
[00:17:45] *** Jesse___ has quit IRC
[00:17:51] *** jasonp has quit IRC
[00:17:59] *** ahtik has joined #angularjs
[00:18:04] *** jonathanpglick has joined #angularjs
[00:18:21] *** koleS has quit IRC
[00:19:19] *** m0t0r has joined #angularjs
[00:21:27] *** Chubbs has joined #angularjs
[00:22:41] *** patrick99e99 has joined #angularjs
[00:22:44] *** recurrence has quit IRC
[00:23:09] *** baweaver has joined #angularjs
[00:23:13] <Chubbs> I have a application where after a certain set of conditions, I want to watch for a scroll event before preforming another action. Is there any way to attach and remove an event listener programattically? Or do I have to keep a watcher for scroll events on at all time even though I dont need it?
[00:24:30] *** dcherman has quit IRC
[00:25:42] *** jwowwz has quit IRC
[00:25:50] *** mven has quit IRC
[00:26:08] *** sonofdirt has quit IRC
[00:28:03] <themime> Chubbs: element.on('eventname',function(event,etc){}) element.off('eventname')
[00:28:26] *** \du has quit IRC
[00:28:36] <saucey> hey guys map and angualar dont quiet work the same
[00:28:37] <themime> Chubbs: ideally in a directive
[00:28:53] <Grokling> saucey: Correct.
[00:29:17] <saucey> becuase in my view when i do map it duplicates the value
[00:29:43] *** cthrax has quit IRC
[00:30:11] <saucey> my bad, i red the data wrong +=
[00:30:22] *** chintanparikh has joined #angularjs
[00:30:32] *** recurrence has joined #angularjs
[00:31:24] *** rkjdid has quit IRC
[00:31:27]
<chintanparikh> Hey people. So I have this directive https://gist.github.com/chintanparikh/0b80c504234b6e7b3a4a which is meant to take a jQuery autocomplete plugin, and turn it into a directive. And it works, but when I select an autocomplete option, it throws off the two way data binding and only updates the input. Any ideas?
[00:32:10] *** dcherman has joined #angularjs
[00:32:24] *** diosney has quit IRC
[00:32:44] <jaawerth> Grokling: what was your revision?
[00:33:08] *** rud_ has joined #angularjs
[00:33:08] *** rud_ has joined #angularjs
[00:33:32] <Grokling> jaawerth: added array.map and lodash to the test cases.
[00:33:37] *** rud has quit IRC
[00:33:38] *** rud_ is now known as rud
[00:33:46] <jaawerth> ah
[00:33:57] *** neoadventist has joined #angularjs
[00:34:00] <Chubbs> themime: many thanks
[00:34:06] <Fuzzy> what promise libraries do you guys recommend?
[00:34:24] *** DLSteve has quit IRC
[00:34:25] <Grokling> $q comes in the box. Otherwise bluebird.
[00:34:28] *** bbankes__ has quit IRC
[00:34:38] *** plato has quit IRC
[00:34:39] <Fuzzy> ah
[00:34:48] <dsdeiz> hey all, how do you normally maintain a session? i.e. right now i have a login page then user is redirected to a page after login but when i reload the page, i need to have the user log in again
[00:34:50] *** patrickarlt has quit IRC
[00:35:04] *** encryptd_fractl has quit IRC
[00:35:10] <moogey> Grokling: more so than the full version of Q?
[00:35:10] *** elrabin has quit IRC
[00:35:27] *** bkuberek has quit IRC
[00:35:42] <Fuzzy> you can promisify a function by just calling $q on it correct?
[00:35:43] *** WhatsInTheBoks has quit IRC
[00:35:52] *** mzabriskie has quit IRC
[00:35:58] <Grokling> $q.when(myFunction())
[00:36:32] *** yts has quit IRC
[00:37:04] *** mary5030_ has joined #angularjs
[00:37:06] *** tjsail33 has joined #angularjs
[00:37:34] <Fuzzy> oh
[00:37:36] *** wolfman2000 has joined #angularjs
[00:39:02] *** pikos has joined #angularjs
[00:39:02] *** jonahR has joined #angularjs
[00:39:05] *** Foxandxss has quit IRC
[00:39:08] *** kwaledesign has joined #angularjs
[00:40:21] *** mennea has quit IRC
[00:40:35] *** diosney has joined #angularjs
[00:40:46] *** mary5030 has quit IRC
[00:41:01] *** mennea has joined #angularjs
[00:41:52] *** wolfman2000 has quit IRC
[00:42:05] *** diosney has quit IRC
[00:42:17] <Fuzzy> cool, thanks
[00:42:41] *** wolfman2000 has joined #angularjs
[00:43:28] *** boxmein has quit IRC
[00:44:14] *** Johnny13371337 has quit IRC
[00:45:01] *** lsiv568 has joined #angularjs
[00:45:29] *** bmac has quit IRC
[00:47:32] *** visualshock has quit IRC
[00:47:49] <jaawerth> Grokling: oh weird, recursion is second only to lodash
[00:47:54] <jaawerth> I was not expecting that
[00:48:10] *** lsiv568 has quit IRC
[00:48:11] <jaawerth> and I didn't even optimize it, I just used a self-invoking function
[00:48:11] *** ron1 has joined #angularjs
[00:48:20] *** morenoh150 has joined #angularjs
[00:48:23] *** jlambert121 has quit IRC
[00:49:16] *** dannyc has joined #angularjs
[00:49:51] *** \du has joined #angularjs
[00:49:51] *** \du has joined #angularjs
[00:52:01] *** fairuz has quit IRC
[00:52:23] *** mjw56 has joined #angularjs
[00:52:54] *** snapwich has quit IRC
[00:53:12] *** juampy has quit IRC
[00:53:36] *** dannyc has quit IRC
[00:54:39] *** dannyc has joined #angularjs
[00:55:05] <jaawerth> Grokling: optimizing the recursive approach BEATS lodash. Surprising!
[00:55:44] *** sk87 has joined #angularjs
[00:55:55] <jaawerth> granted, lodash does a bunch of other fallback stuff and the recursive case is gonna eat up memory
[00:56:25] <Grokling> jaawerth: yeah, might be a bit 'raw' for general usage perhaps!
[00:56:26] *** darrin has joined #angularjs
[00:56:36] <jaawerth> still didn't expect it to be faster, though
[00:56:37] *** mdedetrich has joined #angularjs
[00:57:25] *** \du has quit IRC
[00:58:03] <jaawerth> hrm, guess I should update that so you aren't starting at the end of the array (and don't have to input the starting index)
[00:58:04] <jaawerth> one sec
[00:58:39] *** snapwich has joined #angularjs
[00:58:40] <Grokling> and you binned the 'native' array.map I thought that was a useful comparison to have in there..
[00:58:51] <jaawerth> I didn't mean to
[00:58:55] <jaawerth> heh
[00:59:14] <jaawerth> I think there might be a limit actually, because I initially killed lodash accidentally and had to bring it back manually
[00:59:24] <jaawerth> or I just screwed it up because I don't use jsperf enough
[00:59:31] *** rho has quit IRC
[00:59:46] *** prbc has quit IRC
[00:59:47] *** mdedetrich has quit IRC
[01:00:22] *** prbc has joined #angularjs
[01:00:27] *** dannyc has quit IRC
[01:00:49] *** Linell has joined #angularjs
[01:00:55] *** disorder20 has quit IRC
[01:01:08] *** bulkan_ has joined #angularjs
[01:01:28] *** ngbot has joined #angularjs
[01:01:28]
<ngbot> [angular.js] vojtajina created browserstack-with-socketio-1_0 (+1 new commit): http://git.io/HYaLSw
[01:01:29] <ngbot> angular.js/browserstack-with-socketio-1_0 01ac3dd Vojta Jina: WIP: run only unit tests on BS
[01:01:29] *** ngbot has left #angularjs
[01:02:09] *** jackdpeterson has quit IRC
[01:02:15] *** Malcolm has joined #angularjs
[01:02:17] *** bulkan_ has quit IRC
[01:02:34] *** TyrfingMjolnir has joined #angularjs
[01:02:37] *** enigmarm has quit IRC
[01:02:42] *** saucey has quit IRC
[01:03:07] *** snapwich has quit IRC
[01:04:03] *** mdedetrich has joined #angularjs
[01:04:24] *** jtimon has quit IRC
[01:04:32] *** Malcolm has quit IRC
[01:04:36] *** prbc has quit IRC
[01:04:45] *** pikos has quit IRC
[01:05:05] *** bulkan has quit IRC
[01:05:31] *** woah has quit IRC
[01:05:36] *** whitebook has joined #angularjs
[01:06:24] *** greengriminal has quit IRC
[01:06:39] <jaawerth> oh wait, but the lodash map is going to be more expensive than a forEach, I think
[01:06:50] *** greengriminal has joined #angularjs
[01:07:06] <jaawerth> oh, nevermind
[01:08:36] <jaawerth> oh, derp, it's because with the other ones you're jumping in and out of a function callstack
[01:08:46] <jaawerth> whereas with the recursive approach you're just going in, in, in (I think)
[01:09:28] <jaawerth> plus there may be some garbage collection going on, can't remember
[01:10:24] *** mennea has quit IRC
[01:10:35] *** threesixes has joined #angularjs
[01:10:45] *** chrisshattuck has quit IRC
[01:11:02] *** mennea has joined #angularjs
[01:11:02] <jaawerth> anyway, gotta go. later!
[01:11:34] <Grokling> Bye!
[01:12:48] *** mennea has quit IRC
[01:12:54] *** metasansana has joined #angularjs
[01:12:54] *** metasansana has joined #angularjs
[01:13:33] *** darrin has quit IRC
[01:13:38] *** kompresor has quit IRC
[01:13:40] *** josh-k_ has joined #angularjs
[01:14:28] *** bayousoft has joined #angularjs
[01:14:49] *** yoshokatana has joined #angularjs
[01:16:31] *** zilla_ has quit IRC
[01:17:00] *** josh-k has quit IRC
[01:17:15] *** Rahul_Roy_ has quit IRC
[01:17:49] <andrew9183> I’m having trouble with nested controllers, my child controller is being run through the parent controller
[01:18:08] *** MistahKurtz has quit IRC
[01:18:27] <andrew9183> ie, when i go /campaigns/382901839, it runs campaigncontroller, and then campaigneditcontroller
[01:18:43] *** MistahKurtz has joined #angularjs
[01:19:57] *** recurrence has quit IRC
[01:20:05] *** johnnyfive has quit IRC
[01:21:04] *** whitebook has quit IRC
[01:21:36] *** shpoont has quit IRC
[01:21:43] *** AciD` has quit IRC
[01:21:46] *** carif has joined #angularjs
[01:22:23] *** johnnyfive has joined #angularjs
[01:22:32] *** tfennelly has quit IRC
[01:23:27] *** baweaver has quit IRC
[01:24:05] *** dcherman has quit IRC
[01:24:13] *** ngbot has joined #angularjs
[01:24:14]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/F2vgNQ
[01:24:14] <ngbot> angular.js/browserstack-with-socketio-1_0 b322e99 Vojta Jina: WIP: trigger Travis
[01:24:14] *** ngbot has left #angularjs
[01:25:13] *** recurrence has joined #angularjs
[01:26:27] *** ron1 has quit IRC
[01:26:36] *** bejames has quit IRC
[01:27:15] *** sk87 has quit IRC
[01:28:19] *** sk87 has joined #angularjs
[01:28:21] *** digisky has quit IRC
[01:28:23] *** ron1 has joined #angularjs
[01:28:37] *** mzabriskie has joined #angularjs
[01:28:38] <andrew9183> i have a hacky workaround to check the params in the parent controller and return false, but this seems so wrong.
[01:29:31] *** dc_ has joined #angularjs
[01:30:41] *** ron1 has quit IRC
[01:31:28] *** wallerdev has quit IRC
[01:31:36] *** davek_ has joined #angularjs
[01:31:44] *** davek_ has joined #angularjs
[01:31:48] *** mspier is now known as mspier|away
[01:31:53] *** wallerdev has joined #angularjs
[01:32:08] *** ngbot has joined #angularjs
[01:32:08]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/LdmRPg
[01:32:08] <ngbot> angular.js/browserstack-with-socketio-1_0 cac80b0 Vojta Jina: WIP: inc no activity timeout...
[01:32:08] *** ngbot has left #angularjs
[01:32:15] *** iamvfl has joined #angularjs
[01:32:29] *** mspier|away is now known as mspier
[01:32:44] *** Linell has quit IRC
[01:32:50] *** kwaledesign has quit IRC
[01:32:53] *** wallerdev has quit IRC
[01:33:04] *** Koganei has joined #angularjs
[01:33:21] *** Fuzzy has quit IRC
[01:33:46] *** eBureau has joined #angularjs
[01:34:23] *** rchavik has joined #angularjs
[01:34:43] *** bmac has joined #angularjs
[01:35:51] *** k-dawg has joined #angularjs
[01:37:08] *** m_rc has joined #angularjs
[01:37:13] *** chintanparikh has quit IRC
[01:37:19] *** edrocks has joined #angularjs
[01:38:00] *** dacuca has quit IRC
[01:39:11] *** mzabriskie has quit IRC
[01:39:30] *** bbankes has joined #angularjs
[01:39:31] *** lsiv568 has joined #angularjs
[01:39:32] *** mzabriskie has joined #angularjs
[01:39:32] *** phishy has quit IRC
[01:40:00] *** bmac has quit IRC
[01:40:06] *** WraithM has joined #angularjs
[01:40:44] *** prbc has joined #angularjs
[01:41:13] *** ProLoser has quit IRC
[01:41:16] *** bengillies has quit IRC
[01:41:19] *** mary5030_ has quit IRC
[01:41:35] *** bahoo has quit IRC
[01:41:52] *** mary5030 has joined #angularjs
[01:42:16] *** warpx has joined #angularjs
[01:43:38] *** bejames has joined #angularjs
[01:43:49] *** mzabriskie has quit IRC
[01:44:22] *** prbc_ has joined #angularjs
[01:44:23] *** yoshokatana has quit IRC
[01:44:28] *** bmac has joined #angularjs
[01:44:42] *** cjuehring has joined #angularjs
[01:44:53] <m_rc> Anyone have a plnkr handy with Jasmine/Angular ready?
[01:45:12] *** prbc has quit IRC
[01:45:35] *** lsiv568 has quit IRC
[01:45:44] *** aslate has joined #angularjs
[01:46:25] *** BillCriswell has joined #angularjs
[01:46:36] *** mary5030 has quit IRC
[01:47:27] *** warpx has quit IRC
[01:47:33] *** lsiv568 has joined #angularjs
[01:47:34] *** ChadStrat has joined #angularjs
[01:47:43] *** BobbieBarker has joined #angularjs
[01:50:18] *** aslate has quit IRC
[01:50:24] *** dacuca has joined #angularjs
[01:51:19] *** tkh44 has quit IRC
[01:52:09] *** tjsail33 is now known as zz_tjsail33
[01:52:53] *** zz_tjsail33 is now known as tjsail33
[01:53:06] *** Siecje has joined #angularjs
[01:53:09] *** dc_ has quit IRC
[01:53:10] *** Una has joined #angularjs
[01:53:36] *** getn_outchea has quit IRC
[01:53:39] *** cjuehring has quit IRC
[01:54:48] *** code-ninja{don} has joined #angularjs
[01:55:14] *** naiyte_ has quit IRC
[01:55:18] *** ron1 has joined #angularjs
[01:57:32] *** ron1 has quit IRC
[01:57:39] *** Una has quit IRC
[01:57:44] <Grokling> Anybody know of a chrome extension that can tell me which rules are applying a particular attribute to an element? Say I was interested in finding out all rules that are applying opacity to my element..
[01:58:14] *** getn_outchea has joined #angularjs
[01:58:23] *** m_rc has quit IRC
[01:58:49] *** m_rc has joined #angularjs
[01:58:54] *** icfantv has quit IRC
[01:59:47] *** sk87 has quit IRC
[01:59:54] <andrew9183> the default chrome inspector should do that already
[02:00:15] *** ngbot has joined #angularjs
[02:00:15]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/kNfYUA
[02:00:15] <ngbot> angular.js/browserstack-with-socketio-1_0 ce406af Vojta Jina: WIP: disable protractor
[02:00:15] *** ngbot has left #angularjs
[02:00:25] *** dannyc has joined #angularjs
[02:00:26] *** garbanzio has quit IRC
[02:00:50] *** rileylark has joined #angularjs
[02:01:08] *** code-ninja{don} has quit IRC
[02:01:26] *** Evanion has quit IRC
[02:01:50] *** tjsail33 has quit IRC
[02:02:14] *** phzon has joined #angularjs
[02:02:35] *** markalanevans has quit IRC
[02:03:58] *** ron1 has joined #angularjs
[02:04:49] *** bmac has quit IRC
[02:04:59] *** macabre has joined #angularjs
[02:05:00] *** dannyc has quit IRC
[02:05:19] *** rileylark has quit IRC
[02:05:20] *** code-ninja{don} has joined #angularjs
[02:05:31] *** TheAceOfHearts has joined #angularjs
[02:06:16] *** jonathanpglick has quit IRC
[02:06:44] *** phzon has quit IRC
[02:07:51] *** JR___ has joined #angularjs
[02:08:12] *** ron1 has quit IRC
[02:08:18] *** patrickarlt has joined #angularjs
[02:08:25] *** jonathanpglick has joined #angularjs
[02:08:36] *** andreapopeye has quit IRC
[02:09:08] *** snurfery has quit IRC
[02:09:47] *** josh-k_ has quit IRC
[02:11:10] *** mzabriskie has joined #angularjs
[02:11:23] *** dannyc has joined #angularjs
[02:11:45] *** antons_ has quit IRC
[02:12:07] *** artisangoose has quit IRC
[02:13:17] *** mspier is now known as mspier|away
[02:13:31] *** ChadStrat has quit IRC
[02:14:17] *** marr has quit IRC
[02:14:35] *** MistahKurtz has quit IRC
[02:15:11] *** mary5030 has joined #angularjs
[02:15:40] *** dannyc has quit IRC
[02:16:32] *** morenoh150 has quit IRC
[02:18:48] <Grokling> andrew9183: Should. But doesn't as far as I can discover. The computed tab purports to show the 'final' style of the element. But seems not to account for ancestors somehow. Tells me that my image opacity is 1, when clearly it isn't.
[02:18:58] *** lyanchih has joined #angularjs
[02:19:09] <andrew9183> click the style tab and not the computer tab
[02:19:11] <andrew9183> *compupted
[02:19:42] *** ChadStrat has joined #angularjs
[02:20:31] *** dejanr has joined #angularjs
[02:20:40] *** technickul has joined #angularjs
[02:21:34] *** BobbieBarker has quit IRC
[02:21:58] *** Fuzzy has joined #angularjs
[02:22:40] *** k-dawg has quit IRC
[02:23:55] *** antons has joined #angularjs
[02:23:58] *** Una has joined #angularjs
[02:24:00] *** m_rc has quit IRC
[02:26:05] *** elrabin has joined #angularjs
[02:26:19] *** ctanga has joined #angularjs
[02:26:26] *** Chubbs has quit IRC
[02:26:28] *** ahtik has quit IRC
[02:27:37] *** Xaleph has joined #angularjs
[02:27:41] *** SahanH has joined #angularjs
[02:27:46] *** cellofellow has quit IRC
[02:29:18] *** oste has joined #angularjs
[02:30:12] *** kwaledesign has joined #angularjs
[02:31:10] *** Una has quit IRC
[02:31:27] *** diegoviola has joined #angularjs
[02:31:36] *** whitebook has joined #angularjs
[02:32:09] *** sjt003 has quit IRC
[02:32:14] *** goodenough has quit IRC
[02:33:06] *** tschunde_ has joined #angularjs
[02:33:59] *** carif_ has joined #angularjs
[02:35:24] *** m0t0r has quit IRC
[02:35:42] *** iamvfl has quit IRC
[02:35:53] *** ankushnarula has quit IRC
[02:35:57] *** whitebook has quit IRC
[02:35:57] *** carif has quit IRC
[02:35:59] *** tschundeee has quit IRC
[02:36:40] *** dcherman has joined #angularjs
[02:36:45] *** WraithM has left #angularjs
[02:37:45] *** adpirz has joined #angularjs
[02:38:09] *** dcherman2 has joined #angularjs
[02:38:41] *** fedenunez has joined #angularjs
[02:38:56] *** fabiofb has joined #angularjs
[02:38:57] *** cakirke has joined #angularjs
[02:39:18] *** {DV8} has joined #angularjs
[02:39:46] *** NoNMaDDeN has quit IRC
[02:40:57] *** moritzschaefer has quit IRC
[02:41:06] *** wallerdev has joined #angularjs
[02:41:22] *** dcherman has quit IRC
[02:42:00] *** rburns has joined #angularjs
[02:42:27] *** Xaleph has quit IRC
[02:42:27] *** joshontheweb has quit IRC
[02:43:46] *** kirfu has joined #angularjs
[02:44:01] *** joshontheweb has joined #angularjs
[02:46:12] *** Naveen has joined #angularjs
[02:46:16] *** Evanion has joined #angularjs
[02:46:20] <Naveen> hello
[02:46:35] *** encryptd_fractl has joined #angularjs
[02:46:53] <Naveen> I have a web application built on HTML + AngularJS + Web API
[02:47:35] *** zB0hs has joined #angularjs
[02:47:54] *** RedOrangeZ has quit IRC
[02:48:06] <Naveen> I enabled client side routing, as its a SPA and everything works fine and the moment user refresh the browser, i loose the url and it redirects back to /login
[02:48:10] *** rafagomes_ has joined #angularjs
[02:48:31] *** annlewis has quit IRC
[02:48:37] *** rafagomes has quit IRC
[02:49:57] *** Guest22 has quit IRC
[02:50:42] *** encryptd_fractl has quit IRC
[02:50:47] *** busticated has quit IRC
[02:50:54] *** richiebkr has quit IRC
[02:51:24] *** jeffisabelle has quit IRC
[02:51:58] *** Xaleph has joined #angularjs
[02:52:14] <jcool> Naveen, have you taken care of seeing user cookies on page refresh?
[02:52:19] *** jlambert121 has joined #angularjs
[02:52:36] *** richiebkr has joined #angularjs
[02:53:07] <jcool> when you are doing authentication you need to take care of page refresh event also. So when you are refreshing page you will want to verify his authenticaion and if he is already authenticated give him page else go to login
[02:54:07] *** say2joe has quit IRC
[02:54:10] *** richiebkr has quit IRC
[02:55:09] *** threesixes has quit IRC
[02:55:25] *** h11 has joined #angularjs
[02:56:09] *** jonr2219 has joined #angularjs
[02:56:56] *** afuggini has joined #angularjs
[02:57:05] *** h11 has quit IRC
[02:57:10] *** patrickarlt has quit IRC
[02:57:27] *** Linell has joined #angularjs
[02:57:27] *** ron1 has joined #angularjs
[02:57:27] *** elrabin has quit IRC
[02:57:33] *** Linell has quit IRC
[02:57:42] *** Fire-Dragon-DoL has quit IRC
[02:57:55] *** patrickarlt has joined #angularjs
[02:57:55] *** Iravan has joined #angularjs
[02:58:01] *** Evanion has quit IRC
[02:58:12] *** fairuz has joined #angularjs
[02:58:36] *** {DV8} has quit IRC
[02:58:37] *** Una has joined #angularjs
[02:58:38] *** lsiv568 has quit IRC
[02:58:41] *** SomeKittens has joined #angularjs
[02:58:52] *** Iravan has quit IRC
[02:59:00] *** cacts|works has quit IRC
[02:59:02] *** lsiv568 has joined #angularjs
[02:59:58] *** lemur has joined #angularjs
[03:00:32] *** gfgfdg has joined #angularjs
[03:00:39] <gfgfdg> hi
[03:00:40] *** SeeThruHead has joined #angularjs
[03:00:46] *** jonr2219 has quit IRC
[03:00:51] *** Iravan has joined #angularjs
[03:00:58] *** richiebkr has joined #angularjs
[03:01:28] *** adpirz has quit IRC
[03:01:43] *** ChadStrat has quit IRC
[03:01:47] *** Iravan has quit IRC
[03:02:01] *** adpirz has joined #angularjs
[03:02:21] *** patrickarlt has quit IRC
[03:02:56] *** gfgfdg has quit IRC
[03:03:04] *** Iravan has joined #angularjs
[03:03:12] *** frem has quit IRC
[03:03:12] *** frem_ is now known as frem
[03:03:32] *** elrabin has joined #angularjs
[03:03:47] *** ProLoser has joined #angularjs
[03:04:08] *** themime has quit IRC
[03:05:49] *** morenoh150 has joined #angularjs
[03:06:07] *** BobbieBarker has joined #angularjs
[03:06:34] *** adpirz has quit IRC
[03:06:52] *** dacuca has quit IRC
[03:06:53] *** threesixes has joined #angularjs
[03:07:47] *** tsalb has quit IRC
[03:09:09] *** naiyte_ has joined #angularjs
[03:09:36] *** jonahR has quit IRC
[03:09:52] *** woah has joined #angularjs
[03:10:27] *** busticated has joined #angularjs
[03:10:29] *** dacuca has joined #angularjs
[03:11:45] *** d0ngz has quit IRC
[03:11:55] *** mclenithan has quit IRC
[03:14:03] *** dacuca has quit IRC
[03:14:27] *** naiyte_ has quit IRC
[03:15:25] *** kwaledesign has quit IRC
[03:16:02] *** jcruz has quit IRC
[03:16:04] *** Sontakey has quit IRC
[03:17:06] *** tschunde_ has quit IRC
[03:17:40] *** tschundeee has joined #angularjs
[03:17:55] *** ome has joined #angularjs
[03:17:59] *** snurfery has joined #angularjs
[03:18:30] *** mven has joined #angularjs
[03:18:40] *** Nivag_ has quit IRC
[03:19:50] *** fabiofb has quit IRC
[03:21:39] *** MuffinMan` has quit IRC
[03:22:22] *** tschundeee has quit IRC
[03:22:45] *** mogaj has joined #angularjs
[03:22:58] *** ron1 has quit IRC
[03:23:33] *** mtho11 is now known as mtho11|afk
[03:24:28] *** mzabriskie has quit IRC
[03:24:37] *** encryptd_fractl has joined #angularjs
[03:25:49] *** motionman has joined #angularjs
[03:26:23] *** ron1 has joined #angularjs
[03:26:23] *** mary5030 has quit IRC
[03:26:58] *** mary5030 has joined #angularjs
[03:27:17] *** kwaledesign has joined #angularjs
[03:27:21] *** nairys has quit IRC
[03:27:42] *** dseitz has quit IRC
[03:27:54] *** beauXjames has joined #angularjs
[03:28:10] *** lsiv568 has quit IRC
[03:28:18] *** tyfighter has joined #angularjs
[03:28:29] *** ron1 has quit IRC
[03:28:54] *** encryptd_fractl has quit IRC
[03:29:23] *** Xaleph has quit IRC
[03:29:46] *** encryptd_fractl has joined #angularjs
[03:30:17] *** richiebkr has quit IRC
[03:30:34] *** ron1 has joined #angularjs
[03:31:19] *** mary5030 has quit IRC
[03:31:23] *** warpx has joined #angularjs
[03:31:41] *** frkout_ has joined #angularjs
[03:31:58] *** cjuehring has joined #angularjs
[03:32:00] *** NoNMaDDeN has joined #angularjs
[03:33:11] *** mven has quit IRC
[03:33:36] *** tjsail33 has joined #angularjs
[03:34:15] *** frkout has quit IRC
[03:34:19] *** rafagomes_ has quit IRC
[03:34:26] *** gladely has quit IRC
[03:34:35] *** prbc_ has quit IRC
[03:35:08] *** aslate has joined #angularjs
[03:35:12] *** prbc has joined #angularjs
[03:35:12] *** ctanga has quit IRC
[03:35:21] *** rafagomes has joined #angularjs
[03:35:48] *** ron1 has quit IRC
[03:36:07] *** ron1 has joined #angularjs
[03:36:24] *** warpx has quit IRC
[03:36:41] *** cacts has joined #angularjs
[03:37:54] *** pikos has joined #angularjs
[03:38:51] *** voltagex has quit IRC
[03:39:25] *** fedenunez has quit IRC
[03:39:34] *** cjuehring has quit IRC
[03:39:42] *** aslate has quit IRC
[03:40:05] *** prbc has quit IRC
[03:41:52] *** ChadStrat has joined #angularjs
[03:42:44] *** tyfighter has quit IRC
[03:42:44] *** rburns has quit IRC
[03:43:08] *** rburns has joined #angularjs
[03:43:19] *** TyrfingMjolnir has quit IRC
[03:43:24] *** Xaleph has joined #angularjs
[03:43:43] *** Oddman has quit IRC
[03:43:51] *** cthrax has joined #angularjs
[03:44:05] *** evanjs has joined #angularjs
[03:44:28] *** woah has quit IRC
[03:44:37] *** kwaledesign has quit IRC
[03:47:22] *** rolleiflex has quit IRC
[03:47:29] *** recurrence has quit IRC
[03:47:54] *** devhoag has joined #angularjs
[03:47:58] *** richiebkr has joined #angularjs
[03:48:06] *** TyrfingMjolnir has joined #angularjs
[03:48:34] *** Aliks has quit IRC
[03:48:45] *** japhar81 has joined #angularjs
[03:49:00] *** dannyc has joined #angularjs
[03:49:09] *** Aliks has joined #angularjs
[03:49:33] *** Aliks has joined #angularjs
[03:49:41] *** ron1 has quit IRC
[03:50:11] *** prbc has joined #angularjs
[03:51:48] *** bulkan has joined #angularjs
[03:53:26] *** woah has joined #angularjs
[03:53:34] *** dannyc has quit IRC
[03:54:18] *** TyrfingMjolnir has quit IRC
[03:54:56] *** ron1 has joined #angularjs
[03:55:57] *** TyrfingMjolnir has joined #angularjs
[03:56:18] *** afuggini has quit IRC
[03:56:40] *** kirfu has quit IRC
[03:57:57] *** snurfery has quit IRC
[03:58:57] *** RobinBAwesome has quit IRC
[03:59:29] *** danecando has joined #angularjs
[03:59:58] *** \du has joined #angularjs
[04:00:45] *** danecando has quit IRC
[04:01:10] *** sk87 has joined #angularjs
[04:01:13] *** danecando has joined #angularjs
[04:01:54] *** kwaledesign has joined #angularjs
[04:02:05] *** frkout_ has quit IRC
[04:02:19] *** frkout has joined #angularjs
[04:02:34] *** kwaledesign has quit IRC
[04:02:37] *** Xaleph has quit IRC
[04:03:15] *** sirkitree|afk is now known as sirkitree|afk|af
[04:03:22] *** thepro4ever has joined #angularjs
[04:03:37] *** thepro4ever has left #angularjs
[04:04:12] *** johnnyfive has quit IRC
[04:04:23] *** JoshGlzBrk has joined #angularjs
[04:05:28] *** wsmoak has quit IRC
[04:05:41] *** threesixes has quit IRC
[04:06:14] *** kapil__ has joined #angularjs
[04:07:22] *** johnnyfive has joined #angularjs
[04:07:55] *** ProLoser has quit IRC
[04:09:02] *** cakirke has quit IRC
[04:09:13] *** motionman has quit IRC
[04:09:45] *** ProLoser has joined #angularjs
[04:11:20] *** patrick99e99 has quit IRC
[04:12:11] *** ProLoser has quit IRC
[04:12:30] *** dcherman2 has quit IRC
[04:13:09] *** encryptd_fractl has quit IRC
[04:13:09] *** rburns has quit IRC
[04:13:20] *** rburns has joined #angularjs
[04:13:29] *** \du has quit IRC
[04:14:53] *** ionpulse has quit IRC
[04:14:54] *** _thumpba has joined #angularjs
[04:15:11] *** ionpulse has joined #angularjs
[04:15:39] *** thumpba_ has joined #angularjs
[04:16:08] *** robdubya has quit IRC
[04:16:30] *** frkout has quit IRC
[04:16:57] *** frkout has joined #angularjs
[04:17:52] *** threesixes has joined #angularjs
[04:18:04] *** davesidious__ has joined #angularjs
[04:18:26] *** Nivag_ has joined #angularjs
[04:19:10] *** marpstar has joined #angularjs
[04:19:21] *** chrisshattuck has joined #angularjs
[04:19:38] <Naveen> jcool, well i tried it but no luck
[04:20:06] *** _thumpba has quit IRC
[04:20:34] <marpstar> need a suggestion for a nice way to inject an Angular view into a header area at a per-view level...
[04:21:04] *** moogey has quit IRC
[04:21:16] *** tjsail33 has quit IRC
[04:21:38] *** richiebkr has quit IRC
[04:21:47] *** jonathanpglick has quit IRC
[04:22:06] *** davesidious_ has quit IRC
[04:23:08] *** Hackwar has joined #angularjs
[04:23:08] *** sirkitree|afk|af is now known as sirkitree
[04:23:18] *** beauXjames has quit IRC
[04:23:48] <jaawerth> huh, random CSS question - what the hell does "content: '\A';" do in an :after { selector?
[04:23:49] *** elrabin has quit IRC
[04:23:51] <jaawerth> never seen that
[04:24:56] <Naveen> jcool, i taken care of Authentication and its only when a manual refresh of browser is done, i loose everything and url changes to current path and that mess up the routing
[04:24:57] <marpstar> does an 'A' appear in the element?
[04:25:00] *** sirkitree is now known as sirkitree|afk
[04:25:03] *** jonathanpglick has joined #angularjs
[04:25:06] *** Hackwar1 has quit IRC
[04:25:06] <jaawerth> no - it appears to affect opacity
[04:25:23] *** htmelvis has joined #angularjs
[04:25:52] *** warehouse13 has quit IRC
[04:26:30] *** gladely has joined #angularjs
[04:26:36] *** WalterJr has joined #angularjs
[04:26:57] *** tjsail33 has joined #angularjs
[04:27:42] <BahamutWC> jaawerth: could be a CSS hack
[04:27:57] <BahamutWC> I was just looking through that list out of curiosity
[04:28:34] *** patrickarlt has joined #angularjs
[04:29:14] *** wallerdev has quit IRC
[04:29:32] *** magnificrab has quit IRC
[04:30:12] <jaawerth> huh, it's a line feed character
[04:30:22] <jaawerth> equivalent to u+000A
[04:30:54] *** thumpba_ has quit IRC
[04:31:06] *** kuadrosx has quit IRC
[04:31:31] *** _thumpba has joined #angularjs
[04:31:34] *** gunn_ has joined #angularjs
[04:31:54] *** zanea is now known as zanea|away
[04:32:24] <BahamutWC> new line?
[04:32:31] *** gunn has quit IRC
[04:32:41] *** sk87 has quit IRC
[04:32:47] <BahamutWC> but...how does that explain why that works?
[04:32:48] *** sampsons has quit IRC
[04:33:15] *** theshit123 has quit IRC
[04:34:29] <BahamutWC> ohh, I think I get it
[04:34:43] <BahamutWC> because it's a new line, that whole shaded effect *is* the opacity effect
[04:35:05] *** tjsail33 has quit IRC
[04:36:02] *** _thumpba has quit IRC
[04:36:26] *** neoadventist has quit IRC
[04:37:03] <jaawerth> ahhh got it!
[04:37:09] *** _thumpba has joined #angularjs
[04:37:13] *** busticated has quit IRC
[04:37:18] <jaawerth> it's just inserting the line feed so it has a blank "thing" to reshape with the CSS
[04:37:27] <jaawerth> probably because there are sometimes issues with empty divs
[04:37:34] *** mary5030 has joined #angularjs
[04:37:34] <jaawerth> it inserts SOMETHING because.. reasons
[04:37:42] <jaawerth> probably for browser compatibility
[04:38:04] <marpstar> can anyone active offer me advice regarding "injecting" a view into an element? We've got an area in our app header than needs to load a different "widget" for each page
[04:38:18] *** cthrax has quit IRC
[04:38:33] *** tjsail33 has joined #angularjs
[04:38:37] <BahamutWC> jaawerth: it looks like a CSS hack - if you don't have to support crappy browsers, the opacity filter is better
[04:38:44] <jaawerth> yeah
[04:38:52] <jaawerth> that's totally what it is
[04:41:02] *** ChadStrat has quit IRC
[04:41:18] <BahamutWC> looks like it's a pretty standard hack, to use :before or :after, and content, set width & height, and opacity
[04:41:20] *** Xaleph has joined #angularjs
[04:42:11] <BahamutWC> but looks like Firefox and IE don't play nice
[04:42:17] *** mary5030 has quit IRC
[04:42:21] *** richiebkr has joined #angularjs
[04:42:22] *** conan_the_destro has quit IRC
[04:43:12] <BahamutWC> I love using blur on Chrome
[04:44:21] *** encryptd_fractl has joined #angularjs
[04:44:25] *** richiebkr has quit IRC
[04:44:52] <jaawerth> hehe
[04:44:58] <jaawerth> yeah, I've totally used tricks like that before I think
[04:45:19] <jaawerth> I've just never seen it done with \A, or encountered \A as a line feed alias. quite the niche approach
[04:45:46] <jaawerth> I mean of course you can do \A instead of \000A but come on, that's just rude!
[04:45:54] *** pig___ has left #angularjs
[04:46:15] *** jonathanpglick has quit IRC
[04:47:28] *** blackkbot has quit IRC
[04:48:26] *** ishan1604 has joined #angularjs
[04:48:29] *** jonathanpglick has joined #angularjs
[04:48:34] *** cacts|works has joined #angularjs
[04:48:41] *** encryptd_fractl has quit IRC
[04:48:50] *** magnific1ab has joined #angularjs
[04:49:08] <cacts|works> i can't seem to access WebElement.equals() from anywhere
[04:49:28] *** ishan1604 has left #angularjs
[04:50:12] *** magnific1ab has quit IRC
[04:50:41] *** adpirz has joined #angularjs
[04:50:48] *** tyfighter has joined #angularjs
[04:51:54] *** night-owl is now known as zz_night-owl
[04:53:09] *** diegoviola has quit IRC
[04:54:23] *** htmelvis has quit IRC
[04:54:57] *** adpirz has quit IRC
[04:55:28] *** Nivag_ has quit IRC
[04:57:40] *** _thumpba has quit IRC
[04:57:46] *** TyrfingMjolnir has quit IRC
[04:58:00] *** zB0hs has quit IRC
[04:58:35] *** Milk_weed has quit IRC
[04:58:46] *** ChadStrat has joined #angularjs
[04:59:19] *** mmitchell has quit IRC
[04:59:57] *** bbankes has quit IRC
[05:01:10] *** mary5030 has joined #angularjs
[05:02:47] *** evanjs has quit IRC
[05:04:05] *** mary5030 has quit IRC
[05:04:19] *** bbankes has joined #angularjs
[05:04:24] *** TyrfingMjolnir has joined #angularjs
[05:04:42] *** mary5030 has joined #angularjs
[05:06:07] *** zz_night-owl is now known as night-owl
[05:06:23] *** TyrfingMjolnir has quit IRC
[05:06:37] *** mary5030_ has joined #angularjs
[05:06:40] *** mary5030 has quit IRC
[05:06:48] *** edrocks has quit IRC
[05:07:13] *** BillCriswell has quit IRC
[05:07:19] *** dejanr_ has joined #angularjs
[05:07:56] *** emmesswhy has joined #angularjs
[05:08:24] *** WalterJr has quit IRC
[05:08:29] *** htmelvis has joined #angularjs
[05:09:39] *** devhoag_ has joined #angularjs
[05:09:52] *** dejanr has quit IRC
[05:09:58] *** sjt003 has joined #angularjs
[05:11:12] *** renanoronfle has quit IRC
[05:11:18] *** devhoag has quit IRC
[05:12:08] *** dseitz has joined #angularjs
[05:12:55] *** Shrooms` has joined #angularjs
[05:12:56] *** burzum has joined #angularjs
[05:13:03] *** dcherman has joined #angularjs
[05:13:06] *** Shrooms` has quit IRC
[05:13:37] *** bbankes has quit IRC
[05:13:41] *** bradmaxs has joined #angularjs
[05:13:47] *** {DV8} has joined #angularjs
[05:14:10] *** burzum2 has quit IRC
[05:14:55] *** rburns has quit IRC
[05:15:19] *** rburns has joined #angularjs
[05:15:41] *** ycodr has quit IRC
[05:15:54] *** ycodr has joined #angularjs
[05:16:19] *** ron1 has quit IRC
[05:16:50] *** jaydubya has quit IRC
[05:17:06] <gladely> the return of $interval() is an identity, not a promise. wrap the $interval() into another function that you can call from the controller.
[05:17:25] *** jaydubya has joined #angularjs
[05:17:36] *** morenoh150 has quit IRC
[05:17:37] <gladely> promise/function reference
[05:17:46] *** ProLoser has joined #angularjs
[05:17:52] *** ron1 has joined #angularjs
[05:18:01] *** ycodr has quit IRC
[05:18:22] *** ycodr has joined #angularjs
[05:18:31] *** morenoh150 has joined #angularjs
[05:18:45] <bradmaxs> gladely: ok. I think I kind of understand. I will take a look at the promise/function reference. Thank you for responding.
[05:18:52] *** SKZC has joined #angularjs
[05:18:59] *** zanea|away is now known as zanea
[05:19:32] *** TyrfingMjolnir has joined #angularjs
[05:20:00] *** devhoag has joined #angularjs
[05:20:12] *** warpx has joined #angularjs
[05:20:13] *** BobbieBarker has quit IRC
[05:20:18] *** TyrfingMjolnir has quit IRC
[05:21:05] *** jonathanpglick has quit IRC
[05:21:12] *** devhoag_ has quit IRC
[05:22:55] *** ycodr has quit IRC
[05:23:06] *** nemothekid has joined #angularjs
[05:23:37] *** zivester has joined #angularjs
[05:23:41] *** ycodr has joined #angularjs
[05:24:38] *** aslate has joined #angularjs
[05:24:44] *** roachiepoopoo has joined #angularjs
[05:25:02] *** warpx has quit IRC
[05:25:18] *** rmill has quit IRC
[05:25:34] <bradmaxs> gladely: worked like a charm, thank you!
[05:26:00] *** JoshGlzBrk has quit IRC
[05:26:05] <jaawerth> you also can't return a value from an $interval, since it's async and recurring
[05:26:10] <gladely> also that
[05:26:20] *** lyanchih has quit IRC
[05:26:59] <bradmaxs> I see. still learning angular so I spend half of my time confused:)
[05:27:03] <jaawerth> what are you trying to do with the interval? have it refresh on a regular basis/do long polling?
[05:27:08] *** afuggini has joined #angularjs
[05:27:16] *** ycodr has quit IRC
[05:27:37] *** soj has joined #angularjs
[05:27:42] <jaawerth> well, same idea as native JS setInterval - the only difference is that $interval will wrap it in a service that triggers an angular digest cycle and do some other stuff
[05:27:46] *** frem has quit IRC
[05:27:46] *** BobbieBarker has joined #angularjs
[05:28:06] <bradmaxs> jaawerth: I am just trying to call a database every few seconds and update the $scope if anything has changed.
[05:28:09] *** JoshGlzBrk has joined #angularjs
[05:28:49] *** zivester has quit IRC
[05:28:54] *** aslate has quit IRC
[05:29:04] <jaawerth> ah, okay. well, presumably you wouldn't want that to be triggered by functions the way you have it, since you wouldn't want them to be called more than once
[05:29:12] *** ycodr has joined #angularjs
[05:29:50] <jaawerth> I'd probably put have the functions call the data initially and grab the results, which you'd then store in your service, and then set up the $interval to consistently refresh/check for new data
[05:30:24] *** dejanr_ has quit IRC
[05:30:37] *** freelyfred has joined #angularjs
[05:30:42] *** zivester has joined #angularjs
[05:30:52] *** charuru has joined #angularjs
[05:31:02] <jaawerth> yeah, that will work to grab the data
[05:31:02] *** ChadStrat has quit IRC
[05:31:17] *** afuggini has quit IRC
[05:31:43] *** ycodr has quit IRC
[05:31:49] <jaawerth> I'd probably have the factory invoke a constructor function instead of just returning a simple object, so you can more easily set up the member functions and datastore stuff
[05:31:50] <bradmaxs> I am about to add a new record to the db to test. I am assuming any new data will then be changed in the $scope?
[05:31:56] *** pikos has quit IRC
[05:32:22] *** Una has quit IRC
[05:32:36] *** Simone\_ has joined #angularjs
[05:32:52] *** Simone\ has quit IRC
[05:32:57] <bradmaxs> You just went over my head:) I have to look that one up on the intrawebs.
[05:33:03] <jaawerth> fair enough
[05:33:42] *** ycodr has joined #angularjs
[05:33:46] <jaawerth> well, what you're doing there should work, looking at it at a glance
[05:33:46] <bradmaxs> I appreciate the help though and thank you. I am googling it now. I figure in a few months I will grasp this.
[05:33:53] <jaawerth> but it isn't really a best-practice approach
[05:34:12] *** macabre has quit IRC
[05:34:13] *** Simone\_ has quit IRC
[05:34:14] <bradmaxs> I would rather do best practice.
[05:37:13] *** zB0hs has joined #angularjs
[05:37:22] *** s00pcan has quit IRC
[05:37:36] *** Simone\ has joined #angularjs
[05:37:50] *** ycodr has quit IRC
[05:38:14] *** _thumpba has joined #angularjs
[05:38:30] *** rileylark has joined #angularjs
[05:39:07] *** JoshGlzBrk has quit IRC
[05:39:41] *** ycodr has joined #angularjs
[05:42:41] *** woah has quit IRC
[05:42:46] *** rileylark has quit IRC
[05:42:55] <bradmaxs> thanks again gladely and jaawerth. I think I found a few articles about the factory invoking a constructor. Going to try and wrap my head around it.
[05:43:01] *** bradmaxs has left #angularjs
[05:43:05] *** BigMac has quit IRC
[05:43:56] <jaawerth> whoops, and here I was editing up his plunk, but it looks like he left. ah well, less work for me
[05:44:01] *** woah has joined #angularjs
[05:44:20] <gladely> :)
[05:45:01] *** sheld has joined #angularjs
[05:45:18] <dsdeiz> it looks like a lot of angularjs flash message modules only display messages on route change. is there a way to do this as well with ajax submission forms?
[05:45:20] <sheld> hi, someone with ionic and basic auth ?
[05:45:39] *** rburns has quit IRC
[05:45:56] *** rburns has joined #angularjs
[05:46:13] *** goodenou_ has joined #angularjs
[05:46:20] *** woah has quit IRC
[05:46:35] <sheld> why i cant see Authentication header if withcredentials = false ?
[05:46:39] *** s00pcan has joined #angularjs
[05:47:51] *** TyrfingMjolnir has joined #angularjs
[05:48:07] <jaawerth> dsdeiz: well, you don't need a module for that! You can just use either ng-show/hide or ng-messages (which requires the module be added to your project) with your own flags that you set on scope
[05:48:46] <jaawerth> the ng-messages module is just a way to more easily handle multiple messages for various conditions though
[05:48:48] <dsdeiz> yeah but was wondering if i could somehow just add messages on the queue, display them and remove them on the queue when they're displayed
[05:48:54] <dsdeiz> yeah i'm on 1.2
[05:49:28] *** zanea is now known as zanea|away
[05:49:59] *** snurfery has joined #angularjs
[05:50:13] *** TyrfingMjolnir_ has joined #angularjs
[05:50:43] *** Nivag_ has joined #angularjs
[05:50:46] *** advy has joined #angularjs
[05:50:50] *** ron1 has quit IRC
[05:51:24] *** Xaleph has quit IRC
[05:52:15] *** TyrfingMjolnir has quit IRC
[05:52:15] *** TyrfingMjolnir_ is now known as TyrfingMjolnir
[05:53:21] *** Siecje has quit IRC
[05:53:22] *** emmesswhy has quit IRC
[05:54:07] *** Lewix has joined #angularjs
[05:54:08] *** Lewix has joined #angularjs
[05:54:28] *** BlinkyBill has quit IRC
[05:54:57] *** dseitz has quit IRC
[05:55:26] *** ycodr has quit IRC
[05:56:22] *** ycodr has joined #angularjs
[05:56:22] *** emmesswhy has joined #angularjs
[05:56:25] *** zanea|away is now known as zanea
[05:57:18]
<dsdeiz> i basically have just this simple module http://pastebin.com/mz7z7ttH but i have no idea how to clear the message queue once the messages in the queue have been displayed
[05:59:37] <jaawerth> you want it to clear after a few seconds, or..?
[05:59:54] <dsdeiz> not after a few seconds but rather after the message in the queue have been displayed
[06:00:07] <jaawerth> hrm I'm confused
[06:00:14] <jaawerth> so by "clear" it you don't mean remove the messages?
[06:00:45] <dsdeiz> hm, now that you mentioned it. i'm now confused as well :D
[06:00:52] *** sheld has quit IRC
[06:01:38] <jaawerth> one note about your code though:
[06:01:38] *** dseitz has joined #angularjs
[06:01:47] <dsdeiz> well i was assuming that this should happen. i.e. user submits form, messages pile up in the message queue, messages in the queue is displayed, user submits form again, messages pile up in the queue but the previous messages that were displayed are already removed from the queue
[06:02:21] <jaawerth> in your clear function, rather than doing this.messages = [], I would do this.messages.length = 0. That way you're preserving the original array, so any other references out there in your code will also update
[06:02:29] *** mary5030 has joined #angularjs
[06:02:57] <jaawerth> doing this.messages = [] overwrites the reference with a reference to a new array, so if you've done var messages = notification.messages; somewhere, it would still end up pointing to the old array
[06:03:07] *** suffice_ has joined #angularjs
[06:03:13] <jaawerth> this.messages.length = 0 does the equivalent of emptying the array by setting the length to 0
[06:04:07] <dsdeiz> right now the clear doesn't work even after chagning it to this.messages.length = 0; no messages show up in my directive
[06:04:08] *** NoNMaDDeN has quit IRC
[06:04:19] <jaawerth> right, because you're clearing it immediately
[06:04:21] *** zB0hs has quit IRC
[06:04:37] <dsdeiz> yeah, idk what i should be doing heh
[06:04:46] *** mmitchell has joined #angularjs
[06:04:46] *** mary5030_ has quit IRC
[06:04:47] *** suffice has quit IRC
[06:04:47] *** xMopxShell has quit IRC
[06:04:48] *** WorkingClassDev has quit IRC
[06:04:49] *** elmcrest has quit IRC
[06:04:54] *** mmitchell has quit IRC
[06:04:55] *** atomical has quit IRC
[06:04:58] *** xMopxShe- has joined #angularjs
[06:05:17] *** NoNMaDDeN has joined #angularjs
[06:05:17] <jaawerth> try injecting the $timeout service and doing var nots = this; $timeout(function() { nots.messages.length = 0; }, 3000); and it should clear after 3 seconds
[06:05:22] *** AciD`` has quit IRC
[06:05:28] *** WorkingClassDev has joined #angularjs
[06:05:53] <dsdeiz> hm, is relying on timeouts fine?
[06:05:54] *** boberober has quit IRC
[06:06:06] <jaawerth> well - if you want it to happen after x seconds, sure
[06:06:07] <dsdeiz> ohhh
[06:06:23] <jaawerth> but you need to figuure out exactly when you want them to clear. as-is, you're clearing them IMMEDIATELY, which is why nothing shows up
[06:06:51] *** mary5030 has quit IRC
[06:06:53] <dsdeiz> yeah i need to clear them once they are displayed..
[06:07:04] <jaawerth> but.. that's still immediate
[06:07:14] <jaawerth> display + clear = cleared before someone has a chance to look at them
[06:07:21] *** xMopxShe- is now known as xMopxShell
[06:07:25] *** elmcrest has joined #angularjs
[06:07:46] <dsdeiz> not clear them on the display but rather just the message queue
[06:07:50] *** patrick99e99 has joined #angularjs
[06:07:55] *** twelverobots1 has joined #angularjs
[06:08:08] <jaawerth> that isn't a queue, though, it's the data model for the messages
[06:08:30] <jaawerth> angular works via data-binding, remember - what's being displayed is bound to what you're ng-repeating over, in this case that notifications array
[06:08:37] <jaawerth> er, messages array
[06:08:40] *** gunn has joined #angularjs
[06:08:57] <dsdeiz> so i guess it's just better to rely on timeout?
[06:09:13] <jaawerth> so doing $timeout(function() { notification.clear(); }, 3000) would at least give the user a chance to read it before it's cleared
[06:09:24] *** gunn_ has quit IRC
[06:09:24] *** Sna4x8 has quit IRC
[06:09:25] *** ABCDEFGMinor has quit IRC
[06:09:26] *** roqo has quit IRC
[06:09:26] *** twelverobots has quit IRC
[06:09:27] *** ABCDEFGMinor has joined #angularjs
[06:09:27] *** threesixes has quit IRC
[06:09:29] <dsdeiz> hm, guess that'll work.. will give it a try
[06:09:30] <jaawerth> or you could add a "clear" button or an X somewhere that clears it, or have it clear on click.. up to you
[06:09:32] *** WalterJr has joined #angularjs
[06:09:51] <jaawerth> bonus points if you add a CSS animation so the notification vanishes smoothly, but I'll leave that to you
[06:10:02] <snurfery> sup yall
[06:10:15] *** Beg has quit IRC
[06:10:17] *** araujo has quit IRC
[06:10:20] *** roqo has joined #angularjs
[06:10:20] *** Beg_ has joined #angularjs
[06:10:33] *** threesixes has joined #angularjs
[06:11:02] *** WorkingClassDev has quit IRC
[06:11:03] *** rchavik has quit IRC
[06:11:06] <dsdeiz> $timeout should be injected on the service or directive?
[06:11:15] <snurfery> dsdeiz: I have one you can use
[06:11:20] <snurfery> lemme make a gist
[06:11:28] <dsdeiz> sweet, i'll take a look as well?
[06:11:37] *** mrwn has joined #angularjs
[06:11:43] <dsdeiz> i mean i'll take a look :D no '?'
[06:11:44] <jaawerth> on the.. wherever you need to use it
[06:11:48] *** AciD` has joined #angularjs
[06:11:58] <jaawerth> probably the directive in this case, since you'd be wrapping the call on notification.clear() in the $timeout
[06:12:10] *** Sna4x8 has joined #angularjs
[06:12:16] *** Naveen has quit IRC
[06:12:34] *** ABCDEFGMinor has quit IRC
[06:12:48] *** patrick99e99 has quit IRC
[06:12:49] *** ABCDEFGMinor has joined #angularjs
[06:13:01] *** araujo has joined #angularjs
[06:13:03] *** prbc has quit IRC
[06:13:16] *** UID has joined #angularjs
[06:13:16] *** jonathanpglick has joined #angularjs
[06:13:22] *** lyanchih_ has joined #angularjs
[06:13:38] *** prbc has joined #angularjs
[06:13:53] *** UID has quit IRC
[06:14:31] *** rchavik has joined #angularjs
[06:14:44] *** mennea has joined #angularjs
[06:14:46] *** rchavik has quit IRC
[06:15:56] *** mennea has quit IRC
[06:15:57] *** rburns has quit IRC
[06:16:09] *** WalterJr has quit IRC
[06:16:19] *** rburns has joined #angularjs
[06:16:29] *** mven has joined #angularjs
[06:16:34] *** mennea has joined #angularjs
[06:16:43] *** mven has quit IRC
[06:17:23] *** mennea has quit IRC
[06:17:29] <snurfery> oof, now that I'm looking at it, this was some of my early angular code
[06:17:30] <snurfery> oh well
[06:17:54] <snurfery> it uses the ui-bootstrap <alert> directive
[06:18:18] *** prbc has quit IRC
[06:18:42] *** chitti has joined #angularjs
[06:18:43] *** dejanr has joined #angularjs
[06:19:21] *** knownasilya has quit IRC
[06:19:47] <dsdeiz> hm, i failed :D $timeout(function() { notification.clear(); }, 3000); seems to be only called once the directive is displayed
[06:19:51] *** bulkan has quit IRC
[06:19:52] <snurfery> ew now I want to refactor it
[06:20:04] *** goodenou_ has quit IRC
[06:20:18] *** chitti has left #angularjs
[06:20:18] <Lewix> <td ng-show> possible?
[06:21:04] <gladely> seems like a weird thing. how do you handle mismatched cell counts on rows with headers? or is it for layout?
[06:21:59] <snurfery> dsdeiz: check out the link I posted, it's not amazing but it should work (if you're using ui-bootstrap)
[06:22:08] <dsdeiz> yeah currently looking at it
[06:22:27] <jaawerth> Lewix: try it and see? (the answer is yes, ng-show should work on pretty much any element)
[06:22:32] <snurfery> (might wanna refresh, I removed some unnecessary markup)
[06:22:45] <Lewix> jaawerth: i tried and it doesnt
[06:22:47] <Lewix> :)
[06:23:16] <Lewix> its not possible to wrap <td> in a <div>.
[06:23:22] *** rchavik has joined #angularjs
[06:23:27] *** WorkingClassDev has joined #angularjs
[06:24:07] *** zivester has quit IRC
[06:24:10] <Lewix> And what I actually want is <tr><elementhere><td><td><td><elementhere></tr> but since it's not possible i was thinking of putting ng-show directed on the tds
[06:24:25] <Lewix> However, it does not work jaawerth =)
[06:24:28] <Lewix> fun time
[06:25:18] <snurfery> ng-show/hide use "display: none" which effectively takes it out of the document flow
[06:25:29] <snurfery> you can use "display: hidden" to make it not visible
[06:25:30] *** mrwn has quit IRC
[06:25:42] *** bayousoft has quit IRC
[06:25:50] <snurfery> but it'll still take up whatever amount of space it normally would
[06:25:50] <dsdeiz> snurfery: i'm copying this and i'm not taking 'no' for an answer :D
[06:26:00] <snurfery> dsdeiz: that's what it's there for!
[06:26:02] <snurfery> =)
[06:26:36] <jaawerth> but yeah, it removes it from the document flow
[06:27:16] <snurfery> so use ng-class or ng-style or something to apply "display: hidden"
[06:27:23] <jaawerth> ^
[06:27:26] <snurfery> not that I understand what yall are talking about haha
[06:27:34] *** jonatas_oliveira has quit IRC
[06:27:45] <jaawerth> well, assuming "it doesn't work" means "it's taking it out of the document flow and I don't want it to do that"
[06:28:04] <gladely> maybe he wants the contents to be invisible, but the cell to still remain
[06:28:11] <snurfery> oh good, then yeah
[06:28:21] <gladely> so maybe visibility:none is better
[06:29:11] *** tfennelly has joined #angularjs
[06:29:21] *** UniBot1 has joined #angularjs
[06:29:21] *** Iravan has quit IRC
[06:29:28] <marpstar> trying to inject a provider into app.run, why am I getting an object with the $get function instead of the result of that function?
[06:29:36] *** goodenough has joined #angularjs
[06:29:41] *** jonatas_oliveira has joined #angularjs
[06:29:47] *** prs_ has joined #angularjs
[06:30:19] *** Iravan has joined #angularjs
[06:31:13] *** zivester has joined #angularjs
[06:31:17] *** UniBot1 has quit IRC
[06:31:23] *** jonatas_oliveira has quit IRC
[06:31:31] *** UniBot1 has joined #angularjs
[06:31:32] <jaawerth> that would be visibility: hidden
[06:31:39] <jaawerth> which I think is what snurfery meant
[06:32:00] *** jonatas_oliveira has joined #angularjs
[06:32:10] <jaawerth> actually, there is visibility: collapse which exists specifically for table elements
[06:32:23] <jaawerth> for that exact reason
[06:32:33] <snurfery> ah nice
[06:32:47] <gladely> cute, never used collapse.
[06:33:01] *** zivester has quit IRC
[06:33:14] *** oste has quit IRC
[06:33:22] *** jonatas_oliveira has quit IRC
[06:33:38] *** chrisshattuck has quit IRC
[06:33:39] <jaawerth> heh, such a narrow use-case
[06:33:43] *** tfennelly has quit IRC
[06:33:52] *** jonatas_oliveira has joined #angularjs
[06:33:54] <jaawerth> but it makes sense I guess. table stuff is more about just whether or not it takes up the same space
[06:34:00] <jaawerth> about more than*
[06:34:04] *** sk87 has joined #angularjs
[06:35:24] *** jonatas_oliveira has quit IRC
[06:35:44] *** cornerma1 has joined #angularjs
[06:35:49] *** jonatas_oliveira has joined #angularjs
[06:36:16] <gladely> hmm
[06:36:22] <gladely> only seems to work on a row?
[06:36:32] <gladely> ah no their example just sucks
[06:37:13] *** SKZC has quit IRC
[06:37:21] *** jonatas_oliveira has quit IRC
[06:37:38] <jaawerth> whose?
[06:37:54] *** jonatas_oliveira has joined #angularjs
[06:38:04] <gladely> w3schools, top google result
[06:38:56] <gladely> i'm not sure I get it.
[06:38:57] <gladely> Only for table elements. collapse removes a row or column, but it does not affect the table layout. The space taken up by the row or column will be available for other content.
[06:38:58] <gladely> If collapse is used on other elements, it renders as "hidden"
[06:39:02] *** cornerman has quit IRC
[06:39:03] *** cornerma1 is now known as cornerman
[06:39:37] *** adpirz has joined #angularjs
[06:39:50] <jaawerth> ah yeah, w3schools is the worst
[06:39:57] *** jonatas__ has joined #angularjs
[06:40:13] *** jonatas_oliveira has quit IRC
[06:40:23] <jaawerth> basically it means it will kill the table elemnt but preserve its place in the tablet structure
[06:40:41] <jaawerth> table structure*
[06:40:50] <jaawerth> to prevent shifting
[06:40:52] <gladely> what's the difference to visibility none - because I moved that collapse around and they seem the same to me
[06:41:01] <gladely> sorry, visibility hidden
[06:41:05] <jaawerth> well - what if you've got stuff in there with variable size?
[06:41:05] <gladely> fingers like 'none'
[06:41:22] <jaawerth> you don't care about the size, you care about its place in the table alignment, since tables are for data display
[06:41:35] *** jonatas__ has quit IRC
[06:42:00] <jaawerth> it basically ensures that no matter what else changes about the CSS with the content collapsed, everything will still line up properly
[06:42:02] *** jonatas_oliveira has joined #angularjs
[06:42:07] <jaawerth> that's my understanding of it, anyway
[06:42:13] <jaawerth> I can't say I've ever used it in production
[06:42:55] *** zivester has joined #angularjs
[06:43:10] *** dejanr_ has joined #angularjs
[06:43:17] *** dejanr has quit IRC
[06:44:08] *** jonatas__ has joined #angularjs
[06:44:10] *** jonatas_oliveira has quit IRC
[06:44:18] *** adpirz has quit IRC
[06:45:34] *** jonatas__ has quit IRC
[06:45:55] *** dcherman2 has joined #angularjs
[06:46:08] *** jonatas_oliveira has joined #angularjs
[06:46:20] *** rburns has quit IRC
[06:46:55] *** rburns has joined #angularjs
[06:48:03] <gladely> back to real bugs.
[06:48:05] *** {DV8} has quit IRC
[06:48:11] *** jonatas__ has joined #angularjs
[06:49:05] *** dcherman has quit IRC
[06:49:50] *** jonatas__ has quit IRC
[06:50:01] *** VeeWee has joined #angularjs
[06:50:07] <snurfery> ^^ what do you expect to see in that plunker?
[06:50:15] *** jonatas__ has joined #angularjs
[06:50:24] <jaawerth> ah turns out..
[06:50:32] <jaawerth> per css-tricks: "DON'T USE THIS EVER"
[06:50:33] <jaawerth> hahaha
[06:50:39] <gladely> lol
[06:50:41] <gladely> yep, figures.
[06:50:51] <jaawerth> browser support is evidently all over the place
[06:51:09] *** caitp has quit IRC
[06:51:09] <gladely> going back to not knowing about it.
[06:51:10] <gladely> :)
[06:51:11] <snurfery> heh
[06:51:28] *** jonatas_oliveira has quit IRC
[06:51:33] <snurfery> omg my code is workign
[06:51:36] <snurfery> finally
[06:51:40] <snurfery> jeeeeeezus man
[06:51:42] *** jonatas__ has quit IRC
[06:52:21] *** jonatas_oliveira has joined #angularjs
[06:52:36] <jaawerth> ok, bedtime!
[06:53:03] * snurfery waves
[06:53:40] *** NoNMaDDeN has quit IRC
[06:53:52] <snurfery> how many of you guys blog about coding?
[06:54:20] *** jonatas__ has joined #angularjs
[06:54:27] *** getn_outchea has quit IRC
[06:54:28] *** jonatas_oliveira has quit IRC
[06:55:04] <Lewix> jaawerth: thanks
[06:55:41] *** mtho11|afk is now known as mtho11
[06:55:47] *** tyfighter has quit IRC
[06:56:04] *** dejanr_ has quit IRC
[06:56:22] *** Oka has quit IRC
[06:56:25] *** jonatas_oliveira has joined #angularjs
[06:56:28] *** jonatas__ has quit IRC
[06:57:19] *** NormySan has joined #angularjs
[06:57:23] <Lewix> snurfery: I always wonder where do people find the time
[06:57:23] *** NormySan has quit IRC
[06:57:36] <snurfery> yeah
[06:57:40] <snurfery> ah I know what it is
[06:58:07] <snurfery> they write during the time we spend IRC'ing
[06:58:16] <snurfery> clever bastards
[06:58:23] *** jonatas_oliveira has quit IRC
[06:58:29] *** jonatas__ has joined #angularjs
[06:58:33] <Lewix> snurfery: when im on irc im usually working -
[06:59:09] *** aslate has joined #angularjs
[06:59:36] *** tyfighter has joined #angularjs
[06:59:38] *** mortenhauberg has joined #angularjs
[07:00:01] *** charuru has quit IRC
[07:00:29] *** jonatas_oliveira has joined #angularjs
[07:00:50] *** jonatas__ has quit IRC
[07:00:52] <Lewix> snurfery: some people are insanely productive
[07:01:07] *** mmitchell has joined #angularjs
[07:01:07] <snurfery> I like to think of myself as one of those, tyvm
[07:01:26] *** Lewix has quit IRC
[07:01:43] *** exp10r3r has joined #angularjs
[07:01:43] <snurfery> I lie. blogging has been the one new year's resolution that I haven't achieved
[07:01:54] * snurfery shakes fist at blogging
[07:02:35] *** jonatas__ has joined #angularjs
[07:02:39] *** jimmyy has quit IRC
[07:02:49] <gladely> why you worried about blogging? do what makes you happy.
[07:03:06] *** jimmyy has joined #angularjs
[07:04:02] *** jimmyy has joined #angularjs
[07:04:08] *** jonatas__ has quit IRC
[07:04:11] *** jimmyy has quit IRC
[07:04:23] *** jshultz has quit IRC
[07:04:37] *** jonatas__ has joined #angularjs
[07:04:40] *** neoadventist has joined #angularjs
[07:04:45] *** jimmyy has joined #angularjs
[07:04:55] *** jimmyy has quit IRC
[07:05:17] *** jonatas_oliveira has quit IRC
[07:05:31] *** sk87 has quit IRC
[07:05:34] *** jimmyy has joined #angularjs
[07:06:14] *** mmitchell has quit IRC
[07:06:35] *** sk87 has joined #angularjs
[07:06:40] *** jonatas_oliveira has joined #angularjs
[07:07:00] *** jimmyy has joined #angularjs
[07:07:46] *** sjt003 has quit IRC
[07:07:49] *** jimmyy has joined #angularjs
[07:08:49] *** jonata___ has joined #angularjs
[07:08:57] *** jonatas_oliveira has quit IRC
[07:09:01] *** warpx has joined #angularjs
[07:09:05] *** jonatas__ has quit IRC
[07:10:14] *** doug64k has joined #angularjs
[07:10:54] *** jonatas_oliveira has joined #angularjs
[07:11:14] *** jonata___ has quit IRC
[07:11:18] *** aslate has quit IRC
[07:11:44] *** ome has quit IRC
[07:13:01] *** jonatas_oliveira has quit IRC
[07:13:02] *** jonatas__ has joined #angularjs
[07:13:22] *** boberober has joined #angularjs
[07:13:42] *** warpx has quit IRC
[07:14:06] *** ali_ has joined #angularjs
[07:14:33] *** ali_ has joined #angularjs
[07:14:54] *** sixr420 has quit IRC
[07:14:57] *** jonatas__ has quit IRC
[07:15:01] *** jonatas_oliveira has joined #angularjs
[07:15:54] *** afuggini has joined #angularjs
[07:16:07] *** rhp has quit IRC
[07:16:28] *** jonatas_oliveira has quit IRC
[07:16:42] *** technickul has quit IRC
[07:16:58] *** rburns has quit IRC
[07:17:06] *** jonatas_oliveira has joined #angularjs
[07:17:20] *** rburns has joined #angularjs
[07:18:04] *** boberober has quit IRC
[07:18:53] *** goodenough has quit IRC
[07:19:10] *** jonatas__ has joined #angularjs
[07:19:19] *** jonatas_oliveira has quit IRC
[07:19:56] *** jimvideo has quit IRC
[07:20:13] *** afuggini has quit IRC
[07:21:13] *** jonatas_oliveira has joined #angularjs
[07:21:17] *** dseitz_ has joined #angularjs
[07:21:29] *** jonatas__ has quit IRC
[07:21:56] *** nemothekid has quit IRC
[07:22:30] *** dseitz has quit IRC
[07:23:18] *** jonatas__ has joined #angularjs
[07:23:21] *** jonatas_oliveira has quit IRC
[07:23:53] *** one0one has quit IRC
[07:24:34] *** jaydubya has quit IRC
[07:24:49] *** jaydubya has joined #angularjs
[07:25:18] *** jonatas_oliveira has joined #angularjs
[07:25:44] *** tfennelly has joined #angularjs
[07:25:54] *** robksawyer has joined #angularjs
[07:26:39] *** dannyc has joined #angularjs
[07:26:42] *** richiebkr has joined #angularjs
[07:27:24] *** jonata___ has joined #angularjs
[07:27:36] *** _thumpba has quit IRC
[07:27:42] *** jonatas_oliveira has quit IRC
[07:27:43] *** jonatas__ has quit IRC
[07:28:14] *** robdubya has joined #angularjs
[07:28:33] *** phzon has joined #angularjs
[07:29:26] *** jonatas_oliveira has joined #angularjs
[07:30:30] *** tfennelly has quit IRC
[07:30:55] *** jonatas_oliveira has quit IRC
[07:31:06] *** dannyc has quit IRC
[07:31:30] *** jonatas_oliveira has joined #angularjs
[07:32:18] *** jonata___ has quit IRC
[07:32:19] *** rchavik has quit IRC
[07:32:33] *** rchavik has joined #angularjs
[07:33:15] *** phzon has quit IRC
[07:33:28] *** jonatas_oliveira has quit IRC
[07:33:32] *** jonatas__ has joined #angularjs
[07:34:04] *** sjt003 has joined #angularjs
[07:35:29] *** jonatas__ has quit IRC
[07:35:40] *** jonatas_oliveira has joined #angularjs
[07:35:57] *** sacho_ has joined #angularjs
[07:36:24] *** emmesswhy has quit IRC
[07:36:57] *** benevides has joined #angularjs
[07:37:43] *** jonatas__ has joined #angularjs
[07:37:50] *** d4rklit3 has quit IRC
[07:37:55] *** jonatas_oliveira has quit IRC
[07:38:12] *** sk87 has quit IRC
[07:38:57] *** hecatonicosachor has quit IRC
[07:38:57] *** sacho has quit IRC
[07:39:14] *** sacho has joined #angularjs
[07:39:49] *** jonatas_oliveira has joined #angularjs
[07:39:55] *** jonatas__ has quit IRC
[07:40:30] *** zivester has quit IRC
[07:40:37] *** sinequanon has joined #angularjs
[07:40:47] *** htmelvis has quit IRC
[07:41:27] *** jonatas_oliveira has quit IRC
[07:42:00] *** jonatas_oliveira has joined #angularjs
[07:42:04] *** nemothekid has joined #angularjs
[07:42:16] *** goodenough has joined #angularjs
[07:42:21] *** dseitz has joined #angularjs
[07:43:19] *** jonatas_oliveira has quit IRC
[07:43:44] *** motionman has joined #angularjs
[07:43:54] *** jonatas_oliveira has joined #angularjs
[07:45:21] *** jonatas_oliveira has quit IRC
[07:45:50] *** warpx has joined #angularjs
[07:45:55] *** sinequanon has quit IRC
[07:45:58] *** jonatas_oliveira has joined #angularjs
[07:46:03] *** dseitz_ has quit IRC
[07:46:17] *** sinequanon has joined #angularjs
[07:46:56] *** threesixes has quit IRC
[07:47:36] *** caitp has joined #angularjs
[07:47:36] *** rburns has quit IRC
[07:47:56] *** jonatas_oliveira has quit IRC
[07:47:57] *** rburns has joined #angularjs
[07:47:58] *** jonatas__ has joined #angularjs
[07:48:50] *** joshontheweb has quit IRC
[07:49:37] *** night-owl is now known as zz_night-owl
[07:50:03] *** jonatas__ has quit IRC
[07:50:03] *** jonatas_oliveira has joined #angularjs
[07:50:22] *** ZGirl has joined #angularjs
[07:50:49] *** instence has joined #angularjs
[07:51:14] <ZGirl> Hello - I’ve got a service that holds some state, and then a directive that $watches the state on that service. I have a page that has a lot of instances of that directive - I wonder if there’s a more efficient pattern to use so that I can avoid a watcher for each directive instance?
[07:51:50] *** instence_ has quit IRC
[07:52:05] *** jonatas__ has joined #angularjs
[07:52:06] <ZGirl> Maybe I should expose method on my service that the directive would pass a callback to?
[07:52:14] *** caitp has quit IRC
[07:52:38] *** Orbitrix has joined #angularjs
[07:54:02] *** zz_night-owl is now known as night-owl
[07:54:08] *** chrisbirk has joined #angularjs
[07:54:11] *** jonatas_oliveira has quit IRC
[07:54:11] *** jonata___ has joined #angularjs
[07:54:55] *** marpstar has quit IRC
[07:56:06] *** chrisbirk has quit IRC
[07:56:15] *** jonatas_oliveira has joined #angularjs
[07:56:24] *** jonata___ has quit IRC
[07:56:31] *** jonatas__ has quit IRC
[07:57:13] *** bahoo has joined #angularjs
[07:57:35] *** doginal has joined #angularjs
[07:57:48] *** jonatas_oliveira has quit IRC
[07:57:52] *** ggrzybek has joined #angularjs
[07:58:19] *** jonatas_oliveira has joined #angularjs
[07:58:33] *** bahoo has quit IRC
[07:59:41] *** dc_ has joined #angularjs
[07:59:49] *** jonatas_oliveira has quit IRC
[08:00:01] *** markwu has joined #angularjs
[08:00:22] *** jonatas_oliveira has joined #angularjs
[08:00:30] *** Leon has joined #angularjs
[08:00:37] *** tyfighter has quit IRC
[08:01:42] *** zilla_ has joined #angularjs
[08:02:08] <zilla_> hi how to do dynamic form validation in agularjs
[08:02:24] *** jonatas_oliveira has quit IRC
[08:02:27] *** jonatas__ has joined #angularjs
[08:02:49] <zilla_> i have a form like <form name="{{metadata.id}}">
[08:03:34] <zilla_> i want to do like ng-disabled="{{metadata.id}}.$error.$dirty"
[08:04:08] *** cojack has joined #angularjs
[08:04:15] *** esk4nd4r has joined #angularjs
[08:04:31] *** jonatas_oliveira has joined #angularjs
[08:04:39] *** esk4nd4r has quit IRC
[08:04:48] *** jonatas__ has quit IRC
[08:05:34] *** Leon has quit IRC
[08:05:35] *** dseitz has quit IRC
[08:06:16] *** BobbieBarker has quit IRC
[08:06:35] *** jonatas__ has joined #angularjs
[08:06:38] *** dcherman2 has quit IRC
[08:06:40] *** ZGirl has quit IRC
[08:06:53] *** jonatas_oliveira has quit IRC
[08:08:04] *** jonatas__ has quit IRC
[08:08:18] *** _thumpba has joined #angularjs
[08:08:32] *** doug64k has quit IRC
[08:08:37] *** jonatas_oliveira has joined #angularjs
[08:08:47] *** patrick99e99 has joined #angularjs
[08:10:10] *** jonatas_oliveira has quit IRC
[08:10:41] *** jonatas_oliveira has joined #angularjs
[08:11:13] *** doug64k has joined #angularjs
[08:11:55] *** jonathanpglick has quit IRC
[08:12:11] *** jonatas_oliveira has quit IRC
[08:12:16] *** JohnBat26 has joined #angularjs
[08:12:29] *** fairuz has quit IRC
[08:12:43] *** jonatas_oliveira has joined #angularjs
[08:12:49] *** fairuz has joined #angularjs
[08:13:23] *** ome has joined #angularjs
[08:13:42] *** patrick99e99 has quit IRC
[08:14:52] *** jonatas__ has joined #angularjs
[08:15:17] *** uru|away is now known as uru
[08:15:27] *** yts has joined #angularjs
[08:16:07] *** e0ipso|away is now known as e0ipso
[08:16:41] *** afuggini has joined #angularjs
[08:16:59] *** jonata___ has joined #angularjs
[08:17:06] *** soee has joined #angularjs
[08:17:16] *** _thumpba has quit IRC
[08:17:20] *** jonatas_oliveira has quit IRC
[08:17:41] *** _thumpba has joined #angularjs
[08:19:00] *** jonatas_oliveira has joined #angularjs
[08:19:14] <soee> good morning
[08:19:16] *** yts has quit IRC
[08:19:27] *** jonatas__ has quit IRC
[08:20:30] *** jonatas_oliveira has quit IRC
[08:20:38] *** ryancole has joined #angularjs
[08:20:38] *** ryancole has joined #angularjs
[08:21:02] *** jonatas_oliveira has joined #angularjs
[08:21:24] *** afuggini has quit IRC
[08:21:32] *** jonata___ has quit IRC
[08:22:20] *** aslate has joined #angularjs
[08:22:31] *** jonatas_oliveira has quit IRC
[08:22:59] *** zquad has joined #angularjs
[08:23:09] *** jonatas_oliveira has joined #angularjs
[08:23:15] *** metasansana has quit IRC
[08:23:47] *** Sontakey has joined #angularjs
[08:23:56] <zquad> is there a way to not have a hash in angular routes?
[08:24:10] <zquad> currently its #! can it be nothing?
[08:25:11] *** jonatas__ has joined #angularjs
[08:25:58] *** sjt003 has quit IRC
[08:26:58] *** aslate has quit IRC
[08:27:16] *** jonata___ has joined #angularjs
[08:27:52] *** jonatas_oliveira has quit IRC
[08:28:10] <snurfery> zquad: html5mode
[08:28:25] *** Iravan has quit IRC
[08:28:32] *** adpirz has joined #angularjs
[08:28:42] <zquad> what about to server thinking its an actual request
[08:28:53] *** jonata___ has quit IRC
[08:29:00] <jaydubya> I only want users with an attribute of is_staff == true to show up in the dropdown. I tried this but nothing shows: ng-options="u.id as u.username for u in {users | filter:'is_staff'}"
[08:29:07] *** Iravan has joined #angularjs
[08:29:19] *** jonatas_oliveira has joined #angularjs
[08:29:22] *** lite has joined #angularjs
[08:29:47] *** jonatas__ has quit IRC
[08:30:22] *** SahanH has quit IRC
[08:30:27] <Chepra> jaydubya: you dont need the {} there
[08:30:34] *** esk4nd4r has joined #angularjs
[08:30:52] *** tfennelly has joined #angularjs
[08:31:12] <snurfery> and I don't think that'll filter the way you think
[08:31:24] *** jonatas__ has joined #angularjs
[08:31:26] <snurfery> filter:'{is_staff: true}'
[08:31:37] *** jonatas_oliveira has quit IRC
[08:32:37] *** adpirz has quit IRC
[08:33:06] *** motionman is now known as tinman
[08:33:20] *** jacuqesdancona_ has joined #angularjs
[08:33:21] <jaydubya> Chepra, snurfery, thanks -- ng-options="u.id as u.username for u in users | filter : {is_staff: true} " works!
[08:33:43] *** tinman is now known as SquekingTinman
[08:34:04] *** SquekingTinman is now known as SqueakingTinman
[08:35:37] *** jonatas__ has quit IRC
[08:35:43] *** dc_ has quit IRC
[08:36:36] *** goodenough has quit IRC
[08:37:22] * snurfery high fives jaydubya
[08:37:25] <snurfery> excellent
[08:37:53] *** dc_ has joined #angularjs
[08:39:06] *** edmundspenser has joined #angularjs
[08:40:55] *** sandeep has joined #angularjs
[08:42:23] *** goodenough has joined #angularjs
[08:45:24] *** doginal has quit IRC
[08:45:34] *** techsethi_ has joined #angularjs
[08:46:07] *** cacts has quit IRC
[08:46:17] *** Anton_ has quit IRC
[08:48:42] *** t1mmen has joined #angularjs
[08:48:43] *** rburns has quit IRC
[08:49:06] *** rburns has joined #angularjs
[08:49:37] <andrew9183> i have a dialog box with a maximize icon, and i want to bind a click to the icon, and then resize the div. jqLite doesn’t have a closest selector - what is the angular way to do this ?
[08:50:05] *** dannyc_ has joined #angularjs
[08:50:18] *** mmitchell has joined #angularjs
[08:51:24] *** ron1 has joined #angularjs
[08:51:41] <andrew9183> i don’t want to bubble because clicking anywhere on the dialog will trigger it
[08:52:17] <soee> hey, someone using io-router and has problem with controller that might be called twice?
[08:52:51] *** waverider has joined #angularjs
[08:53:02] <zquad> eg route website/controller#!page with html5mode is converted to website/controller#027page
[08:53:10] <andrew9183> soee: do you have nested states ?
[08:53:21] *** Christer has joined #angularjs
[08:53:22] *** Anton_ has joined #angularjs
[08:53:40] <jaydubya> soee, I had that once ... I was setting the controller in the route AND declaring the view with ng-controller="" ... two calls means two triggers
[08:53:45] *** dannyc_ has quit IRC
[08:54:31] <andrew9183> yeah
[08:54:38] *** koleS has joined #angularjs
[08:54:49] *** mmitchell has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:49] *** ron1 has quit IRC
[08:57:04] *** miki has joined #angularjs
[08:58:55] *** davesidious__ is now known as davesidious
[08:59:14] <soee> andrew9183: i have abstract view and than some child views im calling
[08:59:16] *** TuRnaD0 has joined #angularjs
[08:59:31] <soee> jaydubya: i have no controller define din views, only for state
[09:00:29] <andrew9183> gist what your states look like
[09:00:39] *** Raging_Hog has joined #angularjs
[09:00:48] *** rileylark has joined #angularjs
[09:00:54] *** patrickarlt has quit IRC
[09:00:54] *** Hounddog has joined #angularjs
[09:01:51] *** patrickarlt has joined #angularjs
[09:04:01] *** lemur has quit IRC
[09:04:04] *** dannyc_ has joined #angularjs
[09:04:36] *** lemur has joined #angularjs
[09:05:21] *** rileylark has quit IRC
[09:05:31] *** mtsr has joined #angularjs
[09:05:47]
<cilkay> Hello. I'm working on an application with hundreds of forms some of which have dozens of entry fields on them. Here is a very simple example: http://plnkr.co/edit/xv5aE5xXkIbFDdHK2zDH?p=preview Is it worthwhile to create a custom directive, say char-form-field, that encapsulates all that boilerplate markup? If so, how would you pass the various attributes as parameters to that custom directive? E.g. I'm thinking all the attributes of th
[09:05:47] <cilkay> e <input> element and the field label surrounded by the span tag could be passed as attributes.
[09:05:59] *** IJNX has joined #angularjs
[09:06:02] *** sandeep has quit IRC
[09:06:12] *** freelyfred has quit IRC
[09:07:01] *** IJNX has quit IRC
[09:07:20] *** zquad has left #angularjs
[09:07:50] *** freelyfred has joined #angularjs
[09:07:54] *** artee_ has quit IRC
[09:07:55] *** Anton_ has quit IRC
[09:08:16] *** dannyc_ has quit IRC
[09:08:18] *** arijit has joined #angularjs
[09:08:31] *** Evanion has joined #angularjs
[09:08:41] <snurfery> cilkay: yeah you can do that
[09:08:55] <snurfery> passing attributes is thankfully one of the simpler things about directives
[09:09:17] *** lemur has quit IRC
[09:09:35] <snurfery> in the directive's link method that you define, you get function(scope, element, attrs)
[09:09:57] *** SargoDarya has quit IRC
[09:10:11] *** SargoDarya has joined #angularjs
[09:10:27] <snurfery> attrs has all the html attributes of the original tag in 'angular-normalized' style
[09:10:40] <cilkay> aha!
[09:10:54] *** blomman has joined #angularjs
[09:10:54] *** teddyp1cker has joined #angularjs
[09:10:56] <snurfery> i.e. <foo-directive my-long-attr> becomes attrs.myLongAttr
[09:11:12] *** artee_ has joined #angularjs
[09:11:18] <snurfery> just do whatever you're gonna do in there, nothing too fancy
[09:11:29] <cilkay> And I put attrs.myLongAttr in the template?
[09:11:58] *** Anton_ has joined #angularjs
[09:12:02] <snurfery> well, the template, like all angular templates, only has access to stuff on its scope
[09:12:27] <snurfery> so you can put the value of attrs.myLongAttr on the scope easily and then you'll have it =)
[09:12:48] <cilkay> OK, thank you. Time to play!
[09:13:07] <snurfery> you can also use angular.element() just as you would jquery - to create new dom, modify the existing element, etc
[09:13:10] *** myotherchoicesar has joined #angularjs
[09:14:25] <andrew9183> soee, weird not sure
[09:14:37] *** Sky[x] has joined #angularjs
[09:14:57] *** myotherchoicesar has quit IRC
[09:14:59] *** mkusher has joined #angularjs
[09:15:27] *** dannyc_ has joined #angularjs
[09:15:49] *** fbenoit has joined #angularjs
[09:16:07] *** StryKaizer has joined #angularjs
[09:19:07] *** Christer has quit IRC
[09:19:08] *** rburns has quit IRC
[09:19:20] *** rburns has joined #angularjs
[09:20:17] *** dannyc_ has quit IRC
[09:20:44] *** sinequanon has quit IRC
[09:21:21] *** sinequanon has joined #angularjs
[09:21:26] *** Successful has joined #angularjs
[09:21:30] *** Anton_ has quit IRC
[09:21:40] *** koleS has quit IRC
[09:22:12] *** Aliks has quit IRC
[09:23:06] *** _45kb has joined #angularjs
[09:24:00] *** jameswork has quit IRC
[09:24:44] *** jameswork has joined #angularjs
[09:24:49] *** frem has joined #angularjs
[09:25:15] *** jagga has joined #angularjs
[09:25:46] *** sinequanon has quit IRC
[09:26:16] *** Anton_ has joined #angularjs
[09:26:18] *** Orbitrix has quit IRC
[09:26:50] *** mchammer has joined #angularjs
[09:27:12] *** laurensclaessen has joined #angularjs
[09:27:23] *** hieuhoangbt has joined #angularjs
[09:27:30] *** TinkerTyper has quit IRC
[09:27:34] <hieuhoangbt> hoho
[09:27:41] *** elxa has quit IRC
[09:28:24] *** hieuhoangbt has quit IRC
[09:30:35] *** plekplek has joined #angularjs
[09:30:36] *** cheef has joined #angularjs
[09:31:01] *** phzon has joined #angularjs
[09:31:58] *** frankblizzar has joined #angularjs
[09:32:21] *** thegrif has joined #angularjs
[09:33:25] *** TinkerTyper has joined #angularjs
[09:33:46] *** Oxynum has joined #angularjs
[09:34:01] *** benevides has quit IRC
[09:34:05] *** prs_ has quit IRC
[09:34:17] *** wiherek has joined #angularjs
[09:34:41] <wiherek> hi
[09:34:58] <wiherek> can I set a model directly with protractor?
[09:35:12] <wiherek> I have a range slider which I need to set to some value.
[09:35:31] *** jagga has quit IRC
[09:35:32] *** Anton_ has quit IRC
[09:35:37] *** grogs has joined #angularjs
[09:35:38] *** _thumpba has quit IRC
[09:35:55] *** jagga has joined #angularjs
[09:35:56] <snurfery> wiherek: you can make a directive to wrap it
[09:36:16] *** caitp has joined #angularjs
[09:36:23] *** Leon has joined #angularjs
[09:36:36] *** arijit has quit IRC
[09:36:43] <wiherek> ?
[09:36:56] *** hearson has joined #angularjs
[09:37:21] *** sk87 has joined #angularjs
[09:37:26] *** tfennelly has quit IRC
[09:37:32] *** soren_engel has joined #angularjs
[09:37:40] *** jaydubya has quit IRC
[09:38:13] *** jaydubya has joined #angularjs
[09:38:38] *** arijit has joined #angularjs
[09:39:01] *** grogs has quit IRC
[09:39:24] *** grogs has joined #angularjs
[09:40:47] *** Oxynum has quit IRC
[09:40:54] *** Anton_ has joined #angularjs
[09:41:50] *** caitp has quit IRC
[09:41:57] *** Mayur_ has joined #angularjs
[09:42:01] *** soren_engel has quit IRC
[09:42:03] <Mayur_> hi
[09:43:30] <Mayur_> i am new to angular i have implemented ng-grid in my project. but know i want context-menu in ng-grid is there any tutorials or guide
[09:43:44] *** arijit has quit IRC
[09:43:54] *** saucey has joined #angularjs
[09:44:07] *** tangorri has joined #angularjs
[09:44:19] *** SargoDarya has quit IRC
[09:44:37] *** Hounddog has quit IRC
[09:45:51] *** cheef has quit IRC
[09:45:53] *** thegrif has quit IRC
[09:46:30] *** tass has joined #angularjs
[09:47:31] *** Anton_ has quit IRC
[09:48:02] *** thegrif has joined #angularjs
[09:48:25] <tass> Hi all, i have a form with lots of input fields, some of them should be inactive from the start and only be activated when the user click a radio button, i have a ng-hide but a div that wrap all the input fields i dont want to be activated from the start, but angularjs valiatetion still see the "hidden" inputs, should i use ngDisabled on all my "hidden" inputs?
[09:49:14] *** soren_engel has joined #angularjs
[09:49:48] *** Hounddog has joined #angularjs
[09:49:48] *** rburns has quit IRC
[09:49:57] *** rburns has joined #angularjs
[09:50:29] *** Shadda has quit IRC
[09:50:37] *** robdubya has quit IRC
[09:51:13] *** Akufen has quit IRC
[09:51:30] *** grogs has quit IRC
[09:52:17] *** fbenoit has quit IRC
[09:52:29] *** soren_engel has quit IRC
[09:53:06] *** soren_engel has joined #angularjs
[09:54:02] *** Anton_ has joined #angularjs
[09:55:40] *** Christer has joined #angularjs
[09:55:49] *** jonasliljestrand has joined #angularjs
[09:56:28] *** arijit has joined #angularjs
[09:56:45] *** ahtik has joined #angularjs
[09:57:11] *** Sky[x] has quit IRC
[09:58:22] *** arijit_ has joined #angularjs
[09:58:53] *** shpoont has joined #angularjs
[09:59:43] *** tass has quit IRC
[10:00:00] *** zanea is now known as zanea|away
[10:00:13] *** jMyles has quit IRC
[10:00:29] *** jlebrech has joined #angularjs
[10:01:18] *** dman777 has quit IRC
[10:02:10] *** arijit has quit IRC
[10:02:27] *** boberober has joined #angularjs
[10:02:49] *** Anton_ has quit IRC
[10:02:58] *** SqueakingTinman has quit IRC
[10:03:32] *** fbenoit has joined #angularjs
[10:04:07] <snurfery> anyone know if $location will let me change the url without actually triggering the new state
[10:04:30] *** xuu has quit IRC
[10:04:31] *** christo_m has quit IRC
[10:04:41] *** esk4nd4r has quit IRC
[10:05:23] *** afuggini has joined #angularjs
[10:05:25] *** IJNX has joined #angularjs
[10:05:46] *** tfennelly has joined #angularjs
[10:06:18] *** dman777 has joined #angularjs
[10:06:22] *** waverider is now known as Guest96399
[10:06:22] *** waverider_ has joined #angularjs
[10:06:26] *** aslate has joined #angularjs
[10:07:10] *** boberober has quit IRC
[10:07:20] *** esk4nd4r has joined #angularjs
[10:07:29] *** juristr has quit IRC
[10:07:55] *** AciD`` has joined #angularjs
[10:08:15] *** Anton_ has joined #angularjs
[10:08:22] *** xuu has joined #angularjs
[10:09:16] *** saucey has quit IRC
[10:09:17] *** SargoDarya has joined #angularjs
[10:09:36] *** patrick99e99 has joined #angularjs
[10:09:49] *** soren_engel has quit IRC
[10:10:01] *** afuggini has quit IRC
[10:10:19] *** ogdabou has joined #angularjs
[10:10:21] *** arijit has joined #angularjs
[10:10:30] *** Anonymous_ has joined #angularjs
[10:10:44] *** jtimon has joined #angularjs
[10:11:01] *** TuRnaD0 has quit IRC
[10:11:25] *** Sontakey has quit IRC
[10:11:51] *** christo_m has joined #angularjs
[10:12:19] <arkin> do I have to use a $timeout or $scope.$apply every time I pass data to a view that could take a >100ms to load?
[10:13:10] *** ahtik has quit IRC
[10:13:33] *** arijit_ has quit IRC
[10:13:46] *** DarrenCraig has joined #angularjs
[10:13:48] *** edy has joined #angularjs
[10:14:00] *** m8 has joined #angularjs
[10:14:18] *** coderat has joined #angularjs
[10:14:27] *** patrick99e99 has quit IRC
[10:14:32] *** MaxV has joined #angularjs
[10:14:37] *** Anton_ has quit IRC
[10:15:09] *** blomman has quit IRC
[10:15:41] *** blomman has joined #angularjs
[10:16:13] *** dannyc_ has joined #angularjs
[10:16:45] *** lenny__ has joined #angularjs
[10:17:05] *** tjsail33 has quit IRC
[10:17:27] *** adpirz has joined #angularjs
[10:17:29] *** arijit_ has joined #angularjs
[10:17:50] *** lenny__ has quit IRC
[10:17:54] *** learner has quit IRC
[10:18:05] *** nfroidure has joined #angularjs
[10:18:10] *** Siyfion has joined #angularjs
[10:18:19] *** Foxandxss has joined #angularjs
[10:18:36] *** juristr has joined #angularjs
[10:19:03] <IJNX> arkin: depends how you pass the data. Do you pass it once on load or constantly?
[10:19:07] <juristr> is it possible that ng-bind-html is not working on ng-message ??
[10:19:14] *** dannyc__ has joined #angularjs
[10:19:23] <arkin> IJNX: usually on load passed from sqlite
[10:20:03] <IJNX> arkin: then you can make use of routers ability to resolve factory data before actually changing the route.
[10:20:03] *** rburns has quit IRC
[10:20:09] *** moritzschaefer has joined #angularjs
[10:20:16] *** jonatas_oliveira has joined #angularjs
[10:20:19] *** rburns has joined #angularjs
[10:20:24] <arkin> oh no way, can you show me an example?
[10:20:32] *** jtimon has quit IRC
[10:20:42] *** dannyc_ has quit IRC
[10:20:46] *** arijit_ has quit IRC
[10:20:52] *** arijit has quit IRC
[10:21:12] *** arijit has joined #angularjs
[10:21:21] *** joepie91 has quit IRC
[10:21:31] *** arijit has quit IRC
[10:21:37] *** adpirz has quit IRC
[10:22:06] *** nemothekid has joined #angularjs
[10:22:12] *** saucey has joined #angularjs
[10:22:23] *** atomi has quit IRC
[10:22:36] <IJNX> words: angularjs route resolve promise factory
[10:22:49] <Foxandxss> that is a valid but weird example
[10:23:42] *** Anton_ has joined #angularjs
[10:23:43] <arkin> thanks
[10:23:54] *** dannyc__ has quit IRC
[10:23:59] *** _45kb has left #angularjs
[10:24:07] <arkin> I'd need to display a loading icon or something first really
[10:24:12] <arkin> cant have blanks
[10:24:18] <Hounddog> Does anyone know a dnd library for dragging the item freely around and also droppping into a specific area? All i see when i start dragging and let go it will snap back to its previous position or into the drop area
[10:24:25] *** tschundeee has joined #angularjs
[10:24:27] <Foxandxss> resolves is a place to do that as well if you want
[10:24:28] *** atomi has joined #angularjs
[10:24:35] *** mdedetrich has quit IRC
[10:24:40] <arkin> hmm ok
[10:24:48] <arkin> definitely seems useful
[10:24:56] *** Tak0r|Work has joined #angularjs
[10:25:06] *** jonatas_oliveira has quit IRC
[10:25:24] *** hzck has joined #angularjs
[10:25:43] <arkin> is there a cleaner way of passing it to the controller versus saving it to a variable?
[10:25:55] *** Shadda has joined #angularjs
[10:25:58] <Foxandxss> yes
[10:26:01] *** joepie91 has joined #angularjs
[10:26:02] <Foxandxss> that is why the example is weird
[10:26:16] *** milka has joined #angularjs
[10:26:20] <Foxandxss> resolve: { foo: function() { return "foo"; } }
[10:26:29] <Foxandxss> the key there `foo`
[10:26:35] <Foxandxss> you can simply inject that int he controller
[10:26:37] <arkin> then its available as $scope.foo ?
[10:26:41] <arkin> Oh.
[10:26:44] <Foxandxss> .controller('MyCtrl', function(foo)
[10:26:45] *** Orbitrix has joined #angularjs
[10:26:52] <arkin> and in promise format?
[10:26:55] <Foxandxss> nah
[10:26:57] *** aslate has quit IRC
[10:27:03] <arkin> hummm kk
[10:27:06] <Foxandxss> well, depend on what you return I guess
[10:27:09] <arkin> yea
[10:27:21] <arkin> if i returned the promise that'd defeat the point lol
[10:27:44] <Foxandxss> the point is to NOT load the route until you have the data
[10:27:53] *** marr has joined #angularjs
[10:28:02] <arkin> exactly
[10:28:12] <Foxandxss> and that is what happens :P
[10:28:16] *** Oxynum has joined #angularjs
[10:28:24] <arkin> I like it, because at the moment i'm using $scope.loaded = true and repeating myself loads..
[10:28:37] <arkin> ng-show="loaded" etc
[10:29:10] <IJNX> arkin: that's the wrong way, been there :)
[10:29:44] <IJNX> you don't need to check anything in the controler if router decided to go there. The data will be in the "foo" always.
[10:30:05] <Foxandxss> jonh papa has a way without resolves
[10:30:12] <Foxandxss> john*
[10:30:13] *** juampy has joined #angularjs
[10:30:19] <Foxandxss> needs you to write code
[10:30:28] *** adben has joined #angularjs
[10:30:30] <arkin> yea clever shit
[10:30:30] *** Anton_ has quit IRC
[10:30:32] <arkin> go on ?
[10:30:34] *** mjw56 has quit IRC
[10:30:43] <Foxandxss> but basically has a method "activate" that you call in your controller when you think it is ready
[10:30:43] <IJNX> and if you want you can access routeparams in the router you can resolve data based url
[10:30:44] *** jimmyy has quit IRC
[10:30:51] <Foxandxss> in the mean time, you get a spinner on the screen
[10:31:02] *** techsethi_ has quit IRC
[10:31:06] <Foxandxss> so basically you do a $q.all loading all your data and when that finishes, you activate()
[10:31:13] <Foxandxss> spinner goes away and well, there you are
[10:31:14] *** jimmyy has joined #angularjs
[10:31:23] *** aslate has joined #angularjs
[10:31:24] *** jimmyy has quit IRC
[10:31:52] *** yozilla has joined #angularjs
[10:32:03] <IJNX> well that's the same as the router implements, except you do it yourself
[10:32:03] *** jimmyy has joined #angularjs
[10:32:06] <arkin> yea
[10:32:16] <Foxandxss> yes, bit more flexible
[10:32:16] *** hzck has quit IRC
[10:32:20] <Foxandxss> but more code to write
[10:32:24] <arkin> I'm using ui-router, is there any events around route resolving?
[10:32:35] <arkin> like startResolve, show spinner, endResole, hide it and load view
[10:33:22] <IJNX> (I'm not using ui-router)
[10:33:27] *** zemiudo has joined #angularjs
[10:33:31] *** IJNX has left #angularjs
[10:33:38] *** IJNX has joined #angularjs
[10:33:55] *** zemiudo has quit IRC
[10:34:08] <snurfery> arkin: you can always hook in with an http interceptor
[10:34:16] *** zemiudo has joined #angularjs
[10:34:23] *** neoadventist has quit IRC
[10:34:23] <arkin> its not a $http call ?
[10:34:29] <snurfery> a resolve?
[10:34:31] <snurfery> oh I see
[10:34:39] <snurfery> you're doing some other kinda resolve eh
[10:34:40] <arkin> the resolve would be loading data from a sqlite db
[10:34:45] <snurfery> well you can do it manually
[10:35:01] <Foxandxss> but where is that sqlite db?
[10:35:22] <arkin> chrome worries about that
[10:35:23] <arkin> lol
[10:35:28] <arkin> websql
[10:35:46] <snurfery> just inject $rootScope or some other service as a dependency, then $rootScope.loading = true; sqlite.load(); $rootScope.loading = false;
[10:35:53] *** ki0 has joined #angularjs
[10:35:57] *** BlinkyBill has joined #angularjs
[10:36:02] *** mollitz has joined #angularjs
[10:36:03] <snurfery> and one of your templates can ng-show="loading" for a spinner
[10:36:20] *** Anton_ has joined #angularjs
[10:36:38] *** arijit has joined #angularjs
[10:36:53] *** tschundeee has quit IRC
[10:36:56] *** moritzschaefer has quit IRC
[10:37:07] *** richiebkr has quit IRC
[10:37:22] <juristr> Foxandxss: May I disturb u a sec? I'm having something like this: <span ng-message="serverValidation" class="danger-text" ng-bind-html="vm.renderServerValidationErrors('name')"></span>
[10:37:24] *** caitp has joined #angularjs
[10:37:30] *** tschundeee has joined #angularjs
[10:37:41] <juristr> Foxandxss: The probl is that ng-bind-html doesn't display the HTML..
[10:37:50] <juristr> Foxandxss: outside of ng-message it works properly
[10:37:55] <juristr> Any idea??
[10:38:00] <Foxandxss> uhm
[10:38:06] *** TyrfingMjolnir has quit IRC
[10:38:13] *** leyluj has joined #angularjs
[10:38:21] <juristr> Foxandxss: the HTML only contains <br/> statements...nothing exciting
[10:38:23] *** Sky[x] has joined #angularjs
[10:38:45] <arkin> snurfery: thats what im doing atm..
[10:38:53] <snurfery> kewl
[10:38:55] <arkin> I'm trying to load the view when the data is ready instead
[10:39:06] *** mmitchell has joined #angularjs
[10:39:13] *** sheplu has quit IRC
[10:39:35] *** Nivag_ has quit IRC
[10:39:41] <snurfery> interesting
[10:39:47] *** foofoobar has joined #angularjs
[10:40:47] *** jdj_dk has joined #angularjs
[10:40:50] *** duall has joined #angularjs
[10:41:01] *** coderat has quit IRC
[10:41:12] <Foxandxss> juristr: I have no idea. I am checking the source for them, but I don't see reason
[10:41:15] <Foxandxss> I need moar coffee
[10:41:20] *** Oxynum has quit IRC
[10:41:22] *** ChanServ sets mode: +o Foxandxss
[10:41:28] *** arijit_ has joined #angularjs
[10:41:32] <duall> H3LL0
[10:41:36] <juristr> Foxandxss: :)
[10:41:50] *** caitp has quit IRC
[10:42:01] *** tschundeee has quit IRC
[10:43:22] *** PeterMetz has joined #angularjs
[10:43:24] *** tschundeee has joined #angularjs
[10:43:37] *** mmitchell has quit IRC
[10:43:54] *** Anton_ has quit IRC
[10:43:54] *** tarnus has joined #angularjs
[10:44:06] *** thegrif_ has joined #angularjs
[10:44:26] *** azizur has joined #angularjs
[10:44:49] *** BlinkyBill has quit IRC
[10:45:14] *** arijit has quit IRC
[10:46:57] *** thegrif has quit IRC
[10:47:21] *** learner has joined #angularjs
[10:47:37] *** Anonymous_ has quit IRC
[10:47:42] *** tschundeee has quit IRC
[10:48:25] *** burattino has joined #angularjs
[10:48:37] *** tarnus has quit IRC
[10:48:40] *** thegrif_ has quit IRC
[10:48:53] *** edy has quit IRC
[10:49:14] *** thegrif has joined #angularjs
[10:50:11] *** Anton_ has joined #angularjs
[10:51:14] *** e0ipso is now known as e0ipso|away
[10:52:33] *** soren_engel has joined #angularjs
[10:53:05] *** e0ipso|away is now known as e0ipso
[10:54:05] *** serengeor has joined #angularjs
[10:54:05] *** night-owl is now known as zz_night-owl
[10:54:46] *** SomeKittens has quit IRC
[10:54:50] *** wiherek has quit IRC
[10:55:25] *** vivainio has joined #angularjs
[10:55:31] *** soren_engel has quit IRC
[10:55:45] *** ryancole has quit IRC
[10:55:46] *** threesixes has joined #angularjs
[10:56:21] <Mayur_> quit
[10:56:39] *** Mayur_ has quit IRC
[10:57:22] *** foofoobar has quit IRC
[10:58:29] *** lw has quit IRC
[10:59:52] *** soren_engel has joined #angularjs
[11:01:04] *** zilla_ has quit IRC
[11:01:09] *** lexek_ has joined #angularjs
[11:02:11] *** marcjs has joined #angularjs
[11:02:35] *** arijit_ has quit IRC
[11:03:07] *** arijit has joined #angularjs
[11:03:09] *** cads has joined #angularjs
[11:03:20] *** arijit has quit IRC
[11:03:20] *** merb has joined #angularjs
[11:03:52] *** soren_engel has quit IRC
[11:03:56] *** Anton_ has quit IRC
[11:04:08] *** merb has quit IRC
[11:04:21] *** merb has joined #angularjs
[11:04:47] <jlebrech> is there a module I can add to my js project that'll combine bower_components into an include file?
[11:04:57] *** glassir has joined #angularjs
[11:05:13] <jlebrech> i'm sick of doing bower install, and then finding out the path to the .js file every time.
[11:05:18] *** Guest96399 has quit IRC
[11:05:26] *** jtimon has joined #angularjs
[11:06:31] *** Solid1_afk is now known as Solid1
[11:06:34] *** zivester has joined #angularjs
[11:06:58] *** Metikha has joined #angularjs
[11:07:19] *** gunn has quit IRC
[11:07:52] *** Akufen has joined #angularjs
[11:08:12]
<PeterMetz> jlebrech: Check out https://github.com/ck86/main-bower-files Sometimes it's more pain than gain, when some lib author forgets to define the build file paths in the main key of the bower file, but other than that I like using it for automated dependency management.
[11:08:30] *** qdk has quit IRC
[11:09:03] <jlebrech> cool i'll look at that
[11:09:12] *** gunn has joined #angularjs
[11:09:25] *** davidreis has joined #angularjs
[11:09:31] *** ahtik has joined #angularjs
[11:09:34] <jlebrech> PeterMetz: I think bower could just output the paths of .js/.css files on install
[11:09:51] *** glassir has quit IRC
[11:10:14] *** robksawyer has quit IRC
[11:10:50] *** Oxynum has joined #angularjs
[11:11:05] <PeterMetz> jlebrech: That wouldn't work either, for the case when the code's author didn't specify what the necessary files are.
[11:11:28] *** zivester has quit IRC
[11:11:34] <jlebrech> but they can define that somewhere?
[11:11:39] *** Anton_ has joined #angularjs
[11:11:55] <jlebrech> it would give them motivation to do so if install outputed it?
[11:12:22] <PeterMetz> jlebrech: Yeah, I was talking about the "main" key in bower.json earlier, that's exactly for that purpose.
[11:12:57] <jlebrech> might try and pull request something to print that data after install then
[11:13:05] <jlebrech> :)
[11:13:15] <PeterMetz> jlebrech: That's the spirit.
[11:13:43] *** yozilla_ has joined #angularjs
[11:14:07] *** ahtik has quit IRC
[11:14:33] *** prbc has joined #angularjs
[11:14:35] *** Sagar has joined #angularjs
[11:14:36] *** JR___ has quit IRC
[11:14:38] *** TheAceOfHearts has quit IRC
[11:14:58] *** Sagar has quit IRC
[11:15:08] *** Successful has quit IRC
[11:15:14] *** ahtik has joined #angularjs
[11:15:25] *** Iravan has quit IRC
[11:15:44] *** mak` has joined #angularjs
[11:15:55] *** Iravan has joined #angularjs
[11:15:56] *** sybarite has joined #angularjs
[11:16:45] *** lyanchih_ has quit IRC
[11:16:59] *** wiherek has joined #angularjs
[11:17:09] *** yozilla has quit IRC
[11:17:24] *** SargoDarya has quit IRC
[11:18:28] *** Anton_ has quit IRC
[11:18:38] *** aendrew has joined #angularjs
[11:19:05] *** SKZC has joined #angularjs
[11:19:28] *** edmundspenser has quit IRC
[11:19:57] *** Iravan has quit IRC
[11:20:58] *** esk4nd4r has quit IRC
[11:21:51] *** esk4nd4r has joined #angularjs
[11:21:52] *** rburns has quit IRC
[11:22:21] *** rburns has joined #angularjs
[11:22:21] *** tschundeee has joined #angularjs
[11:22:21] *** glassir has joined #angularjs
[11:22:30] *** ahtik has quit IRC
[11:23:28] *** Anton_ has joined #angularjs
[11:23:35] *** SargoDarya has joined #angularjs
[11:23:42] *** uru is now known as uru|away
[11:23:56] *** Aguenokk has joined #angularjs
[11:25:35] *** CiE has quit IRC
[11:25:52] *** bengillies has joined #angularjs
[11:26:00] *** CiE has joined #angularjs
[11:26:04] *** anapitupulu__ has joined #angularjs
[11:26:09] *** edy has joined #angularjs
[11:26:45] *** wiherek has quit IRC
[11:27:31] *** davesidious_ has joined #angularjs
[11:27:31] *** davesidious has quit IRC
[11:29:26] *** anapitupulu_ has quit IRC
[11:29:36] *** aslate has quit IRC
[11:30:44] *** tschundeee has quit IRC
[11:30:48] *** aendrew has quit IRC
[11:31:06] *** rburns has quit IRC
[11:31:18] *** tschundeee has joined #angularjs
[11:31:30] *** dannyc_ has joined #angularjs
[11:32:06] *** aslate has joined #angularjs
[11:32:14] *** beckyconning_ has joined #angularjs
[11:33:05] *** dannyc__ has joined #angularjs
[11:33:05] *** dannyc_ has quit IRC
[11:33:30] *** bengillies has quit IRC
[11:34:14] *** wiherek has joined #angularjs
[11:34:36] *** dannyc__ has quit IRC
[11:34:47] *** wiherek has quit IRC
[11:35:43] *** tschundeee has quit IRC
[11:35:57] *** mmitchell has joined #angularjs
[11:36:05] *** coderat has joined #angularjs
[11:36:09] *** aendrew has joined #angularjs
[11:36:51] *** sk87 has quit IRC
[11:36:59] *** sinequanon has joined #angularjs
[11:39:39] *** tschundeee has joined #angularjs
[11:39:52] *** code-ninja{don} has quit IRC
[11:40:01] *** zwacky has joined #angularjs
[11:40:12] *** code-ninja{don} has joined #angularjs
[11:40:28] *** Shrooms has quit IRC
[11:41:00] *** Usuario_ has joined #angularjs
[11:41:04] *** Usuario_ is now known as frobs
[11:41:26] *** sinequanon has quit IRC
[11:42:11] <juristr> Foxandxss: Ok, didn't think about that. That would work, sure. Any idea why it doesn't work on the div itself where the ng-message resides?? It's kinda odd
[11:42:19] <juristr> or at least one wouldn't expect such behavior
[11:44:00] *** jonatas_oliveira has joined #angularjs
[11:44:31] *** ahtik has joined #angularjs
[11:44:33] *** lw has joined #angularjs
[11:44:37] <Foxandxss> no idea so far
[11:44:50] *** guilbep has joined #angularjs
[11:45:15] *** lw has quit IRC
[11:45:20] *** lw_ has joined #angularjs
[11:45:22] *** elliotstokes has joined #angularjs
[11:45:24] <juristr> Foxandxss: Ok, thx anyway for the workaround!
[11:46:13] *** marcjs has quit IRC
[11:46:28] *** zemiudo88 has joined #angularjs
[11:46:58] *** zemiudo has quit IRC
[11:47:00] *** SahanH has joined #angularjs
[11:47:54] *** guilbep has quit IRC
[11:48:12] *** jonatas_oliveira has quit IRC
[11:48:36] *** BlinkyBill has joined #angularjs
[11:51:01] <Foxandxss> juristr: on a first glance, it seems to override the template, so ngBindHtml will put some html and then ngMessage delete that and put other stuff
[11:51:03] *** zemiudo88 has quit IRC
[11:51:13] <Foxandxss> s/template/element
[11:51:40] <juristr> Foxandxss: I see..
[11:52:32] *** esk4nd4r has quit IRC
[11:52:57] *** caitp has joined #angularjs
[11:53:15] *** instence_ has joined #angularjs
[11:53:47] *** esk4nd4r has joined #angularjs
[11:54:10] *** afuggini has joined #angularjs
[11:54:19] *** aendrew has quit IRC
[11:54:46] *** aendrew has joined #angularjs
[11:54:54] *** nemothekid has quit IRC
[11:55:00] *** dc_ has quit IRC
[11:55:10] *** samuel02 has joined #angularjs
[11:55:17] *** instence has quit IRC
[11:56:30] *** tschundeee has quit IRC
[11:56:31] *** sheplu has joined #angularjs
[11:57:40] *** caitp has quit IRC
[11:58:28] *** afuggini has quit IRC
[11:58:31] *** elyssonmr has joined #angularjs
[11:59:10] *** lenswipe has joined #angularjs
[11:59:11] <lenswipe> hey guys
[11:59:13] <lenswipe> anyone around?
[11:59:16] <lenswipe> i really really need help with something
[11:59:36] <lenswipe> I'm trying to turn off HTML escaping (for a quick PoC demo that's due in an hour)
[11:59:40] <lenswipe> could someone please help?
[11:59:45] <lenswipe> I've tried ng-bind-html-unsafe
[11:59:50] <lenswipe> I've trued $sce.trustAsHTML
[12:00:04] <lenswipe> the best i can get is the HTML tags being displayed on my page
[12:00:14] <lenswipe> but I can't get angular to actually output renderable HTML
[12:00:17] <lenswipe> please help
[12:00:28] * lenswipe pokes fold
[12:00:32] <Hounddog> Too my question earlier i looked now at angular-dragdrop and it has everything i need
[12:00:33] <lenswipe> oops
[12:00:39] * lenswipe poins Foxandxss
[12:00:43] <lenswipe> pokes*
[12:01:06] *** laurensclaessen has quit IRC
[12:01:33] <Foxandxss> lenswipe: uhm, I knew the answer
[12:01:40] <lenswipe> ?
[12:01:47] <lenswipe> I've gotten it to work before
[12:01:48] <Foxandxss> just forgot
[12:01:56] <lenswipe> that's my JS
[12:01:57] <Foxandxss> there are a couple of ways with their differences
[12:02:00] *** i_am_nader has quit IRC
[12:02:01] <Foxandxss> I forgot which one allows directives
[12:02:05] <lenswipe> this is my HTML
[12:02:12] <lenswipe> I don't care wether it's done by directive or what
[12:02:13] *** Successful has joined #angularjs
[12:02:26] <lenswipe> I know how dangerous blindly trusting HTML is
[12:02:34] <lenswipe> this app is never going to go live, I just need the f***ing thing to work
[12:02:37] <lenswipe> :
[12:02:38] <lenswipe> p
[12:02:44] <Foxandxss> yeah, what you want is the upmost insecure
[12:02:48] <Foxandxss> but yeah, a directive would do
[12:03:32] *** soren_engel has joined #angularjs
[12:03:40] *** ahtik has quit IRC
[12:04:08] *** arijit has joined #angularjs
[12:04:10] <lenswipe> ty
[12:04:46] *** kp666 has joined #angularjs
[12:04:50] *** qdk has joined #angularjs
[12:05:01] *** richiebkr has joined #angularjs
[12:05:03] *** dannyc_ has joined #angularjs
[12:05:48] *** BobbieBarker has joined #angularjs
[12:06:24] *** adpirz has joined #angularjs
[12:06:24] <NickMessing> lenswipe: did you try defining something like this.safeString = $sce.trustAsHtml(unsafeString) and then ng-bind-html='yourCtrl.safeString' ?
[12:06:36] <Foxandxss> that won't work
[12:06:43] <NickMessing> Foxandxss: it works for me :D
[12:06:45] <Foxandxss> ng-bind-html won't work with trusted directives
[12:06:47] <lenswipe> not for me
[12:07:03] *** Left_Turn has joined #angularjs
[12:07:21] <lenswipe> Foxandxss, I'm still literally getting <h4>Hello world</h4> on my page
[12:07:23] *** ahtik has joined #angularjs
[12:07:25] <lenswipe> >: {
[12:07:26] <NickMessing> Foxandxss: I have a running thing that works like this
[12:07:47] *** marcjs has joined #angularjs
[12:08:18] *** nerder has joined #angularjs
[12:08:22] <lenswipe> Foxandxss, it's working now
[12:08:24] <lenswipe> thank you so much!
[12:08:24] <nerder> hello
[12:08:27] <lenswipe> I owe you one
[12:08:29] <lenswipe> over and oout
[12:08:29] *** lenswipe has quit IRC
[12:08:44] <nerder> why ng-disable="1===1" dosent work as i expect?
[12:09:18] *** dannyc_ has quit IRC
[12:09:47] *** richiebkr has quit IRC
[12:09:50] *** Solid1 is now known as Solid1_afk
[12:10:32] *** patrick99e99 has joined #angularjs
[12:10:36] *** adpirz has quit IRC
[12:10:39] *** soren_engel has quit IRC
[12:10:55] <Foxandxss> nerder: what does a disable on a label?
[12:10:59] *** cads has quit IRC
[12:11:13] *** wsmoak has joined #angularjs
[12:11:48] <nerder> Foxandxss: it's a wierd bootstrap behaviour
[12:12:09] <nerder> i dnt get why i have to put disabled in the label to let it work
[12:12:50] *** lw_ has quit IRC
[12:12:52] *** boberober has joined #angularjs
[12:13:17] *** Successful has quit IRC
[12:14:01] *** fairuz has quit IRC
[12:14:43] *** andrew9183 has quit IRC
[12:15:32] *** patrick99e99 has quit IRC
[12:15:36] <nerder> Foxandxss: i guess that the problem is that i have ng-checked and ng-disabled in the same <input>
[12:16:50] *** SargoDarya has quit IRC
[12:17:16] *** doodlehaus has joined #angularjs
[12:19:09] *** dannyc_ has joined #angularjs
[12:19:57] *** t1mmen has quit IRC
[12:21:03] *** leyluj_ has joined #angularjs
[12:21:57] *** gunn has quit IRC
[12:24:43] *** leyluj__ has joined #angularjs
[12:24:45] *** gunn has joined #angularjs
[12:24:47] *** leyluj has quit IRC
[12:25:18] *** samuel02 has quit IRC
[12:25:42] *** samuel02 has joined #angularjs
[12:27:45] *** tomengland_mbp has joined #angularjs
[12:27:46] *** frem has quit IRC
[12:28:25] *** leyluj_ has quit IRC
[12:28:37] *** Solid1_afk is now known as Solid1
[12:30:18] *** dannyc_ has quit IRC
[12:30:43] *** metasansana has joined #angularjs
[12:30:55] *** mortenhauberg has quit IRC
[12:31:42] *** guilbep has joined #angularjs
[12:32:27] *** tomengland_mbp has quit IRC
[12:32:44] *** tarnus has joined #angularjs
[12:34:00] *** ahtik has quit IRC
[12:34:11] *** jonatas_oliveira has joined #angularjs
[12:35:05] *** phzon has quit IRC
[12:35:39] *** phzon_ has joined #angularjs
[12:36:05] *** Fardin has joined #angularjs
[12:37:14] *** tarnus has quit IRC
[12:37:16] *** laurensclaessen has joined #angularjs
[12:37:40] *** ProLoser has quit IRC
[12:38:01] *** mortenhauberg has joined #angularjs
[12:38:40] *** jimmyy has quit IRC
[12:38:46] *** Left_Turn has quit IRC
[12:38:50] *** rileylark has joined #angularjs
[12:38:55] *** uru|away is now known as uru
[12:40:18] *** coolboy has joined #angularjs
[12:41:22] *** coolboy has quit IRC
[12:41:59] *** aendrew has quit IRC
[12:43:09] *** rileylark has quit IRC
[12:43:25] *** Tak0r|Work has quit IRC
[12:43:42] *** aendrew has joined #angularjs
[12:43:54] *** napcoder has joined #angularjs
[12:44:01] *** ogdabou has quit IRC
[12:44:04] *** spatialbrew has joined #angularjs
[12:44:55] *** RangerRick has quit IRC
[12:45:18] *** RangerRick has joined #angularjs
[12:46:23] *** afuggini has joined #angularjs
[12:47:47] *** sheplu has quit IRC
[12:47:52] *** tschundeee has joined #angularjs
[12:48:44] *** thegrif has quit IRC
[12:49:19] *** qdk has quit IRC
[12:50:15] *** prbc has quit IRC
[12:50:18] *** quantax- has quit IRC
[12:50:51] *** prbc has joined #angularjs
[12:50:58] *** tschundeee has quit IRC
[12:51:44] *** goodenough has quit IRC
[12:51:57] *** rchavik_ has joined #angularjs
[12:52:00] *** samuel02 has joined #angularjs
[12:52:02] *** arijit has quit IRC
[12:53:06] *** tangorri has quit IRC
[12:55:14] *** prbc has quit IRC
[12:55:17] *** rchavik has quit IRC
[12:56:42] *** sahbeewah has joined #angularjs
[12:56:55] *** narutimateum has joined #angularjs
[12:58:34] *** asdd has joined #angularjs
[12:59:18] *** dsdeiz has quit IRC
[13:00:10] *** teddyp1c_ has joined #angularjs
[13:00:44] *** serengeor_ has joined #angularjs
[13:00:48] *** bbankes has joined #angularjs
[13:00:56] *** jonasliljestrand has quit IRC
[13:02:18] *** sheplu has joined #angularjs
[13:02:28] *** sahbeewah has quit IRC
[13:02:32] *** RedOrangeZ has joined #angularjs
[13:02:58] *** ingsoc has joined #angularjs
[13:03:17] *** teddyp1cker has quit IRC
[13:03:31] *** juristr has quit IRC
[13:03:42] *** Successful has joined #angularjs
[13:03:57] *** serengeor has quit IRC
[13:04:37] *** BobbieBarker has quit IRC
[13:04:56] *** rafagomes has joined #angularjs
[13:05:17] *** bbankes has quit IRC
[13:05:49] *** dannyc_ has joined #angularjs
[13:06:35] *** MuffinMan` has joined #angularjs
[13:07:04] *** esk4nd4r has quit IRC
[13:09:08] *** marcjs has quit IRC
[13:09:12] *** prbc has joined #angularjs
[13:09:28] *** mkusher has quit IRC
[13:09:42] *** marcjs has joined #angularjs
[13:10:05] *** rafagomes has quit IRC
[13:10:12] *** rafagomes_ has joined #angularjs
[13:10:17] *** dannyc_ has quit IRC
[13:10:53] *** ninkotech_ has quit IRC
[13:11:34] *** Sky[x] has quit IRC
[13:11:38] *** asdd has quit IRC
[13:11:52] *** Sky[x] has joined #angularjs
[13:12:07] *** bayousoft has joined #angularjs
[13:12:40] *** uniquerockrz_ has joined #angularjs
[13:13:02] *** uniquerockrz_ has joined #angularjs
[13:13:02] *** kp666 has quit IRC
[13:13:29] *** prbc_ has joined #angularjs
[13:14:00] *** prbc has quit IRC
[13:14:09] *** qdk has joined #angularjs
[13:16:44] *** mkusher has joined #angularjs
[13:17:37] *** SargoDarya has joined #angularjs
[13:17:47] *** ogdabou has joined #angularjs
[13:18:51] *** lw has joined #angularjs
[13:19:11] *** BaconOverflow has joined #angularjs
[13:20:09] *** niop2 has joined #angularjs
[13:20:53] *** aendrew has quit IRC
[13:21:30] *** BlinkyBill has quit IRC
[13:21:33] *** SargoDarya has quit IRC
[13:21:46] *** Oxynum has quit IRC
[13:21:52] *** SargoDarya has joined #angularjs
[13:23:17] *** adben has quit IRC
[13:23:39] *** adrrr has joined #angularjs
[13:23:56] *** simplyshipley has joined #angularjs
[13:24:06] *** caitp has joined #angularjs
[13:24:15] *** Sky[x] has quit IRC
[13:24:20] *** jonasliljestrand has joined #angularjs
[13:24:37] *** saucey has quit IRC
[13:25:15] *** aendrew has joined #angularjs
[13:25:19] *** boberober has quit IRC
[13:25:42] *** duall has quit IRC
[13:26:29] *** jlebrech has quit IRC
[13:26:53] *** carif_ has quit IRC
[13:27:06] *** lw has quit IRC
[13:28:45] *** Oxynum has joined #angularjs
[13:29:12] *** caitp has quit IRC
[13:29:37] *** tangorri has joined #angularjs
[13:31:10] *** japhar81 has quit IRC
[13:31:11] *** bbankes has joined #angularjs
[13:34:17] *** coderat has quit IRC
[13:35:06] *** jtimon has quit IRC
[13:35:07] *** phzon_ has quit IRC
[13:35:57] *** mkusher has quit IRC
[13:36:05] *** zwacky has quit IRC
[13:36:59] *** skywritergr has joined #angularjs
[13:37:31] *** bayousoft has quit IRC
[13:40:03] *** cakirke has joined #angularjs
[13:40:11] *** doodlehaus has quit IRC
[13:41:12] *** Left_Turn has joined #angularjs
[13:42:02] *** lw has joined #angularjs
[13:42:34] *** duall has joined #angularjs
[13:43:19] *** saucey has joined #angularjs
[13:43:50] *** juampy is now known as juampy_lunch
[13:45:11] *** Hounddog has quit IRC
[13:45:12] *** ninkotech_ has joined #angularjs
[13:45:44] *** ConstantineXVI has joined #angularjs
[13:47:00] *** Iravan has joined #angularjs
[13:47:13] *** whitebook has joined #angularjs
[13:47:20] *** bengillies has joined #angularjs
[13:49:52] *** lsiv568 has joined #angularjs
[13:49:56] *** ngbot has joined #angularjs
[13:49:56]
<ngbot> [angular.js] petebacondarwin pushed 2 new commits to master: http://git.io/atHWnw
[13:49:56] <ngbot> angular.js/master 10ac594 Peter Bacon Darwin: fix($browser): prevent infinite digests when clearing the hash of a url...
[13:49:57] <ngbot> angular.js/master 2dc34a9 Peter Bacon Darwin: fix($location): allow hash fragments with hashPrefix in hash-bang location urls...
[13:49:57] *** ngbot has left #angularjs
[13:50:01] *** loverajoel has joined #angularjs
[13:51:26] *** lsiv568 has quit IRC
[13:51:47] *** lsiv568 has joined #angularjs
[13:52:03] *** fedenunez has joined #angularjs
[13:52:28] *** sahbeewah has joined #angularjs
[13:52:56] *** annlewis has joined #angularjs
[13:53:08] *** ngbot has joined #angularjs
[13:53:09] <ngbot> angular.js/master 96e7897 Peter Bacon Darwin: docs($location.ihshprfx): remove docs for unused error
[13:53:09] *** ngbot has left #angularjs
[13:54:00] *** richiebkr has joined #angularjs
[13:54:32] *** sheplu has quit IRC
[13:55:19] *** adpirz has joined #angularjs
[13:55:44] *** jlebrech has joined #angularjs
[13:56:11] *** ychiao has joined #angularjs
[13:57:11] *** listerine has joined #angularjs
[13:57:42] *** ciwolsey has joined #angularjs
[13:57:57] *** doodlehaus has joined #angularjs
[13:58:30] *** richiebkr has quit IRC
[13:58:40] *** rafagomes has joined #angularjs
[13:58:51] *** leyluj has joined #angularjs
[13:59:31] *** adrrr has quit IRC
[13:59:37] *** rafagomes_ has quit IRC
[14:00:10] *** adpirz has quit IRC
[14:00:26] *** tarnus has joined #angularjs
[14:00:35] *** exp10r3r has quit IRC
[14:00:44] *** aendrew has quit IRC
[14:01:14] *** narutimateum has quit IRC
[14:01:45] *** PeterMetz has quit IRC
[14:01:59] *** sk87 has joined #angularjs
[14:02:26] *** leyluj__ has quit IRC
[14:03:12] *** leyluj has quit IRC
[14:03:29] *** teddyp1cker has joined #angularjs
[14:03:44] *** elyssonmr has quit IRC
[14:03:51] *** fabiofb has joined #angularjs
[14:04:07] *** WhatsInTheBoks has joined #angularjs
[14:04:13] *** elyssonmr has joined #angularjs
[14:04:41] *** Iravan has quit IRC
[14:04:55] *** rafagomes has quit IRC
[14:05:20] *** rafagomes has joined #angularjs
[14:05:49] *** Iravan has joined #angularjs
[14:06:13] *** Milkweed has joined #angularjs
[14:06:18] *** elliotstokes has quit IRC
[14:06:23] *** teddyp1c_ has quit IRC
[14:06:30] *** sk87 has quit IRC
[14:06:30] *** ycodr has quit IRC
[14:06:39] *** ycodr has joined #angularjs
[14:07:04] *** aslate has quit IRC
[14:07:10] *** Iravan has quit IRC
[14:07:21] *** dimas has quit IRC
[14:10:33] *** samuel02 has quit IRC
[14:10:54] *** josh-k has joined #angularjs
[14:11:10] *** samuel02 has joined #angularjs
[14:11:16] *** mak` has quit IRC
[14:11:24] *** patrick99e99 has joined #angularjs
[14:11:31] *** jae has joined #angularjs
[14:11:38] *** elliotstokes has joined #angularjs
[14:11:55] *** mak`` has joined #angularjs
[14:11:57] *** jae is now known as Jae
[14:11:59] *** aslate has joined #angularjs
[14:12:19] *** fairuz has joined #angularjs
[14:12:19] *** Iravan has joined #angularjs
[14:12:37] *** mokush has joined #angularjs
[14:13:14] *** IvailoStoianov has joined #angularjs
[14:13:47] *** Iravan has quit IRC
[14:14:09] *** sheplu has joined #angularjs
[14:14:36] *** Foxandxss has quit IRC
[14:14:37] *** doodlehaus has quit IRC
[14:14:45] *** josh-k has quit IRC
[14:15:16] *** hswolff has quit IRC
[14:15:25] *** walden|afk is now known as walden
[14:16:16] *** patrick99e99 has quit IRC
[14:17:00] *** tomengland_mbp has joined #angularjs
[14:17:12] *** tschundeee has joined #angularjs
[14:17:42] *** hswolff has joined #angularjs
[14:18:13] *** lite_ has joined #angularjs
[14:18:13] *** curfont has quit IRC
[14:18:37] *** sheplu has quit IRC
[14:18:49] *** sk87 has joined #angularjs
[14:18:58] *** phzon has joined #angularjs
[14:19:20] *** dimas has joined #angularjs
[14:19:34] *** curfont has joined #angularjs
[14:20:11] *** sheplu has joined #angularjs
[14:20:54] *** daivyk has joined #angularjs
[14:21:19] *** tomengland_mbp has quit IRC
[14:21:25] *** jaydubya has quit IRC
[14:21:42] *** jaydubya has joined #angularjs
[14:21:49] *** coderat has joined #angularjs
[14:22:23] *** lite has quit IRC
[14:23:17] *** jotbe has joined #angularjs
[14:23:26] *** tristanp has joined #angularjs
[14:23:28] *** fabiofb has quit IRC
[14:24:50] *** AlSquirrel has joined #angularjs
[14:25:47] *** morenoh150 has quit IRC
[14:25:51] *** lite has joined #angularjs
[14:26:20] *** ProLoser has joined #angularjs
[14:26:41] *** dannyc_ has joined #angularjs
[14:26:53] *** tommix000 has joined #angularjs
[14:27:02] *** morenoh150 has joined #angularjs
[14:27:07] *** aendrew has joined #angularjs
[14:27:15] *** prbc_ has quit IRC
[14:27:48] *** prbc has joined #angularjs
[14:27:50] *** AlSquire has quit IRC
[14:28:01] *** JVH has joined #angularjs
[14:28:32] *** fabiofb has joined #angularjs
[14:28:59] *** fabiofb has quit IRC
[14:29:05] *** cakirke has quit IRC
[14:29:37] *** ychiao has quit IRC
[14:29:40] *** lite_ has quit IRC
[14:30:05] *** danecando has quit IRC
[14:30:06] *** htmelvis has joined #angularjs
[14:30:17] *** Fishy has quit IRC
[14:30:57] *** ProLoser has quit IRC
[14:31:03] *** diosney has joined #angularjs
[14:31:30] *** lite_ has joined #angularjs
[14:31:55] *** avialet has joined #angularjs
[14:32:00] *** emps has quit IRC
[14:32:37] *** MaxV has quit IRC
[14:32:37] *** prbc has quit IRC
[14:32:54] *** elyssonmr has quit IRC
[14:32:59] *** MaxV has joined #angularjs
[14:33:20] *** elyssonmr has joined #angularjs
[14:33:39] *** lite__ has joined #angularjs
[14:33:45] *** lite_ has quit IRC
[14:34:07] *** lite_ has joined #angularjs
[14:35:01] *** boxmein has joined #angularjs
[14:35:12] *** daivyk_ has joined #angularjs
[14:35:18] *** lite has quit IRC
[14:35:30] *** emps has joined #angularjs
[14:36:08] *** SargoDarya has quit IRC
[14:37:09] *** prbc has joined #angularjs
[14:37:44] *** daivyk has quit IRC
[14:37:47] *** lite__ has quit IRC
[14:38:29] *** esk4nd4r has joined #angularjs
[14:39:07] *** Ants has joined #angularjs
[14:39:42] *** soren_engel has joined #angularjs
[14:40:18] *** dsdeiz has joined #angularjs
[14:40:25] *** uniquerockrz_ has quit IRC
[14:40:37] *** coderat has quit IRC
[14:41:31] *** ali_ has quit IRC
[14:41:57] *** fairuz has left #angularjs
[14:42:01] *** lite has joined #angularjs
[14:42:39] *** zB0hs has joined #angularjs
[14:42:40] *** daivyk_ is now known as daivyk
[14:42:44] *** daivyk has quit IRC
[14:43:09] *** daivyk has joined #angularjs
[14:43:24] *** Christer_ has joined #angularjs
[14:43:41] *** listerine has quit IRC
[14:44:18] *** tschundeee has quit IRC
[14:44:28] *** intellix has joined #angularjs
[14:44:32] *** intellix_ has joined #angularjs
[14:44:33] *** soren_engel has quit IRC
[14:44:34] *** knownasilya has joined #angularjs
[14:44:48] *** SargoDarya has joined #angularjs
[14:44:52] *** tschundeee has joined #angularjs
[14:45:18] *** lite_ has quit IRC
[14:45:22] *** akrikos has joined #angularjs
[14:46:42] *** Christer has quit IRC
[14:46:47] *** Christer_ is now known as Christer
[14:47:14] *** phishy has joined #angularjs
[14:48:35] *** Linell has joined #angularjs
[14:49:25] *** tschundeee has quit IRC
[14:50:19] *** tschundeee has joined #angularjs
[14:51:32] *** mwils has joined #angularjs
[14:51:36] *** ishan1604 has joined #angularjs
[14:52:03] *** bayousoft has joined #angularjs
[14:53:10] *** fairuz has joined #angularjs
[14:54:13] *** afuggini has quit IRC
[14:54:26] *** Sky[x] has joined #angularjs
[14:54:44] *** danecando has joined #angularjs
[14:55:24] *** esk4nd4r has left #angularjs
[14:55:29] *** afuggini has joined #angularjs
[14:56:19] *** jtimon has joined #angularjs
[14:56:37] *** ishan1604 has quit IRC
[14:56:37] *** lexek_ has quit IRC
[14:56:40] *** mmealling has joined #angularjs
[14:56:55] *** aendrew has quit IRC
[14:57:00] *** jordandotdev has joined #angularjs
[14:57:29] *** esk4nd4r has joined #angularjs
[14:57:37] *** esk4nd4r has left #angularjs
[14:58:21] *** mchapman has joined #angularjs
[14:59:12] *** juampy_lunch is now known as juampy
[14:59:21] <jaydubya> ng-grid or ng-table <-- recommendations?
[14:59:58] *** elrabin has joined #angularjs
[15:00:08] *** Ants has left #angularjs
[15:01:13] *** cboden has joined #angularjs
[15:01:47] *** VeeWee has quit IRC
[15:02:39] *** jlmitch5dev has joined #angularjs
[15:03:22] *** chrisbirk has joined #angularjs
[15:03:57] *** tfennelly has quit IRC
[15:04:39] *** skywritergr has quit IRC
[15:04:42] *** elrabin has quit IRC
[15:05:37] *** ccohn has joined #angularjs
[15:06:37] *** mogaj has quit IRC
[15:06:39] *** Johnny13371337 has joined #angularjs
[15:07:00] *** Sky[x] has quit IRC
[15:07:22] *** rileylark has joined #angularjs
[15:07:27] *** mfunkie has joined #angularjs
[15:08:16] *** Sawbones has joined #angularjs
[15:08:33] *** fairuz has left #angularjs
[15:08:46] *** mccarrontr1ck has joined #angularjs
[15:09:19] *** a3gis has joined #angularjs
[15:09:35] *** i_am_nader has joined #angularjs
[15:09:47] *** richiebkr has joined #angularjs
[15:10:07] *** FIFOd[a] has joined #angularjs
[15:10:15] *** sirkitree|afk is now known as sirkitree
[15:10:25] *** htmelvis has quit IRC
[15:10:28] *** samuel02 has quit IRC
[15:10:39] *** Sawbones_ has joined #angularjs
[15:10:53] *** samuel02 has joined #angularjs
[15:11:41] *** dmack has joined #angularjs
[15:12:37] *** Sawbones has quit IRC
[15:12:50] *** FIFOd[a] has quit IRC
[15:12:51] *** Hounddog has joined #angularjs
[15:13:02] <dmack> I threw together a modified version of the ngBoilerplate that uses gulp
[15:13:05] *** garbanzio has joined #angularjs
[15:13:07] *** caitp has joined #angularjs
[15:14:32] *** sinequanon has joined #angularjs
[15:14:37] *** jlmitch5dev has quit IRC
[15:14:57] *** richiebkr has quit IRC
[15:15:54] *** BillCriswell has joined #angularjs
[15:17:05] *** prosper_ has joined #angularjs
[15:17:30] *** foofoobar has joined #angularjs
[15:17:43] *** caitp has quit IRC
[15:17:57] *** garbanzio has quit IRC
[15:18:26] *** japhar81 has joined #angularjs
[15:18:29] *** mokush has quit IRC
[15:18:29] *** dman777_alter has joined #angularjs
[15:19:00] *** mven has joined #angularjs
[15:19:12] *** sinequanon has quit IRC
[15:19:36] *** juanpablo___ has joined #angularjs
[15:20:49] *** rafagomes has quit IRC
[15:21:22] *** millr|wrk has joined #angularjs
[15:21:26] *** rafagomes has joined #angularjs
[15:22:06] *** azizur has quit IRC
[15:22:07] *** s00pcan has quit IRC
[15:22:34] <jaydubya> need some "advice" ... i have a dataset of 18 columns and the designer wants 6 columns to "always be there" and with the rest, up to 6 more columns can be added with the "configuration" saved for each user. I'm not sure where to start -- ng-hide rows are simple but ng-hide columns???
[15:22:35] *** WhatsInTheBoks has quit IRC
[15:22:36] *** WhatsInTheBoks2 has joined #angularjs
[15:23:02] *** BobbieBarker has joined #angularjs
[15:23:52] *** juanpablo___ has quit IRC
[15:24:13] *** juanpablo_ has joined #angularjs
[15:24:21] *** vassagus has joined #angularjs
[15:24:32] *** LiDeN has joined #angularjs
[15:25:19] *** sdf_ has joined #angularjs
[15:25:25] *** s00pcan has joined #angularjs
[15:25:25] *** Hounddog has quit IRC
[15:25:34] *** richiebkr has joined #angularjs
[15:25:41] <tschundeee> wtf is $ctrls service? can't find it in documentation???
[15:26:01] *** rafagomes has quit IRC
[15:26:10] *** lw has quit IRC
[15:26:20] *** lw has joined #angularjs
[15:26:52] *** ron1 has joined #angularjs
[15:27:05] <Linell> jaydubya: I've done something sorta like that before. I just put an ng-if on the table header and then the actual td portion in the row. That would probably get messy with 18 columns, though.
[15:27:07] *** Hounddog has joined #angularjs
[15:27:12] *** robozahn has joined #angularjs
[15:27:22] <sdf_> How do I display scope value in my view? I have {{sample}} in my div and $scope.sample = "Hello" in my controller? It just displays {{sample}}
[15:27:44] *** kwaledesign has joined #angularjs
[15:28:00] *** weems|mac has joined #angularjs
[15:28:12] *** weems|mac has joined #angularjs
[15:28:16] <jaydubya> Linell: sounds feasible. One thought: how would I limit the six optional columns to six or less?
[15:28:24] *** dra has joined #angularjs
[15:28:52] *** tfennelly has joined #angularjs
[15:29:06] <jaydubya> Linell: still seems better than something like ng-grid which apparently requires a PhD to work with
[15:29:19] <Linell> jaydubya: just spitballing, but you could just have a counter that tracks it and disables adding more.
[15:30:01] *** richiebkr has quit IRC
[15:30:09] *** zwacky has joined #angularjs
[15:30:19] <jaydubya> Linell: that would work because the "column chooser" is on a separate "My Settings" page ... I will give it a shot
[15:31:01] *** yoshokatana has joined #angularjs
[15:31:21] *** mkusher has joined #angularjs
[15:31:41] *** livingstn has joined #angularjs
[15:31:52] *** hasq has joined #angularjs
[15:31:54] *** BigMac has joined #angularjs
[15:32:36] *** caitp has joined #angularjs
[15:32:38] *** sahbeewah has quit IRC
[15:32:59] *** annlewis has quit IRC
[15:33:30] *** sdf_ has quit IRC
[15:35:45] *** tfennelly has quit IRC
[15:36:34] <Linell> jaydubya: ohh, that's cool
[15:36:51] *** lw has quit IRC
[15:37:02] *** rchavik_ has quit IRC
[15:37:08] <jlebrech> it it possible to disable blockUI in a closure or something?
[15:37:25] *** xaaabk has joined #angularjs
[15:37:57] *** PeterMetz has joined #angularjs
[15:38:08] *** tristanp has quit IRC
[15:38:08] *** _dc_ has joined #angularjs
[15:38:18] <jlebrech> ah, i think it's because i have an error
[15:38:56] *** bmac has joined #angularjs
[15:39:07] *** shackleford has joined #angularjs
[15:39:15] *** Jae has quit IRC
[15:39:16] *** shackleford has quit IRC
[15:39:46] *** shackleford has joined #angularjs
[15:39:52] *** xaaabk has quit IRC
[15:39:56] *** tristanp has joined #angularjs
[15:40:34] *** jmckind has joined #angularjs
[15:40:44] *** jdj_dk has quit IRC
[15:41:44] *** ome has quit IRC
[15:42:07] *** Siecje has joined #angularjs
[15:42:12] <dmack> sdf_: means your controller isn't working.
[15:42:37] *** getn_outchea has joined #angularjs
[15:42:53] *** Snugug has joined #angularjs
[15:43:05] *** bkuberek has joined #angularjs
[15:43:13] *** bkuberek has quit IRC
[15:43:30] *** bkuberek has joined #angularjs
[15:43:37] *** mortenhauberg has quit IRC
[15:44:08] *** jdivock has joined #angularjs
[15:44:15] *** adpirz has joined #angularjs
[15:44:40] *** Solid1 is now known as Solid1_afk
[15:44:44] *** krawchyk has joined #angularjs
[15:44:58] *** ron1 has quit IRC
[15:45:04] *** a3gis has quit IRC
[15:45:24] *** xaaabk has joined #angularjs
[15:45:26] <christo_m> anyone here familiar with ionic?
[15:45:28] *** krawchyk has joined #angularjs
[15:45:34] <christo_m> it looks like on-touch is a directive, but am i able to pass teh event to the controller so i can use ionic.tap.pointerCoord(event) on it to get the coordinates?
[15:45:36] *** krawchyk has quit IRC
[15:46:06] *** krawchyk has joined #angularjs
[15:46:20] *** adben has joined #angularjs
[15:46:25] *** Fishy__ has joined #angularjs
[15:46:53] *** AlexZ has joined #angularjs
[15:47:51] *** ryez has joined #angularjs
[15:48:34] *** adpirz has quit IRC
[15:48:36] *** Rahul_Roy_ has joined #angularjs
[15:48:43] *** Anton_ has quit IRC
[15:49:04] <Linell> christo_m: there's an #ionic channel, if nobody here can help
[15:49:14] *** annlewis has joined #angularjs
[15:49:34] *** dob_ has joined #angularjs
[15:49:40] *** amortimer has joined #angularjs
[15:49:45] *** amortimer has left #angularjs
[15:49:50] <dob_> Hello
[15:50:04] <christo_m> Linell: nobody can help there either :P
[15:50:15] *** lw has joined #angularjs
[15:50:29] <dob_> I have a quite complicated question and hope somebody can help me.
[15:50:31] <dmack> christo_m: i like ionic
[15:51:01] <dmack> dob_: go on
[15:51:14] *** jdivock has quit IRC
[15:51:42] *** encryptd_fractl has joined #angularjs
[15:52:20] <dob_> I want to define the urls via the rest api and my problem is that ui.router always needs predefined states. I want to enter a url and ask the api for the data and based on the data and the type i sent back from the server i change the state or the template. Do you know a solution which works like that?
[15:52:34] *** Efrem has joined #angularjs
[15:52:44] *** laurensclaessen has quit IRC
[15:53:16] *** sveajobb has joined #angularjs
[15:53:26] <sveajobb> Hi, what's most efficient, running ng-repeat with a filter or doing ng-if manually on same element?
[15:53:45] *** emmesswhy has joined #angularjs
[15:53:48] <dob_> My goal is to be able to define urls via my CMS like in a non - angular site. I googled for that, but there were only very rudimentary solutions with predefined url patterns or stuff like that.
[15:54:05] *** Anton_ has joined #angularjs
[15:54:28] <christo_m> dmack: im trying to capture touch coordinates , it looks like i can use ionic.tap.pointerCoord(event) but im not sure how to pass the event into it controller side
[15:54:32] <christo_m> from the on-touch directive
[15:54:47] *** lsiv568 has quit IRC
[15:54:52] <dmack> dob_: my question is, why does the "state" matter? you just want dynamic URLs?
[15:55:15] *** soee has quit IRC
[15:55:20] *** SahanH has quit IRC
[15:56:36] <christo_m> dmack: i dont want a gesture, i want a touch move event
[15:56:49] <christo_m> like if im using the touch screen on a device as a mouse
[15:56:52] <dmack> ah
[15:57:22] <dmack> looking for the on-touch directive, can't find it
[15:57:31] *** krawchyk has quit IRC
[15:57:50] *** ron1 has joined #angularjs
[15:58:01] *** lsiv568 has joined #angularjs
[15:58:02] *** glassir has quit IRC
[15:58:07] <dmack> regardless, you couild use "touch" and "release" to accomplish the same thing, no?
[15:58:29] *** macabre has joined #angularjs
[15:58:39] *** jdcasey has joined #angularjs
[15:58:55] *** cacts has joined #angularjs
[15:58:57] *** adben has quit IRC
[15:59:03] *** juampy has quit IRC
[15:59:05] <christo_m> was told to use ionic.tap.pointerCoord, not clear how i would use that
[15:59:36] <dmack> onTouch doesn't wait for a touchend
[15:59:42] <dmack> so that wont solve your problem
[15:59:53] *** rafagomes has joined #angularjs
[16:00:00] <dmack> err
[16:00:06] <dmack> sorry
[16:00:10] <christo_m> dmack: well i can fetch the x,y while theres a touch
[16:00:13] <christo_m> and wait for on-release
[16:00:14] <christo_m> to stop sending events
[16:00:20] <christo_m> or coordinates rather.
[16:00:23] <dmack> so you really want a drag?
[16:00:36] <dmack> "Move with one touch around on the page."
[16:00:38] <christo_m> technically, but i dont think drag will work, at least not the way its defined in the docs
[16:00:45] *** bbclover has joined #angularjs
[16:00:51] <dmack> (i've never used these events)
[16:00:57] <christo_m> i want to capture the x,y though
[16:01:01] <dmack> hmm
[16:01:03] <bbclover> hey guys, what is angular in a nutshell? It's like an alternative to using ajax or sommat?
[16:01:05] *** jr3 has joined #angularjs
[16:01:11] *** afuggini has quit IRC
[16:01:15] <bbclover> I'm trying to understand the big picture
[16:01:22] *** ninkotech_ has quit IRC
[16:01:34] <christo_m> dmack: i plan to mimic mac osx gestures also, like two finger scroll. and it doesnt look like ionic can tell that there's two fingres
[16:01:34] <jr3> is there a way to tell bower to reinstall all packages? I've managed to royally fuck my bower_components folder
[16:01:37] <christo_m> fingers*
[16:01:55] <dmack> jr3, just `rm -rf bower_components` and bower install
[16:02:01] <dmack> easiest way.
[16:02:08] *** sheplu has quit IRC
[16:02:20] <dmack> christo_m: ionic supports all events that hammerjs supports
[16:02:22] *** Anton_ has quit IRC
[16:02:23] <dob_> dmack: I think the state does not really matter, but i think about how i should change the template on demand and how i handle the url routing in the application. What should happen if i click a link like #/mysecondpage/hello/world?
[16:02:56] <christo_m> dmack: oh well perfect, especially sinec i know hammer supports pinch it must be able to detect the number of fingers on the screen
[16:03:06] <dmack> dob_: you can pass a function to template, which based on parameters (from your API or whatever), could load a specific template
[16:03:10] <dmack> even a user defined one.
[16:03:16] *** BobbieBarker has quit IRC
[16:03:19] <jonatas_oliveira> Anyone knows a way to pass variables from backend to AngularJS without use globals or AJAX?
[16:03:34] <christo_m> dmack: okay so, im going to keep googling i guess but i havent found anyone trying to get the x,y coords from a drag event
[16:03:35] <dmack> christo_m:
[16:03:36] *** WhatsInTheBoks has joined #angularjs
[16:03:43] <dmack> try onGesture(eventType, callback, element)
[16:03:47] *** d10n-work has joined #angularjs
[16:03:50] <dmack> eventType is any hammerjs string event
[16:03:50] <jonatas_oliveira> I already tried ng-init but the behaviour was not the expected.
[16:03:54] *** LiDeN has quit IRC
[16:03:58] *** digisky has joined #angularjs
[16:04:10] <jr3> dmack: I did that but bower install finishes in constant time back to input line, no output from running bower install
[16:04:22] *** davidreis has quit IRC
[16:04:32] <christo_m> dmack: where would i put that lol
[16:04:50] <jr3> dmack: sigh. nm
[16:05:06] *** prbc has quit IRC
[16:05:14] <christo_m> dmack: you mean $ionicGesture.on(eventtype, callback, $element)
[16:05:21] *** davidreis has joined #angularjs
[16:05:30] <dob_> dmack: But with which module should i handle the url changes/routing. What happens if i enter the url in the browser? Will it go to the default state and get the ressource and replcae the template? Or should i handle the url manually? Will that be possible vie $location?
[16:05:35] *** coderat has joined #angularjs
[16:05:41] *** prbc has joined #angularjs
[16:05:42] <christo_m> dmack: how do i pass the element though
[16:05:51] *** jdivock has joined #angularjs
[16:06:03] *** vivainio_ has joined #angularjs
[16:06:05] *** laurensclaessen has joined #angularjs
[16:06:07] <christo_m> just select it with javascritp i guess
[16:06:08] <dmack> christo_m: typically, you'd get element from inside a directive
[16:06:13] <dmack> that's the angular way.
[16:06:24] <christo_m> uhh
[16:06:26] <christo_m> how
[16:06:28] <dmack> jr3: what does your bower.json look like? that's what bower install reads
[16:06:55] <jr3> dmack: was in wrong directory, its all good now :/
[16:06:57] *** WhatsInTheBoks2 has quit IRC
[16:06:58] <dmack> dob_: do some reading on UI router
[16:07:27] *** azizur has joined #angularjs
[16:07:57] *** dman777_alter has quit IRC
[16:08:02] *** Una has joined #angularjs
[16:08:08] *** evanjs has joined #angularjs
[16:08:13] *** daivyk_ has joined #angularjs
[16:08:15] *** jonicious has joined #angularjs
[16:08:35] *** lite_ has joined #angularjs
[16:08:47] *** ConstantineXVI has quit IRC
[16:09:05] *** walden is now known as walden|brb
[16:09:13] *** vivainio has quit IRC
[16:09:20] *** daivyk_ has quit IRC
[16:09:35] *** Anton_ has joined #angularjs
[16:09:37] *** dman777_alter has joined #angularjs
[16:09:52] <dmack> christo_m: I'm guessing the "area" you want to capture events in
[16:09:56] *** daivyk has quit IRC
[16:10:06] <dmack> create a simple directive that renders a <div></div> with a heigh/width
[16:10:11] *** prbc has quit IRC
[16:10:16] <dmack> and setup your listener in the link() function
[16:10:21] *** jasonp has joined #angularjs
[16:10:24] <dmack> that'll probably get you started
[16:10:27] *** rileylark has quit IRC
[16:10:29] <christo_m> link function :S
[16:10:32] <christo_m> brb googles
[16:11:13] *** gunn has quit IRC
[16:11:14] *** dacuca has joined #angularjs
[16:11:40] *** oste has joined #angularjs
[16:12:09] *** dmack_ has joined #angularjs
[16:12:15] *** lite__ has joined #angularjs
[16:12:16] *** patrick99e99 has joined #angularjs
[16:12:22] *** lite has quit IRC
[16:12:22] *** vivainio_ has quit IRC
[16:12:27] *** Lewix has joined #angularjs
[16:12:39] *** rileylar_ has joined #angularjs
[16:13:08] *** ivan4th has quit IRC
[16:13:11] *** bayousoft has quit IRC
[16:13:15] *** naneau has joined #angularjs
[16:13:44] *** bayousoft has joined #angularjs
[16:14:06] *** _thumpba has joined #angularjs
[16:14:52] *** dmack has quit IRC
[16:14:55] *** afuggini has joined #angularjs
[16:15:06] *** zB0hs has quit IRC
[16:15:11] *** ProLoser has joined #angularjs
[16:15:14] *** ishan1604 has joined #angularjs
[16:15:31] *** dcherman has joined #angularjs
[16:15:42] *** lite_ has quit IRC
[16:16:07] *** Anton_ has quit IRC
[16:16:57] *** patrick99e99 has quit IRC
[16:16:57] *** ConstantineXVI has joined #angularjs
[16:17:01] *** azizur has quit IRC
[16:17:16] *** sybarite has quit IRC
[16:17:17] *** ccohn has quit IRC
[16:17:17] *** Johnny13371337 has left #angularjs
[16:17:51] *** ccohn has joined #angularjs
[16:18:01] <christo_m> in mouse-pad.html i just have a div with a fixed height and width as you said
[16:18:08] <dmack_> nice. looks good.
[16:18:10] *** shinnya has joined #angularjs
[16:18:12] <dmack_> add a link function now.
[16:18:23] <dmack_> and inject your dependencies
[16:18:24] <christo_m> ya im trying to figure out wtf that is
[16:18:31] *** jshultz has joined #angularjs
[16:18:35] *** vassagus has quit IRC
[16:18:56] *** mary5030 has joined #angularjs
[16:19:08] *** walden|brb is now known as walden
[16:19:10] *** bayousoft has quit IRC
[16:20:00] *** bayousoft has joined #angularjs
[16:20:12] *** ProLoser has quit IRC
[16:20:14] *** mary5030 has quit IRC
[16:20:25] *** dannyc__ has joined #angularjs
[16:20:32] *** m8 has quit IRC
[16:20:50] *** mary5030 has joined #angularjs
[16:20:51] <dmack_> similar to what you want to accomplish
[16:20:53] *** ccohn has quit IRC
[16:20:55] *** shacklef_ has joined #angularjs
[16:21:19] *** ccohn has joined #angularjs
[16:21:47] <christo_m> ya i see that
[16:21:52] <christo_m> its weird because they dont use the restrict stuff
[16:21:55] *** dannyc_ has quit IRC
[16:22:08] *** enigmarm has joined #angularjs
[16:22:21] <christo_m> id prefer to use the ionic gestures.. but i guess i can use this also
[16:22:31] <dmack_> well no, definitely use ionicGestures
[16:22:39] <dmack_> was just saying that it's the same concept
[16:22:47] *** cacts|works has quit IRC
[16:22:50] <dmack_> in your link, you get scope, element, attributes
[16:23:06] <dmack_> element is your dom node, wrapped in jqLite or jquery if you included it
[16:23:12] *** Amtone1 has joined #angularjs
[16:23:14] *** _thumpba has quit IRC
[16:23:35] *** dmack_ is now known as dmack
[16:23:39] *** jonasliljestrand has quit IRC
[16:23:53] *** Anton_ has joined #angularjs
[16:24:10] *** jonasliljestrand has joined #angularjs
[16:24:25] *** shackleford has quit IRC
[16:24:32] *** azizur has joined #angularjs
[16:25:02] *** disgrntld has joined #angularjs
[16:25:06] <christo_m> dmack: sorry im a little confused here because they arent using the restrict stuff
[16:25:13] <dmack> k, one sec.
[16:25:13] *** bayousoft has quit IRC
[16:25:35] *** bade has joined #angularjs
[16:25:39] <jaawerth> christo_m: the compile block executes BEFORE $compile has run on the template (which preps the DOM and searches it for any directives and angular expressions and returns a link function), the link function is a shorthand for the returned linking function, which runs AFTER compilation so the DOM and scope is fully ready
[16:25:39] *** mwils has quit IRC
[16:25:41] <dmack> ok
[16:25:56] *** sjt003 has joined #angularjs
[16:26:09] *** bayousoft has joined #angularjs
[16:26:12] *** richiebkr has joined #angularjs
[16:26:17] <christo_m> so should i be just making this an attribute directive like the example and putting it on a div
[16:26:20] *** serengeor_ has quit IRC
[16:26:28] *** boxmein has quit IRC
[16:26:30] <christo_m> i will do that instead
[16:26:37] *** dsdeiz has quit IRC
[16:27:01] <dmack> sorry, forgot to inject $ionicGesture
[16:27:04] <Amtone1> Hello
[16:27:11] *** krawchyk has joined #angularjs
[16:27:12] *** xaaabk has quit IRC
[16:27:15] *** krawchyk has quit IRC
[16:27:16] *** foofoobar has quit IRC
[16:27:42] *** krawchyk has joined #angularjs
[16:27:43] *** ron1_ has joined #angularjs
[16:27:49] *** krawchyk has quit IRC
[16:27:49] <Amtone1> Anyone know how to save ng-input date after a webpage refresh so user does not have to re-enter data again?
[16:28:01] <dmack> Amtone1: localstorage
[16:28:11] <Amtone1> How is that done,please?
[16:28:17] *** bayousoft has quit IRC
[16:28:26] <dmack> set keys in localStorage. read keys into ngModel if they exist
[16:28:28] *** \du has joined #angularjs
[16:28:32] *** krawchyk has joined #angularjs
[16:28:37] *** enigmarm has quit IRC
[16:28:42] *** jonasliljestrand has quit IRC
[16:28:45] *** juampy has joined #angularjs
[16:28:48] *** lite__ has quit IRC
[16:28:52] *** mchapman has quit IRC
[16:29:05] *** m8 has joined #angularjs
[16:29:05] *** bayousoft has joined #angularjs
[16:29:22] <dmack> localStorage.setItem('myDate', new Date())
[16:29:25] *** lite has joined #angularjs
[16:29:35] *** cthrax has joined #angularjs
[16:29:46] *** Lewix has quit IRC
[16:29:52] *** krawchyk has joined #angularjs
[16:29:53] <dmack> $scope.yourModel.date = localStorage.getItem('myDate') || null
[16:29:56] *** krawchyk has quit IRC
[16:30:06] <dmack> voila :)
[16:30:15] *** Anton_ has quit IRC
[16:30:16] *** ron1 has quit IRC
[16:30:22] *** ctanga has joined #angularjs
[16:30:27] *** Successful has quit IRC
[16:30:43] *** richiebkr has quit IRC
[16:30:51] *** anapitupulu_ has joined #angularjs
[16:30:55] *** krawchyk has joined #angularjs
[16:31:08] <christo_m> i dont see the mouse-pad template in the inspector
[16:31:10] <christo_m> no errors in console
[16:31:18] *** bayousoft has quit IRC
[16:31:21] <Amtone1> thanks
[16:31:26] *** Amtone1 has quit IRC
[16:31:39] *** Christer has quit IRC
[16:31:43] *** krawchyk has joined #angularjs
[16:31:52] *** tfennelly has joined #angularjs
[16:32:02] <christo_m> bah disregard the nav view stuff, i was trying to mess with routing
[16:32:19] *** bayousoft has joined #angularjs
[16:32:23] <dmack> try that, with an inline template
[16:32:27] *** krawchyk has joined #angularjs
[16:32:32] <dmack> templateUrl is if you want to load a template
[16:32:32] *** krawchyk has quit IRC
[16:32:37] <dmack> template is inline
[16:32:37] *** prosper_ has quit IRC
[16:33:09] *** zlalanne has joined #angularjs
[16:33:11] *** krawchyk has joined #angularjs
[16:33:20] <christo_m> right..
[16:33:25] *** greengriminal has quit IRC
[16:33:29] <christo_m> too much copy past
[16:33:33] <christo_m> paste*
[16:33:34] *** anapitupulu__ has quit IRC
[16:33:45] *** prosper_ has joined #angularjs
[16:33:52] *** jonicious has quit IRC
[16:33:57] *** lite has quit IRC
[16:34:10] <dmack> the gist I sent should render
[16:34:11] *** jackweirdy has joined #angularjs
[16:34:53] *** defaultdict has joined #angularjs
[16:35:18] *** net2014 has joined #angularjs
[16:35:31] *** plato has joined #angularjs
[16:36:09] <christo_m> i didnt know you could just pass stuff into the function directly to inject
[16:36:12] <christo_m> i thought you needed that array
[16:36:22] <dmack> that array is only for minification purposes
[16:36:24] <\du> somebody know if it is a way to avoid the
[16:36:24] <\du> "adress bar" hidding on scrolling in an internal
[16:36:25] <net2014> hello, suppose I write some logic (not template coding), should I put the function in a model, instead of the controller?
[16:36:25] <\du> div over mobile browsers?
[16:36:57] <christo_m> dmack: its not rendering still
[16:37:08] <christo_m> i should just have to put <mouse-pad></mouse-pad> in the document right?
[16:37:20] *** bayousoft has quit IRC
[16:37:21] *** k-dawg has joined #angularjs
[16:37:26] <dmack> yep, lemme look again
[16:37:41] *** k-dawg has quit IRC
[16:37:55] *** bayousoft has joined #angularjs
[16:37:56] *** Anton_ has joined #angularjs
[16:37:58] <christo_m> i see it there, but its been pushed into the list
[16:38:04] <christo_m> ill have to add it in another ion element
[16:38:15] *** ggrzybek has quit IRC
[16:38:17] *** earthquake has joined #angularjs
[16:38:40] *** opiates has quit IRC
[16:38:49] *** Mxyzpltk has joined #angularjs
[16:38:49] *** vassagus has joined #angularjs
[16:38:54] <dmack> \du: like in mobile safari? on ios8?
[16:38:56] *** vassagus has joined #angularjs
[16:39:02] *** mkusher has quit IRC
[16:40:20] *** Sky[x] has joined #angularjs
[16:40:27] <\du> dmack: or firefox for android, i have a fixed div with an scroll and when you scroll down and there isn't more to scroll the browser show the address bar and them, the fixed div is recalculate because the body changes dimension
[16:40:52] <\du> *then
[16:41:09] *** elrabin has joined #angularjs
[16:42:05] *** net2014 has quit IRC
[16:42:07] <christo_m> dmack: ya its not replacing <mouse-pad> with the template code
[16:42:13] *** morenoh150 has quit IRC
[16:42:17] <\du> the idea is put the div in the html and hide the overflow there and add the overflow: auto to the body, but it won't avoid to hide/show the address bar on internal div scrolling, it only will prevent the resize of the div
[16:42:17] <christo_m> i put some text in the template code div you had, and it isnt rendering
[16:42:51] *** icfantv has joined #angularjs
[16:43:21] *** dannyc_ has joined #angularjs
[16:43:31] *** m8 has quit IRC
[16:44:02] *** snurfery has quit IRC
[16:44:11] *** prbc has joined #angularjs
[16:44:18] *** mven has quit IRC
[16:44:24] *** rhp has joined #angularjs
[16:44:28] *** lw has quit IRC
[16:44:32] *** DanSkaggs has joined #angularjs
[16:44:52] *** lw has joined #angularjs
[16:45:04] *** prosper_ has quit IRC
[16:45:34] *** kuadrosx has joined #angularjs
[16:46:29] *** Anton_ has quit IRC
[16:46:34] <dmack> did you include the file?
[16:46:44] *** sk87 has quit IRC
[16:46:47] <OnkelTem> Hi all. I apologize for my question is not related directly to NG. Can you recommend some framework which IS compatible on built on NG for making rich langding pages with multiple full-page slides and their transitions
[16:47:01] <christo_m> dmack: dammit
[16:47:11] *** dannyc__ has quit IRC
[16:47:11] <dmack> rookie
[16:47:13] <dmack> :D
[16:47:14] <christo_m> dmack: i officially hate myself, thx
[16:47:17] <christo_m> im trying :(
[16:47:29] *** mven has joined #angularjs
[16:47:56] *** busticated has joined #angularjs
[16:48:06] *** Shrooms has joined #angularjs
[16:48:40] *** Kay-z has joined #angularjs
[16:48:45] <christo_m> dmack: does it matter which order js files are included in?
[16:48:56] <dmack> yes
[16:49:10] <dmack> in your case you are using a module thats already defined
[16:49:25] *** m8 has joined #angularjs
[16:49:27] <dmack> so that needs to come first, angular.module('dqwdwq', [])
[16:50:06] *** Xaleph has joined #angularjs
[16:50:12] *** prosper_ has joined #angularjs
[16:50:17] *** elrabin has quit IRC
[16:50:24] *** maraneta has quit IRC
[16:50:33] <christo_m> is that the only requirement?
[16:50:40] <christo_m> its services/directives come after in any order?
[16:50:46] *** Foxandxss has joined #angularjs
[16:50:49] <christo_m> so always module first, its dependencies after
[16:50:53] *** dannyc_ has quit IRC
[16:50:54] *** lexek_ has joined #angularjs
[16:50:55] <dmack> yes
[16:51:01] *** Anton_ has joined #angularjs
[16:51:24] *** kapil__ has quit IRC
[16:51:38] *** tommix000 has quit IRC
[16:51:45] *** mkusher has joined #angularjs
[16:51:50] *** jhwhite has joined #angularjs
[16:51:54] <DanSkaggs> Is it possible to use ui-router to specify a particular set of layouts and view partials for a desktop browser and a different set of layouts and partials for mobile devices (for instance)?
[16:52:05] <jaydubya> dmack: your gulp boilerplate is my perfect Christmas gift
[16:52:13] <christo_m> dmack: hmm its added a disable-user-behavior class to the div.. i think thats why drag events arent sending.
[16:52:22] *** CodeFriar has quit IRC
[16:52:25] <dmack> jaydubya: heh, please give it a run through ... im sure i missed a ton of stuff
[16:52:33] <jaydubya> dmack: I've been trying to build one for weeks
[16:52:44] <dmack> took me a day
[16:52:48] <dmack> but
[16:52:51] <dmack> it was a stressful day.
[16:52:55] <jaydubya> LOL
[16:53:01] *** Kay-z has quit IRC
[16:53:09] *** jae has joined #angularjs
[16:53:37] <jaydubya> dmack: Do you mind if I fork the repo so I always have it in case you move to something else?
[16:53:45] <dmack> dude. of course not
[16:53:54] *** azizur has quit IRC
[16:53:54] <dmack> please do
[16:54:24] *** camwest has joined #angularjs
[16:54:37]
<dcherman> Is there a way to listen to an event like `$includeContentLoaded` in an isolate scope without having to refence scope.$parent? It doesn't look like the event gets propagated to the isolate scope at all: http://jsfiddle.net/d1223py2/
[16:54:39] *** sheplu has joined #angularjs
[16:54:40] <dmack> I think i'm sort of using gulp wrong, because I had to use runSequence to get things to run in order via async, which hurts speed I think
[16:54:47] <dmack> but some thing need to run in order
[16:55:16] *** skywritergr has joined #angularjs
[16:55:19] *** azizur has joined #angularjs
[16:55:19]
<camwest> Hey folks, I’m trying to inject a provider for a service into the config block of the same module it was defined in. It doesn’t seem to be working (throwing an unknown provider error). Is this a bug or working as intended? Angular 1.2.x -> http://jsfiddle.net/8q24z514/
[16:55:34] *** prbc has quit IRC
[16:55:35] <jaydubya> dmack: I guess you do sails.js given your favicon
[16:55:36] *** japhar81 has quit IRC
[16:55:49] *** lsiv568 has quit IRC
[16:55:56] *** Oddman has joined #angularjs
[16:56:08] *** cojack has quit IRC
[16:56:08] *** prbc has joined #angularjs
[16:56:10] <christo_m> dmack: ya ive disabled scrolling in the ion content. just so it wouldnt interfere with dragging
[16:56:20] <christo_m> however theres still this "disable-user-behavior" class attached to mouse pad
[16:56:28] *** robozahn has quit IRC
[16:56:29] <dmack> hmm
[16:56:31] <christo_m> and the drag events are sending through. im console logging in the link function onDrag
[16:56:37] <christo_m> arent*
[16:56:41] <dmack> well
[16:56:50] *** lsiv568 has joined #angularjs
[16:56:51] <dmack> ditch the non scrolling thing, see if events fire
[16:57:14] *** lsiv568_ has joined #angularjs
[16:57:29] *** richardlitt has joined #angularjs
[16:57:33] <christo_m> ah its workincg
[16:57:43] *** Anton_ has quit IRC
[16:57:46] <christo_m> now to actually get the x,y coordinates from this drag
[16:58:14] <christo_m> and to implement some sort of acceleration so its actually usable on a computer
[16:58:22] *** bayousoft has quit IRC
[16:58:23] <dmack> sounds fun
[16:58:42] *** Solid1_afk is now known as Solid1
[16:58:56] <christo_m> dmack: see the thing i dont get
[16:59:07] *** richardlitt has quit IRC
[16:59:07] *** bayousoft has joined #angularjs
[16:59:23] <christo_m> unfortunately
[16:59:26] *** saint-ron has joined #angularjs
[16:59:51] *** renanoronfle has joined #angularjs
[16:59:52] *** lsiv568_ has quit IRC
[16:59:53] *** bbankes has quit IRC
[16:59:58] <dmack> the question is does the callback function receive any additional stuff?
[17:00:04] <dmack> console.log(arguments)
[17:00:29] *** khmer has joined #angularjs
[17:00:35] *** laurensclaessen has quit IRC
[17:00:42] <christo_m> lol
[17:00:42] *** sinequanon has joined #angularjs
[17:00:45] <christo_m> transparent box
[17:00:45] <christo_m> oh ok
[17:00:56] *** prbc has quit IRC
[17:00:59] *** lw has quit IRC
[17:01:06] *** dacuca has quit IRC
[17:01:10] *** vassagus has quit IRC
[17:01:30] *** lsiv568 has quit IRC
[17:01:39] <dmack> decent troll
[17:01:47] *** dacuca has joined #angularjs
[17:02:19] *** laurensclaessen has joined #angularjs
[17:02:27] *** vassagus has joined #angularjs
[17:02:38] *** vassagus has joined #angularjs
[17:02:42] *** jdivock_ has joined #angularjs
[17:03:23] *** thegrif has joined #angularjs
[17:03:46] *** Snugug has quit IRC
[17:04:07] *** dannyc_ has joined #angularjs
[17:04:30] *** cacts|works has joined #angularjs
[17:04:47] <christo_m> dmack: oh man this is sick
[17:04:53] *** maraneta has joined #angularjs
[17:05:03] <christo_m> dmack: i got velocity in here, delta x delta y
[17:05:10] *** sinequanon has quit IRC
[17:05:12] *** Anton_ has joined #angularjs
[17:05:13] <dmack> nice man
[17:05:17] <dmack> hammerjs is no joke, great library
[17:05:19] <christo_m> this is about as strong as it gets
[17:05:25] <christo_m> buddy you should see what the previous guy did
[17:05:37] *** laurensclaessen has quit IRC
[17:05:59] <christo_m> calculatedMouseDeltas: [0,1,2,4,7,11,16,22,30,39,50,63,78,96,116,140,166,196,230,268,310,357,409,466,529,598,673,755,845,942,1048,1162,1285,1418,1561,1714,1879,2055,2244,2446,2661,2890,3134,3393,3668,3960,4270,4598,4945,5311,5698,6107,6538,6991,7469,7971],
[17:06:03] <christo_m> he had something like this hardcoded
[17:06:08] <christo_m> my guess is for some sort of acceleration curve
[17:06:24] <christo_m> the file is over 400 lines to do mouse behavior on a canvas object.
[17:06:29] *** fairuz has joined #angularjs
[17:06:30] *** jdivock has quit IRC
[17:06:35] *** AlexZ has quit IRC
[17:07:01] *** Txandy has joined #angularjs
[17:07:11] *** sveajobb has quit IRC
[17:07:27] *** bayousoft has quit IRC
[17:07:30] <christo_m> dmack: so i can make a call to say, my SocketService from the directive and pass x, y args to a .send() right?
[17:07:35] <christo_m> i just have to inject it
[17:07:42] <dmack> yeap
[17:07:42] <christo_m> this is too stronk
[17:07:57] *** mollitz has quit IRC
[17:08:20] *** bayousoft has joined #angularjs
[17:08:25] *** lsiv568 has joined #angularjs
[17:08:49] *** milka_ has joined #angularjs
[17:08:54] *** coffey has joined #angularjs
[17:09:02] *** milka has quit IRC
[17:09:07] *** loverajoel has quit IRC
[17:09:13] *** milka_ is now known as milka
[17:09:43] *** CodeFriar has joined #angularjs
[17:10:14] <khmer> dmack: thank you, i've already tried it on every angular dev i know
[17:10:15] *** khmer has left #angularjs
[17:10:29] *** bayousoft has quit IRC
[17:11:14] *** elrabin has joined #angularjs
[17:11:17] *** bayousoft has joined #angularjs
[17:11:49] *** dcherman2 has joined #angularjs
[17:12:00] *** lexek__ has joined #angularjs
[17:12:08] *** cacts|wtf has joined #angularjs
[17:12:19] *** mary5030_ has joined #angularjs
[17:12:25] *** waverider_ has quit IRC
[17:12:41] *** azizur has quit IRC
[17:12:47] *** cboden_ has joined #angularjs
[17:12:58] *** cactauz has joined #angularjs
[17:13:03] *** dan2k3k4 has joined #angularjs
[17:13:11] *** jdivock has joined #angularjs
[17:13:43] *** jr3_ has joined #angularjs
[17:13:55] *** phishy_ has joined #angularjs
[17:14:10] *** Y_Ichiro_ has joined #angularjs
[17:14:11] *** Y_Ichiro_ has joined #angularjs
[17:14:30] *** htmelvis has joined #angularjs
[17:14:35] *** dan2k3k4 has quit IRC
[17:14:51] *** Zariel- has joined #angularjs
[17:15:03] *** patrickarlt has quit IRC
[17:15:48] *** Ants has joined #angularjs
[17:15:56] *** marktraceur has quit IRC
[17:16:07] *** six has joined #angularjs
[17:16:08] *** marktrac1ur has joined #angularjs
[17:16:17] *** kwaledesign has quit IRC
[17:16:18] *** earthqua_ has joined #angularjs
[17:16:19] *** reduce_ has joined #angularjs
[17:16:22] *** \du_ has joined #angularjs
[17:16:26] *** fbe_ has joined #angularjs
[17:16:41] *** cacts|wtf has quit IRC
[17:16:50] *** moloch has joined #angularjs
[17:17:11] *** jMyles has joined #angularjs
[17:17:16] *** AngularUI has joined #angularjs
[17:17:16]
<AngularUI> [bootstrap] jr0jas opened pull request #3048: Update rating.html (master...patch-1) http://git.io/XuiTlw
[17:17:16] *** AngularUI has left #angularjs
[17:17:24] *** jdivock has quit IRC
[17:17:48] <jaydubya> I am trying to add conditionals to ui-router and Google doesn't seem to understand either ui-router logic OR ui-router conditionals. Anyone have any resources on this?
[17:17:57] *** coderat has quit IRC
[17:18:12] *** teddyp1c_ has joined #angularjs
[17:18:26] <Ants> When does angular 2.0 is releasing??
[17:18:37] *** Anton_ has quit IRC
[17:18:44] *** s00pcan_ has joined #angularjs
[17:18:44] *** Metikha has quit IRC
[17:18:52] *** dejanr has joined #angularjs
[17:18:54] *** dimas_ has joined #angularjs
[17:18:56] *** cacts|works has quit IRC
[17:18:57] *** dmack has quit IRC
[17:18:57] *** dcherman has quit IRC
[17:18:58] *** lexek_ has quit IRC
[17:18:58] *** mary5030 has quit IRC
[17:18:59] *** cboden has quit IRC
[17:18:59] *** jdivock_ has quit IRC
[17:19:00] *** jr3 has quit IRC
[17:19:00] *** earthquake has quit IRC
[17:19:01] *** phishy has quit IRC
[17:19:01] *** zz_night-owl has quit IRC
[17:19:02] *** artgoeshere_ has quit IRC
[17:19:02] *** reduce has quit IRC
[17:19:03] *** cschneid has quit IRC
[17:19:04] *** Zariel has quit IRC
[17:19:04] *** Zariel- is now known as Zariel
[17:19:05] *** fbe has quit IRC
[17:19:05] *** dance has quit IRC
[17:19:06] *** Diabolik has quit IRC
[17:19:07] *** jotbe has quit IRC
[17:19:08] *** Chepra has quit IRC
[17:19:08] *** BackEndCoder has quit IRC
[17:19:08] *** pxz has quit IRC
[17:19:09] *** Y_Ichiro has quit IRC
[17:19:09] *** kalz has quit IRC
[17:19:10] *** zly has quit IRC
[17:19:11] *** Dragory has quit IRC
[17:19:11] *** \du has quit IRC
[17:19:11] *** s00pcan has quit IRC
[17:19:12] *** dimas has quit IRC
[17:19:13] *** crawleyprint has quit IRC
[17:19:13] *** siksi has quit IRC
[17:19:14] *** Pagan has quit IRC
[17:19:15] *** zap has quit IRC
[17:19:16] *** zz_night-owl has joined #angularjs
[17:19:16] *** jr3_ is now known as jr3
[17:19:17] *** cboden_ is now known as cboden
[17:19:17] *** jotbe_ has joined #angularjs
[17:19:18] *** artgoeshere has joined #angularjs
[17:19:18] *** Diabolik has joined #angularjs
[17:19:18] *** crawleyprint has joined #angularjs
[17:19:19] *** Pagan has joined #angularjs
[17:19:29] *** phishy_ is now known as phishy
[17:19:41] *** bkuberek has quit IRC
[17:19:51] *** pxz has joined #angularjs
[17:19:55] *** Dragory has joined #angularjs
[17:20:02] *** Chepra has joined #angularjs
[17:20:02] *** Mxyzpltk has quit IRC
[17:20:03] *** marktrac1ur is now known as marktraceur
[17:20:08] *** Slowintrepid has joined #angularjs
[17:20:09] *** blomman has quit IRC
[17:20:12] *** bkuberek has joined #angularjs
[17:20:12] *** cacts has quit IRC
[17:20:25] *** BackEndCoder has joined #angularjs
[17:20:27] *** sonofdirt has joined #angularjs
[17:20:37] *** teddyp1cker has quit IRC
[17:20:44] *** blomman has joined #angularjs
[17:20:57] *** cschneid has joined #angularjs
[17:21:02] *** dancek has joined #angularjs
[17:21:28] <Slowintrepid> Can someone give me a quick hand with ui-router? I have two named views main and sidebar. I'm trying to make it so sidebar is always visible and main is where the various sections of the app are swapped in and out of. I've read the docs but I'm still a bit unclear on how to do it
[17:21:31] *** jdivock has joined #angularjs
[17:21:32] *** getn_outchea has quit IRC
[17:22:19] *** jdivock has quit IRC
[17:22:28] *** danecando has quit IRC
[17:22:32] *** bayousoft has quit IRC
[17:22:42] *** IJNX has quit IRC
[17:22:46] *** vassagus has quit IRC
[17:23:13] *** bayousoft has joined #angularjs
[17:23:40] *** Ants has quit IRC
[17:24:07] *** SargoDarya has quit IRC
[17:24:12] *** vassagus has joined #angularjs
[17:24:19] *** moogey has joined #angularjs
[17:24:30] <nickeddy> Slowintrepid: a plnkr would help :)
[17:24:49] <Slowintrepid> there's no code yet. I just mean conceptually.
[17:24:49] *** moogey has joined #angularjs
[17:24:59] <nickeddy> that's my point
[17:25:34] *** bayousoft has quit IRC
[17:26:23] *** bayousoft has joined #angularjs
[17:26:31] *** morenoh150 has joined #angularjs
[17:26:33] *** doodlehaus has joined #angularjs
[17:26:48] *** dejanr_ has joined #angularjs
[17:27:05] *** arabot has joined #angularjs
[17:27:21] *** Anton_ has joined #angularjs
[17:27:22] *** caitp has quit IRC
[17:27:37] <nickeddy> Slowintrepid: you'd use an abstract state though
[17:27:55] *** camwest has quit IRC
[17:27:58] *** ppppaul has quit IRC
[17:28:00] *** dancek has quit IRC
[17:28:08] *** marr has quit IRC
[17:28:20] *** soee_ has joined #angularjs
[17:28:33] *** dejanr has quit IRC
[17:28:36] *** bayousoft has quit IRC
[17:28:44] *** juampy is now known as juampy_brb
[17:28:56] *** kalz has joined #angularjs
[17:29:13] *** patrickarlt has joined #angularjs
[17:29:17] *** bayousoft has joined #angularjs
[17:29:33] *** dancek has joined #angularjs
[17:29:38] *** htmelvis has quit IRC
[17:30:00] <christo_m> hmph, sending the delta x's and y's seems to be stuttering
[17:30:04] *** Una has quit IRC
[17:30:06] <christo_m> might have to do some interpolation of the mouse
[17:30:08] *** coderat has joined #angularjs
[17:30:08] *** burattino has quit IRC
[17:30:59] *** shinnya has quit IRC
[17:31:00] *** BaconOverflow has quit IRC
[17:31:04] *** ConstantineXVI has quit IRC
[17:31:24] *** blomman has quit IRC
[17:32:01] *** blomman has joined #angularjs
[17:32:14] *** mzabriskie has joined #angularjs
[17:32:34] *** nickeddy has quit IRC
[17:32:41] *** zap has joined #angularjs
[17:33:04] *** snurfery has joined #angularjs
[17:33:07] *** StryKaizer has quit IRC
[17:33:10] *** adpirz has joined #angularjs
[17:34:12] *** Snugug has joined #angularjs
[17:34:22] *** rho has joined #angularjs
[17:34:22] *** rho has joined #angularjs
[17:34:29] *** Y_Ichiro_ has quit IRC
[17:34:31] *** zz_night-owl is now known as night-owl
[17:34:35] *** dmack has joined #angularjs
[17:34:37] *** Y_Ichiro has joined #angularjs
[17:34:37] *** Y_Ichiro has joined #angularjs
[17:34:42] *** mtsr has quit IRC
[17:34:57] *** rileylar_ has quit IRC
[17:34:59] *** patrickarlt has quit IRC
[17:35:01] *** emmesswhy has quit IRC
[17:35:21] *** dan2k3k4 has joined #angularjs
[17:35:43] *** wsmoak has quit IRC
[17:35:43] *** earthqua_ is now known as earthquake
[17:36:30] *** blomman has quit IRC
[17:36:40] *** gjaldon has joined #angularjs
[17:36:49] *** coderat has quit IRC
[17:37:18] *** Txandy has quit IRC
[17:37:23] *** saint-ron has quit IRC
[17:37:23] <tschundeee> I interact with an API that I wrote to get all an array of things and I want to provide some collection methods etc. it seems wrong to do this in the controller. but I don't get it: do I need to create a factory? a service? a resource? this is so fucked up and confusing.
[17:37:25] *** mven has joined #angularjs
[17:37:32] *** dejanr_ has quit IRC
[17:37:34] <dan2k3k4> I have a directive that uses: scope.$watch(function() { $('#myID').attr('ng-my-directive', 'true); }); - to add "ng-my-directive" to #myID - however my other directive named: ngMyDirective doesn't seem to be called
[17:37:35] *** adpirz has quit IRC
[17:38:20] *** soee_ is now known as soee
[17:38:23] *** patrickarlt has joined #angularjs
[17:38:33] *** jonatas_oliveira has quit IRC
[17:38:44] *** threesixes has quit IRC
[17:39:00] *** CodeTroth has joined #angularjs
[17:39:19] *** rafagomes_ has joined #angularjs
[17:39:23] *** jonatas_oliveira has joined #angularjs
[17:39:27] <tschundeee> anyone capable to answer my question?
[17:39:46] *** Foxandxss has quit IRC
[17:39:49] *** tfennelly has quit IRC
[17:39:56] *** morenoh150 has quit IRC
[17:39:59] *** lite has joined #angularjs
[17:40:13] *** jdivock has joined #angularjs
[17:40:17] *** snapwich has joined #angularjs
[17:40:25] *** a3gis has joined #angularjs
[17:40:28] *** rafagomes has quit IRC
[17:40:53] *** soj has quit IRC
[17:41:10] *** poacher2k has joined #angularjs
[17:41:18] *** ki0 has quit IRC
[17:41:30] *** m_rc has joined #angularjs
[17:41:46] *** Anton_ has quit IRC
[17:42:02] *** Yahkob has joined #angularjs
[17:42:37] *** CodeTroth has left #angularjs
[17:42:52] *** bbankes has joined #angularjs
[17:43:12] *** saucey has quit IRC
[17:43:21] <tschundeee> Linell: interesting thx
[17:43:27] *** tangorri has quit IRC
[17:43:46] <tschundeee> right now I'm thinking of downgrading to static site + angular (or jquery) to enhance it
[17:43:50] *** jonatas_oliveira has quit IRC
[17:44:07] *** yozilla_ has quit IRC
[17:44:09] <davesidious_> <dan2k3k4> that's a terrible way to add a directive to an element :)
[17:44:17] <Linell> tschundeee: Interacting with data is really easy, it won't take you long to get
[17:44:24] *** lite has quit IRC
[17:44:34] *** sheplu has quit IRC
[17:44:37] <tschundeee> Linell: how do you do it?
[17:44:50] *** Raging_Hog has quit IRC
[17:45:31] <dan2k3k4> davesidious_, what would you suggest? The "app" has many projects, and one project requires just some scroll up/down buttons added so I figured I would use a directive to create up/down elements
[17:45:49] *** Chubbs has joined #angularjs
[17:45:51] <tschundeee> Linell: okay I'll scan through :)
[17:45:53] <Linell> tschundeee: Just create a factory that fetches the data and include that in your controller and boom
[17:45:58] *** danecando has joined #angularjs
[17:46:10] *** meisth0th has joined #angularjs
[17:46:13] <meisth0th> hello
[17:46:16] <davesidious_> creating the up/down elements in a directive is fine, but to have a directive which adds a directive to other elements is not going to be a good idea. You should also not use jQuery directly, but use the angular.element method instead.
[17:46:20] <tschundeee> Linell: sounds good
[17:46:29] <davesidious_> as that will use jQuery if it's available, and makes it more angular-friendly.
[17:46:39] <tschundeee> Linell: why did they include service and factory in angular?
[17:46:45] *** milka has quit IRC
[17:46:54] <tschundeee> factory sounds scary and service seems to be not what is needed
[17:46:57] *** teddyp1c_ has quit IRC
[17:46:58] *** zemanel has joined #angularjs
[17:47:02] <meisth0th> i am getting some image urls from rest api and then loading images from those urls in my application. however, i see a broken image on the page until image loading is complete. what is the right procedure of handling this situation?
[17:47:04] <tschundeee> in 99% of the time :D
[17:47:25] *** night-owl is now known as zz_night-owl
[17:47:30] *** teddyp1cker has joined #angularjs
[17:47:32] *** Anton_ has joined #angularjs
[17:48:14] <Linell> tschundeee: They're pretty much the same thing, I believe. I'm a bit of a noob myself, but I think the idea is that services/factories are just used to mess with your data. Controllers call on them to do any messing about that they need.
[17:48:17] *** Joe_knock has joined #angularjs
[17:48:17] *** Joe_knock has joined #angularjs
[17:48:26] <Linell> tschundeee: They aren't scurry at all once you get going
[17:48:34] *** Arf has joined #angularjs
[17:48:36] *** Yahkob has quit IRC
[17:48:45] *** weeyum has joined #angularjs
[17:48:56] *** juampy_brb is now known as juampy
[17:48:59] *** greengriminal has joined #angularjs
[17:49:04] <tschundeee> Linell: it's just the naming :D one has to be thrown out of the framework. be it service or be it factory
[17:49:09] *** jotbe__ has joined #angularjs
[17:49:18] <tschundeee> haven both is a source for confusion
[17:49:45] *** tkh44 has joined #angularjs
[17:50:26] <Linell> tschundeee: Well they *are* technically different... it is confusing though, I know what you mean. Someone smarter than me would have to drop in and explain why both are needed.
[17:50:34] *** caitp has joined #angularjs
[17:50:44] *** nickeddy has joined #angularjs
[17:50:47] *** sixr420 has joined #angularjs
[17:51:42] *** jackdpeterson has joined #angularjs
[17:51:54] *** teddyp1cker has quit IRC
[17:52:00] *** Chubbs has quit IRC
[17:52:00] <tschundeee> Linell: yeah technically there is the difference that the one returns straight an object (service) and the factory has some init code upfront and can return anything I guess
[17:52:02] *** krawchyk has quit IRC
[17:52:08] <tschundeee> but just confuses
[17:52:14] <Arf> can anyone recommend a good data-bound multiselect directive? So the options appear as checkboxes and come from one database query. Which ones are checked come from another database query
[17:52:20] *** jotbe_ has quit IRC
[17:52:22] *** Chubbs has joined #angularjs
[17:52:26] *** e0ipso is now known as e0ipso|away
[17:52:58] *** frobs has quit IRC
[17:53:21] *** poacher2k has quit IRC
[17:53:31] *** startupality has joined #angularjs
[17:53:38] *** prosper_ has quit IRC
[17:53:47] *** tkh44 has quit IRC
[17:54:09] *** tkh44 has joined #angularjs
[17:55:40] *** bayousoft has quit IRC
[17:56:16] *** jMyles has quit IRC
[17:56:17] *** Anton_ has quit IRC
[17:56:22] *** bayousoft has joined #angularjs
[17:56:46] *** yelvert has joined #angularjs
[17:56:47] *** mchammer has quit IRC
[17:56:49] <Arf> nevermind, i found it
[17:56:54] *** Arf has quit IRC
[17:57:00] *** lexek_ has joined #angularjs
[17:57:15] *** Rahul_Roy_ has quit IRC
[17:57:18] *** fbenoit has quit IRC
[17:57:19] *** e0ipso|away is now known as e0ipso
[17:57:19] *** krawchyk has joined #angularjs
[17:57:56] *** lilbaby has joined #angularjs
[17:58:05] *** dannyc_ has quit IRC
[17:58:19] *** lsiv568 has quit IRC
[17:58:37] *** dannyc_ has joined #angularjs
[17:59:19] *** vassagus has quit IRC
[17:59:20] *** azizur has joined #angularjs
[17:59:30] <dmack> which one did you find?
[17:59:46] *** cthrax has quit IRC
[17:59:53] *** juampy_ has joined #angularjs
[18:00:21] *** ishan1604 has quit IRC
[18:00:24] <lilbaby> I have a model, usrname, that I want to create a boolean off of based on the length. How can I make it so that boolean updates every time username does?
[18:00:45] *** dmack has quit IRC
[18:01:10] *** vassagus has joined #angularjs
[18:01:42] *** mfunkie has quit IRC
[18:01:56] *** tjsail33 has joined #angularjs
[18:02:31] *** japhar81 has joined #angularjs
[18:02:33] *** Anton_ has joined #angularjs
[18:02:54] *** dannyc_ has quit IRC
[18:02:54] *** marr has joined #angularjs
[18:03:11] *** dmack has joined #angularjs
[18:03:31] <nickeddy> lilbaby: sounds like a case for $watch but be careful
[18:03:36] *** rho has quit IRC
[18:03:52] *** azizur has quit IRC
[18:04:05] *** Snugug has quit IRC
[18:04:06] *** ProLoser has joined #angularjs
[18:04:10] *** samuel02 has quit IRC
[18:04:12] *** Xaleph has quit IRC
[18:04:40] *** krawchyk has quit IRC
[18:04:52] <dan2k3k4> davesidious_, so for example, can I change: $('#listCategory').css('height', '1525px'); to angular.element('#listCategory').css() etc. ?
[18:05:17] *** lewdev1 has joined #angularjs
[18:05:18] *** jotbe__ has quit IRC
[18:05:25] <Ownix> is there a way in $http to set a protocl version
[18:05:34] <Ownix> like HTTP/1.1
[18:05:44] <dan2k3k4> davesidious_, and as for my adding up/down buttons directive... well how would I add it only for "project X" (where <body ng-project-x> is changed per project based on the url // it's zf2 app)
[18:07:01] *** Anton_ has quit IRC
[18:07:05] *** lewdev has quit IRC
[18:07:34] <dmack> lilbaby: watch seems to be the way to go, but use ngModelOptions to debounce it
[18:07:35] *** Xaleph has joined #angularjs
[18:07:41] <dmack> if you're using 1.3
[18:07:55] *** tarnus_ has joined #angularjs
[18:07:57] <lilbaby> Okay, sounds good.
[18:08:02] *** azizur has joined #angularjs
[18:08:11] *** bahoo has joined #angularjs
[18:08:15] *** sk87 has joined #angularjs
[18:08:40] *** NormySan has joined #angularjs
[18:08:40] *** MaxV has quit IRC
[18:09:08] *** ProLoser has quit IRC
[18:09:08] *** Dwarf has quit IRC
[18:09:08] *** whitebook has quit IRC
[18:09:17] *** ki0 has joined #angularjs
[18:09:40] *** richiebkr has joined #angularjs
[18:09:42] *** doginal has joined #angularjs
[18:10:09] *** ahtik has joined #angularjs
[18:10:31] *** koken has joined #angularjs
[18:10:37] *** shpoont has quit IRC
[18:11:09] *** matta_ has joined #angularjs
[18:11:45] *** zz_night-owl is now known as night-owl
[18:12:07] *** mzabriskie has quit IRC
[18:12:25] *** lewdev1 has quit IRC
[18:12:25] *** Xaleph has quit IRC
[18:12:33] <snurfery> sup yall
[18:12:36] *** patrick99e99 has joined #angularjs
[18:12:49] *** jeffisabelle has joined #angularjs
[18:12:58] *** crawleyprint has quit IRC
[18:12:59] *** lexek__ has quit IRC
[18:12:59] *** maraneta has quit IRC
[18:13:00] *** juampy has quit IRC
[18:13:01] *** tarnus has quit IRC
[18:13:12] <nickeddy> Ownix: i don't think so, not from what i can tell in the docs
[18:13:17] *** dan2k3k4 has quit IRC
[18:13:20] *** rho has joined #angularjs
[18:13:26] <Ownix> I see ty
[18:13:48] *** \du_ is now known as \du
[18:13:59] *** \du has joined #angularjs
[18:14:00] <Ownix> The success callbacks on our $http requests keep running even when 400 Bad Request is sent back
[18:14:13] <Ownix> The Chome Network console shows 400 error as well.
[18:14:23] <Ownix> I am unable to reproduce the error in plunkr
[18:14:32] *** darrin has joined #angularjs
[18:14:36] *** ppppaul has joined #angularjs
[18:14:56] <nickeddy> Ownix: try moving from $http.get().success().error() to $http.get().then(function(response) {}, function(error) {})
[18:14:57] *** Anton_ has joined #angularjs
[18:15:05] <Ownix> I tried
[18:15:11] <nickeddy> hmmmmmmm
[18:15:12] *** lw has joined #angularjs
[18:15:16] *** lw has quit IRC
[18:15:16] <Ownix> nickeddy: ^
[18:15:19] *** Luser has joined #angularjs
[18:15:32] <oniijin> sigh
[18:15:34] *** lewdev has joined #angularjs
[18:15:39] *** crawleyprint has joined #angularjs
[18:15:54] *** lw has joined #angularjs
[18:15:59] *** lw has quit IRC
[18:16:01] <Luser> Hey guys. I have applied for an intern angularjs dev position in small software house, any ideas what questions could I expect to be asked?
[18:16:09] <nickeddy> Ownix: um, i don't think data is properly formatted... hence the bad request
[18:16:17] *** m_rc has quit IRC
[18:16:20] <dmack> Luser: explain the digest cycle
[18:16:20] <Luser> I will probably pair-programm with some senior dev.
[18:16:33] *** lw has joined #angularjs
[18:16:40] <dmack> Luser: explain when use of a service makes sense
[18:16:43] *** m_rc has joined #angularjs
[18:16:43] <matta_> so i'm trying to make an angular select field with a default value/string as one of the options. i'm using ng-init to successfully set the default value, but how can i also set the associated string at the same time?
[18:16:51] *** coffey has quit IRC
[18:16:53] *** cthrax has joined #angularjs
[18:16:59] *** richardlitt has joined #angularjs
[18:17:09] <dmack> matta_: string?
[18:17:23] <nickeddy> matta_: don't use ng-init for anything but ng-repeat stuff
[18:17:24] *** lw_ has joined #angularjs
[18:17:32] *** advy has quit IRC
[18:17:34] *** Snugug has joined #angularjs
[18:17:48] <matta_> dmack: sorry, not sure what to call it, there's the string that is displayed to the user when selecting an option, and the value underneath it
[18:17:54] <Ownix> nickeddy: I want a bad requst, my API returns in. If you see the URL I am calling is /error, plunkr returns 400 for that URL for testing
[18:17:57] <dmack> matta_: right
[18:18:04] *** ahtik has quit IRC
[18:18:09] *** agrajag42 has joined #angularjs
[18:18:10] *** night-owl is now known as zz_night-owl
[18:18:12] <dmack> if you set the value, the string should be set automatically, if you have ngoptions setup that way
[18:18:20] <Luser> dmack: Thanks, that will be helpful for sure.
[18:18:36] <nickeddy> Ownix: wait what? you want to send a bad request?
[18:18:43] *** FIFOd[a] has joined #angularjs
[18:19:34] <Ownix> no... maybe? I called $http.post('/create/user', {fname: 'George', lname:null, email: null})
[18:19:43] <Ownix> My API should return a 400 Bad Request on that
[18:19:59] <Ownix> because the params arent filled out properly
[18:20:10] <nickeddy> that's an issue with your API then, not anything $http is doing
[18:20:14] <Ownix> But angular runs .success() instead of .error() when my API returns 400
[18:20:20] <nickeddy> oh
[18:20:21] <Ownix> no its an issue with Angular
[18:20:21] <Luser> oO
[18:20:58] *** juampy_ is now known as juampy
[18:21:05] <christo_m> dmack: so turns out sending the delta x's and y's is very jittery
[18:21:06] <Ownix> I read people with similar problems have intereceptors. But im not using those
[18:21:13] *** lw has quit IRC
[18:21:15] <Ownix> So my googling has been very unhelpful
[18:21:16] <christo_m> dmack: i wonder if i can do some sort of interpolation since i have the velocity
[18:21:27] <dmack> christo_m: out of my realm. math isn't my thing
[18:21:29] <christo_m> because i dont think i should be sending tcp data on every drag event with the delta x and y, it just doesnt work nicely
[18:21:34] <Luser> Ownix: maybe force your API to return other error than 400?
[18:21:43] *** sl33k_ has joined #angularjs
[18:21:48] <christo_m> dmack: well it was more a probe to see if you know any tricks for passing mouse events smoothly
[18:21:51] <christo_m> over the network
[18:21:52] <dmack> heh
[18:21:53] <christo_m> :P
[18:22:01] <dmack> I don't have any experience with that
[18:22:08] <dmack> sounds like a pretty unique problem though
[18:22:15] <nickeddy> Ownix: well in that plnkr it works
[18:22:20] <nickeddy> Ownix: what version of angular are you using
[18:22:30] *** jonatas_oliveira has joined #angularjs
[18:22:35] <Ownix> same one as in the plunkr
[18:22:42] <sl33k_> Error: No module: myApp
[18:22:53]
<doginal> hey guys, i am trying to get a field to dymanic be created on button click it. heres a jfliddle http://jsfiddle.net/39mvm4tw/32/ it has to be into an object, how do i fix it to work correctly?
[18:23:00] <m_rc> sl33k_ : yes you need to declare myApp
[18:23:02] *** BigMac has quit IRC
[18:23:08] <nickeddy> Ownix: 100% positive on that?
[18:23:49] <Ownix> let me tripple check
[18:23:50] <Luser> Ownix: I've had similiar issue when using emberjs- it couldn't handle error (not sure about number), I just did workaround and changed my API to return other numbers.
[18:23:58] *** jonathanpglick has joined #angularjs
[18:23:59] *** coffey has joined #angularjs
[18:24:05] *** ahtik has joined #angularjs
[18:24:05] <christo_m> dmack: t'is
[18:24:06] <Ownix> * @license AngularJS v1.3.4
[18:24:16] <lilbaby> ng-minlength doesn't seem to work.
[18:24:18] <christo_m> dmack: im sure theres a mathy way to do it. since i have velocity and angle
[18:24:19] *** motto has joined #angularjs
[18:24:27] *** Ajans has quit IRC
[18:24:28] <christo_m> i can guess what my delta x and y should be and interpolate it server side
[18:24:30] <nickeddy> Ownix: hmmmm yeah that should be working. it works in the plnkr for me at least.
[18:24:40] <Ownix> yeah works for me too in plunkr
[18:24:40] <christo_m> the logic isnt there to do that though, so ill just try and mimic as much functionality from teh old mousepad.js as i can
[18:24:42] *** motto is now known as Guest3473
[18:24:43] *** SargoDarya has joined #angularjs
[18:25:24] <nickeddy> Ownix: what backend are you using
[18:25:35] *** krawchyk has joined #angularjs
[18:25:36] <Ownix> ASP.NET Web API 2.2
[18:25:41] *** krawchyk has quit IRC
[18:26:20] *** krawchyk has joined #angularjs
[18:26:25] *** AimerPaddle has joined #angularjs
[18:26:28] *** krawchyk has quit IRC
[18:26:49] *** lacosta has joined #angularjs
[18:27:08] *** krawchyk has joined #angularjs
[18:27:14] *** m_rc has quit IRC
[18:27:30] *** m8 has quit IRC
[18:27:41] <lacosta> is there any on who can tell me which angular library is an official support for google maps
[18:27:57] *** krawchyk has joined #angularjs
[18:28:25] *** Hounddog has quit IRC
[18:28:25] *** edy has quit IRC
[18:28:51] *** mary5030_ has quit IRC
[18:28:53] *** krawchyk has joined #angularjs
[18:28:56] *** jlebrech has quit IRC
[18:29:00] *** ngbot has joined #angularjs
[18:29:00]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 32806ca to 1b640f9: http://git.io/Sjcsmw
[18:29:00] *** ngbot has left #angularjs
[18:29:38] <Slim> not sure what your definition of "support" is though :)
[18:29:41] <matta_> dmack: not sure why, my select field won't display a default option even when i simply set ng-model to 'foo', and i have $scope.foo defined in my controller
[18:29:42] *** Guest3473 has quit IRC
[18:29:51] <matta_> dmack: is the template rendering before foo is initialized?
[18:29:54] *** jlebrech has joined #angularjs
[18:29:56] *** ngbot has joined #angularjs
[18:29:56]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 1b640f9 to cc0fbe3: http://git.io/YvnJuQ
[18:29:56] *** ngbot has left #angularjs
[18:29:58] *** avialet has quit IRC
[18:29:59] *** arpu_ has quit IRC
[18:30:09] *** richardlitt has quit IRC
[18:30:13] *** Fishy_ has joined #angularjs
[18:30:17] *** lsiv568 has joined #angularjs
[18:30:32] *** tfennelly has joined #angularjs
[18:30:53] *** adben has joined #angularjs
[18:30:57] *** ngbot has joined #angularjs
[18:30:57]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from cc0fbe3 to 015111f: http://git.io/YGOX1g
[18:30:57] *** ngbot has left #angularjs
[18:31:04] *** mkusher has quit IRC
[18:31:07] *** jmckind has quit IRC
[18:31:57] *** ngbot has joined #angularjs
[18:31:57]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 015111f to 8bfeddb: http://git.io/TeZvKA
[18:31:57] *** ngbot has left #angularjs
[18:32:01] <lacosta> Slim - i mean the main stream library or the widly accepted , that is suggested for google map integration
[18:32:07] *** napcoder has quit IRC
[18:32:17] *** loverajoel has joined #angularjs
[18:32:21] <Slim> that would be the one
[18:32:45] *** tomengland_mbp has joined #angularjs
[18:32:47] <lacosta> Slim - thanks any ways youe answers!!
[18:32:50] *** merobertsjr has joined #angularjs
[18:32:56] *** ngbot has joined #angularjs
[18:32:56]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 8bfeddb to 3aa5752: http://git.io/bJJyxQ
[18:32:56] *** ngbot has left #angularjs
[18:33:01] *** zlalanne has quit IRC
[18:33:15] <Slim> no problem :)
[18:33:34] *** Fishy__ has quit IRC
[18:33:43] *** thebigredgeek has joined #angularjs
[18:33:52] *** ngbot has joined #angularjs
[18:33:52]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 3aa5752 to ed1243f: http://git.io/X9GruQ
[18:33:52] *** ngbot has left #angularjs
[18:34:19] *** jlebrech has quit IRC
[18:34:22] <lacosta> Slim - may be this is not a correct way of asking, but are you a pro on angular dev?
[18:34:27] *** dISKRET has joined #angularjs
[18:34:32] *** jmckind has joined #angularjs
[18:34:52] *** ngbot has joined #angularjs
[18:34:52]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from ed1243f to acb066e: http://git.io/Z4onOw
[18:34:52] *** ngbot has left #angularjs
[18:35:00] *** Anton_ has quit IRC
[18:35:02] *** ron1_ has quit IRC
[18:35:10] *** doginal has quit IRC
[18:35:31] *** Nivag_ has joined #angularjs
[18:35:47] <Slim> lacosta I am not a professional by any means, but I've been in the angular community long enough to know the popular libraries :)
[18:36:00] *** ngbot has joined #angularjs
[18:36:00]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from acb066e to 228281e: http://git.io/oabwRw
[18:36:00] *** ngbot has left #angularjs
[18:36:22] *** Siyfion has quit IRC
[18:36:49] *** lsiv568 has quit IRC
[18:36:50] <tristanp> macabre: the http call that fills the pubsArr takes some amount of time to conclude
[18:36:59] *** chrisshattuck has joined #angularjs
[18:37:02] *** ngbot has joined #angularjs
[18:37:03]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 228281e to b9e5eaf: http://git.io/WKhm_w
[18:37:03] *** ngbot has left #angularjs
[18:37:15] <tristanp> macabre: until then, the array is still empty
[18:37:18] *** cannap has joined #angularjs
[18:37:26] <snurfery> macabre: look at the json response closely, you might not be getting an array back
[18:37:35] *** doginal has joined #angularjs
[18:37:43] <macabre> tristanp: okay, whats the better approach?
[18:37:51] <tristanp> macabre: you should use promises
[18:37:51] *** capreolus has joined #angularjs
[18:38:01] *** ngbot has joined #angularjs
[18:38:01]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from b9e5eaf to 579aa59: http://git.io/Lx3EWA
[18:38:02] *** ngbot has left #angularjs
[18:38:12] <macabre> tristanp: i can, like i said before i'm new to angular and haven't really used promises
[18:38:13] <tristanp> macabre: let me see if i can find a good reference to point you to
[18:38:23] <macabre> tristanp: that would be great, thanks
[18:38:28] *** mrwn has joined #angularjs
[18:38:40] <snurfery> oh yeah and there's that whole initializing step in there that needs to be fixed, that's more important
[18:38:45] *** thefostah has joined #angularjs
[18:38:46] *** coderat has joined #angularjs
[18:38:58] *** jotbe has joined #angularjs
[18:39:01] <lacosta> Slim - oww i see, i was working on the location based services a bit related with Uber ... may be if there is any usefull materials you can point me.
[18:39:02] *** siddart has quit IRC
[18:39:04] *** ngbot has joined #angularjs
[18:39:04]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 579aa59 to 55d9db5: http://git.io/qZ6m9w
[18:39:04] *** ngbot has left #angularjs
[18:39:19] *** siddart has joined #angularjs
[18:39:28] *** dacuca has quit IRC
[18:39:52] *** mary5030 has joined #angularjs
[18:39:53] <Slim> What kind of materials are you looking for lacosta? Do you want to know more about the Google Maps library or Angular in general?
[18:40:05] *** ngbot has joined #angularjs
[18:40:05]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 55d9db5 to d21dff2: http://git.io/9_UMLQ
[18:40:05] *** ngbot has left #angularjs
[18:40:27] *** TeddyMurray has joined #angularjs
[18:40:45] *** BIG_C_N00B has joined #angularjs
[18:41:03] <BIG_C_N00B> does anyone have experience with Bigcommerce ???
[18:41:05] *** Fuzzy has quit IRC
[18:41:12] *** AmpNew has joined #angularjs
[18:41:12] *** ngbot has joined #angularjs
[18:41:13]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from d21dff2 to 10ac594: http://git.io/uFNs2A
[18:41:13] *** ngbot has left #angularjs
[18:41:24] *** Anton_ has joined #angularjs
[18:41:28] <BIG_C_N00B> kida stuck and need some guidence
[18:41:30] *** ki0 has quit IRC
[18:41:46] <AmpNew> Any help please?
[18:41:56] <lacosta> Slim - Google maps and probably location based services with real time communication. For your info i tried Pusher library
[18:42:13] *** DarrenCraig has quit IRC
[18:42:15] *** ngbot has joined #angularjs
[18:42:15]
<ngbot> [angular.js] jeffbcross fast-forwarded g3_v1_3 from 10ac594 to 2dc34a9: http://git.io/cFgmFA
[18:42:15] *** ngbot has left #angularjs
[18:42:15] *** recurrence has joined #angularjs
[18:42:27] <AmpNew> I am using the api from here.
[18:42:39] *** Rahul_Roy_ has joined #angularjs
[18:42:41] *** jacuqesdancona_ has quit IRC
[18:42:42] <AmpNew> I cant figure out how to make the weather conditions show on the 6 day forcast or the weather conditon icons??
[18:42:54] *** tyfighter has joined #angularjs
[18:43:01] *** snurfery has quit IRC
[18:43:03] *** Una has joined #angularjs
[18:43:09] *** ngbot has joined #angularjs
[18:43:09] *** ngbot has left #angularjs
[18:43:09] *** Xaleph has joined #angularjs
[18:43:17] *** jacuqesdancona_ has joined #angularjs
[18:43:22] <BIG_C_N00B> ngbot !!
[18:43:25] <BIG_C_N00B> ngbot #
[18:43:28] *** ctanga has quit IRC
[18:43:31] <BIG_C_N00B> ngbot !#
[18:43:51] <BIG_C_N00B> ngbot
[18:43:57] <BIG_C_N00B> exit
[18:44:01] *** BIG_C_N00B has quit IRC
[18:45:02] *** Shrooms has quit IRC
[18:45:25] <macabre> tristanp: thanks
[18:45:35] <macabre> tristanp: so is a promise just like a callback?
[18:45:54] <nickeddy> macabre: sort of, but less shitty
[18:45:55] *** Dwarf has joined #angularjs
[18:45:56] *** Luser has quit IRC
[18:46:02] <tristanp> macabre: basically, you need to return a promise from all(), and then you would do pubFactor.all().then(function (allOfThem) { console.log(allOfThem) });
[18:46:10] *** OnkelTem has quit IRC
[18:46:25] *** \du has quit IRC
[18:46:26] <nickeddy> tristanp: even better: pubFactor.all().then(console.log);
[18:46:29] *** Luser has joined #angularjs
[18:46:35] <macabre> ahh
[18:46:40] <macabre> let me give that a shot
[18:46:58] <tristanp> nickeddy: yeah, if console logging is all you want to do with it, but i have a feeling he wants to do other stuff as well
[18:47:05] *** tsalb has joined #angularjs
[18:47:07] <nickeddy> well yeah
[18:47:14] *** quantax- has joined #angularjs
[18:47:17] *** jameswork has quit IRC
[18:47:49] <macabre> tristanp: you're right
[18:47:55] *** shpoont has joined #angularjs
[18:48:05] <macabre> but for now i'd like to get the array (filled) into the controller to start manipulating data
[18:48:08] *** ngbot has joined #angularjs
[18:48:08]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/X7Q8pA
[18:48:08] <ngbot> angular.js/browserstack-with-socketio-1_0 6ef7023 Vojta Jina: WIP: only run the quick protractor tests
[18:48:08] *** ngbot has left #angularjs
[18:48:13] *** jacuqesdancona_ has quit IRC
[18:48:20] *** IvailoStoianov has quit IRC
[18:48:34] *** britt_ has joined #angularjs
[18:48:35] <tristanp> macabre: well if you want the data already "ready" for you in the controller, you should use a resolve hook in your router
[18:48:45] *** CodeFriar has quit IRC
[18:48:47] <macabre> my end goal is to write a factory that will query my dataset and then from there write factory methods to manipulate data so i won't have to deal with hitting the database multiple times
[18:48:54] <tristanp> macabre: are you using ngRoute or ui-router by any chance?
[18:49:22] <macabre> tristanp: ui-router
[18:49:23] *** jotbe has quit IRC
[18:49:25] <tristanp> macabre: that's a good goal and you're on the right track, you just need to understand how asynchronous calls work
[18:49:27] *** davidreis has quit IRC
[18:49:46] <macabre> tristanp: i did, with jquery :)
[18:49:58] <macabre> tristanp: i had more of an idea anyways
[18:50:00] <britt_> I have a question I was wondering if anyone could give me some insight. So I am trying to build a responsive SPA. I am working with percentages and I am finding Angular really difficult to work with because it seems like scopes keep adding parents that I precent percentages from being inherited.
[18:50:07] <tristanp> macabre: ok, then read the part about resolve. you want to sort all this http business out in the resolve hook of the router, and inject the actual result into your controller
[18:50:08] *** ahtik has quit IRC
[18:50:44] <macabre> tristanp: got it, thanks for the help
[18:50:45] <britt_> I can add classes to those scope parent containers, but it is really ugly? Does anyone here know of any best practices to keep things nice and percentage based without adding classes all over the place?
[18:50:49] *** OnkelTem has joined #angularjs
[18:51:00] *** Luser has quit IRC
[18:51:07] *** ahtik has joined #angularjs
[18:51:21] *** nerder has quit IRC
[18:51:27] <tristanp> britt_: do you mean percentages as in you have data that is in percentage form? or are you talking about css?
[18:51:40] <britt_> I am talking about strictly css
[18:51:46] <tristanp> ok hmm
[18:51:50] <britt_> for layout issues
[18:52:08] *** Shrooms has joined #angularjs
[18:52:09] <britt_> I know of a way to get around it, but it seems overly ugly.
[18:52:21] <tristanp> i guess if having too many classes is your biggest problem I'd call it a pretty good day for css
[18:52:27] *** SomeKittens has joined #angularjs
[18:52:33] <britt_> haha
[18:52:41] <britt_> I am a bit of a perfectionist in this regard
[18:52:48] *** ngbot has joined #angularjs
[18:52:49]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/WRvMSg
[18:52:49] <ngbot> angular.js/browserstack-with-socketio-1_0 3d41d7e Vojta Jina: WIP: fix BS config: platform
[18:52:49] *** ngbot has left #angularjs
[18:53:05] *** ChadStrat has joined #angularjs
[18:53:06] *** AmpNew has quit IRC
[18:53:11] *** RobinBAwesome has joined #angularjs
[18:53:28] <britt_> I think part of the reason why I am asking this is also because I have been working on another project with a number of other developers and they are not as CSS savy
[18:53:33] *** elliotstokes has quit IRC
[18:53:33] *** lw_ has quit IRC
[18:53:44] *** bayousoft has quit IRC
[18:53:48] *** phzon has quit IRC
[18:53:54] *** hernan has joined #angularjs
[18:53:59] <hernan> Hey!
[18:54:02] *** davidreis has joined #angularjs
[18:54:03] <britt_> and if I can make it so that they don't have to worry about adding helper classes on those scope containers
[18:54:05] *** intellix_ has quit IRC
[18:54:07] *** intellix has quit IRC
[18:54:08] <britt_> then it would be a very good thing
[18:54:22] *** bayousoft has joined #angularjs
[18:54:29] *** IvailoStoianov has joined #angularjs
[18:54:38] *** cornerma1 has joined #angularjs
[18:54:39] <hernan> question, as usual i can print {{something}} but i would like to execute a function instead of simply printing values... hows this possible ?
[18:54:50] <nickeddy> macabre: hernan {{something()}}
[18:54:52] <nickeddy> oops
[18:54:55] <hernan> ok
[18:55:00] <macabre> :D
[18:55:00] <britt_> I know with Polymer for examples I can actually apply styles to the root of a component, is there anyway to apply styles to the root of a directive?
[18:55:02] <nickeddy> hernan: that function has to be on the scope though
[18:55:07] *** tjsail33 has quit IRC
[18:55:09] <hernan> gotit
[18:55:17] *** jackweirdy has quit IRC
[18:55:21] <nickeddy> britt_: there's ng-class and ng-style
[18:55:46] *** ahtik has quit IRC
[18:55:49] *** zwacky has quit IRC
[18:56:02] *** babykosh has joined #angularjs
[18:56:10] *** Snugug has quit IRC
[18:56:11] *** tomengland_mbp has quit IRC
[18:56:21] <macabre> moogey: thanks! i'll take a look at it now
[18:56:22]
<Slim> lacosta: Sorry, I'm back. You can look up documentation on that link I sent you. If you want an example, here's a jsfiddle: http://jsfiddle.net/svigna/pc7Uu/
[18:56:24] *** noob_ has joined #angularjs
[18:56:42] <moogey> macabre: post any questions you have in there
[18:56:50] *** hasq has quit IRC
[18:56:52] *** tkh44 has quit IRC
[18:57:05] *** jtimon has quit IRC
[18:57:07] <macabre> moogey: i will, thank you, still trying to wrap my head around this :)
[18:57:21] <lacosta> Slim: Thanks Slim i will look in to it
[18:57:37] <moogey> macabre: I just went through 2 weeks of the same thing, I know the feels
[18:57:38] <Slim> :)
[18:57:49] *** ron1 has joined #angularjs
[18:57:53] <macabre> moogey: :)
[18:58:06] *** cornerman has quit IRC
[18:58:07] *** cornerma1 is now known as cornerman
[18:58:12] <nickeddy> once you get it though, promises are beautiful
[18:58:16] <britt_> nickeddy, I could be wrong about this... but this would require the same amount of effort from the developers to add ng-class as just adding a class wouldn't it?
[18:58:22] <macabre> i'm brand new to angular, i'm really liking the functional side of things
[18:58:34] *** yelvert has quit IRC
[18:58:40] *** goodenough has joined #angularjs
[18:58:44] *** macbroadcast has joined #angularjs
[18:58:47] <macabre> nickeddy: i've used callback writing vanilla js at my last employer
[18:58:51] *** weeyum has quit IRC
[18:58:58] *** Xaleph has quit IRC
[18:59:00] *** yelvert has joined #angularjs
[18:59:01] <macabre> i just started at a company thats going all mean stack
[18:59:03] *** robdubya has joined #angularjs
[18:59:09] <noob_> can we use validation in dynamic form name...like <form name="{{formname}}"><input type="text" name="{{username}}"><span ng-show="{{formname}}.{{username}}.$dirty">required</span>
[18:59:11] *** dannyc_ has joined #angularjs
[18:59:11] *** ron1 has quit IRC
[18:59:17] *** greengriminal has quit IRC
[18:59:35] <nickeddy> noob_: formname[username].$dirty
[18:59:38] <nickeddy> i think
[18:59:47] <dmack> I think you need to use ngForm? or is that only for subforms
[18:59:56] *** sk87 has quit IRC
[19:00:05] *** Una has quit IRC
[19:00:17] <nickeddy> dmack: yeah that's for form nesting
[19:00:46] *** doginal has quit IRC
[19:00:48] *** ron1 has joined #angularjs
[19:00:51] *** ngbot has joined #angularjs
[19:00:51]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/wQQtGw
[19:00:52] <ngbot> angular.js/browserstack-with-socketio-1_0 c0eaf6f Vojta Jina: WIP: start bs tunnel
[19:00:52] *** ngbot has left #angularjs
[19:00:54] *** ahtik has joined #angularjs
[19:00:55] *** darrin has quit IRC
[19:01:09] <hernan> nickeddy: so lets say i have this: {{something_to_render_canvas}} and i want to transform that into <canvas></canvas>
[19:01:22] *** tfennelly has quit IRC
[19:01:39] <nickeddy> well if you just have a template that you're loading you can do ng-src
[19:01:39] <noob_> nickeddy dmack can we nest form...?? i dont think so
[19:01:41] *** say2joe has joined #angularjs
[19:01:46] <dmack> you can.
[19:01:48] <nickeddy> noob_: yeah, we just said
[19:01:51] <nickeddy> noob_: ng-form
[19:01:53] <hernan> nickeddy: ok
[19:01:59] *** Xaleph has joined #angularjs
[19:02:08] *** doginal has joined #angularjs
[19:02:29] <noob_> thanks will try :)
[19:03:01] <moogey> nickeddy: thanks for that link. I wish I had it 2 days ago.
[19:03:15] *** rileylark has joined #angularjs
[19:03:16] *** doginal has quit IRC
[19:03:17] *** yelvert has quit IRC
[19:03:30] *** azizur has quit IRC
[19:03:49] *** dannyc_ has quit IRC
[19:03:56] *** doginal has joined #angularjs
[19:04:01] *** zemanel has quit IRC
[19:04:01] *** thefostah has quit IRC
[19:04:18] *** thegrif has quit IRC
[19:04:30] *** azizur has joined #angularjs
[19:04:49] *** SuRfDeMo1 has joined #angularjs
[19:05:19] *** jr3 has quit IRC
[19:05:35] *** britt_ has quit IRC
[19:05:44] *** snurfery has joined #angularjs
[19:05:46] *** ron1 has quit IRC
[19:06:10] *** SuRfDeMoN has quit IRC
[19:06:14] *** wallerdev has joined #angularjs
[19:06:16] *** juampy has quit IRC
[19:06:31] *** juampy has joined #angularjs
[19:06:49] *** tschundeee has quit IRC
[19:07:01] *** morenoh150 has joined #angularjs
[19:07:13] *** darrin has joined #angularjs
[19:07:43] *** say2joe has quit IRC
[19:07:45] *** mary5030 has quit IRC
[19:08:03] *** zwacky has joined #angularjs
[19:09:13] *** Anton_ has quit IRC
[19:09:15] *** tkh44 has joined #angularjs
[19:09:15] *** ehynds has joined #angularjs
[19:09:18] *** say2joe has joined #angularjs
[19:09:35] *** macbroadcast has left #angularjs
[19:09:35] *** duall has quit IRC
[19:09:37] *** capreolus has quit IRC
[19:10:19] *** digisky has quit IRC
[19:10:37] *** htmelvis has joined #angularjs
[19:11:06] *** zz_night-owl is now known as night-owl
[19:11:27] *** reduce_ has quit IRC
[19:11:34] *** nemothekid has joined #angularjs
[19:12:17] *** icfantv has quit IRC
[19:12:22] *** reduce has joined #angularjs
[19:12:27] *** fedenunez1 has joined #angularjs
[19:12:28] *** richiebkr has quit IRC
[19:12:53] *** tarnus_ is now known as tarnus
[19:13:29] *** cactauz has quit IRC
[19:13:30] *** joshontheweb has joined #angularjs
[19:13:31] *** ogdabou has quit IRC
[19:13:33] *** tschundeee has joined #angularjs
[19:13:38] *** rileylark has quit IRC
[19:13:56] *** ngbot has joined #angularjs
[19:13:56]
<ngbot> [angular.js] vojtajina pushed 2 new commits to browserstack-with-socketio-1_0: http://git.io/JcnLEA
[19:13:56] <ngbot> angular.js/browserstack-with-socketio-1_0 3e195d4 Vojta Jina: WIP: a single shared bs tunnel for karma
[19:13:56] <ngbot> angular.js/browserstack-with-socketio-1_0 b11131f Vojta Jina: WIP: bs tunnel identifier
[19:13:57] *** ngbot has left #angularjs
[19:14:01] *** icfantv has joined #angularjs
[19:14:11] *** atomical has joined #angularjs
[19:14:17] *** cactauz has joined #angularjs
[19:15:04] *** d4rklit3 has joined #angularjs
[19:15:20] *** fedenunez has quit IRC
[19:15:20] *** emmesswhy has joined #angularjs
[19:15:40] *** Anton_ has joined #angularjs
[19:16:12] *** Marble68 has left #angularjs
[19:16:34] *** vassagus_ has joined #angularjs
[19:16:53] *** Luser has joined #angularjs
[19:17:03] *** vassagus has quit IRC
[19:17:14] *** Luser has quit IRC
[19:17:26] *** ciwolsey has quit IRC
[19:17:43] *** Luser has joined #angularjs
[19:18:22] *** goodenough has quit IRC
[19:18:23] *** Snugug has joined #angularjs
[19:18:24] *** morenoh150 has quit IRC
[19:18:31] *** aslate has quit IRC
[19:18:51] *** rho has quit IRC
[19:19:11] *** Luser has quit IRC
[19:19:34] *** Luser has joined #angularjs
[19:20:25] *** Luser_ has joined #angularjs
[19:20:25] *** Luser has quit IRC
[19:20:52] *** ujal has joined #angularjs
[19:22:04] *** adpirz has joined #angularjs
[19:22:04] *** richiebkr has joined #angularjs
[19:22:05] *** Luser_ has quit IRC
[19:22:14] *** Luser has joined #angularjs
[19:22:28] *** frem has joined #angularjs
[19:22:29] *** ngbot has joined #angularjs
[19:22:29]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/VdHmRA
[19:22:29] <ngbot> angular.js/browserstack-with-socketio-1_0 db58f1d Vojta Jina: WIP: protractor bs helper
[19:22:29] *** ngbot has left #angularjs
[19:22:34] *** Luser has quit IRC
[19:22:50] *** frem_ has joined #angularjs
[19:23:07] *** Luser has joined #angularjs
[19:23:15] *** juampy is now known as juampy_backlater
[19:23:24] *** ngbot has joined #angularjs
[19:23:24]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/f2Qsgw
[19:23:24] <ngbot> angular.js/browserstack-with-socketio-1_0 2ffbc7a Vojta Jina: WIP: try Karma with shared tunnel
[19:23:24] *** ngbot has left #angularjs
[19:24:22] *** vassagus has joined #angularjs
[19:24:42] *** Luser has quit IRC
[19:24:49] *** richiebkr has quit IRC
[19:24:51] *** vassagus_ has quit IRC
[19:24:51] <lilbaby> How do I prevent something I'm using ng-show with from being shown before angular loads?
[19:24:52] *** Luser has joined #angularjs
[19:24:55] *** Anton_ has quit IRC
[19:24:56] *** dob_ has quit IRC
[19:25:24] *** nfroidure has quit IRC
[19:25:24] *** Luser has quit IRC
[19:25:30] *** pushpak has joined #angularjs
[19:25:32] *** jae has quit IRC
[19:25:39] *** dob_ has joined #angularjs
[19:25:45] *** Luser has joined #angularjs
[19:25:54] <lilbaby> love yuh nickeddy
[19:26:05] <icfantv> nickeddy: i was thinking that, but doesn't that only apply to showing {{ xxx }}?
[19:26:06] *** krawchyk has quit IRC
[19:26:09] *** CodeFriar has joined #angularjs
[19:26:17] *** adpirz has quit IRC
[19:26:24] *** lsiv568 has joined #angularjs
[19:26:30] *** PeterMetz has quit IRC
[19:26:36] *** bradmaxs has joined #angularjs
[19:26:47] <nickeddy> icfantv: yeah i may be wrong about that
[19:27:08] <icfantv> lilbaby: and you can use ng-cloak by itself: <span ng-cloak>{{ myStuff }}</span>
[19:27:28] *** woah has joined #angularjs
[19:27:31] *** Luser_ has joined #angularjs
[19:27:39] *** Luser has quit IRC
[19:27:41] *** nairys has joined #angularjs
[19:27:50] *** ahtik has quit IRC
[19:27:55] *** Luser_ has quit IRC
[19:28:10] *** htmelvis has quit IRC
[19:28:17] <icfantv> lilbaby: try ng-cloak first. if that doesn't work. i'm curious as to how you're loading angular
[19:28:24] <Ownix> nickeddy: im doing then(null, function(data){ console.log(data); }); and data comes back with a bunch of info about the response, and its showing status 240 "Bad Request".
[19:28:26] *** Luser has joined #angularjs
[19:28:28] *** ujal has left #angularjs
[19:28:31] <lilbaby> icfantv: it worked
[19:28:34] *** vassagus has quit IRC
[19:28:39] <icfantv> lilbaby: oh cool. good to know
[19:28:43] <Ownix> Since 240 falls in the range of 200 - 299 it runs .success() , or the first function of the then method
[19:28:45] <icfantv> nickeddy: good guess. :-)
[19:29:01] <Ownix> Er my code i sent you wasd messed up, null is second not first
[19:29:16] <nickeddy> Ownix: yeah that sounds like an issue with your API then
[19:29:18] *** coderat has quit IRC
[19:29:27] <nickeddy> Ownix: you may have to manually tell it to spit out a 400
[19:29:29] <icfantv> lilbaby: so you're not talking about angular being loaded. you're talking about the model being loaded.
[19:29:35] *** ngbot has joined #angularjs
[19:29:35]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/ix1GRg
[19:29:35] <ngbot> angular.js/browserstack-with-socketio-1_0 67a19cc Vojta Jina: WIP: stupid syntax
[19:29:35] *** ngbot has left #angularjs
[19:29:36] <Ownix> that sucks and doesnt make sense
[19:29:37] *** doodlehaus has quit IRC
[19:29:38] *** vassagus has joined #angularjs
[19:29:40] <nickeddy> Ownix: though i'm not at all familiar with asp.net :/
[19:29:42] <Ownix> because google chrome clearly shows status 400
[19:29:55] <Ownix> and I have other APi calls on other pages throwing status 400
[19:29:59] <lilbaby> icfantv: Yeah, I guess that's what's up
[19:30:06] <lilbaby> icfantv: thanks for pointing that out
[19:30:13] *** Luser_ has joined #angularjs
[19:30:18] <nickeddy> Ownix: do you have postman?
[19:30:26] <icfantv> lilbaby: np. important distinction, however.
[19:30:27] *** Luser has quit IRC
[19:30:32] <nickeddy> Ownix: highly suggest getting that and sending a bad request, see what you get back
[19:30:36] *** Anton_ has joined #angularjs
[19:30:39] <Ownix> nickeddy: is that an HTTP proxy? I use Fiddler
[19:30:43] *** tfennelly has joined #angularjs
[19:30:53] <nickeddy> Ownix: it's a chrome plugin for doing http requests
[19:30:54] *** DuelShark has joined #angularjs
[19:30:56] *** ngbot has joined #angularjs
[19:30:56]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/sFipFA
[19:30:56] <ngbot> angular.js/browserstack-with-socketio-1_0 ebadddd Vojta Jina: WIP: both karma/protractor unit
[19:30:56] *** ngbot has left #angularjs
[19:31:27] *** Luser_ has quit IRC
[19:31:52] *** NormySan has quit IRC
[19:32:01] *** skywritergr has quit IRC
[19:32:01] *** Luser has joined #angularjs
[19:33:07] *** lilbaby has quit IRC
[19:33:19] *** Luser has quit IRC
[19:33:25] *** ngbot has joined #angularjs
[19:33:25]
<ngbot> [angular.js] vojtajina pushed 2 new commits to browserstack-with-socketio-1_0: http://git.io/DJHRyw
[19:33:25] <ngbot> angular.js/browserstack-with-socketio-1_0 b674485 Vojta Jina: WIP: encrypt the bs key
[19:33:25] <ngbot> angular.js/browserstack-with-socketio-1_0 ad0c41e Vojta Jina: WIP: omg
[19:33:26] *** ngbot has left #angularjs
[19:33:44] *** Luser has joined #angularjs
[19:34:07] *** Luser has quit IRC
[19:34:12] *** htmelvis has joined #angularjs
[19:34:40] *** Luser has joined #angularjs
[19:34:45] *** Juanchito has joined #angularjs
[19:34:54] *** mary5030 has joined #angularjs
[19:35:13] *** jeffisabelle has quit IRC
[19:35:14] *** jdivock has quit IRC
[19:35:39] *** lexek_ has quit IRC
[19:35:44] *** jeffisabelle has joined #angularjs
[19:35:57] *** doginal has quit IRC
[19:35:59] *** fayeishere has joined #angularjs
[19:36:03] *** tfennelly has quit IRC
[19:36:14] *** Luser has quit IRC
[19:36:19] *** tfennelly has joined #angularjs
[19:36:23] *** SKZC has quit IRC
[19:36:26] *** Luser has joined #angularjs
[19:36:51] *** merobertsjr has quit IRC
[19:36:51] *** Luser has quit IRC
[19:37:04] *** Anton_ has quit IRC
[19:37:17] *** scythe__ has joined #angularjs
[19:37:18] *** Luser has joined #angularjs
[19:37:42] *** ngbot has joined #angularjs
[19:37:42]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/HYyblQ
[19:37:42] <ngbot> angular.js/browserstack-with-socketio-1_0 a90216f Vojta Jina: WIP: rev the key
[19:37:42] *** ngbot has left #angularjs
[19:38:12] *** lilbaby has joined #angularjs
[19:38:29] *** vassagus has quit IRC
[19:38:34] *** lilbaby has quit IRC
[19:38:55] <nickeddy> dmack: saw that, do want.
[19:38:56] *** lilbaby has joined #angularjs
[19:39:00] <dmack> it's weird.
[19:39:01] *** Luser has quit IRC
[19:39:03] <dmack> first glance
[19:39:05] *** Luser_ has joined #angularjs
[19:39:22] <dmack> they have this weird meta framework, where you can define "pages" with YAML and that translates into ui-router states
[19:39:31] *** Luser_ has quit IRC
[19:39:32] *** darrin has quit IRC
[19:39:34] *** mary5030 has quit IRC
[19:39:35] <dmack> definitely not for people that are familiar with angular
[19:39:39] <nickeddy> i like that it's integrated with ui-router and angular
[19:39:40] <dmack> they tried to abstract it.
[19:39:48] *** doginal has joined #angularjs
[19:39:52] <nickeddy> or, yeah
[19:39:54] <nickeddy> tries to use it
[19:39:58] *** Luser has joined #angularjs
[19:39:58] <scythe__> how long roughly does it take to learn angular?
[19:40:02] *** moritzs has joined #angularjs
[19:40:05] <dmack> ionic is also, but they didn't create some weird syntax that gets compiled to javascript
[19:40:07] *** mary5030 has joined #angularjs
[19:40:13] <nickeddy> dmack: true
[19:40:21] *** fataldecrease has joined #angularjs
[19:40:24] <Ownix> scythe__: a lifetime
[19:40:33] *** SKZC has joined #angularjs
[19:40:41] *** lilbaby has quit IRC
[19:40:50] <nickeddy> scythe__: really depends on the person, took me maybe 3 months of diving to really feel like i understood most of angular
[19:41:05] <dmack> scythe__: took me 4 months of doing it wrong to start doing it right
[19:41:11] *** krawchyk has joined #angularjs
[19:41:15] <nickeddy> heh
[19:41:16] *** lilbaby has joined #angularjs
[19:41:17] *** guilbep has quit IRC
[19:41:18] *** Fuzzy has joined #angularjs
[19:41:19] <scythe__> hmm that’s hard to hear. How much time did you guys devote to it?
[19:41:26] <nickeddy> scythe__: this irc is invaluable though
[19:41:29] <scythe__> during that 3-4 month span? Was it work related or just on the side?
[19:41:38] <nickeddy> oh i learned on the job
[19:41:42] <nickeddy> so that made it way less painful
[19:41:47] *** Luser_ has joined #angularjs
[19:41:48] *** tschundeee has quit IRC
[19:42:00] <dmack> the ONLY way to l earn angular is to build something substantial with it
[19:42:01] *** mkusher has joined #angularjs
[19:42:08] <scythe__> 3 months on the job is quite substantial. Did you apply for an angular position or were they just rolling something out and you had to learn it?
[19:42:09] *** Luser has quit IRC
[19:42:11] *** Luser_ has quit IRC
[19:42:21] <scythe__> dmack: yeah that’s fair
[19:42:31] <dmack> that's true of any framework, really
[19:42:42] *** Luser has joined #angularjs
[19:42:45] <dmack> angular has a lot of "quick wins" at the early onset
[19:42:47] <nickeddy> scythe__: it was only 20 hours a week, but yeah, they had a new project and i started implementing it in ng
[19:43:09] <dmack> once you actually get into the meat of your app, you start wondering about best practices, etc etc.
[19:43:11] *** kkthxbye has quit IRC
[19:43:13] *** merobertsjr has joined #angularjs
[19:43:17] <dmack> then you figure out the right way to do stuff
[19:43:40] <nickeddy> a lot of that can be skipped by asking in here too
[19:43:41] *** grogs has joined #angularjs
[19:43:52] *** Anton_ has joined #angularjs
[19:44:08] <scythe__> makes sense, I approached angular as it seemed to be the “fastest” way of creating an spa fresh out of learning javascript. Figured the “mean” stack as advertised was the way to go
[19:44:09] *** lacosta has quit IRC
[19:44:10] *** Luser has quit IRC
[19:44:23] *** dob__ has joined #angularjs
[19:44:26] *** Luser has joined #angularjs
[19:44:31] *** HaagenSwe has joined #angularjs
[19:44:39] <dmack> backend doesn't really matter. if you're building a SPA, just make sure you have a good API team
[19:44:40] *** mary5030 has quit IRC
[19:44:44] <nickeddy> ^
[19:44:46] <dmack> the API is just as important as the client side
[19:44:48] <nickeddy> restful apis yay
[19:44:52] <dmack> if not more important
[19:44:53] *** Luser has quit IRC
[19:44:59] *** davidreis has quit IRC
[19:45:01] *** morenoh150 has joined #angularjs
[19:45:02] <dmack> it's a big mindset change for a lot of server side devs
[19:45:17] <dmack> to not send partials over the wire - even in 2014
[19:45:17] *** lilbaby has quit IRC
[19:45:20] *** Luser has joined #angularjs
[19:45:24] <nickeddy> scythe__: if you guys aren't set on the N part of your MEAN stack i would highly recommend sailsjs
[19:45:37] <nickeddy> scythe__: angular and sails feel so good to code together
[19:45:45] *** jsfreak has joined #angularjs
[19:45:46] <dmack> sails is nice
[19:46:00] *** DuelShark has quit IRC
[19:46:06] <scythe__> hmm anything more quantitative than that? haha
[19:46:10] <dmack> hehe
[19:46:16] *** DuelShark has joined #angularjs
[19:46:33] *** zumba_addict has joined #angularjs
[19:46:35] *** Luser has quit IRC
[19:46:42] *** jsfreak has quit IRC
[19:46:42] <nickeddy> scythe__: well you don't have to fuck around with building your API routes. blueprints give you automatic restful api routes
[19:46:49] *** night-owl is now known as zz_night-owl
[19:46:54] <zumba_addict> hi folks, what are your thoughts about fastclick on an angular app?
[19:46:54] *** Fuzzier has joined #angularjs
[19:46:59] *** richardlitt has joined #angularjs
[19:47:06] *** Luser has joined #angularjs
[19:47:21] *** HaagenSwe has left #angularjs
[19:47:28] <zumba_addict> i'm seeing different views. One blogger says not to use it with angular
[19:47:29] *** Luser has quit IRC
[19:47:49] *** teddyp1cker has joined #angularjs
[19:47:49] <nickeddy> zumba_addict: i'm guessing you're wanting to use it on mobile?
[19:47:49] <dmack> ngTouch handles that I think - if you include it.
[19:47:52] *** guilbep has joined #angularjs
[19:47:59] *** Luser has joined #angularjs
[19:47:59] *** DuelShark has quit IRC
[19:48:01] <zumba_addict> hi nickeddy, glad to see you
[19:48:06] *** dob_ has quit IRC
[19:48:08] *** cthrax has quit IRC
[19:48:33] <zumba_addict> yes for mobile
[19:48:34] *** Fuzzy has quit IRC
[19:48:46] *** DuelShark has joined #angularjs
[19:48:49] *** davi has joined #angularjs
[19:48:55] <Beg_> I'm wondering what the best practice is when navigating with ng-route and trying to fetch data for subsection?
[19:49:04] *** startupality has quit IRC
[19:49:05] <dmack> Beg_: probably resolves
[19:49:08] <Beg_> Should I use ng-init?
[19:49:13] <zumba_addict> but i only learned about the 300 ms delay today but not via the app. I learned it from a blog
[19:49:26] <dmack> zumba_addict: fast click is fine, it's not instrusive
[19:49:27] *** aquilaFiera has joined #angularjs
[19:49:30] <gladely> ctanga: it would be nice if when ui-router had a failed resolve() that the error indicated which resolve actually failed. Just bubbling the error of the promise that failed to the $stateChangeError is pretty hard to debug.
[19:49:33] <zumba_addict> k
[19:49:35] *** bahoo has quit IRC
[19:49:38] <dmack> zumba_addict: we used it on a project before converting it to Ionic
[19:49:43] <dmack> (which handles all that jazz)
[19:49:45] <nickeddy> gladely: make a pr! :)
[19:49:46] *** Luser_ has joined #angularjs
[19:49:55] *** Luser has quit IRC
[19:49:58] *** bahoo has joined #angularjs
[19:49:58] <zumba_addict> ah, i see ionic again. I want to learn it. Should I go with it?
[19:50:06] *** opiates has joined #angularjs
[19:50:09] *** Luser_ has quit IRC
[19:50:11] <zumba_addict> is it worth wasting time studying Ionic?
[19:50:11] <dmack> zumba_addict: if you're app is purely designed for mobile, absolutely
[19:50:21] <gladely> Yeah I'll setup a dev env for that this weekend. I have a couple PRs to do there.
[19:50:23] <dmack> it's not a desktop -> mobile framework. pure mobile IMO
[19:50:37] <dmack> ie. the components aren't designed with desktop in mind
[19:50:41] *** Luser has joined #angularjs
[19:50:44] <zumba_addict> my own problem will be purely for mobile but here at work, it's mainly desktop but they want to access it too on mobile
[19:50:49] *** Fuzzy has joined #angularjs
[19:50:50] <zumba_addict> lol
[19:50:55] <zumba_addict> my own project ....
[19:51:10] <zumba_addict> damn, my fingers have its own brain, hahaha
[19:51:24] *** Fuzzier has quit IRC
[19:51:26] *** yts has joined #angularjs
[19:51:41] <zumba_addict> that's great info dmack
[19:51:56] *** Una has joined #angularjs
[19:52:04] <dmack> ionic is sweet. we just finishuing up a warehousing application that integrates with a 3rd party scanning harness
[19:52:13] <dmack> completely mobile web, cordova, etc.
[19:52:16] *** Anton_ has quit IRC
[19:52:22] <dmack> no one knows it's not native
[19:52:28] *** Luser_ has joined #angularjs
[19:52:29] *** qdk has quit IRC
[19:52:32] *** Luser has quit IRC
[19:52:37] <dmack> minus swipe to go back. but that's apparently coming soon
[19:52:38] *** ngbot has joined #angularjs
[19:52:38]
<ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from a90216f to 24f9161: http://git.io/OJnqFg
[19:52:38] <ngbot> angular.js/browserstack-with-socketio-1_0 24f9161 Vojta Jina: WIP: run only unit tests on BS...
[19:52:38] *** ngbot has left #angularjs
[19:52:44] *** mikehaas763 has joined #angularjs
[19:52:46] *** teddyp1cker has quit IRC
[19:52:47] <zumba_addict> nice
[19:52:48] *** Luser_ has quit IRC
[19:52:52] *** ProLoser has joined #angularjs
[19:53:15] <zumba_addict> any sites you recommend that I can study/learn other than ionic's own website?
[19:53:21] *** Luser has joined #angularjs
[19:53:42] <zumba_addict> i'll also search youtube
[19:53:54] *** jacuqesdancona_ has joined #angularjs
[19:54:08] *** AlexBand has joined #angularjs
[19:54:08] *** sheplu has joined #angularjs
[19:54:14] *** ctanga has joined #angularjs
[19:54:17] *** lemur has joined #angularjs
[19:54:35] <mikehaas763> Anyone ever used angular extensively for non SPA's but in a more traditional full page cycle app? Just wondering if it beats using jquery and dom manipulation
[19:54:36] *** laurensclaessen has joined #angularjs
[19:54:37] *** OnkelTem has quit IRC
[19:54:55] *** Luser has quit IRC
[19:55:01] *** Efrem is now known as Efrem-Away
[19:55:06] *** ron1 has joined #angularjs
[19:55:08] *** Luser has joined #angularjs
[19:56:00] *** Luser_ has joined #angularjs
[19:56:00] *** Luser has quit IRC
[19:56:11] <nickeddy> i couldn't recommend using angular as not a SPA
[19:57:00] *** boxmein has joined #angularjs
[19:57:12] *** Anton_ has joined #angularjs
[19:57:17] *** ProLoser has quit IRC
[19:57:23] *** frankblizzar has quit IRC
[19:57:48] *** Luser has joined #angularjs
[19:57:48] *** frankblizzar has joined #angularjs
[19:57:48] *** nemothekid has quit IRC
[19:58:03] *** IvailoStoianov has quit IRC
[19:58:09] *** Luser has quit IRC
[19:58:10] *** mkusher has quit IRC
[19:58:10] *** canthugeverycat has quit IRC
[19:58:13] *** laurensclaessen has quit IRC
[19:58:15] *** Luser_ has quit IRC
[19:58:18] *** jacuqesdancona_ has quit IRC
[19:58:28] *** mkusher has joined #angularjs
[19:58:30] *** digisky has joined #angularjs
[19:58:38] *** canthugeverycat has joined #angularjs
[19:58:38] *** Luser has joined #angularjs
[19:58:45] *** laurensclaessen has joined #angularjs
[20:00:13] *** Luser has quit IRC
[20:00:29] *** Luser has joined #angularjs
[20:00:32] *** defaultdict has quit IRC
[20:00:40] *** defaultdict has joined #angularjs
[20:00:51] *** aquilaFiera has quit IRC
[20:00:56] *** Luser has quit IRC
[20:01:20] *** guilbep has quit IRC
[20:01:22] *** Luser has joined #angularjs
[20:01:42] *** Anton_ has quit IRC
[20:02:06] *** vassagus has joined #angularjs
[20:02:10] *** jr3 has joined #angularjs
[20:02:39] *** Oddman has quit IRC
[20:03:07] *** Luser_ has joined #angularjs
[20:03:10] *** Luser has quit IRC
[20:03:12] *** dseitz has joined #angularjs
[20:03:14] *** Oddman has joined #angularjs
[20:03:21] *** dcherman has joined #angularjs
[20:03:25] *** sirkitree is now known as sirkitree|afk
[20:03:37] *** Luser_ has quit IRC
[20:03:47] *** mary5030 has joined #angularjs
[20:04:01] *** Luser has joined #angularjs
[20:04:29] *** jMyles has joined #angularjs
[20:04:33] <scythe__> how would you guys recommend that one learn angular for a formal(see: job) setting from someone who previously had no programming experience. IN other words, become hirable
[20:05:04] *** Silne30 has joined #angularjs
[20:05:06] <scythe__> It’s my fallback plan in case app development doesn’t work out
[20:05:12] *** Oddman has quit IRC
[20:05:12] *** dannyc_ has joined #angularjs
[20:05:24] *** Oddman has joined #angularjs
[20:05:29] <dmack> mikehaas763: it depends on how complex the pages are.
[20:05:34] *** Luser has quit IRC
[20:05:34] *** rileylark has joined #angularjs
[20:05:45] *** dseitz has left #angularjs
[20:05:48] <dmack> just know you're reloading the angular lib each page refresh. gets expensive - out of the question for mobile really
[20:05:49] *** Luser has joined #angularjs
[20:05:54] *** dcherman2 has quit IRC
[20:06:18] *** Luser has quit IRC
[20:06:32] <mikehaas763> I don't think it would be too bad if it's cached
[20:06:39] *** Luser has joined #angularjs
[20:06:41] <merobertsjr> @scythe__ learn javascript -> jquery -> angular, if you are already into mobile then checkout ionic and the mean stack
[20:06:54] <wafflej0ck_> yeah agree with that but why not just use a SPA you can make it feel like a "traditional" website still
[20:07:10] <wafflej0ck_> I wouldn't say you need to learn jQuery
[20:07:24] <wafflej0ck_> agreeing with mikehaas763 about it being cached, but there is still the bootstrap time
[20:07:32] <lebster> with angular when i replace an array with another array, how come when i print the heapstack i still see those objects?
[20:07:33] <mikehaas763> wafflej0ck_, it's not about making it feel like a traditional site... it's about making an actual traditional site
[20:07:35] <dmack> yeah, i really just meant bootstrap
[20:07:47] <scythe__> merobertsjr: I went javascript -> jquery(ish) -> node(mainly express) -> angular now
[20:07:47] <wafflej0ck_> mikehaas763: why though is my question?
[20:07:58] <wafflej0ck_> mikehaas763: why would you reload parts you don't need to reload, what's the benefit
[20:08:04] *** beckyconning_ has quit IRC
[20:08:07] <mikehaas763> because often single page apps are out of the question
[20:08:09] *** richardlitt_ has joined #angularjs
[20:08:12] <dmack> angular is pretty good at form validation.
[20:08:14] <wafflej0ck_> example?
[20:08:17] <mikehaas763> for a multitude of reasons
[20:08:20] <mikehaas763> SEO
[20:08:24] *** OnkelTem has joined #angularjs
[20:08:25] <wafflej0ck_> prerender.io
[20:08:32] *** htmelvis has quit IRC
[20:08:33] *** Luser_ has joined #angularjs
[20:08:35] <wafflej0ck_> because REASONS isn't good enough :P
[20:08:36] <dmack> SEO for SPA's has pretety much been solved
[20:08:39] <nickeddy> lol
[20:08:40] *** Luser has quit IRC
[20:08:51] *** Luser_ has quit IRC
[20:08:58] *** Oxynum has quit IRC
[20:08:59] <scythe__> dmack: has it though?
[20:09:09] <dmack> mostly.
[20:09:10] <moogey> mikehaas763: We've done it on a couple pages. But those pages are basically nested SPA's in our top level application.
[20:09:13] *** Oxynum has joined #angularjs
[20:09:14] *** lemur has quit IRC
[20:09:16] <scythe__> That was my main contention with angular…the third parties which charge for it, that or some headless browser phantom/casper
[20:09:19] <mikehaas763> wafflej0ck_, I know of ALL the solutions to make the sites still crawl able... but increasing complexity in projects is a trade off and adding phatonmjs or prerender etc to the mix is doing just that
[20:09:22] *** Luser has joined #angularjs
[20:09:28] *** htmelvis has joined #angularjs
[20:09:41] <mikehaas763> dmack, in what way?
[20:09:43] *** Oxynum has quit IRC
[20:09:47] *** richardlitt has quit IRC
[20:09:47] *** richardlitt_ is now known as richardlitt
[20:09:49] *** lemur has joined #angularjs
[20:09:50] *** Lingos has joined #angularjs
[20:09:52] <mikehaas763> dmack, what do you mean by solved is what I'm asking
[20:10:01] *** dannyc_ has quit IRC
[20:10:09] <dmack> there are options out there, was what I was saying
[20:10:12] <dmack> it's not trivial
[20:10:17] *** krawchyk has quit IRC
[20:10:25] <wafflej0ck_> mikehaas763: I agree there's more complexity in an Angular app but once you've done it once then cloning it and starting with your existing knowledge it's faster than developing sites with out it in my experience, but I'm used to frameworks too
[20:10:26] <dmack> most SPAs, SEO isn't their top priority
[20:10:33] <dmack> if even on the radar at all
[20:10:38] <mikehaas763> wafflej0ck_, and to answer your parts... the point of using angular in that way isn't to reload certain parts... it's just to provide interaction etc throughout the website using nice databinding, etc.
[20:10:46] *** Foxandxss has joined #angularjs
[20:10:51] *** i_am_nader has quit IRC
[20:11:01] <merobertsjr> @wafflej0ck_ you don't have to learn jquery but you should before Angular, yes its more under the hood stuff, but it helps to firmly understand AJAX before you jump to the magical land of angular.
[20:11:04] *** morenoh150 has quit IRC
[20:11:05] <scythe__> personally I feel that angular is good for quickly developing an MVP
[20:11:06] <dmack> hell Google spider already executes javascript
[20:11:09] *** Luser has quit IRC
[20:11:14] *** Luser_ has joined #angularjs
[20:11:15] <dmack> has been for some time
[20:11:15] *** tristanp has quit IRC
[20:11:21] <mikehaas763> wafflej0ck_, I've been using Angular for over 2 years I know what it's like to develop with lol. I'm not talking about complexity from a coding standpoint... I'm talking about complexity from a business standpoint.
[20:11:30] *** Sky[x] has quit IRC
[20:11:33] *** Luser_ has quit IRC
[20:11:39] <dmack> I did use Angular on a wordpress site once
[20:11:42] <mikehaas763> dmack... which is why I'm NOT trying to build an SPA
[20:11:42] *** morenoh150 has joined #angularjs
[20:11:48] <dmack> just because I didn't want to deal with DOM manipulation
[20:12:04] *** Luser has joined #angularjs
[20:12:16] *** jonasliljestrand has joined #angularjs
[20:12:17] <dmack> angular just replaced jquery, basically
[20:12:26] <mikehaas763> dmack, bull shit
[20:12:31] *** mtsr has joined #angularjs
[20:12:31] <dmack> ??
[20:12:33] <nickeddy> lol
[20:12:38] <mikehaas763> I'm jk
[20:12:38] <dmack> why?
[20:12:43] <dmack> lol
[20:12:48] <dmack> ok, was gonna say
[20:12:54] *** TheAceOfHearts has joined #angularjs
[20:13:00] *** Anonymous has joined #angularjs
[20:13:08] <mikehaas763> but that's what I'm saying I just would like to use Angular to replace what I would be doing with jquery and manual dom manipulation on a traditional website
[20:13:17] <dmack> I say go for it.
[20:13:24] <dmack> it'll make your code cleaner
[20:13:31] <scythe__> yeah do it
[20:13:47] *** Luser has quit IRC
[20:13:47] <dmack> use 1.3, and say f*ck off to IE8
[20:13:51] *** Luser_ has joined #angularjs
[20:13:52] <scythe__> I wish I could pay $1000 and instantly know what I need to know for angular
[20:14:11] *** jr3 has quit IRC
[20:14:13] *** lilbaby has joined #angularjs
[20:14:14] *** Luser_ has quit IRC
[20:14:24] *** tkh44 has quit IRC
[20:14:25] <scythe__> every google search or stackoverflow leads down the rabbit hole of 40 tabs open
[20:14:32] *** lemur has quit IRC
[20:14:34] <mikehaas763> Right, the idea of using Angular to essentially just replace jquery sounds great in theory... so what I was originally asking is just for opinions on it for people that have actually done it
[20:14:46] *** Luser has joined #angularjs
[20:14:46] <bradmaxs> <blah ng-repeat="printer in printers" ng-class="{'active': $first}"> I am the db with $interval every two seconds. Using bootstrap tabs, if I switch to another tab, therefore removing active and adding it to the other tab, as soon as the data updates, it sends me back to the first tab. Not sure how to solve this?
[20:15:07] *** dc_ has joined #angularjs
[20:15:13] <scythe__> mikehaas it’s why I’m learning angular in the first place to reduce code clutter and do exactly that. I’m making a music service (see spotify/pandora/grooveshark etc copy)
[20:15:47] *** lilbaby has quit IRC
[20:16:14] *** Luser has quit IRC
[20:16:25] *** JoshGlzBrk has joined #angularjs
[20:16:34] *** Luser has joined #angularjs
[20:16:36] <mikehaas763> Yep, I still have projects that NEED to be a traditional MVC site but they still have a fair amount of interactive components throughout the site meaning traditionally I use jquery and manual dom manipulation. So just gonna give using angular to replace that a shot
[20:16:41] <dmack> mikehaas763: i've done it, it works.
[20:16:54] *** Luser has quit IRC
[20:16:59] *** jr3 has joined #angularjs
[20:17:00] *** lexek_ has joined #angularjs
[20:17:07] *** _dc_ has quit IRC
[20:17:08] *** hearson has quit IRC
[20:17:09] <dmack> form validation comes for free
[20:17:11] <dmack> etc.
[20:17:17] *** oste has quit IRC
[20:17:25] *** Luser has joined #angularjs
[20:17:29] *** oste has joined #angularjs
[20:17:37] *** Oddman has quit IRC
[20:17:44] *** _dc_ has joined #angularjs
[20:17:59] <nickeddy> i'd read that before i start
[20:18:03] *** dacuca has joined #angularjs
[20:18:04] <nickeddy> sounds like you're pretty attached to jquery so
[20:18:08] *** Johnny13371337 has joined #angularjs
[20:18:14] *** ron1 has quit IRC
[20:18:14] *** gjaldon has quit IRC
[20:18:28] *** mary5030 has quit IRC
[20:18:37] *** tkh44 has joined #angularjs
[20:18:39] *** cellofellow has joined #angularjs
[20:18:42] *** Luser has quit IRC
[20:18:54] <mikehaas763> nickeddy, you must not have read back far enough. I was one of the early adopters of angular
[20:19:03] *** mary5030 has joined #angularjs
[20:19:06] *** jdivock has joined #angularjs
[20:19:07] <mikehaas763> and I read that SO when it was basically first posted
[20:19:08] *** Luser has joined #angularjs
[20:19:28] *** grogs has quit IRC
[20:19:32] *** Luser has quit IRC
[20:19:38] *** mary5030 has quit IRC
[20:19:38] <nickeddy> well read it again
[20:19:43] *** mary5030_ has joined #angularjs
[20:19:57] *** morenoh150 has quit IRC
[20:20:06] *** Oddman has joined #angularjs
[20:20:17] *** Luser has joined #angularjs
[20:21:16] *** ahtik has joined #angularjs
[20:21:51] *** _dc_ has quit IRC
[20:22:57] *** krawchyk has joined #angularjs
[20:23:15] *** jdj_dk has joined #angularjs
[20:23:42] *** krawchyk has joined #angularjs
[20:23:54] *** DuelShark has quit IRC
[20:23:57] <wafflej0ck_> hehe, mikehaas763 I can see your point about embedding into other CMSes or whatever there are cases for it just sayin' I've done a fair amount of sites that could have been done as non-SPA/traditional sites but personally don't see any advantage anymore (had to step away for a call there), also no experience in trying embedding angular in other sites so not sure how that works out in practice
[20:24:07] *** DuelShark has joined #angularjs
[20:24:28] *** krawchyk has joined #angularjs
[20:24:41] *** _dc_ has joined #angularjs
[20:25:17] <wafflej0ck_> merobertsjr: I came from a Flex background so there are lots of parallels you can draw between the frameworks (same for anyone with a Silverlight background) I feel like jQuery just hides some of the ugliness of browser incompatibilities but if you've worked with async in other languages or frameworks then AJAX itself is already pretty well covered for you in $http just like in $.ajax
[20:25:18] *** krawchyk has joined #angularjs
[20:25:24] *** krawchyk has quit IRC
[20:25:25] *** _dc__ has joined #angularjs
[20:25:59] <mikehaas763> wafflej0ck_, so long as you use the "personally" to explain your opinion, I'll respect your opinion lol
[20:26:06] *** krawchyk has joined #angularjs
[20:27:01] *** krawchyk has joined #angularjs
[20:27:25] *** apetro_ has joined #angularjs
[20:27:26] <nickeddy> SEO isn't an issue with angular. that's literally not opinion.
[20:27:27] <mikehaas763> wafflej0ck_, Yep, I did a large amount of WPF development several years back. There's actually a video of Misko filmed probably 4 years ago where he equates angular binding to wpf data binding
[20:27:33] *** koleS has joined #angularjs
[20:27:34] <mikehaas763> nickeddy, bull shit
[20:27:40] <nickeddy> haha okay.
[20:27:44] <nickeddy> welcome to ignore.
[20:27:49] *** krawchyk has joined #angularjs
[20:27:52] <mikehaas763> Explain to me how it's not an issue?
[20:28:12] *** MistahKurtz has joined #angularjs
[20:28:17] *** digisky has quit IRC
[20:28:35] <Foxandxss> nickeddy: your ignore list will blow up your free space :P
[20:28:37] *** davi has quit IRC
[20:28:41] *** disorder20 has joined #angularjs
[20:29:03] <mikehaas763> He seriously ignored me?
[20:29:11] <nickeddy> Foxandxss: must get bigger hdd
[20:29:13] <nickeddy> Foxandxss: :P
[20:29:25] <Foxandxss> mikehaas763: don't know :P
[20:29:38] *** aslate has joined #angularjs
[20:29:44] *** _dc_ has quit IRC
[20:30:07] *** kevinh has joined #angularjs
[20:30:19] <mikehaas763> If you make blanket and ignorant statements like "SEO isn't an issue with angular. that's literally not opinion." be prepared to back them up. People forget that I was dealing with these types of SPA issues years ago.
[20:30:19] <nickeddy> ctanga: did you end up trying gulp-sass?
[20:30:25] <ctanga> I did not
[20:30:32] <ctanga> it’s working good enough for now
[20:31:01] *** tkh44 has quit IRC
[20:31:07] *** azizur has quit IRC
[20:31:10] *** roqo has quit IRC
[20:31:10] *** roqo has joined #angularjs
[20:31:17] *** elrabin has quit IRC
[20:31:17] *** tristanp has joined #angularjs
[20:31:24] <merobertsjr> @wafflej0ck_ I was speaking purely for someone that is comming from a non programming background. With experience you can go 0-60 in any new language or framework. Going strait from vanilla JS to Angular is an impressive leap, and Angular will seem frighteningly easy at first, and then a new programmer will hit a wall. Then will have to go back and understand the digest
[20:31:24] <merobertsjr> cycle, etc. I think it helps to go more naturally through JS, jQuery, and then Angular, which is how the frameworks evolved anyways...
[20:31:49] *** elrabin has joined #angularjs
[20:31:53] *** JohnBat26 has quit IRC
[20:32:17] <nickeddy> merobertsjr: that's essentially how i learned it. i feel like i could have skipped jquery though, because it teaches some really bad habits
[20:32:19] *** richardlitt has quit IRC
[20:32:26] *** avree has joined #angularjs
[20:32:37] *** jdj_dk has quit IRC
[20:32:47] *** doodlehaus has joined #angularjs
[20:32:54] <Foxandxss> that is sooo subjective
[20:32:56] <Foxandxss> subjetive*
[20:33:01] <nickeddy> true
[20:33:02] *** meisth0th has quit IRC
[20:33:03] <Sawbones_> I've never had an issue with angular's digest
[20:33:05] <Foxandxss> there are a lot of different ways to learn
[20:33:05] *** babykosh has quit IRC
[20:33:20] <Sawbones_> I feel that a lot of people just setup their angular app wrong
[20:33:24] <Foxandxss> my way is maybe not your way, that doesn't mean my way or your way is wrong
[20:34:00] *** aslate has quit IRC
[20:34:01] *** soee_ has joined #angularjs
[20:34:16] <Sawbones_> I see so many people complain about having issues with digest. Not sure when I'll have an issue
[20:34:40] <nickeddy> Foxandxss: oh i'm not saying anyone's way of learning is wrong, just what worked for me
[20:34:54] <Foxandxss> not saying that either
[20:35:09] <nickeddy> haha then we agree :P
[20:35:40] *** tristanp has quit IRC
[20:35:52] <wafflej0ck_> yeah agree with nickeddy here I think it can ingrain some bad practices you have to unlearn, I hear ya though going from nothing to angular is a bit ridiculous definitely need a pretty solid grasp on JS itself or some sort of programming before jumping into learning a framework
[20:35:56] *** AlexBand has left #angularjs
[20:35:58] <wafflej0ck_> merobertsjr: ^
[20:36:02] *** capreolus has joined #angularjs
[20:36:59] *** soren_engel has joined #angularjs
[20:37:36] *** htmelvis has quit IRC
[20:37:38] *** richiebkr has joined #angularjs
[20:37:47] *** mtsr has quit IRC
[20:37:59] *** capreolus has quit IRC
[20:38:01] *** soee has quit IRC
[20:38:06] *** mtsr has joined #angularjs
[20:38:13] <wafflej0ck_> I started off in the 90s (as a curious kid) playing with HTML/JS but then ventured off into learning C and Java and AS3/Flex and since that was as sinking ship jumped into Angular, so it's hard for me to think about what it would be like to start off having to learn something like Angular
[20:39:10] *** lilbaby has joined #angularjs
[20:39:46] *** soren_engel has quit IRC
[20:39:54] *** dman777_alter has quit IRC
[20:40:00] *** Snugug has quit IRC
[20:40:21] *** mahomaho has joined #angularjs
[20:40:25] <Sawbones_> Angular was my first js framework aside from jquery, it had a learning curve
[20:40:33] *** dob__ has quit IRC
[20:40:36] *** PeterMetz has joined #angularjs
[20:40:42] *** Snugug has joined #angularjs
[20:40:42] <TheAceOfHearts> the problem is that there's not many good examples~
[20:40:46] <TheAceOfHearts> a lot of really shitty examples online
[20:40:58] *** JoshGlzBrk has quit IRC
[20:40:59] *** dob_ has joined #angularjs
[20:41:02] <Sawbones_> I think all the good stuff is just scattered
[20:41:14] <TheAceOfHearts> that would imply that there's good stuff
[20:41:15] *** elyssonmr has quit IRC
[20:41:29] <Sawbones_> TheAceOfHearts: There's tone of good reading
[20:41:31] *** ChadStrat has quit IRC
[20:41:34] *** mclenithan has joined #angularjs
[20:41:40] <Sawbones_> tons*
[20:41:41] *** soren_engel has joined #angularjs
[20:41:43] *** lilbaby_ has joined #angularjs
[20:41:48] *** Fishy has joined #angularjs
[20:41:50] *** lilbaby has quit IRC
[20:42:00] <scythe__> scotch.io kills it, if only they had more guides/tutorials
[20:42:02] <Foxandxss> yes, angular definitely has a learning curve
[20:42:09] <Sawbones_> scotch.io is the shit.
[20:42:17] *** lsiv568 has quit IRC
[20:42:20] *** phzon has joined #angularjs
[20:42:21] <TheAceOfHearts> as much as I dislike what I've seen from angular 2.0, at least they're making stuff simpler
[20:42:25] *** lilbaby_ has quit IRC
[20:42:28] <Sawbones_> I also saw a good article on structuring your app, havent had a problem yet
[20:42:39] *** lilbaby has joined #angularjs
[20:42:40] <Sawbones_> See, I never saw angular as that complicated
[20:42:44] *** Efrem-Away is now known as Efrem
[20:42:44] *** Fishy_ has quit IRC
[20:42:55] <TheAceOfHearts> the module system is stupid
[20:42:56] <Sawbones_> Just took awhile to understand what two way db actually meant
[20:42:57] <TheAceOfHearts> it should die
[20:43:07] <Sawbones_> TheAceOfHearts: Why is it stupid?
[20:43:19] <nickeddy> TheAceOfHearts: module system for angular 1.x?
[20:43:24] <TheAceOfHearts> yeah
[20:43:32] <nickeddy> cause 2.0 is just using es6 modules yeah?
[20:43:41] <TheAceOfHearts> yeah, es6 modules are iffy too
[20:43:45] <Slim> I can't figure out what scotch.io based off of their website :P Seems they need some kind of header to explain
[20:43:52] <nickeddy> TheAceOfHearts: how so?
[20:43:54]
<ctanga> has anyone put angular examples into stackoverflow? I get this error when updating the url: Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://stacksnippets.net/js#/home' cannot be created in a document with origin 'null'.
[20:43:54] *** ron1 has joined #angularjs
[20:44:29] *** dweave has joined #angularjs
[20:44:30] <TheAceOfHearts> just too immature; I'm not sure the problems it solves over commonjs make it worthwhile
[20:44:35] <Sawbones_> Pretty easy for me, just drop the name in the array for dependency and inject it into any controller on that module
[20:44:35] <ctanga> (when navigating to a ui-router ‘home’ state)
[20:44:37] <TheAceOfHearts> and well, we already have CommonJS and 100k~ modules
[20:44:39] <Slim> What is scotch.io? Are they a dev team or something?
[20:44:41] <TheAceOfHearts> I find that a lot more compelling
[20:44:46] *** yelvert has joined #angularjs
[20:44:49] <TheAceOfHearts> I figure es6 modules will be great in 5 or 10 years
[20:44:50] *** tristanp has joined #angularjs
[20:45:03] <nickeddy> TheAceOfHearts: i'd say it's too early to tell
[20:45:10] *** laurensclaessen has quit IRC
[20:45:18] *** Una_ has joined #angularjs
[20:45:19] *** dob_ has quit IRC
[20:45:20] <nickeddy> and who knows
[20:45:31] *** noob_ has quit IRC
[20:45:39] <nickeddy> Slim: it's a tutorial site
[20:45:42] <Sawbones_> I'd love to see all these techs mature, they are all so young
[20:45:44] *** Una has quit IRC
[20:45:54] <Sawbones_> I'd like to see Ang 2.0 and what it will do for me.
[20:46:00] <TheAceOfHearts> the web is a schizophrenic mess
[20:46:17] <Slim> thanks, nickeddy.
[20:46:22] <Sawbones_> It's not that bad, it's just libraries that are getting pumped our and abandoned
[20:46:24] *** robdubya has quit IRC
[20:46:29] <Sawbones_> at the drop of a hat
[20:46:38] <TheAceOfHearts> no, it starts from the browser level
[20:46:39] *** Linell has quit IRC
[20:46:42] *** phzon has quit IRC
[20:46:43] *** ngbot has joined #angularjs
[20:46:43]
<ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from 24f9161 to 0568811: http://git.io/OJnqFg
[20:46:43] <ngbot> angular.js/browserstack-with-socketio-1_0 0568811 Vojta Jina: WIP: run only unit tests on BS...
[20:46:44] *** ngbot has left #angularjs
[20:46:57] *** sirkitree|afk is now known as sirkitree
[20:47:03] <TheAceOfHearts> if you wanna make a secure app
[20:47:06] <TheAceOfHearts> you have to take so many precautions
[20:47:13] *** scythe__ has quit IRC
[20:47:16] *** dcherman2 has joined #angularjs
[20:47:29] <TheAceOfHearts> if you wanna make a public-facing app with good SEO you have to handle all of these meta tags
[20:47:35] <Sawbones_> You still have to take precautions on a desktop app too
[20:47:47] <TheAceOfHearts> the problem
[20:47:50] *** scythe__ has joined #angularjs
[20:47:55] <TheAceOfHearts> is that there's no good place where you can just learn what you need to do
[20:48:04] <TheAceOfHearts> you have to google around
[20:48:06] *** qdk has joined #angularjs
[20:48:10] *** frankblizzar has quit IRC
[20:48:15] <scythe__> that’s really the worst part
[20:48:28] *** soren_engel has quit IRC
[20:48:35] <Sawbones_> JS devs don't care about documentation
[20:48:42] <TheAceOfHearts> I don't think that's true
[20:48:45] *** frankblizzar has joined #angularjs
[20:49:00] <TheAceOfHearts> I think JS devs are actually pretty good at putting out docs, especially compared to Java libs
[20:49:04] <Sawbones_> Hipster JS Devs
[20:49:14] <TheAceOfHearts> I go look up a node lib in github and it's just the readme
[20:49:34] <TheAceOfHearts> in java they have jdocs and they just expect you to read through all their crap
[20:49:40] <TheAceOfHearts> I don't wanna look at your code unless I have to
[20:49:45] <scythe__> agreed
[20:49:53] *** frankblizzar has quit IRC
[20:49:53] *** dcherman has quit IRC
[20:49:55] <Foxandxss> that is why my readmes rock
[20:49:56] <Foxandxss> ha
[20:49:57] <Foxandxss> :P
[20:50:07] *** koken has quit IRC
[20:50:23] *** fifthofwry has joined #angularjs
[20:50:37] *** samuel02 has joined #angularjs
[20:50:45] *** soren_engel has joined #angularjs
[20:50:48] <scythe__> dont worry guys when I become a billionaire Ill ensure that there will be appropriate documentation for all popular development frameworks out there
[20:50:49] *** fifthofwry has quit IRC
[20:50:53] *** WaSS has joined #angularjs
[20:51:04] <Sawbones_> I also use angular because it's the best thing I've used so far
[20:51:08] *** doginal has quit IRC
[20:51:08] <nickeddy> scythe__: i'm going to hold you to that
[20:51:12] <scythe__> with step by step tutorials from how to make hello world to twitter so anyone can do it
[20:51:21] <scythe__> nickeddy you wouldn’t be the first or the last haha
[20:51:23] <Sawbones_> I've used quite a few js frameworks and they all disappoint me
[20:51:46] <nickeddy> Sawbones_: same
[20:51:50] <wafflej0ck_> it is dying in 2.x I heard from a birdy
[20:51:59] <wafflej0ck_> oh sorry wrong chat
[20:52:15] <nickeddy> wafflej0ck_: scared me there
[20:52:19] <wafflej0ck_> haha
[20:52:22] <nickeddy> OH GOD WHATS DYING
[20:52:33] <Sawbones_> nickeddy: I tried React for a solid two weeks and thought it was crap
[20:52:48] <scythe__> sawbones_ any reason why?
[20:52:59] <wafflej0ck_> Now I am become Death, the destroyer of worlds
[20:53:13] *** zanea|away is now known as zanea
[20:53:14] <scythe__> I was ultimately thinking of porting my apps in angular to react once I figured out how to program efficiently anyway
[20:53:16] <dweave> i’m having trouble understanding how to add a css transition to an ng-repeat.. Problem is I don’t want the animation added when it first loads. Only to subsequent items added to the list
[20:53:29] *** ngbot has joined #angularjs
[20:53:30]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/0EdH9A
[20:53:30] <ngbot> angular.js/browserstack-with-socketio-1_0 e5e80e5 Vojta Jina: WIP: re-enable e2e
[20:53:30] *** ngbot has left #angularjs
[20:53:42] <dweave> my list can contain N items at load time
[20:53:51] *** Slowintrepid has quit IRC
[20:53:51] <Sawbones_> scythe__: It's a Masochist Library, it has no prominent features and it's not using the DRY paradigm.
[20:54:48] *** drej|work has joined #angularjs
[20:54:51] <Sawbones_> scythe__: I through it the towel when I had to create a form and they told me that I'm suppose to hook an on change even handler for every form element that has a value, also chaining callbacks because there's no parent or child scope between components
[20:54:59] <drej|work> quick q, how does one go about handling on page anchors using #tags within angular
[20:55:03] <drej|work> and not interfering with existing routing
[20:55:25] *** Fuzzier has joined #angularjs
[20:55:45] <scythe__> haha I see
[20:55:47] <dweave> drej|work i think $location has a method for that
[20:56:02] *** Fuzzy has quit IRC
[20:56:05] <nickeddy> dweave: are you using ng-class or ng-style?
[20:56:05] <Foxandxss> $anchorscroll
[20:56:21] <dweave> nickeddy i’m using neither yet
[20:56:25] <dweave> i’d probably use ng-class
[20:56:53] <nickeddy> dweave: you could do an expression in ng-class. ng-class="{'some-class': !$first}" maybe?
[20:56:57] <Sawbones_> Sorry, I'm sill harboring irritation that I'll never get those two weeks back
[20:57:06] <dweave> nickeddy ahhh
[20:57:13] <dweave> that seems really obvious now
[20:57:15] *** Rahul_Roy_ has quit IRC
[20:57:15] <dweave> thanks
[20:57:18] <nickeddy> dweave: np
[20:57:23] <scythe__> Im glad I didn’t try to learn React then, thank you
[20:57:29] <drej|work> thanks Foxandxss
[20:57:37] <Foxandxss> scythe__: never trust others
[20:57:39] <Foxandxss> included me
[20:57:42] *** richiebkr has quit IRC
[20:57:47] *** laurensclaessen has joined #angularjs
[20:57:54] *** RangerRick has quit IRC
[20:57:57] *** sk87 has joined #angularjs
[20:57:57] *** RangeRick has joined #angularjs
[20:58:22] *** ZGirl has joined #angularjs
[20:58:42] *** moscownights has joined #angularjs
[20:58:47] <moscownights> hi all
[20:59:11] <ZGirl> Hello - I’m trying to recompile an existing DOM element in my directive ($compile(el.contents())($scope)). It looks like this is causing duplicate event handlers (to be expected). I’m curious if there’s a way to unbind event handlers before recompiling?
[20:59:20] <moscownights> lets say I have a very basic app with only 3 routes
[20:59:40] <moscownights> ehm, /foo, /flah, /fooflahflah
[20:59:45] *** sk87 has quit IRC
[20:59:59] *** jr3 has quit IRC
[21:00:01] <moscownights> id like to have one route in routeProvider like /:page
[21:00:08] *** chrisbirk has joined #angularjs
[21:00:16] *** htmelvis has joined #angularjs
[21:00:19] <moscownights> right now i check the routeParam in a BaseCtrl
[21:00:28] <moscownights> whether page is indeed foo, flah or fooflahflah
[21:00:38] <moscownights> and depending on the result redirect back to /
[21:00:42] <moscownights> this is ugly
[21:00:45] <moscownights> and not the way to go
[21:01:02] *** krawchyk has quit IRC
[21:01:05] <scythe__> Foxandxss: society is built on trust haha I’ll take my chances
[21:01:12] *** fedenunez1 has quit IRC
[21:01:13] <nickeddy> moscownights: you're using ngRoute i'm guessing?
[21:01:18] <moscownights> nickeddy: right
[21:01:20] *** nemothekid has joined #angularjs
[21:01:30] *** RobinBAwesome has quit IRC
[21:01:31] <moscownights> dont mind using ui route
[21:01:33] <nickeddy> moscownights: i'd recommend moving over to ui-router
[21:01:36] <moscownights> if thats a bette rimplementation
[21:01:36] <nickeddy> yeah
[21:01:39] <moscownights> fair enough
[21:01:40] <nickeddy> it is
[21:01:44] <moscownights> i havent used it yet, ill have a look
[21:01:53] <moscownights> thanks nickeddy
[21:02:04] *** sl33k_ has quit IRC
[21:02:11] <nickeddy> moscownights: you can do onEnter callbacks for redirecting away from a state
[21:02:19] <moscownights> out of interest, is it possible to do this with the default ngRoute
[21:02:29] <moscownights> i was looking at using resolve
[21:02:31] <nickeddy> oh
[21:02:38] <moscownights> throwing an error when it wasnt an existing page
[21:02:39] *** krawchyk has joined #angularjs
[21:02:44] <moscownights> and catching the error
[21:02:45] *** krawchyk has quit IRC
[21:02:46] <moscownights> and redirecting
[21:02:53] <moscownights> which made me sad :p
[21:03:19] <nickeddy> moscownights: you can do $urlRouterProvider.otherwise('/');
[21:03:23] *** krawchyk has joined #angularjs
[21:03:27] *** TheAceOfHearts has quit IRC
[21:03:28] <nickeddy> moscownights: or whatever url
[21:03:46] <ctanga> otherwise can take a function too
[21:04:06] <nickeddy> that too
[21:04:30] *** lilbaby has quit IRC
[21:04:44] *** lilbaby has joined #angularjs
[21:05:17] <hernan> bah, im not understanding how to make {{something}} trasnformed into: <canvas id='something'> with some draweing </canvas>
[21:05:20] *** avree has quit IRC
[21:05:27] <christo_m> dmack: i guess 'mousedown' doesn't work on mobile devices ??
[21:06:26] *** ianpirro has joined #angularjs
[21:06:27] <nickeddy> christo_m: ngTouch may be what you want
[21:08:15] *** lsiv568 has joined #angularjs
[21:08:35] <christo_m> nickeddy: hmm decided to use touchmove touchstart etc instead
[21:08:44] *** ZGirl has quit IRC
[21:08:56] *** ingsoc has quit IRC
[21:08:59] <nickeddy> that'll work :)
[21:09:07] *** charuru has joined #angularjs
[21:09:09] <christo_m> i wanted to use ionic drag
[21:09:11] <christo_m> but its far too slow.
[21:09:13] *** bbankes_ has joined #angularjs
[21:09:26] <christo_m> well, especially when trying to send delta x,y's over tcp
[21:09:38] <nickeddy> christo_m: may be that you want to debounce sending those
[21:09:49] *** WaSS has quit IRC
[21:09:53] <christo_m> debounce??
[21:10:19] *** Oxynum has joined #angularjs
[21:10:33] *** Fuzzy has joined #angularjs
[21:10:47] *** lilbaby_ has joined #angularjs
[21:10:52] *** lilbaby has quit IRC
[21:10:59] *** adpirz has joined #angularjs
[21:11:04] *** loverajoel has quit IRC
[21:11:06] <christo_m> nickeddy: how will this help me?
[21:11:09] *** soren_engel has quit IRC
[21:11:18] <nickeddy> by slowing down the updates
[21:11:33] <christo_m> hmm
[21:11:39] *** lsiv568 has quit IRC
[21:11:40] *** danecando has quit IRC
[21:11:44] *** walden is now known as walden|brb
[21:12:27] *** bbankes has quit IRC
[21:12:38] *** BlinkyBill has joined #angularjs
[21:12:43] <christo_m> nickeddy: yes there is some major jitter
[21:12:47] *** Fuzzier has quit IRC
[21:12:49] <christo_m> ive been trying to resolve it all day
[21:13:13] <christo_m> i thought i would try native js touch stuff rather than use ionic's drag because it wasnt working well
[21:13:22] *** dob_ has joined #angularjs
[21:13:24] <christo_m> nickeddy: i guess ideally id want to slow down the event sending to 60 fps
[21:13:35] *** a3gis has quit IRC
[21:13:36] *** bbankes_ has quit IRC
[21:13:53] <nickeddy> christo_m: so debounce at 16ms
[21:14:20] <christo_m> it looks like debounce is a directive parameter
[21:14:25] <christo_m> am i able to just shoehorn it into what im doing though?
[21:14:33] <christo_m> ive written a custom <mouse-pad> element
[21:14:39] <nickeddy> christo_m: i don't know.. was assuming you're using ng-model somewhere
[21:14:44] *** bbankes has joined #angularjs
[21:14:47] *** defaultdict has quit IRC
[21:15:01] *** Oxynum has quit IRC
[21:15:14] <christo_m> oh no
[21:15:18] *** ahtik has quit IRC
[21:15:22] <christo_m> nickeddy: i have a link function in my directive
[21:15:23] *** adpirz has quit IRC
[21:15:33] <christo_m> and im listening for events on the element
[21:15:50] <dmack> christo_m: isn't it touchstart?
[21:15:51] *** defaultdict has joined #angularjs
[21:15:58] <dmack> and yeah, probably have to debounce it
[21:16:04] <christo_m> dmack: ill show you what i have
[21:16:05] <dmack> lodash _.debounce is good for that
[21:16:14] <dmack> since you're not able to use modelOptions
[21:16:27] *** jonr22 has quit IRC
[21:16:33] <christo_m> theres a mix of two approaches there
[21:16:44] <christo_m> ive commented out the drag method
[21:16:55] *** scythe__ has quit IRC
[21:17:02] *** jonr22 has joined #angularjs
[21:17:05] <dmack> much math. such headache
[21:17:11] <christo_m> you can ignore most of it
[21:17:14] *** sahbeewah has joined #angularjs
[21:17:22] <dmack> element.on('touchstart')
[21:17:27] <christo_m> how would i debounce
[21:17:42] <dmack> well, you would debounce the mousemove parth
[21:17:51] *** tyfighter has quit IRC
[21:18:01] <TweedleDee> i'm obviously doing something wrong but I'm trying to format my json using the angular | json filter, in the html I have <div ng-controller=myController> {{ctrl.TSLEmployeeApplication | json:4}}</div> for some reason it still gives me one huge line of json...
[21:18:16] <dmack> TweedleDee: json takes an argument?
[21:18:22] <christo_m> oh i need a library..
[21:18:26] <dmack> christo_m: no
[21:18:27] <TweedleDee> yeah, number of spaces, tried with and without
[21:18:28] *** Fire-Dragon-DoL has joined #angularjs
[21:18:28] <christo_m> wtf isnt this underscore?
[21:18:31] *** Fire-Dragon-DoL has quit IRC
[21:18:34] <dmack> it's a better underscore
[21:18:36] <dmack> (basically)
[21:18:44] <dmack> it started as a fork
[21:18:46] <nickeddy> christo_m: it's a superset of underscore that's better in performance/testing
[21:18:46] <christo_m> is it part of angular already?
[21:18:50] <dmack> nope.
[21:18:55] <christo_m> okay.. so i need to dl it
[21:18:57] *** Fire-Dragon-DoL has joined #angularjs
[21:18:58] <dmack> i'm sure you could do it with raw JS
[21:18:59] *** Sky[x] has joined #angularjs
[21:19:02] <christo_m> lawl
[21:19:04] <dmack> but...why re-invent the wheel
[21:19:05] <dmack> lol
[21:19:08] *** Lingos has quit IRC
[21:19:15] *** IvailoStoianov has joined #angularjs
[21:19:15] *** Linell has joined #angularjs
[21:19:17] <dmack> basically you could just do
[21:19:28] *** vlcn has quit IRC
[21:19:35] <dmack> $document.on('touchmove', _.debounce(mousemove, 200));
[21:19:40] <dmack> shoullld work
[21:19:43] <christo_m> hmm
[21:19:44] <dmack> no promises
[21:19:55] *** diosney has quit IRC
[21:20:04] *** bbankes has quit IRC
[21:20:17] *** vlcn has joined #angularjs
[21:20:38] *** Marble68 has joined #angularjs
[21:20:45] *** richardlitt has joined #angularjs
[21:20:46] *** teddyp1cker has joined #angularjs
[21:20:56] *** opiates has quit IRC
[21:21:15] *** jonr22 has quit IRC
[21:21:16] *** tkh44 has joined #angularjs
[21:21:49] <dmack> I include lodash by default in every project. so useful
[21:21:54] <dmack> and performant.
[21:22:01] *** MaxV has joined #angularjs
[21:22:08] *** AWAW has quit IRC
[21:22:19] *** cvsxfdvg has joined #angularjs
[21:22:32] <christo_m> well gonna try again
[21:22:34] <christo_m> then gonna try with drag.
[21:22:45] *** dISKRET has quit IRC
[21:22:48] *** cvsxfdvg has quit IRC
[21:22:51] *** wallerdev has quit IRC
[21:22:57] *** dob_ has quit IRC
[21:23:06] *** dISKRET has joined #angularjs
[21:23:07] <dmack> just know you're implementing a mouse pad.
[21:23:09] <dmack> pretty cool
[21:23:21] <dmack> open source magic trackpad
[21:23:24] *** dob_ has joined #angularjs
[21:23:32] <christo_m> dmack: www.apptui.com
[21:23:36] <christo_m> thats the product as is.
[21:23:37] *** braineet has joined #angularjs
[21:23:42] <braineet> Hi guys !
[21:23:49] <christo_m> you can try the mouse on there, its pretty good, but damn is the source complicated for it
[21:23:54] <dmack> "@apptui is amazing! Probably one of the best apps ever developed!"
[21:23:58] <christo_m> LOL
[21:23:59] <dmack> don't fuck it up, dude
[21:24:02] <christo_m> ya i know
[21:24:08] <christo_m> ive only been here a month and its almost gg
[21:24:18] <christo_m> its like "its fine ill rewrite this in a framework i dont know, brb"
[21:24:29] *** Sontakey has joined #angularjs
[21:24:38] <dmack> i'm sure what you have took the previous developer years
[21:24:47] *** dob__ has joined #angularjs
[21:24:47] <christo_m> it did.
[21:24:49] *** dseitz has joined #angularjs
[21:24:55] <christo_m> during his time im sure half of these things didnt exist
[21:24:57] <christo_m> well, angular did.
[21:24:58] <christo_m> but ya
[21:25:37] <braineet> I have performance issue with angularjs.. I am a big fan of Angular however my app with an infinity scroll is slow. I am already optimize it and I don't now what to do.
[21:25:47] *** walden|brb is now known as walden
[21:25:52] *** pretzel80 has joined #angularjs
[21:25:56] <nickeddy> braineet: how did you already optimize it?
[21:25:57] <dmack> define "optimized"
[21:25:59] *** kirfu has joined #angularjs
[21:26:00] <nickeddy> ^
[21:26:04] *** ngbot has joined #angularjs
[21:26:04]
<ngbot> [angular.js] pkozlowski-opensource pushed 1 new commit to master: http://git.io/2eX_zA
[21:26:04] <ngbot> angular.js/master 8c3a42c Pawel Kozlowski: refactor($templateRequest): avoid double calls to $templateCache.put...
[21:26:04] *** ngbot has left #angularjs
[21:26:32] *** jonathanpglick has quit IRC
[21:26:37] <braineet> nickeddy: I have used Batarang, I replaced filter by directive, and I use bindonce
[21:26:41] *** TehShrike|Work has joined #angularjs
[21:26:43] <braineet> and infinitescroll
[21:26:47] <dmack> is it a scrolling performance issue?
[21:26:54] *** darrin has joined #angularjs
[21:27:00] <TehShrike|Work> Is there any reason to use angular.bind instead of Function.bind (beyond supporting ecmascript 4)?
[21:27:19] *** lilbaby_ has quit IRC
[21:27:22] <braineet> No, i have too much watch like 1000 after loading, and after each scroll 45 more
[21:27:24] <jaawerth> infinite scroll is tricky
[21:27:24] <braineet> 450*
[21:27:35] *** lilbaby has joined #angularjs
[21:27:36] <dmack> so you're loading 450 records?
[21:27:38] <dmack> why?
[21:27:46] *** Johnny13371337 has left #angularjs
[21:27:51] <dmack> that's 450 dom nodes
[21:27:57] *** dob_ has quit IRC
[21:27:57] *** kuadrosx_ has joined #angularjs
[21:27:58] <jaawerth> are you using a module for it or hand-coded?
[21:27:59] *** JBreit has quit IRC
[21:28:19] <nickeddy> yeah that many watches doesn't sound right
[21:28:27] <dmack> infinite scroll as a concept is pretty easy.
[21:28:27] *** opiates has joined #angularjs
[21:28:33] <jaawerth> well sure
[21:28:34] *** vassagus has quit IRC
[21:28:35]
<braineet> No you can look on this link https://www.braineet.com/feed/brainees . No but each row have a lot of functionnality like retweet, share, send by email, like dislike comment, post of comment
[21:28:37] <jaawerth> but optimizing it is tricky
[21:28:37] <dmack> but to keep it performant your result set needs to be small
[21:28:38] *** yelvert has quit IRC
[21:28:59] *** tyfighter has joined #angularjs
[21:29:03] *** baweaver has joined #angularjs
[21:29:04] *** yelvert has joined #angularjs
[21:29:10] <jaawerth> and it helps a lot if you use tricks like load the additional records by "zone" rather than continuously as you scroll
[21:29:14] *** Xaleph has quit IRC
[21:29:22] <braineet> I removed almost 60% ofwatch, but I arrived at a point that I don't what to do
[21:29:42] *** vassagus has joined #angularjs
[21:29:45] <braineet> Yes, but it's a feed like twitter or fb so.. :/
[21:29:46] <dmack> braineet: is this your app?
[21:29:47] <jaawerth> also make sure you're using "track by" if you're doing it with ng-repeats
[21:29:52] <braineet> yes
[21:29:58] *** bbankes has joined #angularjs
[21:29:58] *** kevinh has quit IRC
[21:30:00] *** ngbot has joined #angularjs
[21:30:00]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/wLNk1g
[21:30:00] <ngbot> angular.js/browserstack-with-socketio-1_0 2727550 Vojta Jina: WIP: allow running both SL/BS by flipping env var
[21:30:01] *** ngbot has left #angularjs
[21:30:03] <nickeddy> 2,171 watches after scrolling a tiny bit
[21:30:05] <nickeddy> eep
[21:30:08] <braineet> dmack: yes
[21:30:34] <jaawerth> yikes, that aint right
[21:30:48] *** laurensclaessen has quit IRC
[21:30:59] <nickeddy> yeah
[21:31:01] <braineet> I haven't use bindonce everywhere because I need to change class like liked or disliked
[21:31:08] <braineet> or rebrained, shar, etc..
[21:31:19] *** kuadrosx has quit IRC
[21:31:22] *** fayeishere has quit IRC
[21:31:26] <dmack> on first page load, there are 760 watchers
[21:31:28] *** yelvert_ has joined #angularjs
[21:31:31] <dmack> that is a ton
[21:31:32] *** yelvert has quit IRC
[21:31:37] <braineet> Is it better, to use jquery addAttr vs ng-class ?
[21:31:41] <jaawerth> that should be manageable though
[21:31:57] <jaawerth> how often does your scroll trigger the digest?
[21:32:00] *** jr3 has joined #angularjs
[21:32:02] <jaawerth> are you throttling it?
[21:32:02] *** IvailoStoianov has quit IRC
[21:32:11] *** dman777 has quit IRC
[21:32:15] <dmack> so I see there is a console.log
[21:32:22] <dmack> it logs out 0, and 10, but 10 times each
[21:32:34] *** kuadrosx_ is now known as kuadrosx
[21:32:43] <dmack> wait
[21:32:54] <jaawerth> did I miss a link to the code?
[21:32:56] <dmack> inside every article, you're declaring BraineeCtrl?
[21:33:21] <braineet> I never trigger the digest. All watchs are launch by the template with ng-class, or model or ng-show
[21:33:30] <braineet> Yes
[21:33:31] *** Sontakey has quit IRC
[21:33:36] <braineet> dmack: yes
[21:33:40] <dmack> that's the directive controller I assume
[21:33:47] <jaawerth> none of those things trigger a digest
[21:33:58] <jaawerth> and watchers only come into play when a digest runs
[21:33:59] *** coderat has joined #angularjs
[21:34:03] <jaawerth> that's when they become a performance issue
[21:34:10] *** dman777 has joined #angularjs
[21:34:26] <jaawerth> huh it's working fine for me
[21:34:30] <jaawerth> but my computer is beefy
[21:34:35] <dmack> scroll down a few times
[21:34:49] <dmack> it gets choppy, text fields unresponsive
[21:34:50] *** richiebkr has joined #angularjs
[21:34:57] *** fataldecrease has quit IRC
[21:35:03] <braineet> Yes i create one controller for each article, and I create one directive for special action like share/send/option. When you click on it, I $compile the popin. Like this I deleted a lot of watch
[21:35:14] *** mrwn has quit IRC
[21:35:23] <jaawerth> wait, is this infinite scroll not eating up the content you've scrolled past?
[21:35:29] <dmack> ^
[21:35:30] *** woah has quit IRC
[21:35:35] <dmack> you have to remove nodes that are out of view
[21:35:48] *** kirfu has quit IRC
[21:35:48] <jaawerth> the issue probably isn't the watcher, it's the ever-growing stuff on the DOM
[21:35:53] <dmack> yes
[21:35:54] <braineet> jaawerth: Nop
[21:35:56] <jaawerth> with more and more event listeners attached to them
[21:36:06] *** TehShrike|Work has left #angularjs
[21:36:15] *** yano has quit IRC
[21:36:17] <jaawerth> it's probably the DOM nodes + event listeners (click and such)
[21:36:23] <braineet> Yes it's working fine, but I haven't an app with less than 50ms of latency. And on mobile it's slow
[21:36:24] *** JBreit has joined #angularjs
[21:36:40] *** Sontakey has joined #angularjs
[21:36:53] <jaawerth> the fix would be to eat up the content you've scrolled past, and replace it with a block of equal size to maintain position
[21:37:04] *** zz_night-owl is now known as night-owl
[21:37:17] <jaawerth> or rather, have an ever-growing block that will grow as you eat the nodes you've scrolled past
[21:37:27] <braineet> And if you scroll up ? Because I am scare that manipulate the dom is even worth
[21:37:45] <jaawerth> it would do the same thing backwards
[21:37:58] <jaawerth> it's like a wheel
[21:38:06] <jaawerth> ..kinda
[21:38:07] *** mrwn has joined #angularjs
[21:38:19] *** woah has joined #angularjs
[21:38:28] <dmack> just looked at Facebook - they have to be un-attaching event listeners and re-attaching
[21:38:37] *** d0ngz has joined #angularjs
[21:38:54] *** laurensclaessen has joined #angularjs
[21:38:55] <jaawerth> yeah, at the very least doing that would help.
[21:39:08] *** Fishy__ has joined #angularjs
[21:39:08] <jaawerth> replace ng-click with, say, a custom version that lets you unregister the event listeners by setting a flag
[21:39:09] <braineet> Currently I am thinking about two solutions: 1. replace ng-class by addAttr with jquery, but I am not sure that it's a good idea. And the second that jaawerth you said. However how I can keep the dom and delete watch, and then reactive watcher
[21:39:13] <jaawerth> actually I wrote something like that a while back
[21:39:21] <jaawerth> just as a thought experiment
[21:39:31] *** dseitz has quit IRC
[21:39:48] <dmack> I think your infinite bottom edge is too high also, fwiw
[21:39:51] *** Fuzzier has joined #angularjs
[21:39:52] <jaawerth> gotta run to a thing, but I'll be back in 10
[21:40:17] *** Fuzzy has quit IRC
[21:41:03] *** Rebirth has joined #angularjs
[21:41:06] *** ppppaul has quit IRC
[21:41:10] <christo_m> dmack: debounce didnt work, i also tried debouncing when i send the data.
[21:41:15] <christo_m> i mean it did work, but its way more jittery
[21:41:23] <braineet> Yes so for you the best solution is to build something like a game. To recreate every ng-* by my own solution to disabled watcher if they aren't displayed
[21:41:24] <dmack> heh
[21:41:29] <christo_m> i played with low values like 16 ms
[21:41:35] *** ngbot has joined #angularjs
[21:41:36]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/ElgFpA
[21:41:36] <ngbot> angular.js/browserstack-with-socketio-1_0 3c901ec Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[21:41:36] *** ngbot has left #angularjs
[21:41:51] *** laurensclaessen has quit IRC
[21:41:54] *** ProLoser has joined #angularjs
[21:41:54] *** Fishy has quit IRC
[21:41:59] <dmack> so the issue is the actual low level tracking is jittery?
[21:42:05] *** ngbot has joined #angularjs
[21:42:05]
<ngbot> [angular.js] vojtajina pushed 1 new commit to browserstack-with-socketio-1_0: http://git.io/rhr1MA
[21:42:05] <ngbot> angular.js/browserstack-with-socketio-1_0 4b599c6 Vojta Jina: WIP: try SL
[21:42:05] *** ngbot has left #angularjs
[21:42:35] *** woah has quit IRC
[21:42:41] *** samuel02 has quit IRC
[21:42:44] <braineet> jaawerth, do you know a plugin for that ?
[21:42:50] *** lsiv568 has joined #angularjs
[21:42:56] <braineet> Like bindocne
[21:42:59] <braineet> bindonce
[21:43:08] <nickeddy> braineet: angular 1.3 has bindonce built in
[21:43:14] *** andrew9183 has joined #angularjs
[21:43:19] *** laurensclaessen has joined #angularjs
[21:43:34] *** Fishy__ has quit IRC
[21:43:36] <nickeddy> braineet: you just do {{::thingToBindOnce}}
[21:43:36] *** kirfu has joined #angularjs
[21:43:44] *** brownbathrobe has joined #angularjs
[21:43:52] *** e0ipso is now known as e0ipso|away
[21:43:54] *** Fuzzy has joined #angularjs
[21:44:10] *** TheAceOfHearts has joined #angularjs
[21:44:28] *** Fuzzier has quit IRC
[21:44:30] <christo_m> dmack: it is not low level
[21:44:35] <christo_m> the C++ lib serverside is functional
[21:44:44] *** tschundeee has joined #angularjs
[21:44:49] <christo_m> dmack: my suspicion is that im sending a million little packets with x,y json strings
[21:44:54] <dmack> no, I mean the actual response you get from the drag events is not accurate?
[21:44:54] *** vassagus has quit IRC
[21:45:01] <christo_m> and the OS is ignoring some.. i know this because i send back an ACK when i receive a mouse coordinate
[21:45:11] <dmack> ACK?
[21:45:13] <christo_m> the response is 100 percent accurate clientside (on the phone)
[21:45:18] <dmack> ahh
[21:45:30] <christo_m> dmack: yes, i send a manual acknowledgement back to the device that i got the mouse delta x,y
[21:45:30] <braineet> Ok nickeddy thank ! But nickeddy, when I need to bind the value, do you know a plugin that attach ng-* to the dirty checking only if they are display ? Like a game
[21:45:54] <christo_m> looking in console, sometimes i dont receive anything
[21:45:54] <nickeddy> i'm not sure what you're asking
[21:46:09] <dmack> so the server is choking on the sheer amount of data?
[21:46:16] <dmack> this doesn't seem like a client side issue
[21:46:22] <dmack> if you're 1 for 1 sending back coords
[21:46:29] <christo_m> i agree.
[21:46:40] *** ahtik has joined #angularjs
[21:46:45] *** capreolus has joined #angularjs
[21:46:46] <christo_m> im wondering what other optimizations i can do
[21:46:55] <christo_m> because this was previously done in js, and the performance was better than this.
[21:47:00] *** ProLoser has quit IRC
[21:47:01] <christo_m> i mean it isnt perfect, but it wasnt this bad.
[21:47:20] <dmack> the listeners your attaching are the most accurate tracking your gonna get in the browser
[21:47:23] *** capreolus has quit IRC
[21:47:31] <dmack> but that's not the issue
[21:47:48] <braineet> I would like to keep the dom because it's a performance issue if I removed it, but delete every watchers if they aren't display following the position of the element, and the size of the screen
[21:47:49] <dmack> its almost like you need to queue on the server or somethjing
[21:47:53] *** baweaver has quit IRC
[21:47:58] *** kirfu has quit IRC
[21:48:18] *** tjsail33 has joined #angularjs
[21:48:25] <dmack> dont know enough about your other architecture pieces
[21:48:27] *** baweaver has joined #angularjs
[21:48:33] <christo_m> dmack: without changing server code, i can go compile and run the previous cordova project and achieve decent performance.
[21:48:49] <christo_m> but you're right, looking at the old code, he was using touchmove touchstart event handlers
[21:48:52] *** vassagus has joined #angularjs
[21:49:06] *** nemothekid has quit IRC
[21:49:10] <christo_m> dmack: can i pm you
[21:49:14] <dmack> sure
[21:49:25] <braineet> nickeddy, jaawerth: I would like to keep the dom because it's a performance issue if I removed it, but delete every watchers if they aren't display following the position of the element, and the size of the screen
[21:49:49] *** richardlitt has quit IRC
[21:49:49] *** mrwn has quit IRC
[21:50:00] <jaawerth> I think eating the nodes would improve performance rather than hurt it
[21:50:13] *** lsiv568 has quit IRC
[21:50:13] *** devhoag has quit IRC
[21:50:23] <csduarte_> I'm trying to send a header to laravel, but laravel does not validate it... am i formatting the header incorrectly? RestangularProvider.setDefaultHeaders({'X-XSRF-TOKEN': CSRF_TOKEN});
[21:50:41] *** kirfu has joined #angularjs
[21:50:41] *** mclenithan has quit IRC
[21:50:44] <jaawerth> but that conditional ng-click I posted could easily be used in a way where it turns off the listeners by changing a flag after you've scrolled past the content
[21:50:49] <jaawerth> I would do it in chunks rather than all at once though
[21:51:00] <jaawerth> er, rather, in chunks rather than continuously
[21:51:09] <jaawerth> braineet: ^
[21:51:20] <jaawerth> also, I still think gobbling the dom nodes would improve rather than hurt performance
[21:51:33] <jaawerth> you don't have to gobble them all, or do it immediately
[21:51:38] <braineet> If i delete the nodes, I need to recreate it if I scroll up ? Maybe it's better to just disabled each watchers ?
[21:51:47] *** vassagus_ has joined #angularjs
[21:51:55] *** mclenithan has joined #angularjs
[21:51:58] *** woah has joined #angularjs
[21:52:02] <jaawerth> yes, but you could have it delete the nodes after you've scrolled a large distance past them, and do it in chunks
[21:52:04] <jaawerth> it would be less costly
[21:52:21] <jaawerth> You could try the listeners first, of course
[21:52:35] <jaawerth> again, the watchers are only ever a performance issue when a digest is running
[21:52:42] *** darrin has quit IRC
[21:52:46] *** baweaver has quit IRC
[21:52:56] *** say2joe has quit IRC
[21:52:56] *** Oka has joined #angularjs
[21:52:57] *** bayousoft has quit IRC
[21:53:09] <braineet> Interesting ! :) Thanks you ! I am presenting my app at LeWeb14 ;)
[21:53:20] *** vassagus has quit IRC
[21:53:21] *** baweaver has joined #angularjs
[21:53:35] <jaawerth> haha I finally scrolled far enough that it locked up
[21:53:47] *** Shrooms has quit IRC
[21:53:51] <braineet> I will try both solution and come back to explain what version is the best
[21:53:57] *** bayousoft has joined #angularjs
[21:54:59] *** Snugug has quit IRC
[21:55:20] <braineet> When you remove a node, angularjs remove automatically watchers/listeners ?
[21:55:29] *** kirfu has quit IRC
[21:55:32] *** AWAW has joined #angularjs
[21:55:33] *** stormbytes has joined #angularjs
[21:55:34] *** jdivock has quit IRC
[21:55:39] *** ngbot has joined #angularjs
[21:55:39]
<ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from 4b599c6 to fdba88b: http://git.io/OJnqFg
[21:55:39] <ngbot> angular.js/browserstack-with-socketio-1_0 fdba88b Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[21:55:39] *** ngbot has left #angularjs
[21:56:11] <tjsail33> anyone have experience with jquery fullcalendar?
[21:56:12] <icfantv> is it a good idea to return a promise from a service who, in turn, calls a service that returns a promise? if so, how does that work exactly for the last service in the chain that returns a promise? and by that, i mean, how do i set the resolve(…)?
[21:56:15] *** razorduck_ has joined #angularjs
[21:56:45] *** Razorduck has joined #angularjs
[21:56:46] *** vassagus_ has quit IRC
[21:56:59] *** dnewkerk has joined #angularjs
[21:57:08] *** mahomaho has left #angularjs
[21:57:23] <stormbytes> hello folks
[21:57:50] *** vassagus has joined #angularjs
[21:58:49] <dmack> icfantv: manually setup a promise, var deferred = $q.defer() .. do promise stuff ... .then(function(result) deferred.resolve(result)
[21:59:12] *** doginal has joined #angularjs
[21:59:41] *** coderat has quit IRC
[21:59:43] *** braineet has quit IRC
[21:59:49] *** patrickarlt has quit IRC
[21:59:53] <icfantv> dmack: i think that's what i'm doing. i just needed to type it out and see it i think. i was having a hard time wrapping my head around it
[21:59:55] *** ngbot has joined #angularjs
[21:59:56]
<ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from fdba88b to 51b5360: http://git.io/OJnqFg
[21:59:56] <ngbot> angular.js/browserstack-with-socketio-1_0 51b5360 Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[21:59:56] *** ngbot has left #angularjs
[21:59:59] <icfantv> nickeddy: ok, thanks.
[22:00:04] *** winmutt has left #angularjs
[22:00:06] *** Razorduck has quit IRC
[22:00:18] *** fedenunez has joined #angularjs
[22:00:20] <icfantv> nickeddy: oh wait. that's for the soSomethign().then().then()
[22:00:25] *** Razorduck has joined #angularjs
[22:00:40] <nickeddy> ah sorry i misunderstood
[22:00:40] *** Razorduck has quit IRC
[22:00:42] *** digisky has joined #angularjs
[22:00:48] <icfantv> nickeddy: no worries.
[22:00:57] *** bade has quit IRC
[22:01:02] *** cthrax has joined #angularjs
[22:01:06] <nickeddy> what dmack said sounds good
[22:01:22] *** kirfu has joined #angularjs
[22:01:43] <dmack> yeah. if you want to create a function that returns a promise when other promises are done resolving, you have to manually specify, or you just
[22:01:43] *** lsiv568 has joined #angularjs
[22:02:03] <icfantv> nickeddy: i'm talking about MyService.foo(…… OtherService.snoopy().then(……deferred.resolve(something)……..))
[22:02:06] *** niop2 has quit IRC
[22:02:09] <dmack> return myThing.dothing().then(function() { return return myThing.doAnotherThing() })
[22:02:22] <dmack> err double return
[22:02:32] *** geilt has joined #angularjs
[22:02:40] <jaawerth> or just use $q.all
[22:02:42] <dmack> ^
[22:02:45] *** renanoronfle has quit IRC
[22:02:50] *** lahwran has quit IRC
[22:02:59] <nickeddy> icfantv: you could do return OtherService.foo().then(function(result) { /* do stuff with result*/ return result; })
[22:03:01] <dmack> (if they aren't dependentant on each others results)
[22:03:04] *** i_am_nader has joined #angularjs
[22:03:09] <jaawerth> $q.all for multiple promises that trigger a promise when all are resolved, promise chaining for single promises
[22:03:10] <dmack> unless there's a way to do that jaawerth
[22:03:19] *** adben has quit IRC
[22:03:27] <jaawerth> well, in that case why not just chain?
[22:03:38] <dmack> yeah.
[22:03:45] <icfantv> lemme create a plunkr
[22:04:05] *** jordandotdev has quit IRC
[22:04:08] *** whitebook has joined #angularjs
[22:04:23] <jaawerth> you could still use $q.all with a bunch of promises. if some of them are chained and depend on one another, the interdependent ones would still resolve and trigger the $q.all when the non-dependent ones are also done
[22:04:39] *** ZGirl has joined #angularjs
[22:04:42] *** vassagus has quit IRC
[22:04:47] *** SomeKittens has quit IRC
[22:05:10] <ZGirl> Is there a way to add a directive to an existing element without replacing the DOM element?
[22:05:24] *** patrickarlt has joined #angularjs
[22:05:30] <dmack> use an attribute?
[22:05:38] <dmack> restrict: "A"
[22:05:51] *** lahwran has joined #angularjs
[22:05:58] *** vassagus has joined #angularjs
[22:06:09] *** lsiv568 has quit IRC
[22:06:37] *** kirfu has quit IRC
[22:06:57] *** metasansana has quit IRC
[22:07:00] <nickeddy> ZGirl: yep make the directive an attr
[22:07:01] <andrew9183> hey guys, i have a modal that i trigger within a nested view, but need the modal to show on the body tag, how can i bind a scope to my modal to match my nested view ?
[22:07:18] *** adben has joined #angularjs
[22:07:21] <dmack> you using a 3rd party module?
[22:07:23] <dmack> andrew9183
[22:07:32] <andrew9183> i’m using bootstrap modal
[22:07:35] <ZGirl> What I’m trying to do is to add a directive to an existing (already compiled) input element (for performance reasons)
[22:07:54] *** Snugug has joined #angularjs
[22:07:57] <dmack> ZGirl: you'll have to recompile it for it to do anything
[22:08:01] *** ehynds has quit IRC
[22:08:13] *** Luser has quit IRC
[22:08:22] *** baweaver has quit IRC
[22:08:35] <ZGirl> Ah. What I’m running into when recompiling is that existing directives are double compiled, e.g. ng-click is compiled again so the handler runs twice
[22:08:44] <dmack> ZGirl: makes sense
[22:08:57] <dmack> wondering if that's a premature optimization - but I dont know your use case
[22:09:12] *** metasansana has joined #angularjs
[22:09:16] *** code-ninja{don} has quit IRC
[22:09:18] <ZGirl> I’m trying not to replace the DOM element so I can click the input to focus it, and keep focus. Apparently in iOS8, you can’t programatically focus an input, so I can’t just refocus on a new input…
[22:09:18] <andrew9183> nickeddy: thanks. what would be the way to bind scope to a modal otherwise ?
[22:10:27] *** braineet has joined #angularjs
[22:10:33] <braineet> thanks again !
[22:10:50] <dmack> ZGirl: you really can't focus an input in iOS8?
[22:10:53] *** laurensclaessen has quit IRC
[22:10:55] <dmack> (programmatically)
[22:11:03] <dmack> that seems like quite an oversight...
[22:11:24]
<bradmaxs> grabbing the printer ids in the ng-repeat. When I select a printer in the drop-down, it adds the correct info but then if I update something in in the db, it doesn't get updated. http://plnkr.co/edit/PWfiMiwVLwUoucSuXCht?p=preview. I have a loop running to grab any new info that gets added through an API but not sure what to do to update.
[22:11:53] <ZGirl> If there is a workaround, I would definitely like to pursue that instead
[22:12:02] *** adben has quit IRC
[22:12:44] *** rud_ has joined #angularjs
[22:12:58] *** bbclover has left #angularjs
[22:13:19] *** jackdpeterson has quit IRC
[22:13:24] <dmack> so the use case is you want to focus something, but then be able to focus something else based on user actions?
[22:13:40] *** adben has joined #angularjs
[22:13:42] *** freeone3000 has joined #angularjs
[22:14:37] <ZGirl> Yes, I’ve got this directive with a form inside that renders hundreds of times (not in my control to change that : >), so I’m trying to late-compile as much as possible on click/focus so the directvie can load quickly
[22:14:37] *** MistahKurtz has quit IRC
[22:15:07] *** rud has quit IRC
[22:15:07] *** rud_ is now known as rud
[22:15:12] *** D-Boy has quit IRC
[22:15:18] *** D-Boy has joined #angularjs
[22:15:36] <freeone3000> I also don't get the console.log statement, so either my broadcast isn't being sent correctly, or additional things are required to force the directive to run?
[22:15:37] *** ngbot has joined #angularjs
[22:15:37] <ngbot> angular.js/master cb19229 Brian Ford: docs($animate): improve formatting of inline code
[22:15:37] *** ngbot has left #angularjs
[22:16:13] <nickeddy> freeone3000: may have to do $emit not $broadcast
[22:16:15] *** moritzs has quit IRC
[22:16:18] <dmack> I think you need $emit
[22:16:19] *** zB0hs has joined #angularjs
[22:16:21] *** elxa has joined #angularjs
[22:16:29] *** plato has quit IRC
[22:16:29] <dmack> you don't have an isolate scope, $broadcast goes "down" scopes
[22:16:37] <dmack> but, hmm
[22:16:54] <dmack> wonder if you add scope: {} to your directive if it works
[22:17:37] *** dcorns has joined #angularjs
[22:17:44] <dmack> also, that $timeout? why?
[22:18:21] <freeone3000> dmack: To delay rendering until the next scope digest, or so I read.
[22:18:23] <dmack> and you can just use the the `json` filter, instead of that reformatJson()
[22:18:33] *** aslate has joined #angularjs
[22:18:38] *** vassagus_ has joined #angularjs
[22:18:47] <dmack> not sure you need it.
[22:18:51] *** mikehaas763 has quit IRC
[22:19:05] *** mrwn has joined #angularjs
[22:19:29] <icfantv> is that the right way to approach it?
[22:19:51] *** liviu_ has joined #angularjs
[22:19:52] <liviu_> hi
[22:19:58] <dmack> icfantv: yes, looks good
[22:20:10] <liviu_> i am doing an ng-repeat and my objects have dates in one of the fileds
[22:20:13] *** tschundeee has quit IRC
[22:20:20] *** vassagus has quit IRC
[22:20:21] <freeone3000> dmack: Ah. Yes, I can replace with the json filter.
[22:20:22] <liviu_> i am rendering them in a table and my ng-repeat is on the tr items
[22:20:41] <liviu_> how can i insert a special tr item if the curent object's day is different than the previous object's day ?
[22:20:48] *** chrisbirk has quit IRC
[22:21:08] <icfantv> dmack: ok. i should have said that ServiceThree was what I was asking about
[22:21:26] <dmack> liviu_: you could do some stuff with $index, but that seems messy
[22:21:30] <jaawerth> icfantv: does ServiceTwo need to wait until ServiceOne is finished before making its request?
[22:21:45] <dcorns> any ideas why $scope.mymethod is undefined after creating my controller in a test?
[22:21:50] *** {DV8} has joined #angularjs
[22:21:53] *** htmelvis has quit IRC
[22:21:56] <icfantv> jaawerth: in the example, no. in my use case. yes.
[22:22:06] <jaawerth> ah. in that case, sure
[22:22:07] <icfantv> jaawerth: in my use case, ServiceOne is making a server call
[22:22:08] <liviu_> dmack, i tried but am stuck because i am allready inside the tr. anyway seems messy to me too.
[22:22:14] <liviu_> it was a breeze with jquerythough
[22:22:29] <icfantv> jaawerth: ServiceTwo is doing some business logic on that returned result
[22:22:31] *** laurensclaessen has joined #angularjs
[22:22:36] <jaawerth> ah, okay
[22:22:49] *** warpx has quit IRC
[22:23:04] *** aslate has quit IRC
[22:23:05] <icfantv> jaawerth: and then ServiceTwo returns a promise indicating to ServiceThree when One and Two are done
[22:23:19] <jaawerth> one thing: if you're using 1.3, why not use the new promise API? So much better to work with
[22:23:19] <dmack> liviu_: ng-repeat="item in items" ng-class="{ 'different': items[$index-1].date > item.date }"
[22:23:20] <icfantv> for some reason i was having a hard time picturing it until actually coding it.
[22:23:30] <icfantv> new API?
[22:23:33] <dmack> ^
[22:23:42] <icfantv> uhhhhhh
[22:23:45] <dmack> liviu_: I have no idea if that works
[22:23:46] *** chrisbirk has joined #angularjs
[22:23:50] <dmack> just brain spew
[22:23:58] *** bengillies has quit IRC
[22:24:07] <liviu_> dmack, but i want to insert a special tr that will span all the collumns and write the new day
[22:24:09] *** mtsr has quit IRC
[22:24:14] <liviu_> and then the current object's tr
[22:24:19] <jaawerth> var myPromise = $q(function(resolve, reject) { asyncStuff then resolve(value); })
[22:24:29] <icfantv> jaawerth: and not use $q? where's the documentation on the new API?
[22:24:29] *** startupality has joined #angularjs
[22:24:30] *** jdivock has joined #angularjs
[22:24:39] <freeone3000> dmack: Maybe you can help me solve my direct problem - I need to call prettyPrint() once angularjs got my page to render, and every time it updates a certain bit of the UI.
[22:24:41] *** dcorns has quit IRC
[22:24:56] *** vassagus has joined #angularjs
[22:24:58] *** emmesswhy has quit IRC
[22:25:04] *** DuelShark has quit IRC
[22:25:07] <liviu_> so for that special case of new day i want to output 2 tr's, one for the new day text and then the normal obect representation tr
[22:25:09] *** jtimon has joined #angularjs
[22:25:09] <icfantv> oki
[22:25:10] <jaawerth> caitp wrote it!
[22:25:13] *** shacklef_ has quit IRC
[22:25:17] <dmack> liviu_: I think in your ngRepeat, you just need to insert an additional ngIf
[22:25:22] *** simplyshipley has quit IRC
[22:25:26] *** Razorduck has joined #angularjs
[22:25:36] <liviu_> could work
[22:25:38] *** htmelvis has joined #angularjs
[22:25:42] *** vassagus_ has quit IRC
[22:25:46] <dmack> and use $index to get the previous value
[22:26:04] <dmack> freeone3000: is this value bound to ngModel?
[22:26:07] *** rud has quit IRC
[22:26:15] <dmack> or just scope?
[22:26:15] *** say2joe has joined #angularjs
[22:26:18] <freeone3000> dmack: Set on line 6.
[22:26:23] *** Razorduck has quit IRC
[22:26:36] <caitp> what did i wrote?
[22:26:36] <dmack> so change your directive to take an argument, like
[22:26:37] <jaawerth> icfantv: $q is still backwards compatible with the old deferred method, but the constructor way is just.. refreshing. It also matches the more classical promise approach, and the you do it with bluebird, which is my favorite promise library on node
[22:26:41] <icfantv> jaawerth: oh wow.
[22:26:44] <caitp> oh
[22:26:54] <freeone3000> dmack: So just $scope, it looks like. It's bound to *a* model, as line 13 of fragment.html uses it in an ng-repeat, but I don't know if that's ngModel.
[22:27:08] <jaawerth> caitp: just giving you credit for fixing the promise API!
[22:27:09] <dmack> freeone3000: sec, gonna wire something up which should work
[22:27:14] *** tschundeee has joined #angularjs
[22:28:12] *** fedenunez has quit IRC
[22:28:19] *** lsiv568 has joined #angularjs
[22:28:20] *** fedenunez1 has joined #angularjs
[22:29:30] <icfantv> jaawerth: it's a LOT shorter….neat
[22:29:34] <icfantv> thanks for the head's up
[22:29:36] *** jlebrech has joined #angularjs
[22:29:43] <icfantv> i don't know that i ever would have seen that change
[22:29:44] <jaawerth> sure
[22:30:05] *** mmealling has quit IRC
[22:30:13] *** qstrahl has joined #angularjs
[22:30:42] *** braineet has quit IRC
[22:31:07] <dmack> i'm unsure what prettyPrint() does.
[22:31:20] *** Slim has quit IRC
[22:31:21] *** Slim has joined #angularjs
[22:31:21] <dmack> but I'm guessing it looks for the dom nodes with prettyprint class and processes them
[22:31:28] <freeone3000> dmack: Syntax highlights JSON. Yes.
[22:31:43] *** larsam has quit IRC
[22:32:11] <dmack> basically you can get rid of that event, just bind the value you want, via value=""
[22:32:33] <freeone3000> dmack: Ah. Awesome, thanks.
[22:32:41] <dmack> if prettyPrint can take an element, thatd be ideal.
[22:32:57] <dmack> because you have access to one element in that watch. as of right now it's just going to do it for all the elements, I assume
[22:32:58] *** SKZC has quit IRC
[22:32:58] *** cads has joined #angularjs
[22:33:03] *** mokush has joined #angularjs
[22:33:07] <dmack> probably not what you want.
[22:33:12] *** htmelvis has quit IRC
[22:33:13] *** fedenunez1 has quit IRC
[22:33:40] <dmack> once you solve that, you've got a re-usable component that you can just throw data at
[22:34:17] *** jlebrech has quit IRC
[22:34:44] *** Oxynum has joined #angularjs
[22:34:55] *** rud has joined #angularjs
[22:34:56] *** rud has joined #angularjs
[22:35:15] *** ProLoser has joined #angularjs
[22:35:24] *** wallerdev has joined #angularjs
[22:35:27] *** Luser has joined #angularjs
[22:36:56] *** alanp has quit IRC
[22:37:05] *** alanp has joined #angularjs
[22:37:20] *** patrickarlt has quit IRC
[22:37:27] *** jonatas_oliveira has quit IRC
[22:37:39] *** rud has quit IRC
[22:37:47] <hernan> lets say i have this: <button ng-click='do_something(this_elem)'>do domething!</button>
[22:38:05] <hernan> i want to get the reference of that element in $scope.do_something
[22:38:16] <hernan> then i want to use jquery to do stuff
[22:38:17] *** busticated has quit IRC
[22:38:19] *** dmack has quit IRC
[22:38:30] <hernan> i want to get the ev.currentTargt
[22:38:34] <hernan> is it possible
[22:38:34] <hernan> ?
[22:38:47] *** dseitz has joined #angularjs
[22:39:00] <hernan> i could use selectors
[22:39:26] *** johnnyfive has quit IRC
[22:39:54] *** evanjs has quit IRC
[22:40:05] *** s00pcan_ has quit IRC
[22:40:13] *** emmesswhy has joined #angularjs
[22:40:22] *** s00pcan has joined #angularjs
[22:40:34] *** lilbaby has quit IRC
[22:41:05] *** akrikos has quit IRC
[22:41:22] *** lilbaby has joined #angularjs
[22:41:49] *** lilbaby has quit IRC
[22:42:05] *** lilbaby has joined #angularjs
[22:42:13] *** jonathanpglick has joined #angularjs
[22:42:16] *** ngbot has joined #angularjs
[22:42:16]
<ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from 51b5360 to e3412af: http://git.io/OJnqFg
[22:42:16] <ngbot> angular.js/browserstack-with-socketio-1_0 e3412af Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[22:42:16] *** ngbot has left #angularjs
[22:42:30] *** mzabriskie has joined #angularjs
[22:43:04] *** mak`` has quit IRC
[22:43:38] *** scythe__ has joined #angularjs
[22:43:40] *** baweaver has joined #angularjs
[22:43:50] *** jacuqesdancona_ has joined #angularjs
[22:44:11] *** moritzs has joined #angularjs
[22:44:20] *** dseitz has left #angularjs
[22:44:41] <jaawerth> hernan: for doing DOM manipulation/jquery stuff, you'd want to use a directive
[22:44:48] *** kirfu has joined #angularjs
[22:45:25] <jaawerth> think of directives as custom targets for your DOM manipulation that save you from having to litter your code with function-driven ids and classes for use with jquery selectors - the selectors become unnecessary (they're slow anyway)
[22:45:43] *** patrickarlt has joined #angularjs
[22:46:15] *** cannap has quit IRC
[22:46:21] *** dhcar_AFK is now known as dhcar
[22:46:33] *** lilbaby has quit IRC
[22:46:35] *** mary5030_ has quit IRC
[22:47:05] <jaawerth> you can either use ng-click in concert with your DOM-manipulating directive, or just do all-in-one with your custom directive and have it add a click listener with element.on('click', someFunction)
[22:47:10] *** mary5030 has joined #angularjs
[22:47:28] *** kira has joined #angularjs
[22:47:40] <kira> hi
[22:47:41] <kira> oi
[22:47:42] *** moogey has quit IRC
[22:47:52] *** kira is now known as Guest31733
[22:47:56] *** jacuqesdancona_ has quit IRC
[22:48:01] *** shackleford has joined #angularjs
[22:48:14] <Guest31733> ?
[22:49:15] *** kirfu has quit IRC
[22:49:48] *** stormbytes has quit IRC
[22:50:06] <jaawerth> hello
[22:50:48] <hernan> jaawerth: that changes everything,
[22:50:54] <hernan> how can i learn all this ? :p
[22:50:57] *** johnnyfive has joined #angularjs
[22:51:03] <hernan> i just want to add some events lol
[22:51:17] <hernan> all of a sudden im noob again =p
[22:51:18] <jaawerth> what kind of events?
[22:51:23] <jaawerth> what's your specific use-case?
[22:51:32] <jaawerth> maybe there are some built-in directives you can use
[22:51:38] <hernan> im trying to draw a progress bar
[22:51:50] <hernan> it will keep updating itself
[22:52:00] *** busticated has joined #angularjs
[22:52:04] <hernan> in jquery is easy
[22:52:14] *** mary5030 has quit IRC
[22:52:20] <hernan> and im not sure where angular must be used and where jquery must be used
[22:52:33] <hernan> or maybe i should not mix them if possible... but then i get lost
[22:52:47] <jaawerth> basically all jquery goes in a directive. directives are, admitted, probably one of the bigger learning curves in angular, but they're very powerful and once you learn them, they make a lot of sense
[22:52:54] *** soee_ is now known as soee
[22:53:14] <hernan> i made a directive print a canvas
[22:53:39] <hernan> but then what is: restrict: 'E',
[22:53:45] <hernan> in the directive
[22:53:49] *** sahbeewah has quit IRC
[22:53:51] <Sawbones_> Element
[22:54:14] <hernan> ok
[22:54:18] *** jackweirdy has joined #angularjs
[22:54:27] *** ngbot has joined #angularjs
[22:54:27]
<ngbot> [angular.js] vojtajina created gruntfile-cleanup (+2 new commits): http://git.io/z7ZNKQ
[22:54:27] <ngbot> angular.js/gruntfile-cleanup da7efbc Vojta Jina: chore(travis): enable both SauceLabs and BrowserStack...
[22:54:28] <ngbot> angular.js/gruntfile-cleanup 36af388 Vojta Jina: chore(travis): clean up browserstack/saucelabs scripts
[22:54:28] *** ngbot has left #angularjs
[22:54:29] <Sawbones_> A means it can only be declared on an attribute, E only as an element
[22:55:09] *** dannyc has joined #angularjs
[22:55:10] <Sawbones_> directives and named as camelCase and translation into hyphen seperated
[22:55:11] <hernan> ok
[22:55:22] <jaawerth> hernan: anyway, "restrict" tells you how the directive will be used/detected. E = element, A = attribute, C = class (those are the main three - there are some others, like comments), and you can combine them like restrict: 'AC'
[22:55:30] <Sawbones_> so bigTable is <big-table></big-table>
[22:55:42] <jaawerth> so if you make a directive called fooBar and do restrict: 'A', then you can do <div foo-bar></div>
[22:56:00] <jaawerth> if you do restrict: 'AE' then you can use it as an element OR an attribute
[22:56:00] *** Snugug has quit IRC
[22:56:03] *** Guest31733 has quit IRC
[22:56:14] *** vassagus has quit IRC
[22:56:37] <jaawerth> it essentially tells angular's compiler (which finds all directives so it can target them for DOM magic) where in the DOM to look for your directive
[22:58:11] *** rho has joined #angularjs
[22:58:11] *** rho has joined #angularjs
[22:58:49] *** jaydubya has quit IRC
[22:58:51] *** ngbot has joined #angularjs
[22:58:51]
<ngbot> [angular.js] vojtajina force-pushed gruntfile-cleanup from 36af388 to 5c8075b: http://git.io/Sx29Vg
[22:58:51] <ngbot> angular.js/gruntfile-cleanup 5c8075b Vojta Jina: chore(travis): clean up browserstack/saucelabs scripts
[22:58:51] *** ngbot has left #angularjs
[22:59:43] *** vassagus has joined #angularjs
[22:59:53] *** dannyc has quit IRC
[23:00:00] *** adpirz has joined #angularjs
[23:00:10] *** dhcar is now known as dhcar_AFK
[23:01:09] *** sk87 has joined #angularjs
[23:01:25] *** Una_ has quit IRC
[23:01:50] *** jaydubya has joined #angularjs
[23:02:31] <jaawerth> ProLoser: Hey, I just found your proposal about namespaced watchers as an alternative to bindOnce - I found it because I was doing some research on whether anyone has implemented this yet, I think it's a great idea (even though they ended up going with bind-once for now)
[23:02:39] <jaawerth> ProLoser: you ever look into implementing it?
[23:02:48] <jaawerth> (if you're there - if not, I'll catch up with you later)
[23:02:52] *** livingstn has quit IRC
[23:03:02] *** FIFOd[a] has quit IRC
[23:03:24] *** vassagus_ has joined #angularjs
[23:03:37] *** moritzs has quit IRC
[23:04:34] *** adpirz has quit IRC
[23:04:54] *** vassagus has quit IRC
[23:05:01] *** BillCriswell has quit IRC
[23:05:20] *** patrick99e99 has quit IRC
[23:05:43] *** jonr22 has joined #angularjs
[23:05:46] *** MacWinner has joined #angularjs
[23:06:25] *** patrick99e99 has joined #angularjs
[23:06:28] *** tschundeee has quit IRC
[23:06:53] *** ngbot has joined #angularjs
[23:06:53]
<ngbot> [angular.js] vojtajina force-pushed gruntfile-cleanup from 5c8075b to 2a5963b: http://git.io/Sx29Vg
[23:06:53] <ngbot> angular.js/gruntfile-cleanup 2a5963b Vojta Jina: chore(travis): clean up browserstack/saucelabs scripts
[23:06:53] *** ngbot has left #angularjs
[23:07:07] *** annlewis has quit IRC
[23:08:27] *** laurensclaessen has quit IRC
[23:09:29] *** dsdeiz has joined #angularjs
[23:09:44] *** Siecje has left #angularjs
[23:09:47] *** tschunde_ has joined #angularjs
[23:10:01] *** johnnyfive has quit IRC
[23:10:17] *** jonr22 has quit IRC
[23:10:37] *** gunn has joined #angularjs
[23:11:24] *** htmelvis has joined #angularjs
[23:11:25] <hernan> jaawerth: ok, i read about compile, it can do some nice things
[23:11:25] *** dweave has left #angularjs
[23:11:30] *** dcherman2 has quit IRC
[23:11:41] <hernan> but, lets say i have a download going on... and i created a progress bar using a directive.
[23:11:45] *** ngbot has joined #angularjs
[23:11:45]
<ngbot> [angular.js] vojtajina force-pushed browserstack-with-socketio-1_0 from e3412af to 42611a3: http://git.io/OJnqFg
[23:11:46] <ngbot> angular.js/browserstack-with-socketio-1_0 42611a3 Vojta Jina: WIP: inc timeout
[23:11:46] *** ngbot has left #angularjs
[23:11:53] <hernan> then i want to keep altering the progress bar while the download continues
[23:11:59] <hernan> is that possible ?
[23:12:11] <Slim> yes
[23:12:16] *** Luser has quit IRC
[23:12:17] <hernan> should i use directive for all the updates on the progress bar?
[23:12:25] *** tristanp has quit IRC
[23:12:26] *** wsmoak has joined #angularjs
[23:12:26] *** wsmoak has joined #angularjs
[23:12:27] <hernan> or should i update it from outside the directive
[23:12:55] *** Luser has joined #angularjs
[23:13:27] <Slim> You would probably set some value from outside of the directive
[23:13:37] *** jr3 has quit IRC
[23:13:43] <qstrahl> Can I force a ng-include to be associated with a preconstructed scope object?
[23:14:02] <jaawerth> hernan: yeah, there are some modules out there for this already. but if you did want to code it yourself, here's the gist: Angular is at its core data-driven. You'd want your loading bar to also be reusible, so the directive would only concern itself with the actual loading bar, and it would allow you to pass in data on the current progress (and maybe some parameters if you want options) that the directive can respond to
[23:14:37] <qstrahl> Or rather can I force a scope object onto an element manually
[23:14:41] <jaawerth> hernan: you'd most likely want to pass the data in with isolate scope (covered on part 2 of that blog series, and in the $compile docs). Then for your downloads, you can get the progress information and pass it to the directive for your updates
[23:14:45] <jaawerth> that's the gist of it
[23:14:50] *** ngbot has joined #angularjs
[23:14:50]
<ngbot> [angular.js] vojtajina pushed 1 new commit to gruntfile-cleanup: http://git.io/GPmJiQ
[23:14:50] <ngbot> angular.js/gruntfile-cleanup c1712a7 Vojta Jina: WIP: explicit BS env var
[23:14:50] *** ngbot has left #angularjs
[23:15:07] *** juampy_backlater has quit IRC
[23:15:10] *** whitebook has quit IRC
[23:15:47] <ProLoser> jaawerth: hey dude
[23:15:50] <ProLoser> yes i sorta hate bindonce
[23:15:59] <ProLoser> i still to this day think that namespaces are a better design
[23:16:19] *** cthrax has quit IRC
[23:16:24] *** {DV8} has quit IRC
[23:16:24] <ProLoser> no one has implemented it, i started hacking together a prototype and I think caitp made a Pull Request with it once but I don't know of any solid implementations
[23:16:25] <jaawerth> I can also see the case for wanting BOTH options available
[23:16:53] <jaawerth> ProLoser: though you make a good point that namespaces could provide bindOnce capability if you just don't ever trigger/use that namespace
[23:17:04] <ProLoser> bah, namespaces do the bindonce behavior
[23:17:09] <ProLoser> you'd just never trigger the namespace change
[23:17:10] <jaawerth> what I'd probably do is use the namespace, but if you use a *blank* namespace it acts as bindOnce
[23:17:18] <jaawerth> since I hate polluting namespaces
[23:17:25] *** Luser has quit IRC
[23:17:38] <hernan> thanks jaawerth
[23:17:45] <hernan> + Slim
[23:17:49] <ProLoser> actually i wouldn't necessarily
[23:17:54] <ProLoser> or iunno it's a moot point
[23:17:56] <jaawerth> hernan: sure thing. take a look at the code for that directive Slim linked though, it should give you some tips
[23:18:10] <hernan> sure
[23:18:14] <hernan> iam looknig
[23:18:28] <Slim> it's a very popular library so the developer must have done something right :)
[23:18:35] <jaawerth> ProLoser: the thing is, I still kinda want the functionality, if not native - the fact that watchers are global affects a lot of potentially useful applications for them
[23:18:55] <jaawerth> so I was thinking I might take a crack at a module, hence my research
[23:19:04] *** dISKRET has quit IRC
[23:19:24] *** morenoh150 has joined #angularjs
[23:20:02] <ProLoser> which one?
[23:20:15] <ProLoser> i'd help you plan/implement if i can
[23:20:31] *** tschunde_ has quit IRC
[23:20:36] *** mzabriskie has quit IRC
[23:20:45] <jaawerth> it would be particularly useful in an app where lots of realtime stuff is happening. You wouldn't want to run $apply too often and it would be nice, as part of a "subscribe" function, to be able to user namespaced watchers
[23:21:05] *** tschundeee has joined #angularjs
[23:21:24] <ProLoser> my theory was that if you subscribe to a namespace that doesn't exist, it bindonce's automatically
[23:21:26] *** annlewis has joined #angularjs
[23:21:27] *** whitebook has joined #angularjs
[23:21:31] <jaawerth> yeah, I like that
[23:21:40] <ProLoser> so yeah a blank namespace
[23:21:50] *** defaultdict has quit IRC
[23:21:53] <ProLoser> would be bindonce, but you could still hook in and trigger it if you wanted
[23:21:55] <jaawerth> exactly
[23:22:02] <ProLoser> or you could use a namespace called 'once' for verbosity
[23:22:10] <jaawerth> since bindOnce is part of 1.3 that part is moot I guess
[23:22:12] *** ron1 has quit IRC
[23:22:13] *** johnnyfive has joined #angularjs
[23:22:24] *** johnnyfive has joined #angularjs
[23:22:28] <jaawerth> but for the reasons you mention in the discussion, the namespaces would still be very useful
[23:22:34] *** jackweirdy has quit IRC
[23:22:36] *** defaultdict has joined #angularjs
[23:23:30] <jaawerth> the only current workaround for that stuff is to use $digest to only update a local scope, but that's limited and can be risky
[23:23:47] *** dcherman has joined #angularjs
[23:24:01] <jaawerth> And, frankly, namespaces match Angular's data-driven philosophy since you would namespaces your watches based on their function
[23:24:11] *** Rutix has quit IRC
[23:24:34] <ProLoser> someone else started talking about using $broadcast() instead of scope apply
[23:24:56] <jaawerth> yeah, that could work
[23:25:19] <jaawerth> scope events are sort of universally hated, but they could work as a layer that triggers the local digest
[23:25:26] *** mokush has quit IRC
[23:25:33] *** tschundeee has quit IRC
[23:25:42] *** coffey has quit IRC
[23:25:44] *** Rutix has joined #angularjs
[23:25:45] *** Rutix has joined #angularjs
[23:26:17] *** anapitupulu_ has quit IRC
[23:26:52] *** MistahKurtz has joined #angularjs
[23:26:55] *** cthrax has joined #angularjs
[23:27:06] *** japhar81 has quit IRC
[23:27:26] *** Shrooms has joined #angularjs
[23:28:03] *** dhcar_AFK is now known as dhcar
[23:28:25] *** danecando has joined #angularjs
[23:28:47] <ProLoser> i kinda figured you'd relocate the evaluation callbacks into their own collections which are keyed by namespace
[23:28:59] *** Efrem has quit IRC
[23:29:40] *** vassagus_ has quit IRC
[23:29:45] <jaawerth> for $scope.$watch, yeah, I agree
[23:29:52] *** lsiv568 has quit IRC
[23:30:09] <jaawerth> but for watches in expressions and templates it would still be useful
[23:31:30] *** spatialbrew has quit IRC
[23:31:30] *** kirfu has joined #angularjs
[23:31:31] <jaawerth> you'd still need a digest for that scenario, but if they're namespaced then you could just have it trigger a local digest where those values are being used
[23:31:33] *** vassagus has joined #angularjs
[23:31:55] <jaawerth> though.. hm, I guess you couldn't do that, because you could inadvertently updated unrelated data from other namespaces
[23:32:01] <jaawerth> update*
[23:32:08] *** jagga has quit IRC
[23:32:14] *** baweaver has quit IRC
[23:32:38] <ProLoser> that was kinda the problem the core team mentioned the most
[23:32:40] *** sk87 has quit IRC
[23:32:43] <ProLoser> like one namespace affecting another
[23:32:58] <ProLoser> i would like to like draw it out and see if we could come up with fixes
[23:33:02] *** Rebirth has quit IRC
[23:33:08] <ProLoser> i don't think it's as bad as they made it out to be
[23:33:22] *** Rebirth has joined #angularjs
[23:33:27] <jaawerth> yeah, it could still be solvable... hopefully without reinventing the digest cycle
[23:33:38] <ProLoser> well to me a namespace is like 1 var or 1 object
[23:33:41] *** tschundeee has joined #angularjs
[23:33:45] *** sk87 has joined #angularjs
[23:33:56] <ProLoser> so even if 1 namespace DOES affect another, it should be like a very visible and understandable behavior
[23:34:15] <ProLoser> if you edit a product and this affects a person, i mean that's not like insane to wrap my head around
[23:34:25] <ProLoser> you just have to avoid infinite loops, but that's always been the case with watchers
[23:34:29] <jaawerth> that makes sense. it would be very doable if you limited its function to your code and not a template
[23:34:48] *** vassagus has quit IRC
[23:34:49] <ProLoser> and i find watchers as they are now are even MORE likely to cause this infinite looping complex behavior than namespaces which is essentially just fewer watchers
[23:34:50] *** vassagus_ has joined #angularjs
[23:35:12] *** bkuberek has quit IRC
[23:35:17] <ProLoser> well what you WATCH is not as complex as what you render
[23:35:17] *** Fuzzier has joined #angularjs
[23:35:32] <ProLoser> and you wouldn't namespace a var, you'd namespace an expression
[23:35:37] <jaawerth> but if you did make them usable from a template, you'd need to either update the dom without using digest, do a $scope.$apply (which would defeat the purpose), or call $scope.$digest, which would update any other watchers that share your scope but leav other ones unchanged
[23:35:42] *** Fuzzy has quit IRC
[23:35:51] *** bkuberek has joined #angularjs
[23:35:58] *** kirfu has quit IRC
[23:36:00] <ProLoser> cuz doing a * ns:b
[23:36:01] *** nya has quit IRC
[23:36:08] <jaawerth> right, that too
[23:36:12] *** liviu_ has quit IRC
[23:36:46] <ProLoser> like the whole expression is still evaluated, even though the b 'namespace' didn't change
[23:36:50] *** scythe__ has quit IRC
[23:37:15] *** Fishy has joined #angularjs
[23:37:48] <jaawerth> hmm I think I see what you mean, yeah
[23:38:04] <ProLoser> it needs to be like figured out, but that's part of what i want to do
[23:38:07] <ProLoser> like write it all out
[23:38:10] <ProLoser> or plan it out
[23:38:31] *** shpoont has quit IRC
[23:38:35] *** rafagomes_ has quit IRC
[23:38:47] <jaawerth> yeah. I might have time to play with the idea a bit at length next week, I'll let you know if I do. Let me know if you do as well, though!
[23:39:20] *** vassagus has joined #angularjs
[23:39:50] *** Linell has quit IRC
[23:39:51] <jaawerth> another potential approach would be to... basically namespace scopes
[23:40:01] <ProLoser> meh
[23:40:06] <jaawerth> which you would use independently of a view
[23:40:08] *** vassagus_ has quit IRC
[23:40:09] <ProLoser> i'm happy to talk about it, just send me a calendar invite
[23:40:15] <ProLoser> i don't work on it on my own as much tho cuz i'm busy
[23:40:21] <jaawerth> yeah, me too
[23:40:32] <jaawerth> it's entirely possible nothing will come of this conversation for a while
[23:40:40] *** avree has joined #angularjs
[23:40:46] *** ccohn has quit IRC
[23:40:52] <jaawerth> however, I DO think I'll take a crack at scroll-point next week
[23:41:08] <jaawerth> that one's been in my head a while and I need to just code it
[23:41:19] *** ccohn has joined #angularjs
[23:41:41] *** whitebook has quit IRC
[23:41:59] *** richiebkr has quit IRC
[23:42:13] *** sinequanon has joined #angularjs
[23:42:49] *** yelvert_ has quit IRC
[23:43:07] *** AlexZ has joined #angularjs
[23:43:13] *** Rebirth has quit IRC
[23:43:14] *** yelvert has joined #angularjs
[23:43:20] <jaawerth> I read your critique of that one implementation, which is good because I was initially thinking, on top of providing a controller that can be "required" for manipulation by directives, I'd also want to allow an expression to be passed in that can hook into the link function params
[23:43:32] *** whitebook has joined #angularjs
[23:43:58] <jaawerth> well, I still like that
[23:44:14] <ProLoser> i don't follow that one
[23:44:22] <ProLoser> scopes are already namespaced (essentially)
[23:44:45] <ProLoser> i don't like that because you want to intermix different namespaces or bound-once and non-bound-once expressions together in the same template
[23:44:51] <ProLoser> that's why i prefer doing it all expression based
[23:44:57] <ProLoser> you can intermix it all together
[23:45:00] <jaawerth> that makes sense
[23:45:13] <jaawerth> yeah, I was sort of drifting on that one
[23:45:37] *** TeddyMurray has quit IRC
[23:45:43] *** ccohn has quit IRC
[23:45:46] <ProLoser> which one were you referring to me critiquing?
[23:45:52] *** plato has joined #angularjs
[23:46:04] <jaawerth> oh, sorry - scroll-point. I get a little stream-of-consciousness at the end of the day
[23:46:07] <ProLoser> scrollpoint?
[23:46:07] *** ee99ee2 has joined #angularjs
[23:46:18] <ProLoser> i don't think i said you have to have a controller to use it
[23:46:34] <ProLoser> just that instead of applying a fixed class, it'd let you have multiple point triggers
[23:46:38] *** tga has left #angularjs
[23:47:07] *** sinequanon has quit IRC
[23:47:10] *** obackachewbacka has joined #angularjs
[23:47:14] *** disorder20 has quit IRC
[23:47:26] <obackachewbacka> so question,.. when will 2.0 come out?
[23:47:34] *** yelvert has quit IRC
[23:47:53] <jaawerth> ProLoser: well, just this bit "If someone wants to fuck with the original DOM element, then have them write their own directive (that possibly wraps yours). Ask yourself what they would REALLY want with it? "
[23:47:56] <ProLoser> obackachewbacka: in the future
[23:47:57] *** Fuzzy has joined #angularjs
[23:48:21] <ProLoser> jaawerth: that's sort of been something i think about with all directives
[23:48:27] <jaawerth> but yeah, the use of $direction for sure
[23:48:36] <ProLoser> like would your ather have this: <widget option1 option2 option3 option4 option5>
[23:48:55] <obackachewbacka> so should i start a project in 1.3... or wait...
[23:48:57] <ProLoser> or would you rather do <my-widget> which simply has a <widget> template and sets all the options via it's controller
[23:48:59] <jaawerth> oh, I'm the same way. Or if I am going to provide complex params, they would be in a config object
[23:49:01] <ProLoser> obackachewbacka: 1.3
[23:49:13] <jaawerth> NOT in individual attributes
[23:49:17] <ProLoser> jaawerth: honestly i don't like config objecst anymore
[23:49:27] <obackachewbacka> @ProLoser thanx man!
[23:49:29] *** yoshokatana has quit IRC
[23:49:33] <ProLoser> they were an attempt to minify verbose attributes, but they still weren't super elegant
[23:49:33] *** zumba_addict has quit IRC
[23:49:45] <jaawerth> I like a mixed approach. There are some situations where a custom directive would be overkill
[23:50:04] *** Fuzzier has quit IRC
[23:50:05] <ProLoser> well not if a custom direction took less effort
[23:50:06] *** doodlehaus has quit IRC
[23:50:10] *** annlewis has quit IRC
[23:50:12] <ProLoser> which is something i did a lot of research on
[23:50:22] <jaawerth> but I see your point - and config objects can be frustrating to use because you have to constantly refer to a module's API
[23:50:23] <ProLoser> i looked into creating templates for forms that were like mini directives
[23:50:25] <ProLoser> and ui-alias
[23:50:42] <ProLoser> jaawerth: i just hate passing callbacks and options and crap to the options attr
[23:50:45] <ProLoser> it's less interactive
[23:50:51] <jaawerth> fair
[23:50:51] <ProLoser> vs like injecting a directive's controller
[23:50:57] <ProLoser> like lets say we have a modal directive
[23:51:03] <ProLoser> and you want to control the modal from your controller
[23:51:13] *** plato has quit IRC
[23:51:16] *** coffey has joined #angularjs
[23:51:18] <ProLoser> it'd be nice if your controller could get access to THAT directive's controller for controlling it programmatically
[23:51:24] <ProLoser> i hate this shit like open="isOpen"
[23:51:33] <jaawerth> that's true
[23:51:43] <ProLoser> i looked into a directive that does nothing more but places a directive's controller onto the scope
[23:51:53] *** coffey is now known as Guest60666
[23:51:56] <jaawerth> or, worse, passing in an object so the directive can attach a function to it or that kind of craziness
[23:51:59] *** dseitz has joined #angularjs
[23:52:08] * MistahKurtz shudders
[23:52:12] <jaawerth> well, <form> does it right?
[23:52:14] <MistahKurtz> does a service not work for you?
[23:52:17] <ProLoser> like literally you'd do <div modal get-controller="{modal:$modalController}">
[23:52:20] <jaawerth> services are too global
[23:52:25] <jaawerth> for something like a modal
[23:52:28] <ProLoser> and it'd put the modal directive of that aelement into $scope.$modalController
[23:52:34] <ProLoser> and you can now access it from your controller
[23:52:45] <ProLoser> jaawerth: yes, you have to start keeping collections of all modal instances
[23:52:49] <MistahKurtz> what do you need to do exactly
[23:52:54] <ctanga> neat, livereload injects updated CSS without reloading the page
[23:52:59] <jaawerth> that's one thing I've always disliked about ui-bootstrap
[23:53:03] <ProLoser> i don't think it was a bad idea for ui-bootstrap to create a modal service, in the end it became the only thing i used
[23:53:09] *** teddyp1cker has quit IRC
[23:53:16] <jaawerth> I mean.. it works. It just bugs me
[23:53:17] <ProLoser> but there are things like grids or charts where i'd like to see better controls
[23:53:45] <ProLoser> jaawerth: i wasn't a fan at first but then i realized how stupid it was to have <modal> tags strewn about my template
[23:53:45] *** TeddyMurray has joined #angularjs
[23:53:47] *** vassagus_ has joined #angularjs
[23:53:59] <ProLoser> when you could be using templateurls
[23:54:09] <Grokling> ctanga: That is a neat trick. I use a chrome plugin to reload css on demand. Saves a bunch of loading time.
[23:54:22] <ProLoser> Grokling: you should look into livereload
[23:54:24] <jaawerth> ProLoser: what about a '&' isolate scope option, something like get-controller="controller = $controller"? too awkward?
[23:54:36] *** vassagus has quit IRC
[23:54:40] *** jdivock has quit IRC
[23:54:41] <ProLoser> the problem with attrs is they're all required (no?)
[23:54:50] <jaawerth> '&?'
[23:54:56] <jaawerth> optional
[23:54:59] <ctanga> ProLoser: I’ve been using <modal> markup, why do you prefer using $modal service?
[23:55:08] <ProLoser> you're talking about scope: { 'controller': '&' } right?
[23:55:17] <Grokling> ProLoser: Yeah, it's on the list somewhere.. Trying to get a deployment workflow working today, and discovering that my git repo is kinda incomplete for some reason.
[23:55:19] *** jdivock has joined #angularjs
[23:55:26] <jaawerth> well, scope: { controller: '&?' }
[23:55:26] *** plato1 has joined #angularjs
[23:55:31] *** jmckind has quit IRC
[23:55:35] *** annlewis has joined #angularjs
[23:55:37] <ProLoser> ctanga: iunno, modals became less and less relevant to the place where I inserted the tag
[23:55:42] <ProLoser> like lets say you have an edit person modal
[23:55:47] <ProLoser> you could put the tag inside the person view
[23:55:53] <ProLoser> but what if you randomly want to access it globally
[23:55:56] *** richiebkr has joined #angularjs
[23:55:59] <ProLoser> like your edit your own account from global nav
[23:56:07] *** Sawbones_ has quit IRC
[23:56:16] *** Guest60666 has quit IRC
[23:56:21] *** mkusher has quit IRC
[23:56:26] <ProLoser> so declaring a controller and pointing to the templateurl seemed to make more sense after a while
[23:56:36] <ProLoser> jaawerth: i mean i guess you could do that yeah
[23:56:44] *** WhatsInTheBoks has quit IRC
[23:56:46] <ProLoser> i was really planning on making a directive that does it for you
[23:56:51] *** whitebook has quit IRC
[23:56:52] <ProLoser> so people don't have to explicitly code that behavior
[23:56:53] *** livingstn has joined #angularjs
[23:57:03] <ProLoser> also my directive would handle multiple directives on 1 DOM element
[23:57:25] *** whitebook has joined #angularjs
[23:57:35] <jaawerth> you'd still need some user input to determine the name of the variable/property, though
[23:57:39] *** krawchyk has quit IRC
[23:57:43] <ProLoser> yes
[23:57:44] *** mary5030 has joined #angularjs
[23:57:53] <jaawerth> so like.. get-controller="controllerName"
[23:57:57] <ProLoser> { directiveName: $scopePropertyName }
[23:58:11] <jaawerth> hmmm yeah, that would work
[23:58:18] <jaawerth> I like it
[23:58:28] <jaawerth> think I might use that
[23:58:32] <ProLoser> that way you can do {directive1:scopeController1,directive2:etc}
[23:58:34] *** vassagus_ has quit IRC
[23:58:42] <ProLoser> the PROBLEM with that is you still have a timing issue
[23:58:43] *** morenoh150 has quit IRC
[23:58:46] <jaawerth> it makes way more sense now that I'm controllerAsing all the things
[23:58:55] <ProLoser> like the vanilla controller would have to wait for those variables to initialize before they can be used
[23:58:58] *** ZGirl has quit IRC
[23:59:10] <jaawerth> not unlike <form>, yeah
[23:59:12] *** pretzel80 has quit IRC
[23:59:17] *** apetro__ has joined #angularjs
[23:59:19] *** weems|mac has quit IRC
[23:59:27] *** cboden has quit IRC
[23:59:28] <ProLoser> i like almost all of angular's new refactors
[23:59:29] *** plato1 has quit IRC
[23:59:34] <ProLoser> but i'm not sure if i'm sold on making everything directives
[23:59:36] *** vassagus has joined #angularjs
[23:59:40] <ProLoser> i like using my stateRouter
[23:59:42] *** jdivock has quit IRC
[23:59:48] <jaawerth> yeah we'll see about that one
[23:59:52] <ProLoser> but i realize it's less "accessible" to noobs as angular used to be