[00:02:02] *** mary5030 has joined #angularjs
[00:02:31] *** arizzo has quit IRC
[00:02:47] *** baweaver has joined #angularjs
[00:03:34] *** ansimation has quit IRC
[00:04:34] *** ansimation has joined #angularjs
[00:04:52] *** hendricius has quit IRC
[00:05:10] *** mary5030_ has quit IRC
[00:05:52] *** ste_ has quit IRC
[00:05:57] *** dman777_alter has quit IRC
[00:06:23] *** ste_ has joined #angularjs
[00:07:04] *** apneic has joined #angularjs
[00:07:06] *** baweaver has quit IRC
[00:09:25] *** Germanaz0 has joined #angularjs
[00:09:35] *** baweaver has joined #angularjs
[00:09:56] *** dascodeman has joined #angularjs
[00:10:13] *** fees has quit IRC
[00:11:00] *** dopesong has quit IRC
[00:11:13] *** Ir1sh has quit IRC
[00:12:24] *** Ir1sh has joined #angularjs
[00:12:40] *** WalaWalaWala has joined #angularjs
[00:12:55] *** prbc has quit IRC
[00:14:05]
<WalaWalaWala> Hey everyone, I have an object with this kind of structure: http://www.objgen.com/json/models/iEK . I'm having a hard time copying an object and inserting it next to the source. for what I understand I have to provide a destination, but I don't know how deep in the objectis the item im trying to copy.
[00:14:05] *** Seich has quit IRC
[00:14:31] <WalaWalaWala> Is there a way to copy/duplicate the object and insert it right after it? Like a new node under the same tre?
[00:14:33] <WalaWalaWala> tree*
[00:14:58] *** italoacasas has joined #angularjs
[00:15:17] *** Seich has joined #angularjs
[00:16:16] *** prbc has joined #angularjs
[00:17:14] *** Ir1sh has quit IRC
[00:17:20] *** Sky[x] has quit IRC
[00:17:27] *** italoacasas has quit IRC
[00:19:09] *** diane has joined #angularjs
[00:21:20] *** heavyhorse has joined #angularjs
[00:25:59] *** heavyhorse has quit IRC
[00:28:40] *** enlightenmental_ has quit IRC
[00:29:34] *** italoacasas has joined #angularjs
[00:30:01] *** asteele has joined #angularjs
[00:31:55] *** italoacasas has quit IRC
[00:34:26] *** Tmo_ has quit IRC
[00:35:30] *** jacobj has joined #angularjs
[00:35:50] *** evilaliv3 has quit IRC
[00:36:07] *** jr3 has quit IRC
[00:36:19] *** Codefriar has joined #angularjs
[00:37:34] *** italoacasas has joined #angularjs
[00:37:48] *** nilsi has joined #angularjs
[00:37:56] *** canyonero has quit IRC
[00:38:10] *** b_man has quit IRC
[00:38:35] *** cacts has joined #angularjs
[00:39:02] *** italoacasas has quit IRC
[00:39:13] *** joshontheweb has joined #angularjs
[00:40:02] *** enlightenmental_ has joined #angularjs
[00:40:09] *** ste_ has quit IRC
[00:40:26] *** tobachi has quit IRC
[00:40:30] *** trihase has quit IRC
[00:40:46] *** Codefriar has quit IRC
[00:41:18] *** italoacasas has joined #angularjs
[00:41:48] *** wafflejock has quit IRC
[00:41:58] *** italoacasas has quit IRC
[00:42:16] *** Z00t_ has quit IRC
[00:42:17] *** flappynerd has joined #angularjs
[00:42:25] *** canyonero has joined #angularjs
[00:42:34] *** nilsi has quit IRC
[00:42:55] *** da_wunder has quit IRC
[00:43:07] *** bbankes_ has quit IRC
[00:44:43] *** bePolite has quit IRC
[00:46:01] *** dimtruck is now known as zz_dimtruck
[00:47:10] *** astrofog has joined #angularjs
[00:47:23] *** tobachi has joined #angularjs
[00:47:28] *** dszmaj has joined #angularjs
[00:47:37] *** mischat_ has quit IRC
[00:48:03] *** heavyhorse has joined #angularjs
[00:49:44] *** da_wunder has joined #angularjs
[00:50:09] *** jacobj has quit IRC
[00:50:15] *** conan_the_destro has joined #angularjs
[00:52:39] *** heavyhorse has quit IRC
[00:53:59] *** lorezzed has joined #angularjs
[00:54:01] <spunkygoose> \quit
[00:54:03] *** spunkygoose has quit IRC
[00:54:53] *** italoacasas has joined #angularjs
[00:55:28] *** ansimation has quit IRC
[00:56:48] *** ansimation has joined #angularjs
[00:56:52] *** lnrdo has quit IRC
[00:57:20] *** dascodeman has quit IRC
[00:57:26] *** Ronrun has quit IRC
[00:57:53] <gufi> having issues with IE and ng2, for some reason nothing shows up with a simple hello world example but works fine in edge/chrome
[00:58:05] <gufi> i get no errors, just nothing shows up
[00:58:14] *** Aliks has quit IRC
[00:58:47] *** Aliks has joined #angularjs
[00:59:04] *** kuadrosx has quit IRC
[00:59:19] *** wafflejock has joined #angularjs
[01:01:17] *** dandaman has quit IRC
[01:01:33] *** maximski has quit IRC
[01:03:04] *** mven has joined #angularjs
[01:06:17] *** dbkaplun has left #angularjs
[01:07:00] *** ArTiSTiX has quit IRC
[01:08:31] *** d10n-work has quit IRC
[01:10:17] *** jr3 has joined #angularjs
[01:10:40] *** mmacaulay has joined #angularjs
[01:12:26] *** jamesch has quit IRC
[01:13:40] *** jacobj has joined #angularjs
[01:13:53] *** ico has joined #angularjs
[01:13:55] *** s00pcan has quit IRC
[01:14:05] *** realisation has joined #angularjs
[01:14:14] *** s00pcan has joined #angularjs
[01:14:28] *** \du has quit IRC
[01:14:31] *** canyonero has quit IRC
[01:15:47] *** dascodeman has joined #angularjs
[01:16:25] *** italoacasas has quit IRC
[01:16:34] <realisation> Anyone know if there is a lodash IRC channel?
[01:16:48] *** Cokee has quit IRC
[01:17:31] *** Germanaz0 has quit IRC
[01:17:53] *** HarunTy has joined #angularjs
[01:19:14] *** froks has quit IRC
[01:19:35] *** froks has joined #angularjs
[01:20:27] *** froks has quit IRC
[01:20:48] *** froks has joined #angularjs
[01:20:58] *** ejey_ has quit IRC
[01:22:03] *** skjorrface has joined #angularjs
[01:23:50] *** walden is now known as walden|afk
[01:24:05] *** jsoh has quit IRC
[01:24:20] <skjorrface> hello. I have three different directives with their own three different controllers which use the same html file. In the template file I'd like to make ng-repeats using variables contained in the respective controller. Is there any way in angular to pass a paramater to a directive so that the ng-repeat is done on that parameter?
[01:24:47] <skjorrface> I mean same html template file
[01:26:30] *** raijin has quit IRC
[01:26:45] *** realisation has quit IRC
[01:27:18] *** ArTiSTiX has joined #angularjs
[01:27:26] *** chrisbirk has quit IRC
[01:28:03] *** chrisbirk has joined #angularjs
[01:28:17] *** erol has quit IRC
[01:29:47] *** pimlu has joined #angularjs
[01:29:59] *** fscala has quit IRC
[01:30:27] *** SteenJobs has joined #angularjs
[01:30:59] *** one_zero has joined #angularjs
[01:31:23] <SteenJobs> hey guys…if i want to run $scope.go(‘some_url’), but that url contains a variable - e.g. /user/$scope.user.id, how can i interpolate the var $scope.user.id into the string which is the link?
[01:31:25] *** ansimation has quit IRC
[01:31:41] *** s3shs has quit IRC
[01:32:00] *** fscala has joined #angularjs
[01:33:44] *** ansimation has joined #angularjs
[01:33:47] *** whitenoise has quit IRC
[01:34:07] *** whitenoise has joined #angularjs
[01:34:20] *** InezK has joined #angularjs
[01:34:21] *** canyonero has joined #angularjs
[01:34:59] *** Limix has quit IRC
[01:35:14] <SteenJobs> oh that’s awk. i can just concatenate. not sure why id idn’t try that ha
[01:35:23] <InezK> Hello. I'm fairly new to AngularJS but not to programming. I'm working on a application and I wanted to check if I'm thinking right about model in angular terms
[01:35:52] *** xylen_ has joined #angularjs
[01:36:00] *** prbc has quit IRC
[01:36:15] *** Aliks has quit IRC
[01:36:32] *** Aliks has joined #angularjs
[01:37:08] <InezK> So, let's say my application will let user edit set (collection) of records by navigating to next and previous ones as user wish. For instance, I will have Invoice, and InvoiceItem. That's how it would be handled on the backend. Should I also implement it that way in angular? And have factory for both Invoice and InvoiceItem. And specifically have Infocie facotry take JSON input, and based on that initialize InvocieItems?
[01:37:57] *** Sht0 has quit IRC
[01:38:25] *** dan2k3k4 has quit IRC
[01:38:28] *** elsevero has joined #angularjs
[01:40:17] <flappynerd> InezK: you should write a service
[01:40:32] <InezK> service responsible for whtat?
[01:40:52] <InezK> I already have a JSON from the server that represent the invoice and invoiceitems (user is only going to modify those invoiceitems)
[01:40:59] *** sbellina has quit IRC
[01:41:06] *** k-joseph has left #angularjs
[01:41:32] <flappynerd> InezK: then do what makes sense for your app
[01:41:44] <flappynerd> there’s no absolute when it comes to data modeling
[01:42:00] *** peterR`` has quit IRC
[01:42:16] <flappynerd> of course, there are academic theories that inform how you should model your data when in the context of an RDBMS, but otherwise just do what makes the most sense and is the least complicated
[01:42:31] *** sbellina has joined #angularjs
[01:42:53] *** raijin has joined #angularjs
[01:45:12] *** jacobj has quit IRC
[01:47:47] *** hefox has quit IRC
[01:48:47] *** heavyhorse has joined #angularjs
[01:49:31] *** ssss has joined #angularjs
[01:49:33] *** ansimation has quit IRC
[01:50:20] *** archon- has quit IRC
[01:50:35] *** italoacasas has joined #angularjs
[01:50:39] *** SteenJobs_ has joined #angularjs
[01:50:58] *** archon- has joined #angularjs
[01:51:31] *** quakephil_ has joined #angularjs
[01:51:41] *** quakephil has quit IRC
[01:52:04] *** Germanaz0 has joined #angularjs
[01:52:10] *** SpikeSpiegel is now known as BigPoppa
[01:52:18] *** prbc has joined #angularjs
[01:52:20] *** fiddo has joined #angularjs
[01:53:29] *** SteenJobs has quit IRC
[01:53:30] *** SteenJobs_ is now known as SteenJobs
[01:53:40] *** heavyhorse has quit IRC
[01:54:34] *** mmacaulay has quit IRC
[01:55:35] *** enlightenmental_ has quit IRC
[01:55:43] *** asteele has quit IRC
[01:56:46] *** zeioth has quit IRC
[01:58:15] <torbjorn> how can i force resolve a element(..).evaluate(...) expression, im collecting a couple of values that i need to test in various ways and id like to avoid to write 3 nested .then clauses
[01:58:21] *** ansimation has joined #angularjs
[01:58:32] *** Limix has joined #angularjs
[01:58:48] *** Eric__ has joined #angularjs
[01:58:54] *** ansimation has quit IRC
[01:59:05] *** marr has quit IRC
[01:59:18] *** sixr420 has joined #angularjs
[01:59:25] *** Eric__ has quit IRC
[02:00:36] *** enlightenmental_ has joined #angularjs
[02:00:40] *** SteenJobs has quit IRC
[02:02:24] *** baweaver has quit IRC
[02:02:51] *** xylen_ has quit IRC
[02:04:20] *** dcherman2 has quit IRC
[02:05:52] *** canyonero has quit IRC
[02:06:14] *** mrjmd has quit IRC
[02:06:21] *** jacobj has joined #angularjs
[02:06:45] *** whitenoise has quit IRC
[02:06:46] *** jr3 has left #angularjs
[02:07:03] *** heyts has joined #angularjs
[02:07:05] *** ArTiSTiX has quit IRC
[02:07:52] *** Codefriar has joined #angularjs
[02:07:52] *** ArTiSTiX has joined #angularjs
[02:10:00] *** morissette has joined #angularjs
[02:10:48] *** dcherman has joined #angularjs
[02:11:01] *** bcSquared has quit IRC
[02:11:43] *** heyts has quit IRC
[02:11:58] *** evilaliv3 has joined #angularjs
[02:12:35] *** p0k0 has quit IRC
[02:12:53] *** ton has joined #angularjs
[02:13:19] <ton> ok... so should I learn angular 2?
[02:13:56] *** xylen_ has joined #angularjs
[02:13:56] *** CAPITANOOO has joined #angularjs
[02:14:08] *** ton has quit IRC
[02:15:24] *** joshontheweb has quit IRC
[02:15:27] *** elsevero has quit IRC
[02:16:29] *** jacobj has quit IRC
[02:17:06] *** evilaliv3 has quit IRC
[02:17:55] *** Codefriar has quit IRC
[02:18:04] *** baweaver has joined #angularjs
[02:18:11] *** evilaliv3 has joined #angularjs
[02:18:54] *** CAPITANOOO has quit IRC
[02:19:53] *** SteenJobs has joined #angularjs
[02:20:04] *** icfantv has quit IRC
[02:22:36] *** joshontheweb has joined #angularjs
[02:23:22] *** mary5030 has quit IRC
[02:23:23] *** Limix has quit IRC
[02:23:34] *** mrjmd has joined #angularjs
[02:23:36] *** mary5030 has joined #angularjs
[02:24:59] *** Aliks has quit IRC
[02:25:32] *** Aliks has joined #angularjs
[02:26:11] *** ycon_ has joined #angularjs
[02:27:12] *** Germanaz0 has quit IRC
[02:29:06] *** ycon__ has joined #angularjs
[02:29:47] *** ycon_ has quit IRC
[02:30:16] *** cyan__ has quit IRC
[02:31:03] *** pingupingu has joined #angularjs
[02:32:12] *** macwinne_ has joined #angularjs
[02:32:20] *** rho has quit IRC
[02:32:50] *** ico has quit IRC
[02:32:51] *** mrbubbles has joined #angularjs
[02:33:24] *** zivester has joined #angularjs
[02:34:10] *** astrofog has quit IRC
[02:34:43] *** leolrrj has quit IRC
[02:34:44] *** Oog has joined #angularjs
[02:35:17] *** asteele has joined #angularjs
[02:36:12] *** apneic has quit IRC
[02:36:15] *** ggg has joined #angularjs
[02:37:19] *** Aliks has quit IRC
[02:37:20] *** ggg has left #angularjs
[02:37:35] *** Aliks has joined #angularjs
[02:38:37] *** nilsi has joined #angularjs
[02:39:35] *** jtimon has quit IRC
[02:40:19] *** aniasis has joined #angularjs
[02:40:23] *** FIFOd has joined #angularjs
[02:40:28] <aniasis> Anyone know of a great utility for node for XSLT?
[02:40:54] *** heavyhorse has joined #angularjs
[02:41:03] *** Mounica has quit IRC
[02:41:14] *** sctskw has joined #angularjs
[02:41:27] *** cmoney has quit IRC
[02:41:46] *** heavyhorse has quit IRC
[02:41:53] *** cmoney has joined #angularjs
[02:42:16] *** evilaliv3 has quit IRC
[02:42:29] *** lexiMon has joined #angularjs
[02:42:40] *** bayousoft has joined #angularjs
[02:42:56] *** lexileo has quit IRC
[02:43:11] *** nilsi has quit IRC
[02:44:16] *** kiwilibin has joined #angularjs
[02:44:36] *** Z3R0 has quit IRC
[02:45:06] *** jditto_ has quit IRC
[02:45:08] *** dascodeman has quit IRC
[02:45:49] <kiwilibin> I have a issue with my post request in my angular app. My $scope becomes undefined on button click to submit values to server.
[02:46:58] *** mikem_ has joined #angularjs
[02:48:36] <mikem_> who would I contact to report out of sync documentation/example code?
[02:49:19] *** Z3R0 has joined #angularjs
[02:49:57] *** dodobrain has joined #angularjs
[02:50:37] *** Z3R0 has joined #angularjs
[02:52:03] *** lexileo has joined #angularjs
[02:52:28] *** Z3R0 has left #angularjs
[02:52:46] *** lexiMon has quit IRC
[02:53:43] *** canyonero has joined #angularjs
[02:53:46] *** mikem_ has quit IRC
[02:53:51] *** rbs has quit IRC
[02:54:00] *** asteele has quit IRC
[02:54:39] *** InezK is now known as InezK_away
[02:56:34] *** BigPoppa has quit IRC
[02:56:52] *** iraj has quit IRC
[02:57:09] *** MistahKurtz has joined #angularjs
[02:57:15] *** ensyde has joined #angularjs
[02:57:58] *** Oog has quit IRC
[02:58:26] *** phrozensilver has quit IRC
[02:59:21] *** stfndk has quit IRC
[02:59:42] *** sctskw has quit IRC
[03:00:15] *** sctskw has joined #angularjs
[03:00:22] *** Aliks has quit IRC
[03:00:51] *** tobachi has quit IRC
[03:01:08] *** tobachi has joined #angularjs
[03:02:03] *** CAPITANOOO has joined #angularjs
[03:02:42] *** rickmak has joined #angularjs
[03:02:50] *** CAPITANOOO has quit IRC
[03:04:47] *** sctskw has quit IRC
[03:08:55] *** speakingcode has quit IRC
[03:09:45] *** fedenunez has joined #angularjs
[03:09:48] *** speakingcode has joined #angularjs
[03:10:06] *** SteenJobs has quit IRC
[03:10:32] *** mocx has joined #angularjs
[03:12:09] *** FIFOd has quit IRC
[03:13:06] *** Atlas has quit IRC
[03:13:08] *** mrbubbles has quit IRC
[03:13:58] *** codeitloadit has quit IRC
[03:16:10] *** Es0teric has joined #angularjs
[03:16:18] *** SteenJobs has joined #angularjs
[03:16:21] *** Atlas has joined #angularjs
[03:16:23] *** fedenunez has quit IRC
[03:16:47] *** p0k0 has joined #angularjs
[03:17:21] *** joeco has quit IRC
[03:17:23] *** ilmgb has joined #angularjs
[03:17:29] *** rickmak has quit IRC
[03:17:41] *** joeco has joined #angularjs
[03:17:46] *** Sht0 has joined #angularjs
[03:19:25] *** genepool has quit IRC
[03:19:42] *** aniasis has quit IRC
[03:19:53] *** Es0teric has quit IRC
[03:20:00] *** genepool has joined #angularjs
[03:21:00] *** aniasis has joined #angularjs
[03:21:02] *** rickmak has joined #angularjs
[03:21:12] *** SteenJobs has quit IRC
[03:22:05] *** ilmgb has quit IRC
[03:22:20] *** bcSquared has joined #angularjs
[03:23:27] *** ron_frown has joined #angularjs
[03:24:17] *** ensyde has quit IRC
[03:24:54] *** ensyde has joined #angularjs
[03:25:34] *** s3shs has joined #angularjs
[03:25:36] *** Es0teric has joined #angularjs
[03:25:46] *** Z3R0 has joined #angularjs
[03:25:46] *** Guest82811 has quit IRC
[03:25:59] *** bayousoft has quit IRC
[03:26:02] *** ensyde_ has joined #angularjs
[03:26:45] *** Aliks has joined #angularjs
[03:27:00] *** mary5030_ has joined #angularjs
[03:27:28] *** mary5030 has quit IRC
[03:27:56] *** SteenJobs has joined #angularjs
[03:29:30] *** fiddo has quit IRC
[03:29:35] *** ensyde has quit IRC
[03:29:39] <HarunTy> Hi guys! I've uploaded a base64 String as a .txt to Amazon S3, but when I download it I get a very big Array of numbers with the Type:"Buffer" is it an ArrayBuffer ?
[03:29:51] *** SteenJobs has quit IRC
[03:31:23] *** Es0teric has quit IRC
[03:31:31] *** illume has joined #angularjs
[03:32:03] *** SteenJobs has joined #angularjs
[03:32:59] *** lexileo has quit IRC
[03:33:08] *** charuru has quit IRC
[03:33:19] *** lemur has joined #angularjs
[03:33:36] *** fiddo has joined #angularjs
[03:33:39] *** Bloomer has joined #angularjs
[03:33:57] *** SteenJobs has quit IRC
[03:34:21] *** SteenJobs has joined #angularjs
[03:35:21] *** diegoaguilar has quit IRC
[03:36:05] *** ddelrio1986 has joined #angularjs
[03:37:34] *** Limix has joined #angularjs
[03:37:40] *** lemur has quit IRC
[03:37:54] *** ycon__ has quit IRC
[03:38:44] *** phrozensilver has joined #angularjs
[03:38:53] *** shinnya has quit IRC
[03:40:00] *** Jardayn has quit IRC
[03:40:15] *** f0ster has joined #angularjs
[03:41:08] *** mellernoia-work has quit IRC
[03:41:09] *** HarunTy has quit IRC
[03:41:13] *** nilsi has joined #angularjs
[03:41:40] *** SteenJobs has quit IRC
[03:43:49] *** joshontheweb has quit IRC
[03:44:17] *** randomdoude has quit IRC
[03:50:08] *** phrozensilver has quit IRC
[03:50:12] *** D9 has joined #angularjs
[03:50:30] *** mven_ has joined #angularjs
[03:50:43] *** roonie has quit IRC
[03:51:42] *** Twisted_ has joined #angularjs
[03:52:02] *** D9 has quit IRC
[03:52:12] *** roonie has joined #angularjs
[03:52:34] *** mayamai has joined #angularjs
[03:52:40] *** kajstrom has joined #angularjs
[03:52:41] *** frem has quit IRC
[03:52:53] *** Magik6k has quit IRC
[03:52:54] *** Blackshark has quit IRC
[03:52:55] *** cdracars has quit IRC
[03:52:56] *** step1step2 has quit IRC
[03:52:56] *** iamayam has quit IRC
[03:52:57] *** fly_boyz has quit IRC
[03:52:57] *** ki__ has quit IRC
[03:52:58] *** Zerot has quit IRC
[03:53:02] *** Theowning has quit IRC
[03:53:02] *** m13 has quit IRC
[03:53:02] *** Blackshark has joined #angularjs
[03:53:03] *** Poeticode has quit IRC
[03:53:03] *** ekarlso has quit IRC
[03:53:04] *** infinitestate has quit IRC
[03:53:04] *** Boniche has quit IRC
[03:53:05] *** kajstrom_ has quit IRC
[03:53:05] *** ulkesh has quit IRC
[03:53:05] *** Veejay has quit IRC
[03:53:06] *** cfloare has quit IRC
[03:53:07] *** Shrooms has quit IRC
[03:53:07] *** infinitestate has joined #angularjs
[03:53:08] *** froks has quit IRC
[03:53:08] *** mven has quit IRC
[03:53:08] *** fcanela has quit IRC
[03:53:09] *** hrusti has quit IRC
[03:53:10] *** Guest67738 has quit IRC
[03:53:10] *** suspicious_e has quit IRC
[03:53:10] *** xvlcwk has quit IRC
[03:53:10] *** D9 has joined #angularjs
[03:53:11] *** D9 is now known as 5EXAAP7S4
[03:53:12] *** xvlcwk has joined #angularjs
[03:53:12] *** Shrooms has joined #angularjs
[03:53:12] *** Veejay has joined #angularjs
[03:53:14] *** conan_the_destro has quit IRC
[03:53:15] *** SET003 has quit IRC
[03:53:16] *** Razerglass has quit IRC
[03:53:18] *** froks has joined #angularjs
[03:53:23] *** ki__ has joined #angularjs
[03:53:25] *** Theowning has joined #angularjs
[03:53:26] *** cfloare has joined #angularjs
[03:53:29] *** cdmsn has quit IRC
[03:53:29] *** malps13 has joined #angularjs
[03:53:36] *** SET003 has joined #angularjs
[03:53:39] *** Razerglass has joined #angularjs
[03:53:52] *** cdracars has joined #angularjs
[03:54:07] *** Magik6k has joined #angularjs
[03:54:08] *** dszmaj has quit IRC
[03:54:09] *** ulkesh has joined #angularjs
[03:54:12] *** digitalacetone has joined #angularjs
[03:54:19] *** Zerot has joined #angularjs
[03:54:25] *** digitalacetone has quit IRC
[03:54:33] *** suspicious_e has joined #angularjs
[03:54:53] *** InezK_away is now known as InezK
[03:55:02] *** dszmaj has joined #angularjs
[03:55:06] *** maximski has joined #angularjs
[03:55:10] *** dbclk has joined #angularjs
[03:55:55] *** fcanela has joined #angularjs
[03:55:55] *** fcanela has joined #angularjs
[03:57:11] *** hg779 has quit IRC
[03:57:49] *** Boniche has joined #angularjs
[04:00:16] *** ah has joined #angularjs
[04:00:40] *** ah is now known as Guest24483
[04:01:47] *** italoacasas has quit IRC
[04:02:12] *** Ownix has quit IRC
[04:02:39] *** Ownix has joined #angularjs
[04:02:45] *** italoacasas has joined #angularjs
[04:04:49] *** dantix has left #angularjs
[04:05:14] *** step1step2 has joined #angularjs
[04:05:44] *** InezK is now known as InezK_away
[04:06:12] *** node9 has joined #angularjs
[04:06:50] *** sssilver_ has quit IRC
[04:07:09] *** ekarlso has joined #angularjs
[04:07:16] *** joshontheweb has joined #angularjs
[04:08:01] *** D-Boy has quit IRC
[04:08:37] *** Z3R0 has quit IRC
[04:08:50] *** pingupingu has quit IRC
[04:08:55] *** roonie has quit IRC
[04:09:12] *** SteenJobs has joined #angularjs
[04:10:10] *** hefox has joined #angularjs
[04:10:11] *** roonie has joined #angularjs
[04:11:00] *** ssss has quit IRC
[04:11:08] *** Aliks has quit IRC
[04:13:13] *** dszmaj has quit IRC
[04:14:04] *** dszmaj has joined #angularjs
[04:15:21] *** prbc has quit IRC
[04:16:41] <jalnt> hello
[04:16:58] <jalnt> does anyone know of any good HTML editor directives?
[04:17:09] *** Aliks has joined #angularjs
[04:18:33] <jalnt> I don't want a WYSIWYG editor, I want a better text-area that allows you to easily indent code, maybe even autocomplete tags, stuff like that
[04:18:46] <jalnt> Like codecademy's editor, if anyone has used that
[04:19:04] <caitp> codemirror?
[04:19:06] *** snobro has joined #angularjs
[04:19:59] *** Codefriar has joined #angularjs
[04:20:00] *** D-Boy has joined #angularjs
[04:20:32] *** Tmo_ has joined #angularjs
[04:20:37] *** SteenJobs has quit IRC
[04:21:03] *** SteenJobs has joined #angularjs
[04:21:22] *** Codefriar has quit IRC
[04:23:33] *** jotbe has joined #angularjs
[04:24:27] *** mocx has left #angularjs
[04:24:29] *** joeco_l has joined #angularjs
[04:24:47] *** metame has quit IRC
[04:24:59] *** baweaver has quit IRC
[04:25:02] *** joeco has quit IRC
[04:25:08] *** e has joined #angularjs
[04:25:33] *** e is now known as Guest89936
[04:25:36] *** SteenJobs has quit IRC
[04:25:43] <Guest89936> o
[04:25:59] *** _jotbe has quit IRC
[04:26:00] *** dddd has joined #angularjs
[04:26:09] *** SteenJobs has joined #angularjs
[04:26:18] <dddd> test123
[04:26:32] <Guest89936> a
[04:26:53] <dddd> im noob
[04:26:59] *** dddd has quit IRC
[04:27:26] <Guest89936> who ?
[04:27:54] *** asteele has joined #angularjs
[04:28:08] <Guest89936> shit
[04:31:50] *** s3shs has quit IRC
[04:33:41] *** abes has joined #angularjs
[04:33:50] *** s3shs has joined #angularjs
[04:34:39] *** snobro has quit IRC
[04:35:53] *** froks has quit IRC
[04:37:22] *** Aliks has quit IRC
[04:38:55] *** Sht0 has quit IRC
[04:41:15] *** heyts has joined #angularjs
[04:41:25] *** skjorrface has quit IRC
[04:43:25] *** baweaver has joined #angularjs
[04:44:19] *** kakashiAL has quit IRC
[04:44:44] *** wonder95 has quit IRC
[04:46:23] *** heyts has quit IRC
[04:47:31] *** nilsi has quit IRC
[04:47:34] *** baweaver has quit IRC
[04:47:42] *** vader699 has quit IRC
[04:48:17] *** ensyde_ has quit IRC
[04:48:43] *** s3shs has quit IRC
[04:48:59] *** ensyde_ has joined #angularjs
[04:49:33] *** ron_frown has quit IRC
[04:49:52] *** vader699 has joined #angularjs
[04:52:09] *** ron_frown has joined #angularjs
[04:52:57] *** Guest89936 has quit IRC
[04:53:44] *** jhirley has quit IRC
[04:57:07] *** pimlu has quit IRC
[05:00:03] *** Sht0 has joined #angularjs
[05:00:05] *** quakephil_ has quit IRC
[05:02:22] *** illume has quit IRC
[05:02:29] *** iateadonut has joined #angularjs
[05:02:29] *** pingupingu has joined #angularjs
[05:03:41] *** Ir1sh has joined #angularjs
[05:06:51] *** gato has joined #angularjs
[05:06:54] *** Sht0 has quit IRC
[05:07:07] *** amdi_ has joined #angularjs
[05:07:52] *** Aliks has joined #angularjs
[05:08:22] <gato> Allo? Having problem with angular2 just upgraded to beta.1 and <HTMLCanvasElement>document.getElementById is returning null in a component constructor. Using TypeScript 1.7.5. any advice?
[05:08:26] *** Ir1sh has joined #angularjs
[05:08:37] <gato> Not really a front-end dev, just got pushed onto the project
[05:08:43] *** tonyism has joined #angularjs
[05:08:48] <tonyism> Hello! Anyone around?
[05:09:01] *** Ir1sh has quit IRC
[05:10:02] <tonyism> I could use a a brain real quick if anyone wants to answer an angular question for me.
[05:10:43] *** prbc has joined #angularjs
[05:11:24] *** Twisted_ has quit IRC
[05:11:37] <gato> lots of people...nobody home
[05:11:54] <tonyism> Gato, you pretty experienced with angular?
[05:12:52] *** stevenroose|BNC is now known as stevenroose
[05:12:53] <gato> not at all. just got pushed onto a front end project and was hoping for some help. oh, well. I guess I'll have to go to stack
[05:13:04] <tonyism> What you need?
[05:13:11] <tonyism> I could possibly help.
[05:13:14] <tonyism> Not sure though.
[05:14:09] <gato> Well, I just moved to beta and the HTMLCanvasElement.getElementById is now returning null. I'm using TypeScript. Not completely angular, but it was working before.
[05:14:49] *** airtonix has quit IRC
[05:15:05] *** Sht0 has joined #angularjs
[05:15:09] *** tonyism has quit IRC
[05:15:10] *** airtonix__ has joined #angularjs
[05:15:23] *** italoacasas has quit IRC
[05:17:05] <lorezzed> gato maybe the element doesnt exists when you call it
[05:17:07] *** jayeshsolanki has joined #angularjs
[05:17:37] *** jayeshsolanki has joined #angularjs
[05:18:00] *** rchavik has joined #angularjs
[05:18:28] *** ilmgb has joined #angularjs
[05:19:14] *** rickmak has quit IRC
[05:19:23] *** canyonero has quit IRC
[05:19:29] <gato> Well, sort of. I've seen solutions for this on javascript, but not on typescript. It's because the element is called before it is created. Something about the HTML and js not getting along.
[05:19:54] <gato> And I don't know how to translate from js to ts
[05:20:18] <lorezzed> js will work in ts files
[05:20:28] <gato> Most solutions are create an init function that gets called before the document loads, or similar language
[05:20:39] <abes> I am here too... mainly seeking help, but we can brainstorm.
[05:20:48] *** chrisbirk has quit IRC
[05:21:35] <gato> function init() { // Run your javascript code here } document.addEventListener("DOMContentLoaded", init, false);
[05:21:39] *** chrisbirk has joined #angularjs
[05:21:41] *** zz_dimtruck is now known as dimtruck
[05:21:50] <gato> that's the solution I've seen
[05:22:37] *** ziyadb has quit IRC
[05:22:42] <gato> but, then I don't know where init gets called from. Right now the tricky code is in the component constructor
[05:22:46] *** SteenJobs has quit IRC
[05:22:50] *** ilmgb has quit IRC
[05:23:30] <lorezzed> DOMContentLoaded is a handle of the browser
[05:23:34] *** ron_frown has quit IRC
[05:23:39] *** smccarthy has quit IRC
[05:23:56] <lorezzed> so when that event fires, it will execute `init`
[05:25:24] *** peterbsmith has joined #angularjs
[05:25:28] <gato> Okay, so should I move this code from the typescript component constructor or just wrap it directly in the constructor?
[05:25:33] <peterbsmith> hey all
[05:26:13] *** SteenJobs has joined #angularjs
[05:27:08] <lorezzed> i havent used ng2 yet
[05:27:13] *** smccarthy has joined #angularjs
[05:27:27] <lorezzed> give it a blast and let us know what happens
[05:28:40] *** dbclk has quit IRC
[05:29:11] <peterbsmith> anyone here an ionic user?
[05:31:03] *** Maxxed has quit IRC
[05:31:21] <gato> Actually, I just realized what happened and I have the dumb. I was on beta.1 instead of beta.0 and beta.1 is still in dev. So, they must've broken that in some way, because everything works fine as-is on beta.0. Doh!
[05:31:43] *** Maxxed has joined #angularjs
[05:31:59] <gato> Thanks for the help, lorezzed!
[05:32:23] *** smccarthy has quit IRC
[05:33:39] *** cornerma1 has joined #angularjs
[05:34:45] *** gufi- has joined #angularjs
[05:34:47] *** Sht0 has quit IRC
[05:35:07] *** Sht0 has joined #angularjs
[05:35:18] *** b0x has joined #angularjs
[05:35:19] *** b0x has joined #angularjs
[05:35:55] *** Codefriar has joined #angularjs
[05:36:47] <lorezzed> a bit too bleeding edge :p
[05:36:53] <lorezzed> thats a strange thing to break though
[05:36:54] *** cornerman has quit IRC
[05:37:06] *** cornerma1 is now known as cornerman
[05:37:29] *** mrjmd has quit IRC
[05:38:25] *** gufi has quit IRC
[05:38:46] *** Limix has quit IRC
[05:38:48] *** kp666 has joined #angularjs
[05:39:43] <peterbsmith> lorezzed: never used ng2?
[05:39:55] *** kp666 has joined #angularjs
[05:40:50] *** dimtruck is now known as zz_dimtruck
[05:42:39] *** Sht0 has quit IRC
[05:42:40] *** kp666 has quit IRC
[05:42:47] *** stfndk has joined #angularjs
[05:43:09] *** kp666 has joined #angularjs
[05:43:55] *** fscala has quit IRC
[05:44:32] *** empyreany has quit IRC
[05:45:06] *** kp666 has quit IRC
[05:45:08] *** Sht0 has joined #angularjs
[05:45:21] *** fscala has joined #angularjs
[05:45:31] *** kp666 has joined #angularjs
[05:45:57] *** Croves has joined #angularjs
[05:47:01] *** nilsi has joined #angularjs
[05:47:28] *** kp666 has quit IRC
[05:47:54] *** kp666 has joined #angularjs
[05:47:55] *** mrjmd has joined #angularjs
[05:48:04] *** pimlu has joined #angularjs
[05:48:16] *** fly_boyz has joined #angularjs
[05:48:55] *** fairuz has joined #angularjs
[05:49:04] *** peterbsmith has quit IRC
[05:49:05] *** n00bdev has joined #angularjs
[05:49:38] *** kp666 has quit IRC
[05:49:50] *** Aliks has quit IRC
[05:50:09] *** kp666 has joined #angularjs
[05:50:23] *** maximski has quit IRC
[05:50:25] *** regedit has joined #angularjs
[05:51:22] *** jacobj has joined #angularjs
[05:52:00] *** kp666 has quit IRC
[05:52:10] *** baweaver has joined #angularjs
[05:54:09] *** SteenJobs has quit IRC
[05:54:41] *** SteenJobs has joined #angularjs
[05:56:39] *** chrisbirk has quit IRC
[05:57:29] *** joshontheweb has quit IRC
[06:00:43] *** \du has joined #angularjs
[06:01:25] *** pingupingu has quit IRC
[06:02:18] *** MALICE01 has joined #angularjs
[06:02:39] *** MALICE01 has left #angularjs
[06:02:40] *** SteenJobs has quit IRC
[06:02:46] *** gato has quit IRC
[06:03:33] *** SteenJobs has joined #angularjs
[06:06:26] *** Sht0 has quit IRC
[06:08:08] *** wonder95 has joined #angularjs
[06:11:29] *** webdev007 has quit IRC
[06:11:32] *** Croves has quit IRC
[06:11:43] *** rsully_ has quit IRC
[06:15:43] <lorezzed> not properly no
[06:16:41] *** pingupingu has joined #angularjs
[06:16:54] <jalnt> caitp: Thanks for answering my question before. I sort of asked and forgot to check back :P
[06:17:06] <jalnt> codemirror looks good though, I'll look into it
[06:18:16] *** tobachi has quit IRC
[06:18:28] *** phrozensilver has joined #angularjs
[06:18:47] *** fairuz has left #angularjs
[06:19:28] *** rsully has joined #angularjs
[06:19:34] *** erol has joined #angularjs
[06:19:52] <lorezzed> ace + codemirror are the bigs ones
[06:20:02] *** sbellina has quit IRC
[06:20:43] *** amdi_ has quit IRC
[06:23:07] *** BigBangUDR has joined #angularjs
[06:24:22] *** n00bdev has quit IRC
[06:24:44] *** mrjmd has quit IRC
[06:26:31] *** BigBangUDR has quit IRC
[06:28:09] <flappynerd> hmm, so I'm looking at some pre-existing code (I didn't write)
[06:28:27] <flappynerd> and I noticed it dep injects a var simply called Article
[06:28:27] *** smccarthy has joined #angularjs
[06:28:35] <flappynerd> which appears to retrieve ArticleService
[06:28:40] <flappynerd> is that standard in angular 1.4.x ?
[06:28:54] *** brodul has quit IRC
[06:29:28] *** heyts has joined #angularjs
[06:29:38] *** thirdknife has joined #angularjs
[06:29:44] *** Codefriar has quit IRC
[06:29:55] *** jayeshsolanki has quit IRC
[06:31:15] *** hefox has quit IRC
[06:32:57] *** brodul has joined #angularjs
[06:33:41] *** smccarthy has quit IRC
[06:34:26] *** heyts has quit IRC
[06:38:14] *** cacts has quit IRC
[06:40:04] *** mrjmd has joined #angularjs
[06:40:43] *** Tmo_ has quit IRC
[06:40:49] <lorezzed> flappynerd sounds like regular DI
[06:41:01] *** Tmo_ has joined #angularjs
[06:44:55] *** Sht0 has joined #angularjs
[06:47:29] <flappynerd> lorezzed: ok so if I include a dep that is not explicitly declared by that exact name, then angular will automatically search for that thing + Service?
[06:47:37] <flappynerd> lorezzed: is there a precedence for things it will search for?
[06:47:43] <flappynerd> first Services, then Directives etc?
[06:48:10] <flappynerd> say I include Foo, but nothing named simply "Foo" has been declared
[06:48:24] <flappynerd> angular will then search for things like FooService and then FooDirective and etc?
[06:48:34] <flappynerd> also where would I find this in the docs?
[06:48:52] *** phrozensilver has quit IRC
[06:49:12] *** gambl0re has quit IRC
[06:49:19] <lorezzed> angular registers its components at setup like `controller`, `directive`, `service`, `factory`
[06:49:30] <flappynerd> I think I knew this somewhere in my memory now that I think of it, but just wanna see where it's located in the docs
[06:49:31] *** gambl0re has joined #angularjs
[06:49:49] <flappynerd> lorezzed: sure you mean like with angular.service(... and angular.factory(... ?
[06:49:52] <lorezzed> the docs are rubbish tbh
[06:49:58] <flappynerd> hahah, wonderful
[06:50:22] <flappynerd> lorezzed: so what if I had both MessageService and MessageController
[06:50:27] <flappynerd> what happens when I include Message
[06:50:35] <flappynerd> which one does it take over the other?
[06:50:47] <lorezzed> yeh so ```angular.factory('myFactory', function() {... });``` registers myFactory
[06:51:01] <lorezzed> ill use your example
[06:51:31] <lorezzed> angular.controller('MessageController', function(MessageService) {... });
[06:51:51] <lorezzed> so MessageService gets injected to MessageController
[06:53:18] <lorezzed> so you now have access to the MessageService from MesageController
[06:57:13] *** dszmaj has quit IRC
[06:57:18] *** gasbakid has joined #angularjs
[06:57:45] *** Warrior_ has joined #angularjs
[06:58:16] <flappynerd> sure, the code I'm looking at however is angular.controller('MessageController', function(Message) {... });
[06:58:21] <flappynerd> which appears to load MessageService
[06:58:43] *** uNki has joined #angularjs
[06:58:43] *** rhp has joined #angularjs
[06:59:38] <flappynerd> lorezzed: I'm wondering how it knows to load MessageService specifically as opposed to MessageFoo like MessageDirective etc
[07:00:05] <lorezzed> mmm not sure i follow
[07:00:18] *** ddelrio1986 has quit IRC
[07:00:21] *** VeeWee has joined #angularjs
[07:00:26] *** elsevero has joined #angularjs
[07:00:27] <flappynerd> lorezzed: well, it literally just says "Message" as the function param
[07:00:39] <lorezzed> ah
[07:00:41] <flappynerd> just wondering how angular translates that into loading MessageService
[07:00:51] <lorezzed> and the error says MessageService
[07:01:00] <flappynerd> uh, there's no error
[07:01:06] <flappynerd> just wondering how this code works
[07:01:19] *** elsevero has quit IRC
[07:01:48] <lorezzed> for some reason angular is appending Message with 'Service'
[07:01:57] <flappynerd> right, that's what it seems
[07:02:02] *** hefox has joined #angularjs
[07:02:16] <flappynerd> just wondering if that's like known and automatic and where the docs might be talking about this bit of magic
[07:02:19] *** gasbakid has quit IRC
[07:02:27] <lorezzed> so if you rename 'Message' to 'MessageService' then i bet that whatever you are looking at will say 'MessageServiceService'
[07:02:47] <flappynerd> heh, well, again I'm not really "looking" at anything
[07:02:56] *** Sht0 has quit IRC
[07:03:00] <flappynerd> the controller code then simply calls things like Message.fetch and Message.save etc
[07:03:28] <flappynerd> angular.controller('MessageController', function(Message) { $scope.getMessages = function() { Message.fetch()... } });
[07:03:36] <flappynerd> stuff like that
[07:04:06] *** bePolite has joined #angularjs
[07:04:13] *** Limix has joined #angularjs
[07:05:07] *** Sht0 has joined #angularjs
[07:05:48] *** gasbakid has joined #angularjs
[07:06:03] <flappynerd> lorezzed: ^
[07:06:10] *** Warrior_ has quit IRC
[07:06:43] <flappynerd> everything "works", it's just curious to me that Message can be referenced like that and that angular knows to pull in the service specifically
[07:07:14] <lorezzed> magic i spose
[07:07:20] <lorezzed> and the module pattern
[07:08:22] <flappynerd> woohoo, magic! :)
[07:08:33] <flappynerd> oh well, I'll just move on and accept that this is what it does for now
[07:10:04] *** gasbakid has quit IRC
[07:11:39] *** littlephild has joined #angularjs
[07:12:55] *** Sht0 has quit IRC
[07:13:25] *** SomeKittens has quit IRC
[07:13:44] <littlephild> hello
[07:13:55] *** gasbakid has joined #angularjs
[07:14:22] *** littlephild has quit IRC
[07:14:55] *** rsully has quit IRC
[07:14:58] *** Tmo_ has quit IRC
[07:15:01] *** Sht0 has joined #angularjs
[07:15:10] *** gasbakid has quit IRC
[07:15:31] *** plutoniix has quit IRC
[07:17:04] *** rsully has joined #angularjs
[07:17:10] *** zivester has quit IRC
[07:19:21] *** ilmgb has joined #angularjs
[07:19:29] *** \du has quit IRC
[07:20:24] *** pingupingu has quit IRC
[07:22:22] *** mrjmd has quit IRC
[07:22:55] *** codeitloadit has joined #angularjs
[07:24:11] *** codeitloadit has quit IRC
[07:24:23] *** ilmgb has quit IRC
[07:24:51] *** codeitloadit has joined #angularjs
[07:25:01] *** mrjmd has joined #angularjs
[07:25:13] *** n00bdev has joined #angularjs
[07:25:16] *** mrjmd has quit IRC
[07:25:27] *** rickmak_ has joined #angularjs
[07:27:20] *** sigurding has joined #angularjs
[07:29:09] *** jacobj has quit IRC
[07:29:50] *** n00bdev has quit IRC
[07:30:12] *** Aliks has joined #angularjs
[07:31:11] *** regedit has quit IRC
[07:31:33] *** regedit has joined #angularjs
[07:32:20] *** cacts has joined #angularjs
[07:34:20] *** Sht0 has quit IRC
[07:35:08] *** Sht0 has joined #angularjs
[07:40:48] *** erol has quit IRC
[07:41:06] *** dodobrain has quit IRC
[07:42:13] *** Limix has quit IRC
[07:43:08] *** Sht0 has quit IRC
[07:45:02] *** jae has joined #angularjs
[07:45:08] *** Sht0 has joined #angularjs
[07:45:20] *** macwinne_ has quit IRC
[07:45:28] *** roby_ has joined #angularjs
[07:45:47] *** macwinne_ has joined #angularjs
[07:45:50] <roby_> hey folks, how can I run angular 2 on the client-side only ? I mean what libraries should I include in the html?
[07:46:23] *** rscata has joined #angularjs
[07:46:33] *** Zalabinsky has joined #angularjs
[07:47:42] *** hefox has quit IRC
[07:50:17] *** punknroll has joined #angularjs
[07:51:56] *** pimlu has quit IRC
[07:52:55] *** Sht0 has quit IRC
[07:53:08] *** sbellina has joined #angularjs
[07:53:42] *** plutoniix has joined #angularjs
[07:55:08] *** Sht0 has joined #angularjs
[07:56:57] *** s00pcan has quit IRC
[07:57:07] *** dcherman has quit IRC
[07:57:11] *** hefox has joined #angularjs
[07:57:35] *** ali4ever4 has joined #angularjs
[07:57:48] *** Sky[x] has joined #angularjs
[07:59:32] *** Sht0 has quit IRC
[07:59:33] *** uNki has quit IRC
[07:59:59] *** uNki has joined #angularjs
[08:00:07] *** cacts has quit IRC
[08:00:28] *** george_v has joined #angularjs
[08:00:46] *** rhp has quit IRC
[08:02:24] *** Limarson has joined #angularjs
[08:04:12] *** pimlu has joined #angularjs
[08:07:31] *** xiinotulp has joined #angularjs
[08:07:32] *** raijin has quit IRC
[08:07:47] *** raijin has joined #angularjs
[08:09:51] *** soee_ has joined #angularjs
[08:10:50] *** plutoniix has quit IRC
[08:11:35] *** xiinotulp is now known as plutoniix
[08:12:02] <abes> Is it ok to post a question about having somebody tutor me 1on1 with a few things AngularJS for a fee here?
[08:15:56] *** n00bdev has joined #angularjs
[08:17:40] *** heyts has joined #angularjs
[08:18:03] *** kiwilibin has quit IRC
[08:18:10] *** bePolite has quit IRC
[08:22:10] *** prbc has quit IRC
[08:22:14] *** heyts has quit IRC
[08:25:20] *** Aliks has quit IRC
[08:25:53] *** prbc has joined #angularjs
[08:26:27] *** n00bdev has quit IRC
[08:27:15] *** elsevero has joined #angularjs
[08:30:05] *** Guest18973 has joined #angularjs
[08:30:26] *** GriffinHeart has joined #angularjs
[08:30:54] *** ensyde_ has quit IRC
[08:33:37] *** sbasso has quit IRC
[08:33:38] *** svycka has joined #angularjs
[08:33:54] *** vytautas_ has joined #angularjs
[08:34:22] *** BigBangUDR has joined #angularjs
[08:35:21] *** marthinal has joined #angularjs
[08:35:57] *** bbarke has left #angularjs
[08:36:22] *** JohnT has joined #angularjs
[08:37:43] *** Sungwon has joined #angularjs
[08:38:15] <Sungwon> Hi
[08:38:41] *** TyrfingMjolnir has joined #angularjs
[08:38:50] *** Guest18973 has quit IRC
[08:41:09] *** plekplek has joined #angularjs
[08:41:33] *** Aliks has joined #angularjs
[08:42:02] *** brollypop has joined #angularjs
[08:42:36] *** Debnet has joined #angularjs
[08:42:41] *** dutis has joined #angularjs
[08:43:19] *** TyrfingMjolnir has quit IRC
[08:44:05] *** ahhhndi has joined #angularjs
[08:45:19] *** dan2k3k4 has joined #angularjs
[08:46:18] *** skyx has joined #angularjs
[08:47:23] *** Aliks has quit IRC
[08:48:38] *** Sky[x] has quit IRC
[08:48:41] *** soee_ has quit IRC
[08:49:05] *** soee has joined #angularjs
[08:51:00] *** ste_ has joined #angularjs
[08:51:43] *** BigBangUDR has quit IRC
[08:51:58] *** raijin has quit IRC
[08:54:08] *** raijin has joined #angularjs
[08:54:47] *** speaking1ode has joined #angularjs
[08:54:50] *** prbc has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:56:45] *** Aliks has joined #angularjs
[08:57:15] *** ste_ has quit IRC
[09:00:17] *** Aliks has quit IRC
[09:01:11] *** jstroem has joined #angularjs
[09:02:09] *** encryptd_fractal has joined #angularjs
[09:06:27] *** icebox has joined #angularjs
[09:08:03] *** \du has joined #angularjs
[09:08:04] *** \du has joined #angularjs
[09:08:29] *** jonasliljestrand has joined #angularjs
[09:11:36] *** kakashiAL has joined #angularjs
[09:12:26] *** denisra has joined #angularjs
[09:13:59] *** denisra_ has quit IRC
[09:14:20] *** xylen_ has quit IRC
[09:15:11] *** TyrfingMjolnir has joined #angularjs
[09:15:39] *** jtimon has joined #angularjs
[09:15:44] *** dopesong has joined #angularjs
[09:17:18] *** GriffinHeart has quit IRC
[09:18:55] *** Aliks has joined #angularjs
[09:20:01] *** GriffinHeart has joined #angularjs
[09:20:03] *** ste_ has joined #angularjs
[09:20:08] *** ilmgb has joined #angularjs
[09:20:34] *** FenikkusuOsiris has quit IRC
[09:21:53] *** skyx__ has joined #angularjs
[09:23:01] *** tangorri has joined #angularjs
[09:24:02] *** skyx has quit IRC
[09:24:26] *** ilmgb has quit IRC
[09:25:02] *** Sky[x] has joined #angularjs
[09:26:03] *** cvanball has joined #angularjs
[09:26:40] *** lnrdo has joined #angularjs
[09:27:00] *** skyx__ has quit IRC
[09:27:58] *** TyrfingMjolnir has quit IRC
[09:28:16] *** cvanball has quit IRC
[09:28:29] *** Po has joined #angularjs
[09:29:10] *** TyrfingMjolnir has joined #angularjs
[09:30:23] *** RTPMatt has quit IRC
[09:30:29] *** Aliks has quit IRC
[09:31:36] *** Aliks has joined #angularjs
[09:31:49] *** regedit has quit IRC
[09:32:06] *** Aliks has quit IRC
[09:33:10] *** AndrewIsh has joined #angularjs
[09:33:14] *** Aliks has joined #angularjs
[09:33:28] *** Firo has joined #angularjs
[09:35:02] *** GeekJon has joined #angularjs
[09:35:31] *** n00bdev has joined #angularjs
[09:35:40] *** Sky[x] has quit IRC
[09:35:47] *** riddle_ has joined #angularjs
[09:36:12] *** vpi has joined #angularjs
[09:36:19] *** hefox has quit IRC
[09:36:38] *** marthinal has quit IRC
[09:37:02] *** Aliks has quit IRC
[09:37:16] *** ilmgb has joined #angularjs
[09:37:46] *** lnrdo has quit IRC
[09:37:55] *** alowaniak has joined #angularjs
[09:38:33] *** jstroem_ has joined #angularjs
[09:39:22] *** iraj has joined #angularjs
[09:39:45] *** BahamutWC|Laptop has quit IRC
[09:40:32] *** regedit has joined #angularjs
[09:40:37] *** aghiuru has joined #angularjs
[09:40:37] *** prbc has joined #angularjs
[09:41:10] *** cvanball has joined #angularjs
[09:41:39] *** jstroem has quit IRC
[09:42:39] *** speaking1ode has quit IRC
[09:42:52] *** riddle_ has quit IRC
[09:44:31] *** donguston has quit IRC
[09:44:44] *** jtimon has quit IRC
[09:44:51] *** donguston has joined #angularjs
[09:45:25] *** yky_ has joined #angularjs
[09:45:47] *** equilibriumuk has quit IRC
[09:47:55] *** ste_ has quit IRC
[09:48:07] *** equilibriumuk has joined #angularjs
[09:48:25] <icebox> roby_: remove the line var config = require('./config');
[09:49:03] *** dopesong has quit IRC
[09:49:05] *** macobo has joined #angularjs
[09:50:35] <roby_> icebox: not it cannot find module html
[09:50:46] *** jlebrech has joined #angularjs
[09:50:47] <roby_> now*
[09:50:48] <icebox> roby_: sure... it cannot find config.js
[09:51:03] <icebox> roby_: complain with the author :)
[09:51:14] *** tomaz_b has joined #angularjs
[09:51:22] *** evilaliv3 has joined #angularjs
[09:51:28] <icebox> roby_: you should understand what the code does and fix it
[09:51:48] <icebox> roby_: in the post there are a few typos and there is missing stuff
[09:52:17] <roby_> icebox: that sucks :(
[09:52:17] <icebox> roby_: I saw you wrote a comment there
[09:52:29] <roby_> icebox: yeah, in hopes he responds
[09:52:56] <roby_> icebox: is that tutorial a good starting place or ?
[09:53:14] <icebox> roby_: I don't know what you are looking for
[09:53:21] *** guilbep has joined #angularjs
[09:53:39] <roby_> icebox: just like last time, making a node server and have the frontend run with angular 2
[09:54:56] *** hefox has joined #angularjs
[09:55:29] *** n00bdev has quit IRC
[09:55:44] *** fscala has quit IRC
[09:56:52] *** Hounddog has joined #angularjs
[09:58:02] *** max_dev has quit IRC
[09:58:16] *** fees has joined #angularjs
[09:58:45] *** fscala has joined #angularjs
[09:59:20] *** max_dev has joined #angularjs
[09:59:49] <Ozd> i am using angular 1.4 with ui-router
[10:00:05] <Ozd> i need to develop a search page
[10:00:13] <Ozd> i need all of the parameters to be optional
[10:00:14] *** prbc has quit IRC
[10:00:23] *** fixl has joined #angularjs
[10:00:46] <Ozd> like domain.com/#/search?projectId=10&from=a at asdf dot com bla bla
[10:00:49] <Ozd> tons of parameters
[10:01:02] <Ozd> how can i make my state so that all those will be passed the controller
[10:01:04] <Ozd> ?
[10:01:23] *** equilibriumuk has quit IRC
[10:02:16] *** TyrfingMjolnir has quit IRC
[10:02:28] *** marthinal has joined #angularjs
[10:02:40] *** BigBangUDR has joined #angularjs
[10:03:11] *** Z00t has joined #angularjs
[10:03:27] *** ali4ever4 has quit IRC
[10:03:39] *** equilibriumuk has joined #angularjs
[10:04:33] *** jamesch has joined #angularjs
[10:05:28] *** asteele has quit IRC
[10:05:49] *** heyts has joined #angularjs
[10:06:56] *** soee_ has joined #angularjs
[10:07:02] *** joshontheweb has joined #angularjs
[10:08:29] *** zlude has quit IRC
[10:09:09] *** Cokee has joined #angularjs
[10:09:33] *** ryanpotternz has joined #angularjs
[10:09:38] *** flappynerd has quit IRC
[10:10:35] *** heyts has quit IRC
[10:10:35] *** soee has quit IRC
[10:12:41] *** TyrfingMjolnir has joined #angularjs
[10:12:59] <kakashiAL> when templates lazy load, in general angular fires your own defined directives inside that template (partial)
[10:13:08] <kakashiAL> in my case it does not work and I dont know why
[10:13:27] <kakashiAL> I have some templates that I include with ng-include
[10:13:39] <kakashiAL> inside that templates there are some of my directives
[10:13:59] *** drptbl has joined #angularjs
[10:14:34] <kakashiAL> but my directives does not fire, they dont work, but if I visite the template again, they work
[10:16:33] *** fiddo has quit IRC
[10:16:53] *** GriffinHeart has quit IRC
[10:17:54] *** zlude has joined #angularjs
[10:18:10] <icebox> kakashiAL: it seems to remember you are using caching there
[10:18:58] <icebox> kakashiAL: I don't know you are using that setup... but using a router (ui router) is a better alternative
[10:19:07] <roby_> icebox: I'm getting ssl errors cause corp-proxy
[10:19:11] *** hefox has quit IRC
[10:19:15] *** primepie has quit IRC
[10:19:20] *** fiddo has joined #angularjs
[10:19:22] *** primepie has joined #angularjs
[10:19:38] <roby_> icebox: when trying to install, my npm settings are good however
[10:19:55] *** joshontheweb has quit IRC
[10:20:43] <icebox> roby_: you need to configure correctly your http_proxy and https_proxy vars :)
[10:21:46] *** cotko has joined #angularjs
[10:22:04] <icebox> kakashiAL: however, did you use senayar's suggestion about dynamic caching?
[10:22:12] *** joshontheweb has joined #angularjs
[10:23:13] <kakashiAL> icebox: I tried caching there and it works, but I pasted a string that has more than 300 characters, which is a whole file, not a good solution
[10:23:44] <kakashiAL> icebox: but it should work and I dont know why
[10:23:49] *** burzum has joined #angularjs
[10:23:55] <kakashiAL> icebox: would it be helpful if you see the directive?
[10:23:58] <icebox> kakashiAL: did you follow the steps described in that link about ng-include and caching?
[10:24:01] *** bengillies has joined #angularjs
[10:24:19] *** moep has joined #angularjs
[10:24:32] *** ahaeger has joined #angularjs
[10:24:33] <kakashiAL> icebox: which one do you mean?
[10:24:37] *** Sungwon has quit IRC
[10:24:47] *** regedit has quit IRC
[10:25:09] <icebox> kakashiAL: senayar suggested a great link in the past days about ng-include and dynamic caching
[10:25:26] <moep> Monring
[10:25:28] <moep> *Morning
[10:25:32] <icebox> moep: ciao
[10:25:42] <Ozd> it would be nice if google named angular 2.0 something else
[10:25:47] <moep> hi there icebox :)
[10:26:01] <icebox> kakashiAL: generally speaking, I prefer another setup using ui router... ng-include asks for troubles
[10:26:05] *** marr has joined #angularjs
[10:26:18] <icebox> Ozd: too late, I think :)
[10:26:40] *** siba has quit IRC
[10:26:43] <Ozd> icebox, yeah.
[10:26:55] <icebox> Ozd: for the searches, "angular 2" is enough :)
[10:26:57] <kakashiAL> icebox: okay, let me search but dont you think that a directive should fire if you lazy load a template? I put some console.logs in my directive but they only log if I visited the template the second time
[10:27:17] <roby_> icebox: I do have them configured correctly
[10:27:33] <Ozd> icebox, i mean, sometimes i feel like the only common thing between 1.x and 2 is {{}}
[10:28:01] <icebox> kakashiAL: I would not spend so many days for a caching issue... I would ask myself if the setup is a best practice for my goal
[10:28:14] <icebox> roby_: nice
[10:28:46] *** pimlu has quit IRC
[10:29:16] <kakashiAL> icebox: dynamic ng-include caching means grunt, gulp or brocolli
[10:29:23] <icebox> Ozd: ah well... working on angular 2 with es5. angular 1 knowledge helped a lot :)
[10:29:42] *** kk_drop has joined #angularjs
[10:29:46] <icebox> kakashiAL: I don't think so... but again it is up to you
[10:29:58] *** smccarthy has joined #angularjs
[10:30:11] <icebox> kakashiAL: it is your project :)
[10:31:13] <kakashiAL> icebox: do you still have this link? all I got was about grunt or gulp
[10:31:20] <icebox> kakashiAL: I prefer to spend the time to code business requirements and not technical ones
[10:31:36] <icebox> kakashiAL: you can give a look at channel logs.. see the link in the topics
[10:32:27] <roby_> icebox: as you can see, the first one seems to be a ssl error and the second idk
[10:32:55] *** dopesong has joined #angularjs
[10:32:56] <roby_> icebox: I'm also sure I have those npm settings right, worked on a few projects before and had to set them up
[10:33:55] <icebox> roby what is that project? link for angular2-seed-master?
[10:34:05] <roby_> yeah
[10:34:06] *** smccarthy has quit IRC
[10:34:19] <roby_> icebox: I downloaded the zip and unzipped it
[10:34:27] <icebox> roby_: ah ok
[10:34:34] *** yozilla has joined #angularjs
[10:35:22] *** tuskkk___ has quit IRC
[10:35:27] <roby_> icebox: I need to have git installed for that, right?
[10:35:35] <icebox> roby_: sure
[10:35:51] *** TyrfingMjolnir has quit IRC
[10:35:56] *** nribeka has quit IRC
[10:36:06] <roby_> icebox: ok will try it , thnx :)
[10:36:11] *** darkbasic has joined #angularjs
[10:36:29] <icebox> roby_: wait.. I give a try first
[10:36:30] *** cvanball has quit IRC
[10:36:48] *** maxkon_ is now known as maxikon
[10:37:26] *** InezK_away is now known as InezK
[10:37:31] *** TyrfingMjolnir has joined #angularjs
[10:37:46] <darkbasic> hi, I'm creating a custom directive like <ng-panel type="{{v.deviceType}}"></ng-panel> but in templateUrl: function (elem, attrs) attrs["type"] == {{v.deviceType}} instead of the variable content! in the link function I get the real content instead
[10:37:59] *** qdk has quit IRC
[10:38:53] *** jstroem has joined #angularjs
[10:39:12] *** b0x has quit IRC
[10:39:22] *** riddle_ has joined #angularjs
[10:39:31] *** b0x has joined #angularjs
[10:39:31] *** b0x has joined #angularjs
[10:39:35] *** plekplek has quit IRC
[10:40:02] *** lorezzed has quit IRC
[10:41:01] *** illume has joined #angularjs
[10:42:12] *** TyrfingMjolnir has quit IRC
[10:42:37] *** jstroem_ has quit IRC
[10:42:40] *** jlebrech has quit IRC
[10:44:21] <roby_> icebox: cloned it and tried to install afterwards, the same exact errors ...
[10:44:22] <icebox> roby_: no problem here with a proxy (git clone and npm install)... but I ma afraid the problem it was not a ssl but the permissions about WorkVar2... check your setup carefully
[10:44:42] *** nilsi has quit IRC
[10:44:49] <roby_> WorkVar2 ? I don't see that
[10:45:20] <icebox> roby_: WorkWar2 is in your screenshot :)
[10:46:01] <roby_> oh yeah
[10:46:03] <roby_> gotta check it
[10:46:20] <roby_> thnx, didn't even notice it, I'll need to brb for 1.5h got a math class :)
[10:46:25] <roby_> thnx a bunch
[10:46:29] <icebox> roby_: you a re welcome
[10:47:11] *** sbellina has quit IRC
[10:47:51] *** jlebrech_ has joined #angularjs
[10:49:58] *** nilsi has joined #angularjs
[10:51:02] *** InezK is now known as InezK_away
[10:52:35] *** Bloomer has quit IRC
[10:52:36] *** p0k0 has quit IRC
[10:52:46] *** Bloomer has joined #angularjs
[10:54:15] *** nilsi has quit IRC
[10:54:17] *** Shumail has quit IRC
[10:54:47] *** ste has joined #angularjs
[10:54:55] *** ilmgb has quit IRC
[10:55:11] *** ste is now known as Guest62791
[10:55:31] *** tarnus has joined #angularjs
[10:56:36] *** codeitloadit has quit IRC
[10:56:39] *** dbclk has joined #angularjs
[10:56:55] *** soee has joined #angularjs
[10:57:02] *** ilmgb has joined #angularjs
[10:58:15] *** soee_ has quit IRC
[11:00:14] *** tarnus has quit IRC
[11:00:19] <kakashiAL> icebox: I looked at the logs and senayar talked about a templates inside directives :(
[11:01:30] *** InezK_away is now known as InezK
[11:01:30] *** uNki has quit IRC
[11:01:36] *** jgl has joined #angularjs
[11:01:40] *** uNki has joined #angularjs
[11:01:42] <jgl> gfgfgfgfg
[11:01:48] <jgl> jgl
[11:01:50] <jgl> jgl
[11:01:50] <jgl> j
[11:01:53] <jgl> j
[11:01:57] <jgl> jgl
[11:01:57] <icebox> jgl: use test channel
[11:01:59] <jgl> jgl
[11:02:00] <jgl> jgl
[11:02:09] *** jgl has quit IRC
[11:02:16] <kakashiAL> icebox: yes, not my issue. The link describes directive[TEMPLATE] but I have TEMPLATE[directive] :)
[11:03:10] <icebox> kakashiAL: I am afraid you are using an unusual setup
[11:03:38] <kakashiAL> icebox: not at all, you have a big formular, what do you do?
[11:03:43] <kakashiAL> you split in in partials
[11:03:46] <kakashiAL> this is what I did
[11:04:16] <kakashiAL> so inside one partial (html file) I have 5 or 7 input boxes, and some of them uses custom directives
[11:04:20] *** okrad has quit IRC
[11:05:06] *** diya has joined #angularjs
[11:05:55] *** diya has quit IRC
[11:06:44] *** donguston has quit IRC
[11:06:44] *** erol has joined #angularjs
[11:06:50] <icebox> kakashiAL: well... I am sure I am not going to argue your project :) ... I noticed you are struggling a few days about a technical issue... and if googling, looking for help here and, I imagine, other efforts to find a solution... it seems you are stuck... I would change something in the approach to resolve the issue
[11:07:39] <kakashiAL> icebox: if you look at my directive, would you see why its fires later?
[11:07:48] <icebox> kakashiAL: maybe share the context with other colleagues, sometimes helps
[11:08:26] *** tomaz_b has quit IRC
[11:08:29] <icebox> kakashiAL: I am too lazy for that, enough for our code :)
[11:08:54] *** Hounddog has quit IRC
[11:08:59] <kakashiAL> icebox: I am using john papas style guide, so I inject the module of the directive inside my index.module (also tried to inject it in the module where the directive is used
[11:09:01] <icebox> kakashiAL: however don't ask to ask... maybe other users can help you
[11:11:04] *** lnrdo has joined #angularjs
[11:12:13] <kakashiAL> do you have any other ideas, I will try everything (just no caching)
[11:12:40] *** ahaeger has quit IRC
[11:12:56] *** one_zero has quit IRC
[11:14:26] *** silverdust has quit IRC
[11:14:29] *** BigPoppa has joined #angularjs
[11:17:51] *** silverdust has joined #angularjs
[11:18:15] *** silverdust is now known as Guest46690
[11:18:40] *** ziro` has joined #angularjs
[11:20:08] *** Guest46690 is now known as silverdust
[11:20:18] *** silverdust has joined #angularjs
[11:21:13] *** TyrfingMjolnir has joined #angularjs
[11:21:46] *** roby_ has quit IRC
[11:22:10] *** mischat has joined #angularjs
[11:22:19] *** prbc has joined #angularjs
[11:22:23] *** Bloomer has quit IRC
[11:23:17] *** miqid has joined #angularjs
[11:23:43] *** joshontheweb has quit IRC
[11:23:49] *** TyrfingMjolnir has quit IRC
[11:24:51] *** joeco_l_q has joined #angularjs
[11:25:05] *** burzum has quit IRC
[11:26:48] *** TyrfingMjolnir has joined #angularjs
[11:27:05] *** Sht0 has joined #angularjs
[11:27:06] *** joeco_l has quit IRC
[11:27:12] *** jk_ has joined #angularjs
[11:27:24] *** Xatenev has joined #angularjs
[11:27:24] <jk_> hi, how can i use cookies with angular2
[11:27:26] <Xatenev> Heya
[11:27:37] <Xatenev> in my controller for my view I wrote $scope.loginView = true;
[11:27:53] <Xatenev> and in my template ng-hide="loginView" but loginView is empty
[11:27:53] <Xatenev> why? :p
[11:27:54] *** dodobrain has joined #angularjs
[11:28:12] *** donguston has joined #angularjs
[11:28:53] *** TyrfingMjolnir has quit IRC
[11:29:45] *** Z00t_ has joined #angularjs
[11:30:02] <kakashiAL> Xatenev: did you try to do {{loginView}} ?
[11:30:10] <Xatenev> no, w8
[11:30:16] <kakashiAL> just to see if you get the value inside your view
[11:30:35] *** Rou has joined #angularjs
[11:30:40] <Xatenev> nop
[11:30:42] *** smccarthy has joined #angularjs
[11:30:43] <Xatenev> empty
[11:30:50] <kakashiAL> in that case its clear :)
[11:30:54] <Xatenev> not for me x)
[11:30:59] <Xatenev> shouldnt $scope.loginView work? ._.
[11:31:07] <kakashiAL> your controller does not talks to your view
[11:31:10] *** hg779 has joined #angularjs
[11:31:16] <kakashiAL> you can try $scope.test = "hello world";
[11:31:21] <kakashiAL> will also not work
[11:31:28] <kakashiAL> {{test}}
[11:31:30] <Xatenev> but in my statejs i have state .. login
[11:31:32] <Xatenev> templateUrl login.html
[11:31:38] *** k1ng4400 has joined #angularjs
[11:31:39] *** k1ng4400 has joined #angularjs
[11:31:42] <Xatenev> controller="LoginCtrl
[11:32:08] <kakashiAL> okay, is the LiginCtrl inside your view? I mean the tags
[11:32:15] *** Z00t has quit IRC
[11:32:22] *** bengillies has quit IRC
[11:32:25] <Xatenev> the tags?
[11:32:28] <Xatenev> the script src? or what
[11:32:34] <kakashiAL> ng-controller
[11:32:41] <Xatenev> no
[11:32:54] <Xatenev> do i have to do that even if i wrote controller="xx" in my state.js??
[11:32:58] *** bengillies has joined #angularjs
[11:33:15] <kakashiAL> <div ng-controller="yourControllerWithYourScopeDefinition"> {{test}} </div>
[11:33:15] <Xatenev> like, the controller is called on the page
[11:33:21] <Xatenev> if i console.log("test"); it works
[11:33:30] <Xatenev> just $scope is prob shit xd
[11:33:40] *** codegenie has joined #angularjs
[11:33:41] *** codegenie has joined #angularjs
[11:34:07] *** sbasso has joined #angularjs
[11:34:33] <WalaWalaWala> Is there a way to copy/duplicate the object and insert it right after it? Like a new node under the same tree? Having a hard time figuring it out
[11:34:44] <kakashiAL> its not about console.log(), its about the connection between your controller and view
[11:34:53] *** smccarthy has quit IRC
[11:34:57] *** k1ng440 has quit IRC
[11:34:58] <kakashiAL> WalaWalaWala: try angular.copy()
[11:35:41] <WalaWalaWala> kakashiAL, gonna try it out
[11:35:56] <Xatenev> kakashiAL: did ng-controller="LoginCtrl" doesnt work
[11:36:24] <Xatenev> Like I just wanna hide a div when im in view X
[11:36:30] <kakashiAL> WalaWalaWala: you can also try Object.assign()
[11:36:34] *** k1ng4400 has quit IRC
[11:37:02] <kakashiAL> Xatenev: could you show me your view and your controller?
[11:37:06] <Xatenev> ay
[11:37:10] *** sixr420 has quit IRC
[11:37:47] *** Ronrun has joined #angularjs
[11:38:20] *** sixr420 has joined #angularjs
[11:39:09] *** jstroem_ has joined #angularjs
[11:40:06] *** Tim_ has joined #angularjs
[11:40:23] *** Tennis has joined #angularjs
[11:40:28] *** Tim_ has quit IRC
[11:40:30] *** prbc has quit IRC
[11:41:19] <kakashiAL> Xatenev: try this
[11:41:32] <kakashiAL> I hope you also include your app with ng-app
[11:41:55] *** heyts has joined #angularjs
[11:41:59] <Xatenev> doesnt work
[11:42:08] <Xatenev> ye i do
[11:42:15] *** jstroem has quit IRC
[11:42:22] <Xatenev> oh wait
[11:42:33] <Xatenev> ok it works sorry
[11:42:36] <Xatenev> i renamed the variable accidently
[11:43:02] <kakashiAL> if it works your controller and your view are connected now
[11:43:09] <Xatenev> yea but i did that before alrdy
[11:43:12] <Xatenev> <div ng-controller="LoginCtrl" id="breadcrumbs" ng-hide="loginView" class="ng-hide"
[11:43:24] <Xatenev> if loginView is true, hide that
[11:43:38] <kakashiAL> dont do that, keep your controller tags simple
[11:43:56] <Xatenev> ?
[11:43:57] <kakashiAL> furthermore your controller should be always visible
[11:44:12] <Xatenev> I just wanna hide the breadcrumbs if im on the login page ._.
[11:44:15] <Xatenev> just tell me how to do that xD
[11:44:31] *** fBirD has joined #angularjs
[11:44:32] *** okrad has joined #angularjs
[11:45:04] *** b0x has quit IRC
[11:45:44] *** marthinal has quit IRC
[11:46:22] *** Picheli has joined #angularjs
[11:46:25] <Xatenev> its always hidden now kakashiAL
[11:46:33] <Xatenev> no matter what page im on.
[11:46:52] *** lnrdo has quit IRC
[11:46:55] <kakashiAL> Xatenev: right
[11:46:59] *** heyts has quit IRC
[11:47:28] <kakashiAL> now you know that everything works, now you can add your logic
[11:47:53] <WalaWalaWala> kakashiAL, I have copied my object by passing it as an argument to my add() method without providing a destination. Is it possible to duplicate it in the same position? I have a long object with various tree levels
[11:48:08] *** lnrdo has joined #angularjs
[11:48:24] <Xatenev> kakashiAL: it should be working now --
[11:49:31] *** vrockai has joined #angularjs
[11:49:36] *** BahamutWC|Laptop has joined #angularjs
[11:49:56] <WalaWalaWala> Sweet, I was on that page already reading on
[11:50:07] *** BahamutWC|Laptop has quit IRC
[11:50:15] <kakashiAL> WalaWalaWala: var copy = Object.assign({}, yourObjectThatYouWantToCopy);
[11:51:39] <icebox> kakashiAL: be aware about browser compatibily...
[11:51:54] <icebox> WalaWalaWala: see also angular.merge or angular.extend
[11:52:17] <kakashiAL> icebox: need some more ideas from your side about my problem :)
[11:52:29] *** Mizar has joined #angularjs
[11:52:48] *** Mizar has left #angularjs
[11:53:17] <WalaWalaWala> As far as I'm reading, this methods are great for copying/duplicating, which I got it right using Object.assign as kakashiAL mentioned. My true endeavour lies on puting the new copy under the same parent node in a big object with subtrees
[11:53:23] <icebox> kakashiAL: sure... any archiectural blueprint or business requirements docs I can read?
[11:54:03] <kakashiAL> icebox: :(
[11:54:08] *** k1ng4400 has joined #angularjs
[11:54:25] <icebox> WalaWalaWala: that is pure js :)
[11:54:36] <icebox> kakashiAL: why :( ?
[11:55:08] *** rickmak_ has quit IRC
[11:55:12] <Xatenev> omg im so done
[11:55:14] <kakashiAL> icebox: ahh sorry, missread :)
[11:55:31] <kakashiAL> icebox: its a personal project
[11:56:09] *** jonasliljestrand has quit IRC
[11:56:15] *** pbgc has joined #angularjs
[11:56:16] <icebox> kakashiAL: well... do you mean "private" and no disclosure or there are no docs?
[11:56:19] *** marthinal has joined #angularjs
[11:56:29] <kakashiAL> icebox: yes, private, no docs at all
[11:56:53] <icebox> kakashiAL: ah well
[11:57:05] <kakashiAL> icebox: I have a complex user formular that is splited in many partials that I include with ng-include
[11:57:17] *** codegenie has quit IRC
[11:57:49] <icebox> kakashiAL: (so you are asking my time for a commercial project... for free) :)
[11:58:05] <kakashiAL> icebox: its not a commercial project
[11:58:18] *** aghiuru has quit IRC
[11:58:25] <icebox> kakashiAL: no open source :)
[11:58:48] <icebox> kakashiAL: what do you mean for formular?
[11:58:50] <kakashiAL> I plan to make it open source, but first I want a working prototype
[11:59:02] *** aghiuru has joined #angularjs
[11:59:15] <kakashiAL> you have a user with a lot of informations
[11:59:32] <kakashiAL> body proportions <---a partial
[11:59:40] <kakashiAL> eating habbit <---a partial
[11:59:44] <icebox> kakashiAL: a big form?
[11:59:54] <kakashiAL> time informations <---a partial
[11:59:59] *** mrbubbles has joined #angularjs
[11:59:59] <kakashiAL> icebox: yes
[12:00:00] *** BahamutWC has quit IRC
[12:00:04] *** morissette has quit IRC
[12:00:14] *** rickmak has joined #angularjs
[12:00:22] *** corioliss has quit IRC
[12:00:27] *** BigBangUDR has quit IRC
[12:01:29] *** BahamutWC|Laptop has joined #angularjs
[12:01:55] *** Z00t_ has quit IRC
[12:01:56] <icebox> kakashiAL: <div ui-view="body-proportions"><div ui-view="eating-habits"><div ui-view="time-info">
[12:01:56] *** uNki has quit IRC
[12:02:19] *** uNki has joined #angularjs
[12:02:21] <kakashiAL> icebox: wanted to keep my router clean
[12:02:27] <kakashiAL> but if thats the only way :/
[12:02:34] *** BahamutWC|Laptop has quit IRC
[12:02:43] *** buzzedword has quit IRC
[12:02:46] <icebox> kakashiAL: that is a best practice... one view / one controller
[12:03:09] <icebox> kakashiAL: and finally you share data between the controllers via services
[12:03:18] *** dan2k3k4 has quit IRC
[12:03:31] *** elyssonmr has joined #angularjs
[12:03:36] *** sit has joined #angularjs
[12:03:39] *** ycon_ has joined #angularjs
[12:03:40] <icebox> kakashiAL: break time... see you later
[12:03:52] <sit> hi guys ,how do you solve angular tree view
[12:03:54] <kakashiAL> icebox: thanks, will try it out
[12:04:00] *** sit is now known as Guest23186
[12:04:39] <Guest23186> i am confused
[12:04:46] *** aghiuru_ has joined #angularjs
[12:05:05] <Guest23186> i am wondering to use angular tree view or jstree in jquery
[12:07:46] *** aghiuru has quit IRC
[12:07:50] *** Imaginativeone has joined #angularjs
[12:08:04] *** ycon_ has quit IRC
[12:08:12] *** hhhdev has joined #angularjs
[12:08:29] *** shibly has joined #angularjs
[12:08:41] *** shibly has left #angularjs
[12:09:38] *** buzzedword has joined #angularjs
[12:10:28] *** BahamutWC|Laptop has joined #angularjs
[12:11:37] *** BahamutWC|Laptop has quit IRC
[12:12:56] *** taxilian has quit IRC
[12:12:56] *** InezK is now known as InezK_away
[12:14:55] *** buzzedword has quit IRC
[12:16:14] *** storresi has joined #angularjs
[12:16:27] *** qdk has joined #angularjs
[12:18:52] *** BahamutWC|Laptop has joined #angularjs
[12:19:11] *** bengillies has quit IRC
[12:19:52] *** InezK_away is now known as InezK
[12:19:58] *** BahamutWC|Laptop has quit IRC
[12:20:03] *** bengillies has joined #angularjs
[12:23:07] *** dan2k3k4 has joined #angularjs
[12:24:14] *** zeezey has quit IRC
[12:25:08] *** jstroem_ has quit IRC
[12:25:14] *** InezK is now known as InezK_away
[12:26:19] *** taxilian has joined #angularjs
[12:26:48] *** lnrdo has quit IRC
[12:26:49] *** yky_ has quit IRC
[12:30:45] *** hhhdev has quit IRC
[12:31:23] *** dodobrain has quit IRC
[12:31:58] *** hhhdev has joined #angularjs
[12:34:02] *** buzzedword has joined #angularjs
[12:34:12] *** Guest23186 has quit IRC
[12:34:19] *** dabdab has joined #angularjs
[12:34:38] *** maximski has joined #angularjs
[12:34:42] *** jstroem has joined #angularjs
[12:35:05] *** iraj has quit IRC
[12:36:09] *** rubenamado has joined #angularjs
[12:36:18] *** c0bra has joined #angularjs
[12:38:15] *** saranya has joined #angularjs
[12:38:58] *** buzzedword has quit IRC
[12:38:59] *** Germanaz0 has joined #angularjs
[12:39:18] *** saranya has quit IRC
[12:40:48] *** dabdab has quit IRC
[12:41:11] *** dabdab has joined #angularjs
[12:41:20] *** erol has quit IRC
[12:42:20] *** zeioth has joined #angularjs
[12:43:10] *** erol has joined #angularjs
[12:43:37] *** BigBangUDR has joined #angularjs
[12:44:10] *** BigBangUDR has joined #angularjs
[12:45:09] *** mischat_ has joined #angularjs
[12:45:10] <Picheli> Hey guys, I need a little help. I need the fastest way to search for a tag in a string and get the content, for example I have the string "/{test}/123/{test2}" I need to get the "test" and "test2"
[12:45:43] <Picheli> I would like to do the minimum of iteration and processing
[12:45:52] *** SET003 has quit IRC
[12:46:43] *** morissette has joined #angularjs
[12:46:44] *** mellernoia has joined #angularjs
[12:48:44] *** mischat has quit IRC
[12:49:59] *** mischat_ has quit IRC
[12:52:00] *** italoacasas has joined #angularjs
[12:52:06] *** TennisB has joined #angularjs
[12:52:14] *** Tennis has quit IRC
[12:54:20] *** aghiuru_ has quit IRC
[12:54:44] <Picheli> icebox, I need for a string, its a json response, not a current url
[12:55:02] *** webdev007 has joined #angularjs
[12:55:21] *** Germanaz0 has quit IRC
[12:55:28] *** aghiuru has joined #angularjs
[12:55:33] <icebox> Picheli: regex
[12:56:58] *** tarnus has joined #angularjs
[12:57:14] *** Guest62791 has quit IRC
[12:57:48] *** riddle_ has quit IRC
[12:59:43] *** pbgc has quit IRC
[12:59:48] *** BahamutWC|Laptop has joined #angularjs
[13:00:27] *** Germanaz0 has joined #angularjs
[13:00:49] *** pbgc has joined #angularjs
[13:01:01] *** BahamutWC|Laptop has quit IRC
[13:01:03] *** raijin has quit IRC
[13:01:15] *** tarnus has quit IRC
[13:01:24] *** raijin has joined #angularjs
[13:02:58] *** italoacasas has quit IRC
[13:03:46] *** iraj has joined #angularjs
[13:04:35] *** Magik6k has quit IRC
[13:04:56] *** Magik6k has joined #angularjs
[13:05:28] *** BigBangUDR has quit IRC
[13:06:34] *** riddle_ has joined #angularjs
[13:08:17] *** Rou has quit IRC
[13:08:35] *** ziyadb has joined #angularjs
[13:09:08] *** jtimon has joined #angularjs
[13:13:57] <kschlesselmann> Is there something like ng-pattern in angular2?
[13:14:25] *** sigurding has quit IRC
[13:15:47] *** erol has quit IRC
[13:15:53] *** Magik6k has quit IRC
[13:16:17] *** Magik6k has joined #angularjs
[13:16:35] *** erol has joined #angularjs
[13:16:39] *** TyrfingMjolnir has joined #angularjs
[13:16:42] *** fBirD has quit IRC
[13:17:25] *** jlebrech_ has quit IRC
[13:17:45] *** Misere has joined #angularjs
[13:18:18] *** ste_ has joined #angularjs
[13:18:54] *** Magik6k has joined #angularjs
[13:19:26] *** TyrfingMjolnir has quit IRC
[13:19:42] *** Sky[x] has joined #angularjs
[13:20:14] *** fBirD has joined #angularjs
[13:23:06] *** TyrfingMjolnir has joined #angularjs
[13:24:04] *** Magik6k has quit IRC
[13:24:04] *** roby_ has joined #angularjs
[13:24:28] *** Magik6k has joined #angularjs
[13:24:39] <roby_> icebox : works ! Had to remove that weird WorkWar thinggy , readd the tsd proxy settings and reinstall
[13:24:55] <icebox> roby_: great!
[13:24:58] *** Magik6k has joined #angularjs
[13:25:09] *** ste_ has quit IRC
[13:25:20] <roby_> icebox: now just gotta figure out how it all works!
[13:25:33] *** buzzedword has joined #angularjs
[13:26:06] <kschlesselmann> icebox: Thanks! I'll have a look
[13:28:57] *** miqui has quit IRC
[13:29:25] *** fixl has quit IRC
[13:30:58] *** buzzedword has quit IRC
[13:31:21] *** mischat has joined #angularjs
[13:31:31] *** DP_ has joined #angularjs
[13:32:08] *** BahamutWC|Laptop has joined #angularjs
[13:32:29] <DP_> help
[13:32:42] *** uNki has quit IRC
[13:32:58] *** bearbat has joined #angularjs
[13:33:15] *** uNki has joined #angularjs
[13:33:30] <DP_> any one can tell what to use for pop the window with form using angular
[13:33:36] *** Shumail has joined #angularjs
[13:33:48] <Shumail> can you please tell me how to get query parameters in angular 2
[13:33:55] *** zeezey has joined #angularjs
[13:34:14] *** uNki has quit IRC
[13:34:14] <Shumail> in angular 1, i think could use $location
[13:34:22] *** uNki has joined #angularjs
[13:34:36] <Shumail> but don't know how to do that in angular 2
[13:34:52] <Shumail> do we need to write jquery to extract params
[13:36:00] <DP_> ya i created using jquery
[13:36:14] <DP_> but it get nice look in angular
[13:37:24] <kschlesselmann> Can I somehow link directly to router pages? If I call /my/page I just get 404 … this link would have to be parsed by the router instead of my webserver …
[13:37:28] *** svycka has quit IRC
[13:37:44] *** vytautas_ has quit IRC
[13:38:19] *** heyts has joined #angularjs
[13:39:12] *** jlebrech has joined #angularjs
[13:41:15] *** raininja has joined #angularjs
[13:41:42] *** raijin has quit IRC
[13:42:06] *** DP_ has left #angularjs
[13:42:47] *** sigurding has joined #angularjs
[13:44:12] *** zeezey has quit IRC
[13:45:13] *** skyx has joined #angularjs
[13:45:56] *** JohnT has joined #angularjs
[13:46:10] *** ModFather has joined #angularjs
[13:46:23] *** Imaginativeone has quit IRC
[13:47:32] *** Sky[x] has quit IRC
[13:48:54] *** comingsoontm_ has joined #angularjs
[13:51:24] *** comingsoontm has quit IRC
[13:53:15] *** riddle_ has quit IRC
[13:53:50] *** VeeWee_ has joined #angularjs
[13:55:01] *** VeeWee has quit IRC
[13:55:21] *** tangorri has quit IRC
[13:56:15] *** buzzedword has joined #angularjs
[13:57:04] *** soee has quit IRC
[13:57:55] *** soee has joined #angularjs
[13:57:59] *** andycwk has joined #angularjs
[13:58:43] *** smccarthy has joined #angularjs
[13:59:52] <icebox> kschlesselmann: you need to go to the state
[13:59:53] *** quakephil has joined #angularjs
[14:00:26] *** tarnus has joined #angularjs
[14:00:53] *** buzzedword has quit IRC
[14:02:28] <kschlesselmann> icebox: How would I do that with an external link?
[14:03:13] *** soee has quit IRC
[14:03:22] <roby_> icebox: what does unmet peer dependency mean ?
[14:03:37] *** TennisB has quit IRC
[14:03:54] *** soee has joined #angularjs
[14:04:00] *** Tennis has joined #angularjs
[14:04:03] *** JohnT has quit IRC
[14:05:10] <andycwk> Hay guys... Anyone know if Angular2 has <script type="text/ng-template" id="index.html"> type semantics for templates ?
[14:05:11] <kschlesselmann> roby_: It's basically a dep that you have to install yourself
[14:05:28] <icebox> roby_: dep X needs dep Y (exact version, for instance)... if you install dep Y (release + 1), you see that warning
[14:05:28] *** TyrfingMjolnir has quit IRC
[14:05:30] *** bearbat has quit IRC
[14:05:45] *** tangorri has joined #angularjs
[14:05:48] <icebox> roby_: or dep Y is not installed
[14:06:03] *** jk_ has quit IRC
[14:06:07] *** BigBangUDR has joined #angularjs
[14:06:36] <icebox> roby_: if you don't use those deps, it is not issue :)
[14:06:37] <roby_> this means I should look for what I need to have installed beforehand right?
[14:06:53] *** svycka has joined #angularjs
[14:07:08] <roby_> well my webpage sais I'm missing es6
[14:07:14] *** vytautas_ has joined #angularjs
[14:07:18] <icebox> roby_: so... you need to install it
[14:07:32] <icebox> roby_: what node version you are using?
[14:07:43] <roby_> can't exactly remember but a recent one
[14:07:58] *** raininja has quit IRC
[14:08:29] *** Ozd has quit IRC
[14:08:37] <icebox> roby_: it seems npm install didn't install correctly the deps... "npm install" again, or "npm update"
[14:08:45] <roby_> doing it atm
[14:08:59] *** raijin has joined #angularjs
[14:09:10] <roby_> no matter what I do I still seem to get that unmet peer dependency
[14:09:26] *** moep has quit IRC
[14:09:38] <icebox> roby_: install them manually, for instance" npm install rxjs"
[14:09:39] *** pbgc has quit IRC
[14:09:58] *** marthinal has quit IRC
[14:10:26] *** fscala has quit IRC
[14:10:34] <icebox> roby_: ah ok... with "npm install rxjs" installs beta.1... but angular needs beta.0 (for rxjs)
[14:10:45] <icebox> roby_: if there are the deps, it is only a warning
[14:11:11] *** rickmak has quit IRC
[14:11:12] <roby_> ah
[14:11:20] <roby_> didn't though I might have the wrong versions
[14:11:42] *** fscala has joined #angularjs
[14:11:47] <icebox> roby_: well... it is not the "wrong" one :)
[14:11:51] *** moep has joined #angularjs
[14:12:16] *** ngbot has joined #angularjs
[14:12:17] <ngbot> angular.js/master a1ff358 Peter Bacon Darwin: test($log): fix up to work with Safari 9...
[14:12:17] *** ngbot has left #angularjs
[14:12:20] <icebox> roby_: only package.json sets beta.0 for rxjs
[14:12:35] <roby_> icebox: so i have to add the versions in the package
[14:12:38] *** heyts has quit IRC
[14:14:55] *** Germanaz_ has joined #angularjs
[14:15:02] *** ste has joined #angularjs
[14:15:25] *** ste is now known as Guest14796
[14:16:49] *** Germanaz0 has quit IRC
[14:17:11] *** Mardi54 has joined #angularjs
[14:17:17] <Mardi54> Hello
[14:17:26] *** TyrfingMjolnir has joined #angularjs
[14:17:47] <roby_> icebox: now I have a this.engine is not a function error, at least there are no more deps errors :)
[14:18:12] <icebox> roby_: in angular2-seed?
[14:18:17] *** davlefou has joined #angularjs
[14:18:24] <roby_> icebox: neah, that tutorial
[14:18:32] <icebox> roby_: ah ok
[14:18:40] *** s3shs has joined #angularjs
[14:18:53] <roby_> icebox : angular2-seed is great, good example of something that works, but it does have a lot of testing stuff and other stuff I got lost in
[14:19:06] *** TyrfingMjolnir has quit IRC
[14:19:44] *** gals has joined #angularjs
[14:20:07] *** jieryn has joined #angularjs
[14:20:39] <gals> Hey there guys, anyone here open for a bootstrap-ui tabs related question?
[14:20:56] <Mardi54> Until when will the angular team do support on angularjs ? Beacause, i have a project in angular js and there is angular2 now
[14:21:06] *** Guest14796 has quit IRC
[14:21:24] <s3shs> Angular2 will not be the default angular for another year. Stick with 1.x for now.
[14:21:52] <s3shs> Good morning. I have an array of "complex" data. I've got the array in an ng-repeat. For each item, I want a separate controller instance. How do I tell the inner controller what item it has?
[14:22:04] <Mardi54> OK thank you :)
[14:22:06] <s3shs> Mardi54 What's the issue? Did you grab the sample from their site?
[14:23:19] *** TyrfingMjolnir has joined #angularjs
[14:23:39] <Mardi54> s3shs, no I wondered if I had to update my project to angular2
[14:23:48] *** Imaginativeone has joined #angularjs
[14:23:57] <gals> Ok I'll just ask. using angular-js 1.4.7 and now installed bui 1.0.3. tabs don't seem to switch content when I click on them. is there anything that has changed from angular 1.3.7? that's the only change i've done
[14:23:58] <s3shs> Oh, that was gals. nm. No caffeine yet.
[14:24:20] *** mrbubbles has quit IRC
[14:24:23] <gals> and yes my code looks really similar to the one on their site
[14:24:48] *** andycwk has quit IRC
[14:25:18] <s3shs> gals Tabs are one of those things I just code myself. You can do it with a single $scope variable and ng-class to set 'active' on the current tab. ng-click just sets the value of the variable.
[14:25:34] *** iraj has quit IRC
[14:26:05] <gals> yep that was my last resort, just fixing a bug in a js i didn't write so I thought to change it the least I can
[14:26:23] *** JohnT has joined #angularjs
[14:26:24] *** illume has quit IRC
[14:26:27] *** buzzedword has joined #angularjs
[14:26:47] *** davlefou has quit IRC
[14:27:12] *** brollypop has quit IRC
[14:27:39] *** heyts has joined #angularjs
[14:28:55] *** italoacasas has joined #angularjs
[14:29:43] <s3shs> You can check the github issues list to see if anyone else is having the same problem. Sometimes you can get lucky.
[14:30:06] *** yozilla has quit IRC
[14:30:49] *** tarsir has joined #angularjs
[14:30:54] *** edrocks has joined #angularjs
[14:31:24] *** BigBangUDR has quit IRC
[14:31:36] *** ste_ has joined #angularjs
[14:32:04] *** Limix has joined #angularjs
[14:32:54] *** heyts has quit IRC
[14:32:55] *** Limix has quit IRC
[14:33:25] *** bbankes_ has joined #angularjs
[14:33:34] *** italoacasas has quit IRC
[14:35:04] *** uNki_ has joined #angularjs
[14:35:05] *** uNki has quit IRC
[14:35:12] *** zeezey has joined #angularjs
[14:35:20] *** buzzedword has quit IRC
[14:36:35] *** maret has joined #angularjs
[14:37:28] *** TyrfingMjolnir has quit IRC
[14:37:46]
<maret> Guys, I am learning angular and I need help with simple directive. What is simplest way how to load data by ajax for partial and show data in the partial? so far I have this http://pastie.org/10689634
[14:38:00] <maret> obviously directive gets loaded before data are ready
[14:38:28] <icebox> maret: use services
[14:38:29] *** bbankes_ has quit IRC
[14:38:34] *** heyo has joined #angularjs
[14:38:53] *** buzzedword has joined #angularjs
[14:39:05] <icebox> maret: and routing resolve
[14:39:16] *** heyo has left #angularjs
[14:39:20] *** Limix has joined #angularjs
[14:39:48] <maret> icebox: which service? I am using http to load data already
[14:40:00] <icebox> maret: that is better to put in a service
[14:40:23] *** evilaliv3 has quit IRC
[14:41:21] *** bearbat has joined #angularjs
[14:41:32] *** brollypop has joined #angularjs
[14:41:40] <maret> icebox: do I need to use routes just to load data from ajax into directive?
[14:41:50] <icebox> maret: however even if data are loaded after one minute, data binding works correctly... data will be rendered... if you need to wait the view is rendered when data are loaded, use routing resolve
[14:42:11] *** Mardi54 has quit IRC
[14:42:52] *** illume has joined #angularjs
[14:43:10] <maret> so if I ahve simple page with one directive which loads data from server using $http.get , the simplest way how to load and show data is to use routing resolve ?
[14:43:12] *** TyrfingMjolnir has joined #angularjs
[14:43:24] <icebox> maret: I didn't say that
[14:43:27] *** zeezey has quit IRC
[14:43:34] *** Po has quit IRC
[14:43:44] <icebox> maret: it depends on your use case...
[14:43:47] *** buzzedword has quit IRC
[14:43:55] <maret> well I asked for that, right now I am just starting out so I will get to best practices later
[14:44:28] *** Po has joined #angularjs
[14:44:42] <icebox> maret: do you need to wait data to show the view or you show the view with default values and when data are loaded, the view is updated?
[14:44:49] <maret> right now I have just simple index page with one directive which loads data(array) and use ng-repeat to draw them.
[14:45:03] <maret> I want to wait
[14:45:20] <icebox> maret: routing resolve
[14:45:25] <maret> easiest way?
[14:45:36] <icebox> maret: yes
[14:46:05] *** Imaginativeone has quit IRC
[14:46:18] *** zeezey has joined #angularjs
[14:46:45] <icebox> maret: this is a one more reason to put that call in a service... because that service would be a dep in the resolve function
[14:49:56] *** brollypop has quit IRC
[14:50:24] <maret> ok thanks will take a look into that
[14:50:27] *** Croves has joined #angularjs
[14:50:29] *** brollypop has joined #angularjs
[14:50:33] *** Croves has left #angularjs
[14:50:45] *** pbgc has joined #angularjs
[14:50:49] *** Imaginativeone has joined #angularjs
[14:51:09] *** s3shs has quit IRC
[14:51:10] *** smccarthy has quit IRC
[14:51:18] *** erol has quit IRC
[14:51:41] *** buzzedword has joined #angularjs
[14:52:38] *** dopesong has quit IRC
[14:52:56] *** smccarthy has joined #angularjs
[14:53:13] *** marthinal has joined #angularjs
[14:53:21] *** erol has joined #angularjs
[14:53:36] *** JohnT has quit IRC
[14:54:16] *** dopesong has joined #angularjs
[14:54:51] *** heyts has joined #angularjs
[14:55:48] *** kk_drop has quit IRC
[14:56:07] *** dopesong has quit IRC
[14:56:43] *** donwilliam has joined #angularjs
[14:56:47] *** buzzedword has quit IRC
[14:56:50] *** kk_drop has joined #angularjs
[14:57:07] *** gals has quit IRC
[14:57:35] *** ste_ has quit IRC
[14:57:43] *** VeeWee_ has quit IRC
[14:58:18] *** canyonero has joined #angularjs
[14:59:58] *** bayousoft has joined #angularjs
[15:00:30] *** bengillies has quit IRC
[15:01:13] *** dopesong has joined #angularjs
[15:01:56] *** jtimon has quit IRC
[15:02:02] *** heyts has quit IRC
[15:02:18] *** bengillies has joined #angularjs
[15:02:24] *** walden|afk is now known as walden
[15:02:52] *** ste_ has joined #angularjs
[15:05:26] *** dopesong has quit IRC
[15:05:26] *** uNki_ has quit IRC
[15:05:35] *** dopesong has joined #angularjs
[15:05:52] *** uNki has joined #angularjs
[15:06:41] *** mven has joined #angularjs
[15:07:30] *** asteele has joined #angularjs
[15:07:57] *** buzzedword has joined #angularjs
[15:08:02] *** zz_dimtruck is now known as dimtruck
[15:09:33] *** mven has quit IRC
[15:09:47] *** xylen_ has joined #angularjs
[15:10:17] *** Z00t has joined #angularjs
[15:10:37] *** Cokeee has joined #angularjs
[15:11:04] *** denisra has quit IRC
[15:11:06] *** maret has quit IRC
[15:11:11] *** maximski has quit IRC
[15:11:14] *** burzum has joined #angularjs
[15:11:37] *** BigBangUDR has joined #angularjs
[15:12:33] <dan2k3k4> with angular $resource how can I set one of my get params to array ?
[15:12:39] *** ddelrio1986 has joined #angularjs
[15:12:50] <dan2k3k4> send get array variable
[15:13:02] *** buzzedword has quit IRC
[15:13:18] *** Cokee has quit IRC
[15:13:42] *** empyreany has joined #angularjs
[15:13:52] *** roby_ has quit IRC
[15:13:53] <Xatenev> Heya
[15:13:53] *** encryptd_fractal has joined #angularjs
[15:13:55] <Xatenev> how does ng-include work?
[15:14:01] <Xatenev> Ive been trying to include a HTML partial
[15:14:02] *** metame has joined #angularjs
[15:14:11] <Xatenev> in app/main/templates/partials/upload.html i got some html
[15:14:18] <Xatenev> and im trying to include it like <div ng-include="'main/templates/partials/upload_button.html'"></div>
[15:14:22] *** xylen_ has quit IRC
[15:14:24] <Xatenev> doesnt work tho
[15:14:25] <icebox> Xatenev: use ui router
[15:14:32] <Xatenev> icebox: i do
[15:14:41] <Xatenev> icebox: how can i use that to include a view? .p
[15:14:45] <icebox> Xatenev: so... no need for ng-include
[15:15:00] <Xatenev> can I define sub views?
[15:15:02] *** Imaginativeone has quit IRC
[15:15:04] <icebox> Xatenev: sure
[15:15:53] <Xatenev> icebox: so i do children ...
[15:15:56] <Xatenev> and then how do I include iT?
[15:15:57] *** dopesong has quit IRC
[15:16:01] *** c0bra has quit IRC
[15:16:17] *** deeb has joined #angularjs
[15:16:19] <icebox> Xatenev: read the docs, read the examples and play with them
[15:16:36] *** tobachi has joined #angularjs
[15:16:42] <Xatenev> angular docs are so annoying ><
[15:16:49] <Xatenev> so much text so less good code examples
[15:17:32] *** InezK_away is now known as InezK
[15:17:46] *** Jammy_Work has quit IRC
[15:18:27] <icebox> Xatenev: understanding things is a consuming time task
[15:19:00] *** Poeticode has joined #angularjs
[15:19:16] <icebox> Xatenev: because it lowers the entropy of the world :)
[15:20:07] *** Debnet`Work has joined #angularjs
[15:23:04] *** buzzedword has joined #angularjs
[15:23:22] *** Misere has quit IRC
[15:23:26] *** dabdab has quit IRC
[15:23:36] *** maximski has joined #angularjs
[15:23:41] *** Debnet has quit IRC
[15:23:48] <icebox> Xatenev: and, of course, generally speaking, you can contribute to improve the docs and the examples :)
[15:24:13] *** Dan_ has joined #angularjs
[15:24:14] *** andricDu has joined #angularjs
[15:24:15] *** Zalabinsky has quit IRC
[15:24:26] *** BigBangUDR has quit IRC
[15:24:37] *** Dan_ is now known as Guest276
[15:26:11] *** _matix has joined #angularjs
[15:27:17] *** tobachi has quit IRC
[15:27:37] *** node9_ has joined #angularjs
[15:27:58] *** buzzedword has quit IRC
[15:28:33] <kschlesselmann> icebox: Could you tell me how I can navigate directly to a state using an external link?
[15:28:54] *** buzzedword has joined #angularjs
[15:29:16] *** jacobj has joined #angularjs
[15:29:35] *** node9 has quit IRC
[15:31:01] *** jacobj has quit IRC
[15:31:41] *** Guest276 has quit IRC
[15:32:03] *** dabdab has joined #angularjs
[15:32:04] *** Imaginativeone has joined #angularjs
[15:32:22] *** s3shs has joined #angularjs
[15:33:50] *** buzzedword has quit IRC
[15:33:59] *** kuadrosx has joined #angularjs
[15:34:20] <icebox> kschlesselmann: what do you mean? any example?
[15:34:44] *** GriffinHeart has joined #angularjs
[15:34:55] *** zivester has joined #angularjs
[15:35:34] <kschlesselmann> icebox: Now my webserver would catch the path and return 404
[15:35:40] *** rchavik has quit IRC
[15:36:01] <icebox> kschlesselmann: where is that link?
[15:36:04] *** dopesong has joined #angularjs
[15:36:10] <kschlesselmann> kschlesselmann: Currently on my machine
[15:36:19] <icebox> kschlesselmann: no... in the code
[15:36:43] *** Keksike has left #angularjs
[15:36:47] <kschlesselmann> icebox: Nowhere. I want to link from an external page (like entering it directly in the browser)
[15:37:33] <icebox> kschlesselmann: external is your friend
[15:38:08] *** heyts has joined #angularjs
[15:38:11] <kschlesselmann> icebox: I think that's the other way round. I want: somewhere else -> my app
[15:38:18] *** thirdknife has quit IRC
[15:38:34] <icebox> kschlesselmann: ask to "somewhere else" owner :)
[15:38:43] *** s00pcan has joined #angularjs
[15:39:11] <kschlesselmann> icebox: Well then I want to enter localhost/my/path in my browser and move directly to this page
[15:39:15] *** jstroem has quit IRC
[15:39:22] *** zigzagzig has joined #angularjs
[15:40:09] *** dabdab has quit IRC
[15:40:16] <icebox> kschlesselmann: you mean, when you open your app?
[15:40:22] <kschlesselmann> yep
[15:40:27] <icebox> kschlesselmann: go or default page
[15:40:59] <kschlesselmann> icebox: But my webserver sees the url and returns 404 since it's only a virtual path for angular2
[15:41:41] <icebox> kschlesselmann: did you set $urlRouterProvider.otherwise("/whatyouwant"); ?
[15:42:13] *** rubenamado has quit IRC
[15:42:16] *** mary5030_ has quit IRC
[15:42:20] <kschlesselmann> icebox: Nope. I don't think I ver reach angular this way
[15:42:27] *** Shumail has quit IRC
[15:42:28] *** tarsir has quit IRC
[15:42:42] *** buzzedword has joined #angularjs
[15:42:44] <icebox> kschlesselmann: but if your webserver doesn't land on the app, it is hard because angular routing cannot help you
[15:42:49] *** mary5030 has joined #angularjs
[15:42:58] *** Ir1sh has joined #angularjs
[15:42:59] *** dasd has joined #angularjs
[15:43:05] <icebox> kschlesselmann: you need to use rewrite url rules
[15:43:22] <icebox> kschlesselmann: but that is out of the channel domain :)
[15:43:30] <kschlesselmann> icebox: I thought so. But to what should I rewrite?
[15:43:40] *** s00pcan has quit IRC
[15:44:07] *** comingsoontm has joined #angularjs
[15:44:09] *** dasd has quit IRC
[15:44:16] *** dimtruck is now known as zz_dimtruck
[15:44:24] *** ngbot has joined #angularjs
[15:44:25] <ngbot> angular.js/master 1358719 Georgios Kalpakas: docs(CHANGELOG.md): add BC notice for b71d7c3f...
[15:44:25] *** ngbot has left #angularjs
[15:44:25] *** s00pcan has joined #angularjs
[15:44:28] <icebox> kschlesselmann: you need a catch all
[15:44:40] *** Jarvis_ has joined #angularjs
[15:45:01] *** tesarek has joined #angularjs
[15:45:06] <icebox> kschlesselmann: however we are out of topic
[15:45:07] <kschlesselmann> Let me have a look
[15:45:07] <Jarvis_> can any one tell me how we optimize the digest performance?
[15:45:14] <kschlesselmann> icebox: Thanks though :-)
[15:45:27] *** jr3 has joined #angularjs
[15:46:39] *** buzzedword has quit IRC
[15:46:51] <Jarvis_> can any one tell me how we optimize the digest performance?
[15:47:19] *** dman777_alter has joined #angularjs
[15:47:28] *** comingsoontm_ has quit IRC
[15:47:40] <icebox> Jarvis_: how many watches you have?
[15:48:05] <Jarvis_> 34
[15:48:09] *** tarsir has joined #angularjs
[15:48:39] <icebox> Jarvis_: so... I don't know your performance issue... but it is not a digest issue :)
[15:48:43] <Firo> Not a whole lot, tried profiling to see which fns take the most time?
[15:48:56] *** tarsir has quit IRC
[15:49:13] <icebox> Jarvis_: why did you ask it?
[15:49:14] *** taspat has joined #angularjs
[15:49:50] <icebox> Jarvis_: what is your issue? what is slow? Did you profile the app?
[15:50:09] <Jarvis_> actually i have a large application with page with around 250 elements which on refresh taking lots of time to load
[15:50:18] *** taspat has quit IRC
[15:50:36] *** Po has quit IRC
[15:50:47] <icebox> Jarvis_: and you have only 34 watchers... there is something weirdly...
[15:50:54] *** buzzedword has joined #angularjs
[15:51:35] <icebox> Jarvis_: I am afraid without any live example, it is ahrd to help you
[15:51:42] *** tarsir has joined #angularjs
[15:51:45] <Jarvis_> ya i profiled in batrang and the digest cylce takes around 20 sec to load my elements
[15:52:35] <icebox> Jarvis_: digest issue may arise when you have thousands of watchers
[15:53:34] *** zigzagzig has quit IRC
[15:53:52] <icebox> Jarvis_: so you need to debug the app with devtools and get a few elements... however I didn't understand why you asked for digest performance...
[15:54:06] *** zigzagzig has joined #angularjs
[15:54:53] *** Ann_ has joined #angularjs
[15:55:43] <Jarvis_> I have directive with one watch and have 327 instances of that directive...will it affect the processing
[15:56:12] *** chrisbirk has joined #angularjs
[15:56:21] *** rho has joined #angularjs
[15:56:50] <icebox> Jarvis_: so... you have at least 327 watchers, not 34
[15:57:13] *** Sam___ has joined #angularjs
[15:57:21] *** dutis has joined #angularjs
[15:57:27] <Jarvis_> yup.. sorry i missed the count
[15:58:29] <Xatenev> Sorry another question..
[15:58:32] <Sam___> Hi..
[15:58:34] <icebox> Jarvis_: :) ok... what do you expect here? because, as I said, it is very hard to help you... I would start to think how to improve data processing and asking myself if the design of the app may be improved
[15:58:35] <Xatenev> trying to use jquery with angular
[15:58:49] <Sam___> I am new learner for Angularjs2 with Typescript using the Vs2013
[15:58:50] <Xatenev> sadly selectors doesnt work cause the DOM is built by angular
[15:58:59] <Xatenev> like $('.button').on('click
[15:59:03] <Xatenev> how can I use that in angular?.
[15:59:03] *** dutis has quit IRC
[15:59:15] *** bayousoft has quit IRC
[15:59:27] <burzum> Xatenev ng-click="functionName()"
[15:59:31] <Xatenev> Just realized that
[15:59:32] <Xatenev> thank you
[15:59:32] <Xatenev> :D
[15:59:36] <burzum> :)
[15:59:37] <Sam___> i am getting Cannot find module 'angular2/core'. on compilation how to fixed that
[15:59:39] <Xatenev> baah
[16:00:11] <icebox> Xatenev: in jquery use delegate events... so if the dom doesn't exist now, but it is added later, the event is catched
[16:00:20] <burzum> Xatenev use directives and think like working on elements this way and forget the terrible jquery selector mess
[16:00:23] <Jarvis_> ok icebox thanks i will look into it
[16:00:28] *** ste_ has quit IRC
[16:00:37] *** icfantv has joined #angularjs
[16:00:55] *** mrbubbles has joined #angularjs
[16:01:09] <icebox> Jarvis_: if you have a specific question, we are here :)
[16:01:23] <icebox> Jarvis_: or a concern about an approach :)
[16:01:27] <Xatenev> burzum: sorry again xd
[16:01:30] *** rscata has quit IRC
[16:01:33] <Xatenev> where do i have to define the function to make it work?
[16:01:39] <Xatenev> ng-controller="UploadCtrl" defined it in the uploadCtrl
[16:01:45] <Xatenev> but nothing happens :p
[16:01:59] <burzum> $scope.someFunctionName = function() { ... }
[16:02:14] <burzum> I have to leave, my horse is waiting for me :) bbl
[16:02:17] <burzum> good luck
[16:02:17] <Xatenev> thank you
[16:02:56] *** chrisbirk has quit IRC
[16:03:08] *** evilaliv3 has joined #angularjs
[16:03:11] *** jsonmurphy has joined #angularjs
[16:03:31] <icebox> Sam___: that depends on how you configured VS2013 to get the deps
[16:04:03] <Xatenev> icebox:
[16:04:06] *** Tmo_ has joined #angularjs
[16:04:10] <Xatenev> on ng-click how do I get the element clicked on?
[16:04:31] *** Imaginativeone has quit IRC
[16:04:33] <Sam___> any help url to check what need to configure to get it worked
[16:04:45] *** bayousoft has joined #angularjs
[16:05:22] <Xatenev> I think i got it
[16:05:22] *** Limix has quit IRC
[16:05:41] <icebox> Sam___: however I don't use that tool... so I cannot help you for the configuration
[16:05:50] <Xatenev> yey it workz.
[16:07:38] *** deez79 has joined #angularjs
[16:09:22] *** ste_ has joined #angularjs
[16:10:16] *** genta_boy has joined #angularjs
[16:10:59] *** MechaDragonJesus has joined #angularjs
[16:12:56] *** raininja has joined #angularjs
[16:13:03] *** buzzedword has quit IRC
[16:13:40] *** raijin has quit IRC
[16:13:43] *** zz_dimtruck is now known as dimtruck
[16:14:00] *** starsparrow has quit IRC
[16:14:36] *** Imaginativeone has joined #angularjs
[16:14:37] *** edrocks has quit IRC
[16:14:37] *** Bloomer has joined #angularjs
[16:14:49] *** edrocks has joined #angularjs
[16:16:12] *** buzzedword has joined #angularjs
[16:16:29] *** jstroem has joined #angularjs
[16:19:17] *** GriffinHeart has quit IRC
[16:19:29] *** genta_boy has quit IRC
[16:20:06] *** genta_boy has joined #angularjs
[16:20:26] *** Ronrun has quit IRC
[16:20:27] *** jstroem has quit IRC
[16:20:54] *** jstroem has joined #angularjs
[16:20:56] *** yozilla has joined #angularjs
[16:21:36] *** chilversc has joined #angularjs
[16:21:39] *** alencdave has joined #angularjs
[16:21:40] <Xatenev> icebox:
[16:21:41] <Xatenev> help me again xD
[16:21:53] *** ModFather has quit IRC
[16:21:54] <Xatenev> been trying to use ng-change : <input type="file" ng-model="file" ng-change="showFileName($event)">
[16:22:08] <Xatenev> It doesnt work tho, the function doesnt fire
[16:22:15] <Xatenev> May it be because I got multiple ng-model="file" ?
[16:22:43] <alencdave> would it please be possible for you to share a codepen pen or plunker for your issue
[16:22:51] <chilversc> is there a variation of `scope: {foo: '='}` for directives that will use the parent scopes value if an attribute foo is not defined?
[16:23:43] <chilversc> ie, <test>..</test> would use foo from the parent scope, while <test foo="5"></test> would use the value from the expression
[16:23:52] <Xatenev> But the HTML is called in a partial multiple times
[16:24:00] <Xatenev> so i have basically like 10 of those inputs all wiht the same model name
[16:24:47] *** rho has quit IRC
[16:25:05] *** conan_the_destro has joined #angularjs
[16:25:40] <Xatenev> Anybody? :P
[16:25:56] *** george_v has quit IRC
[16:26:28] <icebox> chilversc: hmm... in the first case you are using the scope, in the second one you are suing an attribute
[16:26:54] <chilversc> right, I want to use the attribute, but if no attribute is defined fall back to the parent scope
[16:27:24]
<icebox> Xatenev: read the docs... https://docs.angularjs.org/api/ng/directive/input read the note: Note: Not every feature offered is available for all input types. Specifically, data binding and event handling via ng-model is unsupported for input[file].
[16:27:26] <chilversc> normally I'd use; scope: {foo: '='}, but that creates an isolated scope, so I'm not sure how to get the fallback
[16:27:39] <icebox> Xatenev: please, RTFM :)
[16:27:50] <Xatenev> icebox: Like.. wtf why would that not be said in the ng-change
[16:27:57] <Xatenev> icebox: but in the input docs
[16:28:10] <Xatenev> icebox: thats rly weird
[16:28:45] <icebox> Xatenev: from general to specific
[16:28:55] *** Zalabinsky has joined #angularjs
[16:29:20] <Xatenev> So I cant do it that way - so how would I go on when I wanna do something if my input file changes?
[16:29:27] <Xatenev> icebox: if I cant use ng-change for that?
[16:29:41] *** charuru has joined #angularjs
[16:30:42] *** jstroem has quit IRC
[16:30:48] <Poeticode> A quick question about $interval… What's the proper way to have it loop only a certain amount of times?
[16:31:07] *** jae has quit IRC
[16:31:21] *** donguston has quit IRC
[16:31:22] *** JohnT has joined #angularjs
[16:31:43] <icebox> chilversc: use <test foo="foo"></test>
[16:31:43] *** dszmaj has joined #angularjs
[16:32:08] <icebox> Poeticode: the same for setInterval
[16:32:16] <chilversc> icebox: I wanted to avoid that for, I've got several common attributes that will almost always exist in the parent scope
[16:32:20] *** bealtine has joined #angularjs
[16:32:40] *** skyx has quit IRC
[16:32:55] *** Cokeee has quit IRC
[16:33:03] *** phrozensilver has joined #angularjs
[16:33:04] *** brollypop has quit IRC
[16:33:14] <Poeticode> … Oops, I'm creating another interval while I'm cancelling the previous one, which is why I didn't think it was working D:
[16:33:26] <icebox> Poeticode: nice catch
[16:33:47] *** jditto_ has joined #angularjs
[16:33:55] *** raininja has quit IRC
[16:35:29] <icebox> chilversc: sure... but foo will be a merge between parent and child scope... no?
[16:35:57] <chilversc> icebox: the idea is if the attribute exists at all, use the attribute, otherwise use the parent
[16:36:23] <chilversc> so, <test foo>, <test foo=""> and <test foo="5"> all use the attribute, while <test> would look at the parent
[16:36:31] <icebox> chilversc: in parent foo.x and in child foo.y... in the directive you have foo.x and foo.y
[16:36:45] *** Jarvis_ has quit IRC
[16:36:55] *** CAPITANOOO has joined #angularjs
[16:37:05] *** Vimal has joined #angularjs
[16:37:18] <Vimal> checking
[16:37:19] <icebox> chilversc: or you can overwrite the values... I thinnk, acting accordingly you can get what you want
[16:37:28] <icebox> chilversc: does it make sense in your use case?
[16:37:39] <Vimal> Happy Pongal
[16:37:56] *** miqid has quit IRC
[16:37:57] <chilversc> yeah, I was wondering the simplest way to do this, I can't find a special symbol such as '=' that handles this automatically
[16:37:57] *** peterbsmith has joined #angularjs
[16:38:04] *** aoeu256 has joined #angularjs
[16:38:16] <chilversc> I was thinking in a link function, check attr if the property exists, if so use it, otherwise check scope.$parent?
[16:38:59] <chilversc> but I'm not sure exactly how the link from the parent to the child is set up (ie what function to call) for the '=' binding, '@' would be a simple attr.$observe
[16:39:13] <chilversc> the parent scope is easier, that's just $watch
[16:39:14] *** Limix has joined #angularjs
[16:39:24] <icebox> chilversc: well... you are asking for a switch between scope and attrs.. I suppose you can code it in the link function, checking the attrs... if the attr doesn't exist, use the scope... something like.... myValue = attrs.foo || scope.foo;
[16:39:31] *** bayousoft has quit IRC
[16:39:33] *** marthinal has quit IRC
[16:39:45] *** dopesong has quit IRC
[16:40:03] <chilversc> icebox: right, but its how to do that, since the attr will be a string, while scope is an actual value
[16:40:09] *** dcherman has joined #angularjs
[16:40:11] *** bbankes has joined #angularjs
[16:40:42] *** Vimal has left #angularjs
[16:40:47] <icebox> chilversc: no
[16:40:50] *** teegee543 has quit IRC
[16:41:30] *** zivester has quit IRC
[16:41:41] *** JohnT has quit IRC
[16:41:56] <chilversc> oh, $observe evaluates it for me?
[16:41:56] <icebox> chilversc: if you write a minimal plunker, we can see it... but I need to go in 15 mins
[16:42:04] <icebox> chilversc: got it :)
[16:42:37] *** ziyadb has quit IRC
[16:42:59] <icebox> alencdave: wrong user... :)
[16:43:14] <alencdave> ;0
[16:43:19] <icebox> alencdave: it was for Xatenev
[16:43:38] <alencdave> yeah sorry...
[16:43:45] <icebox> chilversc: scope.$watch("foo", function (foo) {
[16:43:45] <alencdave> :)
[16:43:51] <icebox> chilversc: does it make sense?
[16:44:37] *** Jardayn has joined #angularjs
[16:44:42] <icebox> alencdave: ng-file-upload should be the definitive solution :)
[16:44:52] *** Imaginativeone has quit IRC
[16:45:46] *** Firo has quit IRC
[16:46:03] *** mrbubbles has quit IRC
[16:46:20] *** sssilver has joined #angularjs
[16:46:38] *** dutis has joined #angularjs
[16:46:46] <alencdave> sure it would be.. :) but nothing wrong in writing your own directive if your use case is simpler :)
[16:46:56] *** jstroem has joined #angularjs
[16:47:19] *** marthinal has joined #angularjs
[16:48:06] <icebox> alencdave: agreed
[16:48:26] <chilversc> icebox: right, that works when getting the value from the parent scope, but in the child scope that doesn't exist
[16:48:56] <chilversc> icebox: I've currently got; {scope: {title: '@'}} in the directive, so it creates an isolated scope
[16:49:49] <chilversc> I really want; scope: {title: '@', foo: 'either = or from parent scope'}
[16:49:52] *** jstroem_ has joined #angularjs
[16:50:02] <chilversc> its just how to do that second part I'm having trouble with
[16:50:35] <alencdave> chiversc: do u have a pen or plunker for your issue? sorry I joined late so do not know your exact issue.
[16:50:46] *** donguston has joined #angularjs
[16:50:47] *** frem has joined #angularjs
[16:50:53] *** leolrrj has joined #angularjs
[16:51:22] *** ycon_ has joined #angularjs
[16:51:36] <chilversc> yeah, one sec, making one now with what I have so far
[16:51:46] *** lnrdo has joined #angularjs
[16:51:49] *** jstroem has quit IRC
[16:52:33] *** cmoney has quit IRC
[16:52:43] *** codepsycho has joined #angularjs
[16:52:45] *** marthinal has quit IRC
[16:53:00] *** iraj has joined #angularjs
[16:53:02] *** cmoneylulz has joined #angularjs
[16:53:24] *** darkbasic has quit IRC
[16:53:24] *** alowaniak has quit IRC
[16:53:35] *** bbarke1 has joined #angularjs
[16:53:37] *** InezK is now known as InezK_away
[16:54:11] <icebox> chilversc: sorry... I am out of time... see you later
[16:54:18] <codepsycho> say i have a service which returns some [dynamically] generated HTML, what would be the best way to include it in the controller/view calling it? seeing as bind-html won't parse templating syntax etc and bind-template would only template in the initial fragment of HTML
[16:54:35] *** indenihilist has joined #angularjs
[16:54:40] *** ilmgb_ has joined #angularjs
[16:54:56] <codepsycho> so in this case, the service responds with a string and the controller calling it wants to template that string into its view. but it may contain templating its self
[16:55:13] <codepsycho> (1.x btw)
[16:55:24] *** bbankes has quit IRC
[16:57:23] <chilversc> icebox: cool, thanks
[16:58:27] *** ilmgb has quit IRC
[16:58:31] *** elsevero has quit IRC
[16:58:42] *** aoeu256_ has joined #angularjs
[16:59:29] *** CAPITANOOO has quit IRC
[16:59:35] *** aghiuru_ has joined #angularjs
[17:00:00] *** aoeu256 has quit IRC
[17:00:50] *** marr has quit IRC
[17:01:11] *** bayousoft has joined #angularjs
[17:01:15] *** dandaman has joined #angularjs
[17:01:52] <alencdave> chilversc : Gotta go, you may send your pen or plunkr link to my mail id
[17:01:58] <alencdave> oh ok.. let me see..
[17:02:03] *** cacts|works has joined #angularjs
[17:02:16] <chilversc> ideally I wanted to link up the attribute to the child scope the same way the directive handles it for the '=' binding
[17:02:50] *** aghiuru has quit IRC
[17:03:01] *** dopesong has joined #angularjs
[17:03:41] *** tesarek has quit IRC
[17:03:50] *** icebox has quit IRC
[17:03:56] *** dan2k3k4 has quit IRC
[17:04:29] *** Imaginativeone has joined #angularjs
[17:04:39] *** diegoaguilar has joined #angularjs
[17:04:44] *** jtimon has joined #angularjs
[17:05:09] *** punknroll has quit IRC
[17:05:15] *** cacts|works has quit IRC
[17:05:23] <chilversc> though that doesn't quite work, the attribute doesn't update
[17:06:08] *** m____ has joined #angularjs
[17:06:55] <chilversc> ah, I think I need to watch the expression rather than eval it?
[17:07:18] <alencdave> you are talking about Value attribute?
[17:07:19] *** tarsir has quit IRC
[17:07:26] *** aoeu256 has joined #angularjs
[17:07:36] *** _root has joined #angularjs
[17:07:37] <chilversc> yeah
[17:07:42] <alencdave> but why didn't you use = and pass value object of parent scope in directive?
[17:07:50] *** josdeha_rt has joined #angularjs
[17:08:05] *** aoeu256_ has quit IRC
[17:08:10] *** dszmaj has quit IRC
[17:08:21] <chilversc> alencdave: I want to avoid having; <test loading="loading"> everywhere
[17:08:34] <chilversc> as that will be 90% of the cases
[17:08:42] *** _root has quit IRC
[17:09:01] <chilversc> and there's more than 1 attribute that has this property
[17:09:22] *** Limix has quit IRC
[17:09:42] *** Sky[x] has joined #angularjs
[17:10:06] <alencdave> chilversc : Ok, bear with me for sometime and answer me... in your directive you are still passing the value then why you can't have = in directive's scope/
[17:10:11] *** lnrdo has quit IRC
[17:10:40] <chilversc> ah, I think this works
[17:11:15] <chilversc> what I was missing was just using $parent.$watch on the expression that comes from $attr.$observe
[17:12:02] *** aoeu256_ has joined #angularjs
[17:13:41] *** cacts|works has joined #angularjs
[17:14:35] *** aoeu256 has quit IRC
[17:16:01] <skullcrasher> is there some way to use several ecommerce providers in angularor should this all work via backend?
[17:16:38] <skullcrasher> I'm just thinking about paypal where you have to authenticate and then get redirected to your page
[17:16:49] <alencdave> hmm.. it seems to be working. Though I am still not able to understand the use-case and why not you just have passed the object from parent to directive using =.
[17:17:07] <alencdave> anyway.. good for you :)
[17:17:16] <chilversc> alencdave: because if I do that then just type; <test> then it won't have a value
[17:17:20] *** codepsycho has quit IRC
[17:17:36] <chilversc> alencdave: I want to be able to ommit an attribute and have that as the equivilent to specifing attr="attr"
[17:18:17] <hhhdev> skullcrasher never done before, but surely is done by the backend
[17:18:25] <chilversc> alencdave: ie, normally I want it to inherit the parent's value but allow for it to be overriden if required
[17:18:49] *** ste_ has quit IRC
[17:18:53] *** leolrrj has quit IRC
[17:19:18] *** aghiuru_ has quit IRC
[17:20:04] <skullcrasher> hhhdev, ok thx
[17:20:21] *** aghiuru has joined #angularjs
[17:20:36] <alencdave> ahh ... got it.
[17:20:45] <alencdave> ok gotta go.
[17:20:59] *** bayousoft has quit IRC
[17:21:07] <chilversc> thanks
[17:22:20] <chilversc> sorry, I've never even looked at the cache factory for resources (I mostly leave that to the browser and http headers)
[17:22:56] *** mtho11 has joined #angularjs
[17:24:53] <kegster> is there a place I can go whether IRC or not to pay someone for some quick consulting? nothing major, and not asking for someone to write code for an application. just to help me get some simple stuff down.
[17:25:03] *** roonie has joined #angularjs
[17:25:58] *** aghiuru has quit IRC
[17:26:06] <hhhdev> kegster yeah, there some site for consulting experts but i dont remember the name now
[17:26:43] <roonie> I'm having an issue with channeling errors through .catch for $http. I'm expecting a 400 response on invalid login credentials, but the success handler on $http is handling the response instead of .catch
[17:26:47] <kegster> i've found folks on IRC before, but some channels don't let you ask or solicit
[17:27:15] <alencdave> I think you need to go to expertsexchange.com
[17:27:17] *** bayousoft has joined #angularjs
[17:27:32] <kegster> site doesn't exist
[17:27:39] <archon-> expert sex change??
[17:27:52] <kegster> ha
[17:28:02] *** corioliss has joined #angularjs
[17:28:07] <kegster> i also tried singular before i said anything lol
[17:28:18] *** Limarson has quit IRC
[17:28:29]
<roonie> here is the angular code: https://jsfiddle.net/g4ozrm79/ - the console.log in the .catch never runs and the console.log in the success handler logs undefined
[17:28:32] *** Limarson has joined #angularjs
[17:28:39] *** tesarek has joined #angularjs
[17:29:07] <kegster> ahh but it's not real time, eh?
[17:29:25] <kegster> a nice game of ping pong :)
[17:29:30] <roonie> I'm 100% confident that its sending a 400 though with a body of {error: 'u suck'}
[17:30:08] *** phelix has joined #angularjs
[17:30:15] *** Bloomer has quit IRC
[17:30:43] *** Bloomer has joined #angularjs
[17:30:49] <roonie> one reason i'm 100% confident is that i put in an httpInterceptor to log the response and it says status: 400, data: {error: 'u suck'}
[17:31:19] <roonie> anyone have any thoughts on how to force the error to go through the error handler on $http?
[17:31:29] *** canyonero has quit IRC
[17:31:44] <roonie> i guess i could say if(!res) throw but thats such a janky solution
[17:32:02] <phelix> Anyone able to help me understand why trying to modify another directive using angular.extend(dialogService, ( I keep getting a $$hashkey error?
[17:32:27] <ycon_> Hi all, my $http get contains images that are from various sources. I want to not show any of the object, if the image field times out over 3 seconds. Is this a bad idea or is it possible?
[17:32:27] *** m____ has quit IRC
[17:32:35] *** Limarson has quit IRC
[17:33:20] <ycon_> Maybe timeout is the wrong word- if the image does not load within 4 seconds, or returns a 404/other error- then do not show any of the object
[17:33:37] <stuartm> roonie: which browser are you using? catch isn't supported on IE iirc
[17:33:49] <roonie> lol stuartm chrome
[17:33:57] <roonie> dont even have IE on my computer
[17:34:46] *** aoeu256 has joined #angularjs
[17:34:50] <roonie> plus i think Angular's $q gracefully handles .catch on IE>9
[17:35:04] <roonie> could be wrong about that, but still legacy browser issues shouldnt be the problem
[17:35:16] *** dan2k3k4 has joined #angularjs
[17:35:50] *** zetek has joined #angularjs
[17:36:06] *** apneic has joined #angularjs
[17:36:18] *** xylen_ has joined #angularjs
[17:36:26] *** zetek has quit IRC
[17:36:44] <dan2k3k4> using vm.... I want to watch vm.someObject -> where someObject.someVar gets changed - I need to know from watching just the someObject - is that possible?
[17:36:46] *** zetek has joined #angularjs
[17:36:47] *** aoeu256_ has quit IRC
[17:36:54] <zetek> hello
[17:37:08] <stuartm> have you dumped res.status to see that you're getting what you expect?
[17:38:00] <dan2k3k4> I did: $scope.$watch( function watchPageOptions( scope ) { return( vm.someObject ); }, function handlePageOptionChange( newValue, oldValue ) { console.log(newValue, oldValue); vm.runFunction(); } };
[17:38:03] <zetek> I tried copying all files from "Wire up a Backend" and run index.html on my cloudIDE and localhost but none of them work.
[17:38:06] <stuartm> only 200 range status codes should go to the success handler
[17:38:08] *** jlebrech has quit IRC
[17:38:57] <stuartm> but you know that, it's why you're here :)
[17:39:07] *** aghiuru has joined #angularjs
[17:39:17] *** josdeha_rt has quit IRC
[17:39:21] <zetek> I can't get "Wire up a Backend" example to work. It shows only a blank page with only 2 words "JavaScript Projects".
[17:39:22] <stuartm> roonie: just for kicks, throw a console.log(res.status); in there
[17:40:02] *** phrozensilver1 has joined #angularjs
[17:40:03] <roonie> hm that should error since res is logging out as undefined in the success handler
[17:40:08] <roonie> ill try it though
[17:40:11] *** Mounica has joined #angularjs
[17:40:12] <stuartm> if it's definitely returning a 400 error code then I'd call it an angular bug
[17:40:35] <dan2k3k4> if I change my watch to vm.someObject.someVar - then it works fine [but only for that var...]
[17:40:38] <dan2k3k4> and not all the others -_-
[17:41:01] <zetek> can anyone help me please
[17:41:32] <zetek> I can't get "Wire up a Backend" example to work. On launching the App, it shows only a blank page with only 2 words "JavaScript Projects".
[17:41:34] <stuartm> ok, if res is completely undefined then something is very wrong
[17:41:46] <dan2k3k4> ahh 3rd param for $watch lets you 'watch' objects
[17:41:46] *** zivester has joined #angularjs
[17:42:01] <roonie> weird part is that the log isnt even showing res.status in my code.. it still has it as res. and i checked my gulp and no errors
[17:42:17] <stuartm> did you try moving your catch function into 'then', then( success, error ) - does it make a difference?
[17:42:34] <roonie> yeah i tried that
[17:42:38] <roonie> the success handler always handles it
[17:42:46] <roonie> this time i got a potential memory leak since there are "11" listeners
[17:42:49] <roonie> there should only be 5 lol
[17:43:15] *** skyx has joined #angularjs
[17:43:17] *** phrozensilver1 has quit IRC
[17:43:25] *** anix has joined #angularjs
[17:44:06] *** phelix has quit IRC
[17:44:06] *** coaster has joined #angularjs
[17:45:15] *** Sky[x] has quit IRC
[17:46:59] *** maret has joined #angularjs
[17:47:25] *** webdev007 has quit IRC
[17:47:28] <stuartm> well I'll bow out at this point, I'm really just stabbing in the dark as I'm not familiar with whatever Auth framework you are using, I was assuming since the http interceptor worked that it might return an $http promise but it seems that's not the case
[17:47:40] *** BadHorsie has joined #angularjs
[17:47:43] *** maximski has quit IRC
[17:48:09] *** BadHorsie has quit IRC
[17:49:38] <alencdave> I do not know about $api that you are using but as someone pointed that it is not returning a promise as in $http then I may suggest to use $promise.then and $promise.error
[17:49:58] *** dopesong has quit IRC
[17:50:25] <roonie> $api is a custom service that uses $http
[17:50:37] <archon-> roonie: do you get any errors on the console about the then() not being valid?
[17:50:43] <roonie> archon nope
[17:51:31] <roonie> stuartm: i dont think the AUth framework is the issue since i put a console log in the endpoint right before "res.status(400).json({error: 'usuck'})" and it runs
[17:51:46] *** Cokee has joined #angularjs
[17:51:57] <roonie> and sorry i just checked again and this time the http interceptor isn't running :(
[17:52:00] *** Germanaz_ has quit IRC
[17:52:02] *** rhp has joined #angularjs
[17:52:02] *** dszmaj has joined #angularjs
[17:52:32] *** alencdave has quit IRC
[17:52:48] <roonie> the weirdest part is im editing my code and the logs dont show up the updated version of my code, yet gulp is running fine. I've even reloaded and re run gulp and it still shows an old version of my code
[17:53:04] *** shinnya has joined #angularjs
[17:53:11] <archon-> sounds like you have other caching issues
[17:53:21] *** davi has joined #angularjs
[17:53:54] *** ilmgb_ has quit IRC
[17:54:22] *** ilmgb has joined #angularjs
[17:54:29] *** speaking1ode has joined #angularjs
[17:54:39] *** Debnet`Work has quit IRC
[17:54:40] <roonie> hm let me try on FF
[17:54:43] *** apneic has quit IRC
[17:55:22] *** fantnn has joined #angularjs
[17:55:27] *** fantnn has quit IRC
[17:55:57] *** artik has joined #angularjs
[17:56:20] *** macwinne_ has quit IRC
[17:56:29] <artik> hi i am new here somebody here >?
[17:56:30] *** macwinne_ has joined #angularjs
[17:57:13] <artik> i would like to ask how can i sue laravel foe building web services and angular for recieving json data
[17:57:22] <artik> yo yo somebody here ?
[17:57:39] *** speakingcode has quit IRC
[17:57:46] *** svycka has quit IRC
[17:57:55] *** vytautas_ has quit IRC
[17:58:01] *** artik has quit IRC
[17:58:41] <Poeticode> woah don't sue laravel and angular D:
[17:58:55] *** ilmgb has quit IRC
[17:59:20] *** Leon has quit IRC
[17:59:32] *** speakingcode has joined #angularjs
[17:59:35] <Poeticode> serious response: I don't use laravel, but I do know you'd probably use $http with angular for getting json from a server
[17:59:46] *** speaking1ode has quit IRC
[17:59:50] <roonie> LOL
[18:00:01] <roonie> "this framework made an ajax request i need a lawyer"
[18:00:58] <roonie> ok so i fixed the caching issue guys, turns out i forgot to return on an endpoint that gets the currently logged in user when you first visit the site, which was throwing a silent error since there was no "req.user" when youre not logged in
[18:01:15] <roonie> the http interceptor now hits but the success handler still handles the rejection WTF
[18:01:26] *** sterns has quit IRC
[18:03:58] *** jstroem has joined #angularjs
[18:04:42] *** bbankes has joined #angularjs
[18:04:47] *** Razerglass has quit IRC
[18:05:19] *** bearbat has quit IRC
[18:05:35] *** jstroem_ has quit IRC
[18:05:54] *** speaking1ode has joined #angularjs
[18:06:13] *** leolrrj has joined #angularjs
[18:06:49] *** fiddo has quit IRC
[18:07:28] *** fiddo has joined #angularjs
[18:07:29] *** uNki has quit IRC
[18:07:46] *** uNki has joined #angularjs
[18:08:08] *** Xatenev has left #angularjs
[18:08:17] *** dan2k3k4 has quit IRC
[18:08:46] *** jstroem has quit IRC
[18:08:54] *** speakingcode has quit IRC
[18:09:19] *** jstroem has joined #angularjs
[18:09:41] *** step1step2 has quit IRC
[18:09:50] *** sbasso has quit IRC
[18:10:19] *** bbankes has quit IRC
[18:11:10] <roonie> FIXED IT
[18:11:17] <roonie> fucking YES
[18:11:51] *** marr has joined #angularjs
[18:11:55] *** conan_the_destro has quit IRC
[18:12:08] *** dszmaj has quit IRC
[18:12:32] <roonie> stuartm: archon- iwas forgetting to return "$q.reject(rejection)" in my httpInterceptor -.-
[18:12:42] *** marthinal has joined #angularjs
[18:12:43] *** conan_the_destro has joined #angularjs
[18:13:00] *** dszmaj has joined #angularjs
[18:14:01] *** dszmaj has quit IRC
[18:14:28] *** ansimation has joined #angularjs
[18:14:53] <stuartm> :)
[18:14:53] *** dszmaj has joined #angularjs
[18:15:49] *** drptbl has quit IRC
[18:16:15] *** hefox has joined #angularjs
[18:17:01] *** buzzedword has quit IRC
[18:19:23]
<maret> guys I have simple page which should fetch data using $http.get (which it does) and it should show these data using ng-repeat in directive. Problem is that data seems to be loaded after directive is shown here is code with some approach I've tried http://pastie.org/10690036
[18:19:37] *** tesarek has quit IRC
[18:19:42] *** Limix has joined #angularjs
[18:19:56] *** yozilla_ has joined #angularjs
[18:20:54] *** wonder95 has joined #angularjs
[18:20:58] *** GeekJon has quit IRC
[18:21:19] *** GeekJon has joined #angularjs
[18:21:31] *** yozilla has quit IRC
[18:23:09] *** kk_ has joined #angularjs
[18:23:33] *** zivester has quit IRC
[18:23:38] *** kk_ has quit IRC
[18:23:42] *** step1step2 has joined #angularjs
[18:23:46] *** jtimon has quit IRC
[18:24:18] *** tobias47n9e_ has joined #angularjs
[18:25:33] *** uNki has quit IRC
[18:25:56] *** Germanaz0 has joined #angularjs
[18:27:35] *** tobias47n9e__ has quit IRC
[18:28:26] *** buzzedword has joined #angularjs
[18:30:21] <stuartm> replace the ng-if with ng-show
[18:30:37] <stuartm> there's a typo there anyway, ngIf instead of ng-if
[18:30:40] *** randomdoude has joined #angularjs
[18:31:36] *** apneic has joined #angularjs
[18:31:54] <stuartm> and you could use ng-if there instead, but since you expect the data to always load ng-show would be a better choice
[18:32:00] *** leolrrj-alt has joined #angularjs
[18:32:26] *** bayousoft has quit IRC
[18:32:46] <stuartm> maret: ^^
[18:32:59] *** baweaver has quit IRC
[18:33:15] *** leolrrj has quit IRC
[18:33:52] *** buzzedword has quit IRC
[18:34:05] *** leolrrj-alt has quit IRC
[18:34:23] *** josdeha_rt has joined #angularjs
[18:34:35] *** guilbep has quit IRC
[18:35:53] *** leolrrj has joined #angularjs
[18:36:06] *** apneic has quit IRC
[18:36:19] *** buzzedword has joined #angularjs
[18:36:20] *** dopesong has joined #angularjs
[18:36:44] *** mrbubble_ has joined #angularjs
[18:37:29] *** sigurding has quit IRC
[18:37:48] <roonie> maret: you have multiple typos
[18:37:53] *** zivester has joined #angularjs
[18:37:58] <maret> ops let me check it
[18:38:10] <roonie> you have it as scope.widgetsData = data but in the template you said widget in widgetData
[18:38:15] <roonie> it should be scope.widgetData
[18:38:16] *** iateadonut has quit IRC
[18:38:33] <maret> still the loading of data doesn't belong to directive does it?
[18:38:44] <roonie> what do you mean?
[18:39:17] <roonie> you also dont need to do scope.loadingIsDone = true
[18:39:20] *** tangorri has quit IRC
[18:39:34] <roonie> just say ng-if="widgetData" since if something exists, it is a "truthy" value in JS
[18:40:24] <roonie> i agree with stuartm on ng-show. the main difference between ng-show/ng-hide and ng-if is that if ng-if evaluates to false, the containing html wont even be loaded into the DOM
[18:40:27] *** sbellina has joined #angularjs
[18:40:37] <maret> roonie: seems like I dont need ng-show at all
[18:40:54] <maret> and I meant that instead of using link function of directive the data should be loaded in controller function
[18:40:59] <roonie> if you use ng-show/ng-hide, it will just attach a class to the element that ( I believe) is just display: none or not
[18:41:22] *** buzzedword has quit IRC
[18:41:32] <roonie> you can use a controller if you want
[18:41:38] *** amdi_ has joined #angularjs
[18:41:53] <roonie> im not too sure what the context of this "widget" is
[18:42:00] <roonie> but in general "widget" screams directive to me, not controller
[18:43:10] <roonie> the whole point of a directive is to be reusable in multiple contexts, which is generally what a widget is. if you gave us more context maybe we could give you a better answer, but it seems like you should go with a directive
[18:43:31] <maret> roonie: widget is directive, but where should loading of data for it go? seems like there should be controller which loads data and pass it to widget directive no?
[18:43:33] *** ziro` has quit IRC
[18:43:48] <roonie> are you using that data anywhere else
[18:44:02] <roonie> outside the directive
[18:44:48] *** yozilla_ has quit IRC
[18:45:26] <roonie> maret youre not answering my question
[18:45:29] *** ico has joined #angularjs
[18:45:35] <roonie> are you using widgetData anywhere else but the directive?
[18:45:43] <maret> no
[18:45:48] *** vpi has quit IRC
[18:45:49] <roonie> then load the data in the directive
[18:46:13] *** ryanpotternz has quit IRC
[18:46:22] <roonie> otherwise, you can pass the widgetData to the directive through isolate scope
[18:46:40] <roonie> or it can just inherit it from its parent controler, but i like to give directives isolate scope to make it clear exactly what the directive is doing
[18:46:51] <maret> so what would need to happen for me to load data in controller? If i remember correctly I read somewhere that business logic should go in controller and fetching data for directive seems like business logic
[18:46:52] <roonie> and it makes it more modular
[18:47:19] <roonie> maret: if you want to load it in the controller thats fine
[18:47:21] <randomdoude> and by using isolated scopes you're making your directives that much closer to components which seem to be the future of angualr
[18:47:25] <maret> at least thats what I am used from backend development, controller fetch data from source and pass it to view.
[18:47:32] <roonie> but it will load every time you load the controller
[18:47:52] <roonie> if WidgetController ever loads in a case where the 'widgets' directive isnt needed
[18:47:57] <roonie> then that would be an unnecessary ajax request
[18:48:06] <roonie> thats why i asked if you use widgetData anywhere else
[18:48:19] *** apneic has joined #angularjs
[18:48:20] *** leolrrj has quit IRC
[18:48:33] <roonie> maret: also, .success and .error are deprecated
[18:48:35] <roonie> use .then
[18:48:55] <randomdoude> why not use the controllers directive for it?
[18:49:19] <maret> roonie: yeah that make sense, so for example if I would have functionality for creating new widge let say , so I would add addWidget function for that to controller, data would get loaded too eventhough they are not shown(new widget form would be shown)
[18:49:28] *** Sam___ has quit IRC
[18:49:28] <roonie> randomdoude: was that addressed to me?
[18:49:33] <randomdoude> yes.
[18:49:44] <roonie> what do you mean the controller's directive
[18:49:51] <roonie> you mean the 'widgets' directive ?
[18:49:59] *** storresi has quit IRC
[18:50:07] *** joeco_l_q has quit IRC
[18:50:10] *** leolrrj has joined #angularjs
[18:50:26] *** zivester has quit IRC
[18:50:33] <randomdoude> yes. you can have a controller 'inside' the directive so why not use that?
[18:50:41] <roonie> lol thats what im saying - load the data with the directive, not the controller
[18:50:49] <roonie> the parent controller that is
[18:51:11] <roonie> it doesnt matter if you load it with link or a controller, but just do it inside the directive
[18:51:20] <randomdoude> oh my bad. misunderstood you
[18:51:27] <roonie> no worries :D
[18:51:28] *** dbclk_ has joined #angularjs
[18:51:44] <maret> I think problem is I am applying what I am used from server side development and I am thinking about directive as views in backend where the controller is responsible for fetching data
[18:53:11] *** Vladimirski has joined #angularjs
[18:53:18] *** apneic has quit IRC
[18:53:49] *** buzzedword has joined #angularjs
[18:54:21] *** leolrrj has quit IRC
[18:54:35] *** leolrrj has joined #angularjs
[18:54:40] *** dbclk has quit IRC
[18:56:49] *** krusty_ar has quit IRC
[18:57:36] *** jtimon has joined #angularjs
[18:57:42] *** zetek has quit IRC
[18:57:44] *** joeco_l has joined #angularjs
[18:58:05] *** krusty_ar has joined #angularjs
[18:59:04] *** KnightsOfNi has quit IRC
[19:00:36] *** dopesong has quit IRC
[19:00:48] *** kalz has quit IRC
[19:01:03] *** KnightsOfNi has joined #angularjs
[19:01:57] *** greengriminal has joined #angularjs
[19:02:39] *** maret has quit IRC
[19:03:25] *** cotko has quit IRC
[19:04:16] *** speeddra_ has quit IRC
[19:04:25] *** zivester has joined #angularjs
[19:05:09] *** dan2k3k4 has joined #angularjs
[19:05:55] *** canyonero has joined #angularjs
[19:05:59] *** GeekJon has quit IRC
[19:06:15] *** fairuz has joined #angularjs
[19:06:33] *** conan_the_destro has quit IRC
[19:07:03] *** conan_the_destro has joined #angularjs
[19:07:13] *** zigzagzig has quit IRC
[19:07:26] *** dfcarpenterak has joined #angularjs
[19:07:38] *** fairuz has left #angularjs
[19:07:54] *** CanyonMan has joined #angularjs
[19:08:00] *** jr3 has quit IRC
[19:08:11] *** codeitloadit has joined #angularjs
[19:08:50] *** jhwhite has joined #angularjs
[19:09:02] <CanyonMan> I'm stumped by something and I'm looking for ideas how to continue troubleshooting. Angular 1 / systemjs app works fine running out of dist/ (with a gulp server) ... I .war it up and put it on the server ... and several things don't work. $watch behaves unreliably, and I get a complaint about $uibModalProvider not existing. There are no load/fetch errors
[19:09:09] *** mischat_ has joined #angularjs
[19:09:11] *** bengillies has quit IRC
[19:09:18] *** fdsa has joined #angularjs
[19:09:34] *** fedenunez has joined #angularjs
[19:09:46] <CanyonMan> I looked at the chrome console / Network tab and it's loading everything, and loading it in all the right orders. That just tells me systemjs fetched it though, it doesn't necessarily tell me systemjs executed it
[19:09:58] *** fBirD has quit IRC
[19:10:09] <CanyonMan> but I did make sure the thing that uses uibModal does: import "ui.bootstrap" so it SHOULD have gotten it
[19:10:09] <jhwhite> How can I convert an angular object to an array? I'm using a factory to hit an API, then in my controller I call that factory and store the result in $scope.myReturnStuff. But that's an angular object correct? I want to be able to use $filter on that but $filter takes an array. So I need to convert $scope.myReturnStuff to an array...
[19:10:37] *** fdsa has quit IRC
[19:11:17] *** fedenunez has quit IRC
[19:11:32] *** aoeu256_ has joined #angularjs
[19:11:34] *** cliluw has quit IRC
[19:11:37] *** fedenunez has joined #angularjs
[19:11:38] *** Tmo_ has quit IRC
[19:11:45] *** buzzedword has quit IRC
[19:11:49] <randomdoude> map?
[19:11:53] *** tarsir has joined #angularjs
[19:12:12] *** mischat has quit IRC
[19:12:14] *** mischat__ has joined #angularjs
[19:12:48] *** cliluw has joined #angularjs
[19:13:02] *** aoeu256 has quit IRC
[19:13:07] *** lnrdo has joined #angularjs
[19:13:23] *** codeitloadit has quit IRC
[19:13:45] <randomdoude> jhwhite, depending on what format the object is in and exactly what you want to extract out of it. But I think it alawys comes downs to using map on it.
[19:14:05] *** Ann_ has quit IRC
[19:14:25] *** OShobbit has joined #angularjs
[19:14:35] *** mischat_ has quit IRC
[19:14:36] *** heyts has quit IRC
[19:15:16] *** mischat has joined #angularjs
[19:15:29] *** Z3R0 has joined #angularjs
[19:15:59] *** dfcarpenterak has quit IRC
[19:16:40] *** tesarek has joined #angularjs
[19:17:08] *** mischat_ has joined #angularjs
[19:17:41] *** mischat__ has quit IRC
[19:18:54] *** aoeu256_ has quit IRC
[19:18:56] *** xylen_ has quit IRC
[19:19:07] *** aoeu256 has joined #angularjs
[19:19:15] *** fedenunez has quit IRC
[19:20:09] *** \du has quit IRC
[19:20:12] *** SET001 has joined #angularjs
[19:20:20] *** mischat has quit IRC
[19:20:32] *** mischat__ has joined #angularjs
[19:20:53] *** ycon_ has quit IRC
[19:21:47] *** buzzedword has joined #angularjs
[19:21:55] *** aoeu256_ has joined #angularjs
[19:22:15] *** mischat_ has quit IRC
[19:23:31] <jhwhite> randomdoude: Actually I got it working but now I'm having a different issue.
[19:24:03] *** aoeu256 has quit IRC
[19:25:13] *** tobachi has joined #angularjs
[19:27:15] *** ansimation has quit IRC
[19:27:24] *** buzzedword has quit IRC
[19:27:29] *** realisation has joined #angularjs
[19:28:00] *** stevenroose has quit IRC
[19:28:14] *** stevenroose|BNC has joined #angularjs
[19:29:05] *** codeitloadit has joined #angularjs
[19:29:29] *** Vladimir_ has joined #angularjs
[19:29:30] <realisation> What's the best choice for an accordion ?
[19:30:27] *** smccarthy has quit IRC
[19:30:29] <realisation> for a very MVP level project
[19:30:35] *** Z00t has quit IRC
[19:31:35] *** raghu_ has joined #angularjs
[19:31:48] <raghu_> joij
[19:31:49] <raghu_> join
[19:32:10] <raghu_> hi
[19:32:23] *** raghu_ has left #angularjs
[19:32:38] *** Vladimirski has quit IRC
[19:33:00] <randomdoude> are you ok? what an entrance :D
[19:33:51] *** andricDu has quit IRC
[19:35:21] *** xylen_ has joined #angularjs
[19:36:13] *** cotko has joined #angularjs
[19:36:23] *** tesarek has quit IRC
[19:36:32] *** uNki has joined #angularjs
[19:37:02] *** dfcarpenterak has joined #angularjs
[19:38:44] *** tesarek has joined #angularjs
[19:38:45] *** bengillies has joined #angularjs
[19:39:11] *** Z3R0 has quit IRC
[19:39:46] *** Picheli has quit IRC
[19:41:05] *** uNki has quit IRC
[19:41:55] *** soee_ has joined #angularjs
[19:42:49] *** Z3R0 has joined #angularjs
[19:43:52] *** soee has quit IRC
[19:44:14] *** bayousoft has joined #angularjs
[19:44:22] *** jhirley has joined #angularjs
[19:45:03] *** zlude has quit IRC
[19:46:22] *** zizzl has joined #angularjs
[19:46:50] <zizzl> Hey all, how can I do an ng-class if a class exists on the element... basically I want to check if ng-dirty is there
[19:47:48] *** SomeKittens has joined #angularjs
[19:48:04] *** dan2k3k4 has quit IRC
[19:48:17] *** tesarek has quit IRC
[19:48:33] *** AndrewIsh has quit IRC
[19:49:01] *** alvarez has joined #angularjs
[19:49:18] *** Shrooms has quit IRC
[19:49:19] *** Shrooms has joined #angularjs
[19:49:27] <alvarez> l
[19:49:55] *** alvarez has quit IRC
[19:49:58] *** lnrdo has quit IRC
[19:50:00] *** Mounica has quit IRC
[19:51:12] *** senayar has joined #angularjs
[19:51:12] *** senayar has joined #angularjs
[19:53:15] *** zigzagzig has joined #angularjs
[19:54:47] *** bayousoft has quit IRC
[19:56:01] *** heyts has joined #angularjs
[19:56:19] *** jhwhite has quit IRC
[19:57:11] *** evilaliv3 has quit IRC
[19:57:55] *** Z3R0 has quit IRC
[19:58:25] *** SET001 has quit IRC
[19:58:53] *** baweaver has joined #angularjs
[19:58:56] *** mrbubble_ has quit IRC
[20:00:04] <aendrew> Hey, anyone have any idea how to get SVG icon sets configured in Angular Material?
[20:01:11] *** doginal has joined #angularjs
[20:01:19] <aendrew> I've bower installed material-design-icons and added the following line to my config block: $mdIconProvider.iconSet('social', 'bower_components/material-design-icons/sprites/svg-sprite/svg-sprite-social.svg', 24);
[20:01:33] <aendrew> Then in my template: <md-icon md-svg-icon="social:cake"></md-icon>
[20:01:41] *** jsoh has joined #angularjs
[20:01:50] <aendrew> Alas, in my console it says "icon social:cake not found"
[20:02:05] *** tesarek has joined #angularjs
[20:02:24] <aendrew> The path's correct; I see the SVG file was retrieved in the Network tab.
[20:03:13] <aendrew> Oh wait, it's because for some reason the ID isn't, actually, "cake", but rather "ic_cake_24px" — wat.
[20:03:15] *** baweaver has quit IRC
[20:03:52] *** buzzedword has joined #angularjs
[20:04:09] *** sonofdirt has joined #angularjs
[20:04:25] *** hhhdev has quit IRC
[20:04:39] *** JohnT has joined #angularjs
[20:04:53] *** tobachi has quit IRC
[20:05:07] *** sergey has joined #angularjs
[20:05:31] *** InezK_away is now known as InezK
[20:06:06] <mikeones_> hi, I am trying to use a filter on a ng-repeat and my data is nested. e.g. val['key:1']['key:2']. I have tried ng-model="search.['key:1']['key:2']" and ng-model="search.key:1.key:2". I can't seem to get either working. Any ideas?
[20:06:06] *** senayar has quit IRC
[20:06:49] *** sergey_ has joined #angularjs
[20:06:51] *** buzzedword has quit IRC
[20:06:58] *** buzzedwo_ has joined #angularjs
[20:09:41] *** mven has joined #angularjs
[20:09:46] *** Limix has quit IRC
[20:09:59] *** dbclk has joined #angularjs
[20:10:31] *** yky_ has joined #angularjs
[20:10:43] *** sergey has quit IRC
[20:11:17] *** Limix has joined #angularjs
[20:12:02] *** dbclk_ has quit IRC
[20:13:30] *** baweaver has joined #angularjs
[20:14:30] *** jonno11 has joined #angularjs
[20:14:48] *** pbgc has quit IRC
[20:15:05] *** pbgc has joined #angularjs
[20:15:25] *** Jellyg00se has joined #angularjs
[20:15:35] *** pbgc has quit IRC
[20:17:20] *** apneic has joined #angularjs
[20:20:50] *** apneic_ has joined #angularjs
[20:23:04] *** aoeu256 has joined #angularjs
[20:23:27] *** aoeu256_ has quit IRC
[20:23:44] *** peterR`` has joined #angularjs
[20:24:19] *** metame has quit IRC
[20:24:20] *** uNki has joined #angularjs
[20:24:23] *** apneic has quit IRC
[20:24:26] *** erol has quit IRC
[20:24:30] *** davi has quit IRC
[20:24:43] *** jr3 has joined #angularjs
[20:27:04] *** baweaver has quit IRC
[20:27:55] *** cotko has quit IRC
[20:27:56] *** Tmo_ has joined #angularjs
[20:30:29] *** cyan__ has joined #angularjs
[20:33:09] *** tobachi has joined #angularjs
[20:33:33] *** baweaver has joined #angularjs
[20:34:13] *** Imaginativeone has quit IRC
[20:34:19] *** uNki has quit IRC
[20:34:41] <CanyonMan> What NPM package should I be using for ui.bootstrap for ng 1.x ?
[20:34:59] <CanyonMan> I'm once again down the spiral of confusion ... angular-bootstrap, angular-ui-bootstrap, it's all crazy stuff
[20:35:01] *** yky_ has quit IRC
[20:35:17] *** yky_ has joined #angularjs
[20:35:48] *** asilluron_ has joined #angularjs
[20:36:13] *** bayousoft has joined #angularjs
[20:36:53] *** vrockai has quit IRC
[20:37:02] *** asilluron_ has quit IRC
[20:37:09] *** erol has joined #angularjs
[20:38:30] *** baweaver has quit IRC
[20:38:30] *** dfcarpenterak has quit IRC
[20:38:31] *** apneic_ has quit IRC
[20:38:44] *** tomer157 has joined #angularjs
[20:39:30] <tomer157> i dont understand why my expression apperrs in the browser inside curly braces and not the answer itself plas help///...
[20:39:31]
<tomer157> <!DOCTYPE html> <html> <head> <script data-require="angular.js@*" data-semver="2.0.0-alpha.45" src="https://code.angularjs.org/2.0.0-alpha.45/angular2.js"></script> <script data-require="angular.js@*" data-semver="2.0.0-alpha.45" src="app.js"></script> <link rel="stylesheet" href="style.css" /> <script src="script.js"></script> </head> <body> <h1>Hello Plunker!</h1> <div ng-app> {{ 800
[20:40:44] *** s3shs has quit IRC
[20:42:11] *** Germanaz_ has joined #angularjs
[20:43:26] *** hefox has quit IRC
[20:43:59] *** Eric__ has joined #angularjs
[20:44:47] *** Germanaz0 has quit IRC
[20:44:47] *** Eric__ has left #angularjs
[20:44:49] *** genta_boy has quit IRC
[20:45:20] *** bengillies has quit IRC
[20:45:56] *** 7JTABJJ13 has joined #angularjs
[20:46:37] *** WolframMueller has joined #angularjs
[20:47:32] *** senayar has joined #angularjs
[20:48:12] *** uNki has joined #angularjs
[20:48:22] <CanyonMan> ui-bootstrap.min.js ui-bootstrap-tpls.min.js
[20:48:22] <CanyonMan> WOAH
[20:48:29] <CanyonMan> Am I supposed to use one of those OR the other?
[20:48:37] <CanyonMan> I thought tpls was just the templates but it doesn't look like that's true
[20:49:07] *** Jellyg00se has quit IRC
[20:49:18] *** fixl has joined #angularjs
[20:49:47] *** blitheBoudica has joined #angularjs
[20:49:52] *** blitheBoudica has left #angularjs
[20:51:03] *** maximski has joined #angularjs
[20:52:47] *** marthinal has quit IRC
[20:53:01] *** hg779 has quit IRC
[20:53:21] *** aghiuru has quit IRC
[20:53:22] *** hg779 has joined #angularjs
[20:54:22] *** sterns has joined #angularjs
[20:54:44] *** fixl has quit IRC
[20:55:02] *** Bodin has joined #angularjs
[20:55:19] *** plong0 has joined #angularjs
[20:56:13] *** aghiuru_ has joined #angularjs
[20:56:30] <plong0> hello, with ui-router how can I add a view to a state at runtime? I can use $state.get to retrieve the state and then modify its views property … but it doesn’t seem to load the template I specify there
[20:56:41] <amergin> tomer157: use a plunker, don't paste here
[20:56:50] <plong0> I’ve tried also with $view.load but that doesn’t do it either
[20:57:15] *** mrbubbles has joined #angularjs
[20:57:54] *** elsevero has joined #angularjs
[21:00:12] <amergin> CanyonMan: as the file name suggests, tpls is the library + all the templates
[21:00:29] *** aghiuru_ has quit IRC
[21:00:30] <CanyonMan> Yeah. I'm dumb. I never noticed that, I thought it was just the templates.
[21:00:49] *** mrbubbles has quit IRC
[21:01:09] <amergin> CanyonMan: if you're unsure what you need at first, just start with ui-bootstrap-tpls.js and when you're done with the project, see what modules + templates you really need and create a custom build for those
[21:01:15] *** zivester has quit IRC
[21:01:22] *** Z3R0 has joined #angularjs
[21:01:39] <CanyonMan> I have this weird situation where I can't inject $uibModal (no provider) when I feed it out of tomcat but when I feed it out of connect-livereload it's just fine
[21:02:00] <CanyonMan> I have a weird feeling it has something to do with systemjs being able to get more things in parallel, or something
[21:02:04] *** illume has quit IRC
[21:03:26] *** heyts has quit IRC
[21:04:35] <CanyonMan> WOAH I just made it work by adding System.import('angular') before I System.import('app') ... What the hell
[21:04:44] <CanyonMan> app declares angular as a dep
[21:05:20] *** Cokee has quit IRC
[21:05:25] <CanyonMan> Or does it! Dammit! I declared dependencies on 'app' not 'app.js' !! Oh MAN
[21:05:35] *** deeb has quit IRC
[21:05:51] <CanyonMan> )(*!#)%*(!%ing systemjs !!! Wow man. Blows my mind
[21:05:52] *** s3shs has joined #angularjs
[21:06:31] *** fiddo has quit IRC
[21:06:38] *** njoyard has joined #angularjs
[21:07:11] <CanyonMan> We should go back to vacuum tubes
[21:07:22] <njoyard> hi everyone
[21:07:46] *** roonie has quit IRC
[21:07:57] <njoyard> I'm having a weird issue where $http.get is completely stalled until I somehow update my scope
[21:08:19] <njoyard> any rookie mistake I could be making ?
[21:08:46] *** phrozensilver has quit IRC
[21:09:00] *** jotaefe has joined #angularjs
[21:09:05] <njoyard> basically, I call $http.get from a setTimeout that was installed inside a $scope.watch
[21:13:01] *** botika has joined #angularjs
[21:14:25] *** ahaeger has joined #angularjs
[21:14:28] *** Z00t has joined #angularjs
[21:14:48] <botika> datatype that I can use to represent a schedule of openning hours?
[21:15:00] *** serbang has joined #angularjs
[21:15:28] *** miqui has joined #angularjs
[21:15:36] *** zivester has joined #angularjs
[21:15:56] *** rbueno has joined #angularjs
[21:18:43] *** apneic has joined #angularjs
[21:19:40] *** anix has quit IRC
[21:19:50] *** cotko has joined #angularjs
[21:19:52] *** aoeu256_ has joined #angularjs
[21:20:35] *** leolrrj-alt has joined #angularjs
[21:20:38] *** bit^8 has joined #angularjs
[21:21:19] *** ycon_ has joined #angularjs
[21:21:32] *** aoeu256 has quit IRC
[21:22:20] *** leolrrj has quit IRC
[21:22:28] *** leolrrj has joined #angularjs
[21:22:53] <bit^8> Hello!
[21:23:16] <njoyard> (and I have no interceptors btw)
[21:24:16] *** ico has quit IRC
[21:25:09] *** leolrrj-alt has quit IRC
[21:25:34] *** ycon_ has quit IRC
[21:25:44] *** leolrrj-alt has joined #angularjs
[21:26:01] *** Vladimir_ has quit IRC
[21:26:18] *** dszmaj has quit IRC
[21:26:25] *** ril has joined #angularjs
[21:27:14] *** Tmo_ has quit IRC
[21:27:17] *** dopesong has joined #angularjs
[21:27:40] <steven10172> Has anyone used ng-swipe-* with bootstrap dropdown?
[21:27:51] *** tomer157 has quit IRC
[21:28:08] *** baweaver has joined #angularjs
[21:28:11] *** leolrrj has quit IRC
[21:30:36] *** buzzedwo_ has quit IRC
[21:30:51] *** Z3R0 has quit IRC
[21:31:31] *** baweaver has quit IRC
[21:31:44] *** buzzedword has joined #angularjs
[21:31:47] *** baweaver has joined #angularjs
[21:31:59] *** leolrrj-alt has quit IRC
[21:32:01] *** anix has joined #angularjs
[21:32:14] *** Zalabinsky has quit IRC
[21:33:14] *** Aliks has joined #angularjs
[21:33:26] *** rbueno has quit IRC
[21:33:31] *** buzzedword has quit IRC
[21:34:12] *** zivester has quit IRC
[21:34:23] *** Respek has joined #angularjs
[21:34:42] *** heyts has joined #angularjs
[21:34:47] *** sbellina has quit IRC
[21:34:55] *** BigPoppa has quit IRC
[21:35:26] *** buzzedword has joined #angularjs
[21:36:15] *** Ir1sh has quit IRC
[21:37:47] *** leolrrj has joined #angularjs
[21:38:27] *** walden has quit IRC
[21:38:42] *** ico has joined #angularjs
[21:38:51] *** jlebrech has joined #angularjs
[21:39:12] *** edrocks has quit IRC
[21:39:22] *** edrocks has joined #angularjs
[21:40:41] *** Imaginativeone has joined #angularjs
[21:40:46] *** walden has joined #angularjs
[21:41:00] *** heyts has quit IRC
[21:41:22] *** plong0 has quit IRC
[21:41:46] *** morissette has quit IRC
[21:42:09] *** ajmitch has quit IRC
[21:42:35] *** romanovic_ has joined #angularjs
[21:42:56] *** romanovic has quit IRC
[21:43:15] *** jlebrech has quit IRC
[21:43:16] *** primepie has quit IRC
[21:43:21] *** baweaver has quit IRC
[21:43:22] *** romanovic_ is now known as romanovic
[21:44:15] *** Aliks has quit IRC
[21:44:30] *** cotko has quit IRC
[21:44:32] *** coaster has quit IRC
[21:44:34] *** jstroem has quit IRC
[21:44:44] *** cotko has joined #angularjs
[21:45:46] *** macobo has quit IRC
[21:46:27] *** bengillies has joined #angularjs
[21:47:42] *** tobachi has quit IRC
[21:48:08] *** aoeu256_ has quit IRC
[21:48:34] *** zivester has joined #angularjs
[21:48:37] *** primepie has joined #angularjs
[21:48:41] *** aoeu256 has joined #angularjs
[21:49:31] *** senayar has quit IRC
[21:49:44] *** cotko has quit IRC
[21:50:14] *** k1ng4400 has quit IRC
[21:50:47] *** macobo has joined #angularjs
[21:50:49] *** Aliks has joined #angularjs
[21:50:55] *** macwinne_ has quit IRC
[21:51:07] *** ajmitch has joined #angularjs
[21:51:23] *** macwinne_ has joined #angularjs
[21:51:23] *** kalz has joined #angularjs
[21:51:31] *** bengillies has quit IRC
[21:51:32] *** Tmo_ has joined #angularjs
[21:51:43] *** mrbubbles has joined #angularjs
[21:57:19] *** Germanaz_ has quit IRC
[21:57:55] *** bengillies has joined #angularjs
[21:58:44] *** CanyonMan has quit IRC
[21:59:01] *** Germanaz0 has joined #angularjs
[21:59:22] *** WolframMueller has quit IRC
[22:00:05] *** Z00t_ has joined #angularjs
[22:00:26] *** compeman has quit IRC
[22:00:46] *** tobachi has joined #angularjs
[22:02:11] *** baweaver has joined #angularjs
[22:02:56] *** Z00t has quit IRC
[22:03:00] *** ducklobster has joined #angularjs
[22:05:17] *** uNki has quit IRC
[22:07:15] *** mrjmd has joined #angularjs
[22:07:49] *** apneic has quit IRC
[22:08:03] *** realisation has quit IRC
[22:09:57] *** tarsir has quit IRC
[22:13:31] *** snobro has joined #angularjs
[22:15:02] *** k1ng440 has joined #angularjs
[22:16:50] *** JohnT has quit IRC
[22:20:37] *** InezK is now known as InezK_away
[22:21:14] *** Germanaz0 has quit IRC
[22:24:17] *** bc has joined #angularjs
[22:24:25] *** bc_ has joined #angularjs
[22:24:26] *** bc has left #angularjs
[22:24:51] *** bc_ has left #angularjs
[22:24:55] *** encryptd_fractal has quit IRC
[22:25:17] *** leolrrj-alt has joined #angularjs
[22:25:55] *** sqwishy has joined #angularjs
[22:26:14] *** elyssonmr has quit IRC
[22:26:38] *** bit^8 has quit IRC
[22:26:47] *** comingsoontm has quit IRC
[22:26:59] *** ahaeger has quit IRC
[22:27:08] *** leolrrj has quit IRC
[22:27:15] *** da_wunder has quit IRC
[22:28:29] *** comingsoontm has joined #angularjs
[22:29:15] *** Klumben has quit IRC
[22:29:15] *** primepie has quit IRC
[22:29:40] *** ckuehl has quit IRC
[22:30:10] *** Ir1sh has joined #angularjs
[22:30:22] *** fscala has quit IRC
[22:30:45] *** ckuehl has joined #angularjs
[22:30:58] *** walden is now known as walden|brb
[22:31:24] *** doginal has quit IRC
[22:31:53] *** mordocai has joined #angularjs
[22:32:22] *** macwinne_ has quit IRC
[22:32:28] *** smccarthy has joined #angularjs
[22:32:48] *** fscala has joined #angularjs
[22:32:49] *** macwinne_ has joined #angularjs
[22:33:19] *** smccarthy has quit IRC
[22:34:37] *** heyts has joined #angularjs
[22:34:51] <sqwishy> Is there a nice way to toggle displaying logging at a service level?
[22:35:01]
<mordocai> Hey everyone! We have some code from angular 1.2.x (we are finally upgrading up to 1.4.x) that fails when I upgrade. I could use some help figuring out the right way to do it. The problem is, we need a new tab created in the browser with data that is from the current scope. How we did this in 1.2.x is: http://paste.debian.net/365898/ (actual copy from code). How should we accomplish this?
[22:35:02] *** flappynerd has joined #angularjs
[22:35:36] <mordocai> For more info, the error in 1.4 is that we can't $apply when already doing so. If I remove the apply we get a receipt with raw template variables {{blah}} in the html instead of interpolated.
[22:35:46] *** cnap has joined #angularjs
[22:38:36] *** zivester has quit IRC
[22:39:47] *** ensyde has joined #angularjs
[22:39:48] *** zigzagzig has quit IRC
[22:39:52] *** bearbat has joined #angularjs
[22:40:10] <mordocai> archon-: I was hoping to discover an entirely new way of doing this but I'll try that :)
[22:40:24] *** zigzagzig has joined #angularjs
[22:40:31] <archon-> nothing i know off the top of my head, sorry
[22:42:34] <mordocai> archon-: Yeah so unfortunately safe apply has the same effect as removing the apply call
[22:43:20] *** heyts has quit IRC
[22:43:21] *** soee_ has quit IRC
[22:43:23] *** macobo has quit IRC
[22:43:28] *** senayar has joined #angularjs
[22:46:05] *** bearbat has quit IRC
[22:46:14] *** primepie has joined #angularjs
[22:46:24] *** anix has quit IRC
[22:46:25] *** da_wunder has joined #angularjs
[22:46:36] *** phrozensilver has joined #angularjs
[22:46:52] *** ahhhndi has quit IRC
[22:47:04] *** jonno11 has quit IRC
[22:47:22] <archon-> i've done something like that with a modal i think but not a new tab..
[22:47:22] *** uNki has joined #angularjs
[22:47:33] *** Try has joined #angularjs
[22:47:42] *** leolrrj has joined #angularjs
[22:47:57] *** Try is now known as Guest60352
[22:48:17] *** senayar has quit IRC
[22:48:44] <steven10172> Is there a bower package that works nicely for swipe?
[22:49:10] <steven10172> ngTouch is messing with a menu that I have (ng-Click). angular-swipe seems to have the same issue
[22:49:25] <steven10172> I just want to have a popup notification that is able to be swiped away
[22:49:40] *** Melkor has joined #angularjs
[22:49:48] *** leolrrj-alt has quit IRC
[22:50:04] *** Melkor has quit IRC
[22:51:16] *** elsevero has quit IRC
[22:51:18] <mordocai> archon-: The problem is we need to print it.
[22:51:28] <mordocai> archon-: Maybe we can do something to print only a modal? not sure
[22:51:38] *** aghiuru has joined #angularjs
[22:51:39] *** elsevero has joined #angularjs
[22:53:01] *** zivester has joined #angularjs
[22:53:16] *** Guest60352 has quit IRC
[22:54:48] *** senayar has joined #angularjs
[22:54:51] *** walden|brb is now known as walden
[22:55:00] *** leolrrj has quit IRC
[22:55:07] *** leolrrj has joined #angularjs
[22:55:43] *** ril is now known as ril[away]
[22:57:01] <archon-> mordocai: i would probably just create a pdf or something to print rather than make the user print a webpage
[22:57:06] *** realisation has joined #angularjs
[22:57:37] *** aghiuru has quit IRC
[22:57:39] *** njoyard has left #angularjs
[22:57:42] <steven10172> mordocai, You can use print media queries
[22:57:59] *** ril[away] is now known as ril
[22:58:00] <mordocai> archon-: Unfortunately I think the users would complain about the extra step there since we've already been doing it the other way
[22:58:21] <mordocai> steven10172: That vaguely rings a bell but I'm not very familiar, i'll research that
[22:58:23] *** s00pcan has quit IRC
[22:58:37] *** peterbsmith has quit IRC
[22:58:59] *** xylen_ has quit IRC
[22:59:18] *** ril has quit IRC
[22:59:20] *** dszmaj has joined #angularjs
[22:59:33] *** Klumben has joined #angularjs
[22:59:43] *** s00pcan has joined #angularjs
[23:00:09] *** dszmaj has joined #angularjs
[23:00:11] *** ensyde has quit IRC
[23:00:48] <archon-> his problem isn't about printing, it's about opening a new window
[23:00:52] *** bayousoft has quit IRC
[23:02:02] *** aoeu256 has quit IRC
[23:02:12] <mordocai> archon-: Well I might be able to get around the open a new window problem if I can get the same effect with media queries
[23:02:38] *** aoeu256 has joined #angularjs
[23:02:40] <mordocai> The main issue is many of our customers are using literal receipt printers, not standard ones, so we have to have an extremely barebones markup showing for the receipt
[23:03:08] *** uNki has quit IRC
[23:03:20] *** zigzagzig has quit IRC
[23:03:21] <kegster> when using ui-router, i am using .state, I have a .state('user') with url /user (works perfect) and a .state('user':detail') with the url /{userId} but i cannot get /user/someId to work (it falls to the catchall and redirects to /) any ideas?
[23:03:35] *** edrocks has quit IRC
[23:03:35] *** InezK_away is now known as InezK
[23:03:37] *** jsonmurphy has quit IRC
[23:03:42] <steven10172> It might be a pain, but you should be able to do it. The best way would be to have a new template load with the proper data while the current one hides by the query
[23:04:01] <mordocai> steven10172: Yeah I was thinking something like that
[23:04:06] <steven10172> so you would have both views in 1 being toggles by media queries
[23:04:34] *** solars has joined #angularjs
[23:04:38] <Imaginativeone> anyone skilled with angular-formly?
[23:04:44] <steven10172> Now I just need to find a nice way to swipe an element withough ng-click being effected...
[23:04:50] <solars> hi, this heroes guide for javascript does not exist yet, is that right?
[23:04:53] <solars> for angular 2
[23:04:54] *** prbc has joined #angularjs
[23:04:56] <Imaginativeone> I'm having trouble populating my form with a date
[23:04:59] *** s00pcan has quit IRC
[23:05:15] *** leolrrj has quit IRC
[23:05:18] *** InezK is now known as InezK_away
[23:05:31] *** snkcld has joined #angularjs
[23:05:57] *** s00pcan has joined #angularjs
[23:06:02] *** apneic has joined #angularjs
[23:06:08] *** sergey_ has quit IRC
[23:06:39] *** comingsoontm_ has joined #angularjs
[23:07:31] *** mrbubbles has quit IRC
[23:08:36] *** Browser has joined #angularjs
[23:10:10] *** jdummy has joined #angularjs
[23:10:22] *** comingsoontm has quit IRC
[23:11:00] *** leolrrj has joined #angularjs
[23:11:09] *** Bodin has quit IRC
[23:11:30] *** jdummy has left #angularjs
[23:11:35] *** jdummy has joined #angularjs
[23:11:44] *** WalaWalaWala has left #angularjs
[23:12:00] *** Aliks has quit IRC
[23:12:18] *** bengillies has quit IRC
[23:12:35] <jdummy> I have a pair nested directives... an ng-click in the child causes a function in the parent to run, but it doesn't seem to trigger a $digest in the child.
[23:12:44] *** bengillies has joined #angularjs
[23:13:20] <jdummy> no combination of $scope.$apply or $timeout seems to resolve the issue... is the $digest cycle happening BEFORE the $scope data changes?
[23:14:34] <jdummy> Clicking the input and selecting 2 dates will show those dates in the input, but doesn't update the calendar until one of it's own events happens (switching back and forth between years, for instance)
[23:15:11] *** aghiuru has joined #angularjs
[23:15:43] <steven10172> Is there a way I can easily include ngTouch, but tell it not to load ngClick directive?
[23:16:16] *** josdeha_rt has quit IRC
[23:16:16] *** mordocai has left #angularjs
[23:16:38] *** skyx has quit IRC
[23:18:40] *** Poeticode has quit IRC
[23:18:58] *** Aliks has joined #angularjs
[23:21:30] *** BigPoppa has joined #angularjs
[23:21:46] *** mrbubbles has joined #angularjs
[23:22:13] *** Bloomer has quit IRC
[23:22:22] *** sonofdirt has quit IRC
[23:23:23] *** siba has joined #angularjs
[23:26:55] *** snobro has quit IRC
[23:27:26] *** aoeu256_ has joined #angularjs
[23:29:24] *** dandaman has quit IRC
[23:29:26] *** aoeu256 has quit IRC
[23:29:36] *** dopesong has quit IRC
[23:30:21] *** mischat has joined #angularjs
[23:31:54] *** mischat__ has quit IRC
[23:32:56] *** metame has joined #angularjs
[23:32:56] *** RubyRonin has joined #angularjs
[23:33:15] *** jotaefe has quit IRC
[23:33:36] *** Ir1sh has quit IRC
[23:33:36] *** heyts has joined #angularjs
[23:34:11] <RubyRonin> any idea why I'm recieiving this error?
[23:34:43] *** miqui has quit IRC
[23:34:53] <kegster> ok i managed to get my url to work with ui-router, but it keeps showing the parent template. any idea why ?
[23:34:55] *** dlynes_ has joined #angularjs
[23:34:58] <kegster> i don;t have any errors
[23:35:16] <RubyRonin> kegster gist your route file
[23:35:30] <RubyRonin> kegster:
[23:36:11] *** Z00t_ has quit IRC
[23:36:13] <dlynes_> I'm trying to get a newer version of angular-google-maps to work with the AngularJS 1.2.9 that I'm running (I can't upgrade past that easily, because it'll break too many lines of code to count)
[23:36:31] *** maximski has quit IRC
[23:36:33] *** maximski_ has joined #angularjs
[23:36:40] <dlynes_> My question is, what's the newest version of angular-google-maps I can use with AngularJS 1.2.9 and still have it work?
[23:36:41] *** denisra has joined #angularjs
[23:37:20] <RubyRonin> which view isn't working?
[23:37:39] <kegster> the /cases/foo
[23:38:01] <kegster> it shows /cases/foo, but shows case.html not case-single.html
[23:38:14] <RubyRonin> yes
[23:38:21] <RubyRonin> because your url is /{caseID}
[23:38:29] *** Ir1sh has joined #angularjs
[23:38:36] <RubyRonin> not cases/{caseID}
[23:38:38] <kegster> how do i allow a dynamic url? the demo uses that
[23:38:44] <kegster> it says not to prefix cases bc it's a child state
[23:38:49] <kegster> case.single
[23:38:58] <kegster> the url is working, just showing the wrong template
[23:39:07] <kegster> lemme try cases/{caseId}
[23:39:12] <RubyRonin> try it
[23:39:14] <flappynerd> is it bad to use .$inject ?
[23:39:34] <kegster> RubyRonin, i did and now it's redirecting back to /
[23:39:42] <RubyRonin> ok hold on
[23:39:54] <kegster> i have all the html files in 1 folder does it matter i don't have a folder called cases?
[23:40:06] <kegster> i figured a sample test app wouldnt need folders
[23:40:09] <kegster> could be wrong :P
[23:40:43] *** leolrrj-alt has joined #angularjs
[23:41:01] *** InezK_away is now known as InezK
[23:41:06] *** bayousoft has joined #angularjs
[23:41:11] *** mven has quit IRC
[23:41:16] *** leolrrj has quit IRC
[23:42:43] *** RubyRonin has quit IRC
[23:43:05] *** InezK is now known as InezK_away
[23:43:14] *** moep has quit IRC
[23:43:43] *** asteele has quit IRC
[23:44:13] *** Razerglass has joined #angularjs
[23:44:41] *** smccarthy has joined #angularjs
[23:45:23] *** ril has joined #angularjs
[23:45:43] *** chairmanmow has joined #angularjs
[23:46:37] *** NashDev has joined #angularjs
[23:46:45] *** baweaver has quit IRC
[23:46:51] <NashDev> can someone help me, getting injector error injecting http service
[23:47:18] *** Mounica has joined #angularjs
[23:48:35] *** OShobbit has quit IRC
[23:48:36] *** fees has quit IRC
[23:49:01] *** mischat_ has joined #angularjs
[23:49:14] <NashDev> can someone help me, getting injector error injecting http service
[23:49:42] *** xylen_ has joined #angularjs
[23:50:50] <kegster> when i set abstract to true on parent and set url for child to '', both routes now fail
[23:50:59] *** mischat has quit IRC
[23:51:46] *** tesarek has quit IRC
[23:51:51] *** bayousoft has quit IRC
[23:52:37] *** bayousoft has joined #angularjs
[23:52:39] <romana> NashDev: according to me it should be like this
[23:53:02] <romana> var main = angular.module("app", [ ]);
[23:53:17] *** Browser has quit IRC
[23:53:25] <jalnt> kegster: You can structure your project however you want
[23:53:27] <romana> you inject something with [ ] these
[23:53:30] <NashDev> romana yep got it
[23:53:33] <NashDev> thanks
[23:53:44] <kegster> jalnt, ok cool
[23:54:00] <jalnt> kegster: You can have everything in one directory or split into multiple, you just need to set up your routes properly
[23:54:01] <kegster> i guess i just have an issue with ui-router i just am not grasping yet lol
[23:54:27] <romana> NashDev: np check angular fundamentals in 60ish minutes will get you going
[23:54:28] <kegster> jalnt, yeah when i get my child route working, it just doesn't show the specific template file. it shows the parent isntead, but the url is proper
[23:54:52] *** jimklo has joined #angularjs
[23:55:04] <jalnt> Maybe you should put some stuff up on pastebin or something
[23:55:20] <jalnt> Specifically, wherever you've set your routes
[23:55:33] *** botika has quit IRC
[23:56:25] <NashDev> romana, thanks.. Its just been a while since I've used angular.
[23:56:32] *** cnap has quit IRC
[23:56:33] *** NashDev has quit IRC
[23:57:01] *** asteele has joined #angularjs
[23:57:56] <romana> NashDev: ya i could understand its hard if you dont have the code you were working with earlier and start a project just from ur memory
[23:58:38] *** bayousoft has quit IRC
[23:58:50] *** buzzedword has quit IRC
[23:59:19] *** realisation has quit IRC
[23:59:23] *** trepatudo has quit IRC